/aosp12/system/core/healthd/ |
H A D | AnimationParser.cpp | 40 bool remove_prefix(std::string_view line, const char* prefix, const char** rest) { in remove_prefix() function 96 } else if (remove_prefix(line, animation_prefix, &rest)) { in parse_animation_desc() 106 } else if (remove_prefix(line, fail_prefix, &rest)) { in parse_animation_desc() 108 } else if (remove_prefix(line, clock_prefix, &rest)) { in parse_animation_desc() 113 } else if (remove_prefix(line, percent_prefix, &rest)) { in parse_animation_desc()
|
H A D | AnimationParser_test.cpp | 38 EXPECT_FALSE(remove_prefix(TEST_STRING, "def", &rest)); in TEST() 40 EXPECT_FALSE(remove_prefix(TEST_STRING, TEST_STRING, &rest)); in TEST() 42 EXPECT_TRUE(remove_prefix(TEST_STRING, "abc", &rest)); in TEST() 45 EXPECT_TRUE(remove_prefix(" abcdef", "abc", &rest)); in TEST()
|
H A D | AnimationParser.h | 29 bool remove_prefix(std::string_view str, const char* prefix, const char** rest);
|
/aosp12/art/libdexfile/dex/ |
H A D | signature.cc | 68 tail.remove_prefix(1); // "("; in operator ==() 76 tail.remove_prefix(param.length()); in operator ==() 82 tail.remove_prefix(1); // ")"; in operator ==()
|
/aosp12/build/make/tools/warn/ |
H A D | warn_common.py | 139 def remove_prefix(src, sub): function 192 link_path = remove_prefix(raw_path, '/src/third_party/') 194 link_path = remove_prefix(raw_path, '/chrome_root/src_internal/') 197 link_path = remove_prefix(raw_path, '/chrome_root/src/') 202 link_path = remove_prefix(normalized_path, '/libassistant/') 206 return '%s?q=file:%s' % (link_base, remove_prefix(normalized_path, '/gen/'))
|
/aosp12/frameworks/base/services/incremental/ |
H A D | path.cpp | 51 path.remove_prefix(1); in preparePathComponent() 82 relative.remove_prefix(1); in relativize() 101 path.remove_prefix(1); in normalize()
|
H A D | IncrementalService.cpp | 159 path.remove_prefix(1); in toMountKey()
|
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | DisplayIdentification.cpp | 216 view.remove_prefix(kDescriptorOffset); in parseEdid() 232 descriptor.remove_prefix(kEdidHeaderLength); in parseEdid() 247 view.remove_prefix(kDescriptorLength); in parseEdid() 279 view.remove_prefix(kEdidBlockSize); in parseEdid()
|
/aosp12/system/incremental_delivery/incfs/ |
H A D | path.cpp | 80 path.remove_prefix(1); in normalize() 165 path.remove_prefix(1); in preparePathComponent() 185 relative.remove_prefix(1); in relativize()
|
H A D | MountRegistry.cpp | 289 chunk.remove_prefix(lineEnd + 1); in forEachLine()
|
/aosp12/system/extras/simpleperf/ |
H A D | read_symbol_map.cpp | 45 content_ref.remove_prefix(end); in ConsumeWord()
|
H A D | report_utils.cpp | 79 original_methodname.remove_prefix(cur_class->original_classname.size() + 1); in AddProguardMappingFile()
|
/aosp12/system/libbase/include/android-base/ |
H A D | strings.h | 76 s->remove_prefix(prefix.size()); in ConsumePrefix()
|
/aosp12/art/runtime/gc/space/ |
H A D | image_space.cc | 1381 oat_checksums->remove_prefix(image_checksum.size()); in CheckAndRemoveImageChecksum() 2065 oat_checksums->remove_prefix(1u); in CheckAndRemoveLastChunkChecksum() 3406 remaining_bcp.remove_prefix(location.size()); in CheckAndCountBCPComponents() 3415 remaining_bcp.remove_prefix(1u); in CheckAndCountBCPComponents() 3480 oat_checksums.remove_prefix(1u); in VerifyBootClassPathChecksums() 3501 oat_checksums.remove_prefix(dex_file_checksum.size()); in VerifyBootClassPathChecksums() 3509 oat_checksums.remove_prefix(1u); in VerifyBootClassPathChecksums() 3604 oat_checksums.remove_prefix(1u); in VerifyBootClassPathChecksums()
|
/aosp12/system/vold/ |
H A D | Utils.cpp | 1725 path.remove_prefix(std::min(next + 1, path.size())); in openAbsolutePathFd() 1733 path.remove_prefix(std::min(next + 1, path.size())); in openAbsolutePathFd()
|
/aosp12/packages/modules/adb/ |
H A D | sockets.cpp | 610 command.remove_prefix(count); in parse_host_service()
|