FastLED 3.10.6
Loading...
Searching...
No Matches

◆ c_str()

const char * fl::basic_string::c_str ( ) const

Definition at line 33 of file basic_string.cpp.hpp.

33 {
34 if (mStorage.is<ConstView>()) {
35 const ConstView& view = mStorage.get<ConstView>();
36 if (view.data && view.length > 0 && view.data[view.length] != '\0') {
37 const_cast<basic_string*>(this)->materialize();
38 }
39 }
40 return constData();
41}
const char * constData() const FL_NO_EXCEPT
void materialize() FL_NO_EXCEPT
basic_string(char *inlineBuffer, fl::size inlineCapacity) FL_NO_EXCEPT
fl::variant< NotNullStringHolderPtr, ConstLiteral, ConstView > mStorage

References basic_string(), constData(), fl::basic_string::ConstView::data, fl::basic_string::ConstView::length, materialize(), and mStorage.

Referenced by fl::ChannelManager::addDriver(), append(), fl::test::SerialReporter::assertResult(), assign(), at(), back(), begin(), cbegin(), cend(), charAt(), compare(), compare(), compare(), compare(), compare(), compare(), contains(), fl::detail::TypeToJson< fl::vector< fl::u8 > >::convert(), copy(), copy(), data(), end(), ends_with(), ends_with(), ends_with(), erase(), erase(), find(), find(), find(), find(), find(), find(), find_first_not_of(), find_first_not_of(), find_first_not_of(), find_first_of(), find_first_of(), find_last_not_of(), find_last_not_of(), find_last_not_of(), find_last_of(), find_last_of(), front(), fl::ChannelManager::getDriverByName(), fl::WLED::getState(), fl::Rpc::handle(), fl::Remote::has(), insert(), insert(), insert(), insert(), fl::StringInterner::intern(), fl::test::detail::TypeIterator< TypeList< T, Rest... >, TestFunc >::iterate(), fl::detail::log_emit(), loop(), fl::test::detail::TypeNameHolder< T >::name(), openVideoEitherFormat(), operator!=(), operator!=(), operator<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), fl::ostream::operator<<(), operator<=(), operator==(), operator==(), fl::string::operator==(), operator>(), operator>=(), fl::istream_real::operator>>(), fl::istream_real::operator>>(), fl::istream_real::operator>>(), fl::istream_real::operator>>(), fl::istream_real::operator>>(), operator[](), fl::anonymous_namespace{json.cpp.hpp}::JsonTokenizer::parse(), fl::json_value::parse2_validate_only(), fl::net::http::HttpStreamTransport::parseChunkedMessages(), fl::net::http::ChunkedReader::parseChunkSize(), fl::wled::parseSegmentFields(), simd_test::print_test_result(), fl::printf(), DriverTestRunner::printHeader(), DriverTestRunner::printSummary(), CodecProcessor::processCodecWithTiming(), CodecProcessor::processGif(), CodecProcessor::processJpeg(), CodecProcessor::processMpeg1(), fl::Remote::processRpc(), fl::FileSystem::readScreenMap(), fl::FileSystem::readScreenMaps(), replace(), replace(), replace(), replace(), reserve(), fl::SlimSpiBridgeController< CHIPSET, RGB_ORDER, B, B_WHICH >::resolveDriver(), rfind(), rfind(), rfind(), autoresearch::ieee754_check::run(), LoopbackTestRunner::runTest(), fl::Fled::screenMap(), setup(), fl::SlimBridgeController< DATA_PIN, TIMING, RGB_ORDER, WAIT_TIME, DriverTraits, XTRA0, DIRECT_SHOW >::showPixels(), starts_with(), starts_with(), starts_with(), fl::streamJsonRpcId(), fl::test::SerialReporter::subcaseStart(), fl::string::substring(), DriverTestRunner::testAllDrivers(), fl::test::SerialReporter::testCaseEnd(), fl::test::TAPReporter::testCaseEnd(), fl::test::SerialReporter::testCaseStart(), fl::test::SerialReporter::testRunEnd(), fl::test::TAPReporter::testRunEnd(), fl::test::TAPReporter::testRunStart(), DriverTestRunner::testSingleDriver(), toFloat(), fl::string::trim(), fl::Remote::unbind(), DriverTestRunner::validateExpectedDrivers(), fl::net::http::HttpStreamTransport::writeResponse(), and fl::writeSerialLine().

+ Here is the call graph for this function: