Home
last modified time | relevance | path

Searched refs:ConsumeSuffix (Results 1 – 12 of 12) sorted by relevance

/system/core/fs_mgr/libfiemap/
Dutility.cpp177 while (child_sv != "/" && android::base::ConsumeSuffix(&child_sv, "/")) in IsSubdir()
181 while (parent_sv != "/" && android::base::ConsumeSuffix(&parent_sv, "/")) in IsSubdir()
/system/tools/aidl/
Dcomments.cpp55 std::string ConsumeSuffix(const std::string& s, std::string_view suffix) { in ConsumeSuffix() function
73 std::string stripped = ConsumeSuffix(ConsumePrefix(c.body, kBlockCommentBegin), kBlockCommentEnd); in TrimmedLines()
Daidl_const_expressions.cpp31 using android::base::ConsumeSuffix;
296 android::base::ConsumeSuffix(&sv, "f"); in ParseFloating()
302 if (!android::base::ConsumeSuffix(&sv, "f")) { in ParseFloating()
442 const bool is_byte = ConsumeSuffix(&value_view, "u8"); in ParseIntegral()
443 const bool is_long = ConsumeSuffix(&value_view, "l") || ConsumeSuffix(&value_view, "L"); in ParseIntegral()
/system/apex/apexd/
Dapex_database.cpp35 using android::base::ConsumeSuffix;
186 if (ConsumeSuffix(&full_path, "(deleted)")) { in NormalizeIfDeleted()
Dapex_file_repository.cpp43 android::base::ConsumeSuffix(&path_view, kApexPackageSuffix); in ConsumeApexPackageSuffix()
44 android::base::ConsumeSuffix(&path_view, kCompressedApexPackageSuffix); in ConsumeApexPackageSuffix()
208 if (!android::base::ConsumeSuffix(&metadata_path_view, "1")) { in AddBlockApex()
/system/libbase/
Dstrings_test.cpp369 TEST(strings, ConsumeSuffix) { in TEST() argument
371 ASSERT_FALSE(android::base::ConsumeSuffix(&s, ".foo")); in TEST()
373 ASSERT_TRUE(android::base::ConsumeSuffix(&s, ".bar")); in TEST()
/system/libbase/include/android-base/
Dstrings.h140 inline bool ConsumeSuffix(std::string_view* s, std::string_view suffix) { in ConsumeSuffix() function
/system/update_engine/aosp/
Dlogging_android.cc258 ignore_result(android::base::ConsumeSuffix(&sv, "\n")); in RedirectToLiblog()
Ddynamic_partition_control_android.cc1368 if (!android::base::ConsumeSuffix(&partition_name, suffix)) { in ListDynamicPartitionsForSlot()
/system/libvintf/
DVintfFm.cpp300 (void)android::base::ConsumeSuffix(&filenameSv, ".xml"); in loadMatrices()
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp875 base::ConsumeSuffix(&device, ","); in GetBootDevices()
/system/extras/simpleperf/
Dcmd_stat.cpp280 if (event_name.empty() && android::base::ConsumeSuffix(&miss_event_name, "-misses")) { in GetRateComment()