Searched refs:ConsumeSuffix (Results 1 – 9 of 9) sorted by relevance
/system/core/adb/client/ |
D | mdns_utils.cpp | 35 if (android::base::ConsumeSuffix(&name, local_suffix)) { in mdns_parse_instance_name() 50 if (android::base::ConsumeSuffix(&name, t + add_dot)) { in mdns_parse_instance_name()
|
/system/apex/apexd/ |
D | apex_database.cpp | 37 using android::base::ConsumeSuffix; 178 if (ConsumeSuffix(&full_path, "(deleted)")) { in NormalizeIfDeleted()
|
/system/libbase/include/android-base/ |
D | strings.h | 82 inline bool ConsumeSuffix(std::string_view* s, std::string_view suffix) { in ConsumeSuffix() function
|
/system/libbase/ |
D | strings_test.cpp | 307 TEST(strings, ConsumeSuffix) { in TEST() argument 309 ASSERT_FALSE(android::base::ConsumeSuffix(&s, ".foo")); in TEST() 311 ASSERT_TRUE(android::base::ConsumeSuffix(&s, ".bar")); in TEST()
|
/system/update_engine/ |
D | logging_android.cc | 241 ignore_result(android::base::ConsumeSuffix(&sv, "\n")); in RedirectToLiblog()
|
D | dynamic_partition_control_android.cc | 1107 if (!android::base::ConsumeSuffix(&partition_name, suffix)) { in ListDynamicPartitionsForSlot()
|
/system/update_engine/payload_consumer/ |
D | partition_update_generator_android.cc | 108 if (!android::base::ConsumeSuffix(&name, SUFFIX_A)) { in GetStaticAbPartitionsOnDevice()
|
/system/tools/aidl/ |
D | aidl_const_expressions.cpp | 30 using android::base::ConsumeSuffix; 456 bool is_float_literal = ConsumeSuffix(&raw_view, "f"); in ValueString()
|
/system/extras/simpleperf/ |
D | cmd_stat.cpp | 282 if (event_name.empty() && android::base::ConsumeSuffix(&miss_event_name, "-misses")) { in GetRateComment()
|