Home
last modified time | relevance | path

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

/system/core/adb/client/
Dmdns_utils.cpp35 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/
Dapex_database.cpp37 using android::base::ConsumeSuffix;
178 if (ConsumeSuffix(&full_path, "(deleted)")) { in NormalizeIfDeleted()
/system/libbase/include/android-base/
Dstrings.h82 inline bool ConsumeSuffix(std::string_view* s, std::string_view suffix) { in ConsumeSuffix() function
/system/libbase/
Dstrings_test.cpp307 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/
Dlogging_android.cc241 ignore_result(android::base::ConsumeSuffix(&sv, "\n")); in RedirectToLiblog()
Ddynamic_partition_control_android.cc1107 if (!android::base::ConsumeSuffix(&partition_name, suffix)) { in ListDynamicPartitionsForSlot()
/system/update_engine/payload_consumer/
Dpartition_update_generator_android.cc108 if (!android::base::ConsumeSuffix(&name, SUFFIX_A)) { in GetStaticAbPartitionsOnDevice()
/system/tools/aidl/
Daidl_const_expressions.cpp30 using android::base::ConsumeSuffix;
456 bool is_float_literal = ConsumeSuffix(&raw_view, "f"); in ValueString()
/system/extras/simpleperf/
Dcmd_stat.cpp282 if (event_name.empty() && android::base::ConsumeSuffix(&miss_event_name, "-misses")) { in GetRateComment()