Searched refs:ConsumeSuffix (Results 1 – 12 of 12) sorted by relevance
/system/core/fs_mgr/libfiemap/ |
D | utility.cpp | 177 while (child_sv != "/" && android::base::ConsumeSuffix(&child_sv, "/")) in IsSubdir() 181 while (parent_sv != "/" && android::base::ConsumeSuffix(&parent_sv, "/")) in IsSubdir()
|
/system/tools/aidl/ |
D | comments.cpp | 55 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()
|
D | aidl_const_expressions.cpp | 31 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/ |
D | apex_database.cpp | 35 using android::base::ConsumeSuffix; 186 if (ConsumeSuffix(&full_path, "(deleted)")) { in NormalizeIfDeleted()
|
D | apex_file_repository.cpp | 43 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/ |
D | strings_test.cpp | 369 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/ |
D | strings.h | 140 inline bool ConsumeSuffix(std::string_view* s, std::string_view suffix) { in ConsumeSuffix() function
|
/system/update_engine/aosp/ |
D | logging_android.cc | 258 ignore_result(android::base::ConsumeSuffix(&sv, "\n")); in RedirectToLiblog()
|
D | dynamic_partition_control_android.cc | 1368 if (!android::base::ConsumeSuffix(&partition_name, suffix)) { in ListDynamicPartitionsForSlot()
|
/system/libvintf/ |
D | VintfFm.cpp | 300 (void)android::base::ConsumeSuffix(&filenameSv, ".xml"); in loadMatrices()
|
/system/core/fs_mgr/ |
D | fs_mgr_fstab.cpp | 875 base::ConsumeSuffix(&device, ","); in GetBootDevices()
|
/system/extras/simpleperf/ |
D | cmd_stat.cpp | 280 if (event_name.empty() && android::base::ConsumeSuffix(&miss_event_name, "-misses")) { in GetRateComment()
|