/system/libbase/ |
D | parsenetaddress.cpp | 38 if (address.rfind("]:") == std::string::npos) { in ParseNetAddress() 43 port_str = address.substr(address.rfind("]:") + 2); in ParseNetAddress()
|
/system/incremental_delivery/incfs/include/ |
D | path.h | 64 auto pos = path.rfind('/'); in baseName() 67 pos = path.rfind('/'); in baseName() 83 const auto pos = path.rfind('/'); in dirName()
|
/system/extras/preopt2cachename/ |
D | preopt2cachename.cpp | 50 size_t file_location_start = file_location.rfind('/'); in ExtractAPKName() 54 size_t ext_start = file_location.rfind('.'); in ExtractAPKName()
|
/system/tools/aidl/ |
D | io_delegate_unittest.cpp | 46 EXPECT_TRUE(absolute_path.rfind("/foo") == absolute_path.length() - 4); in TEST()
|
/system/tools/aidl/tests/ |
D | test_util.cpp | 53 *package = string{package_class, 0, package_class.rfind('.')}; in SplitPackageClass() 54 *class_name = string{package_class, package_class.rfind('.') + 1}; in SplitPackageClass()
|
/system/libvintf/analyze_matrix/ |
D | hals_for_release.py | 248 spacePos = instance.rfind(" ") 251 dotPos = instance.rfind(".") 252 spacePos = instance.rfind(" ") 256 spacePos = instance.rfind(" ") 299 dotPos = instance.rfind(".")
|
/system/core/bootstat/ |
D | bootstat.cpp | 630 size_t rfind(const std::string& needle) const { in rfind() function in __anon44f4d30b0111::pstoreConsole 631 size_t pos = console.rfind(needle); // exact match? in rfind() 835 if ((console.rfind("SysRq : Trigger a crash") != std::string::npos) || in addKernelPanicSubReason() 836 (console.rfind("PC is at sysrq_handle_crash+") != std::string::npos)) { in addKernelPanicSubReason() 841 auto pos = console.rfind(sysrqSubreason); in addKernelPanicSubReason() 847 if (console.rfind("Unable to handle kernel NULL pointer dereference at virtual address") != in addKernelPanicSubReason() 852 if (console.rfind("Kernel BUG at ") != std::string::npos) { in addKernelPanicSubReason() 858 auto pos = console.rfind(panic); in addKernelPanicSubReason() 1052 if (console.rfind("reboot: Power down") != std::string::npos) { in BootReasonStrToReason() 1061 size_t pos = console.rfind(cmd); in BootReasonStrToReason()
|
/system/libvintf/libaidlvintf_test_helper/ |
D | Vintf.cpp | 49 size_t lastDot = descriptor.rfind('.'); in getAidlHalInstanceNames()
|
/system/update_engine/payload_generator/ |
D | mapfile_filesystem.cc | 96 while ((delim = line.rfind(' ', last_delim - 1)) != string::npos) { in GetFiles()
|
/system/memory/lmkd/tests/ |
D | lmkd_test.cpp | 95 (start_pos = text.rfind('\n', start_pos)) != std::string::npos) { in getTextAround() 99 start_pos = text.rfind('\n', start_pos); in getTextAround()
|
/system/tools/sysprop/ |
D | JavaGen.cpp | 347 return module.substr(0, module.rfind('.')); in GetJavaPackageName() 352 return module.substr(module.rfind('.') + 1); in GetJavaClassName()
|
D | Common.cpp | 288 return module.substr(module.rfind('.') + 1); in GetModuleName()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 215 auto other_suffix = sanitized_partition_name.rfind("_other"); in AvbPartitionToDevicePatition() 242 auto found = partition_name.rfind(ab_suffix); in DeriveAvbPartitionName() 247 auto found = partition_name.rfind(ab_other_suffix); in DeriveAvbPartitionName()
|
D | avb_ops.cpp | 114 auto found = partition_name.rfind(ab_suffix); in DeriveMountPoint()
|
/system/libhidl/transport/ |
D | ServiceManagement.cpp | 87 size_t idx = cmdline.rfind('/'); in binaryName() 113 size_t lastDot = descriptor.rfind('.'); in tryShortenProcessName() 115 size_t secondDot = descriptor.rfind('.', lastDot - 1); in tryShortenProcessName() 474 if (line.rfind('@') == std::string::npos) continue; in fetchPidsForPassthroughLibraries() 476 auto spacePos = line.rfind(' '); in fetchPidsForPassthroughLibraries()
|
/system/extras/simpleperf/ |
D | report_utils.cpp | 80 if (auto left_brace_pos = s.rfind('(', arrow_pos); left_brace_pos != s.npos) { in ParseMethod() 81 if (auto space_pos = s.rfind(' ', left_brace_pos); space_pos != s.npos) { in ParseMethod() 155 if (auto split_pos = obfuscated_name.rfind('.'); split_pos != obfuscated_name.npos) { in DeObfuscateJavaMethods()
|
D | dso.cpp | 241 auto space_pos = name.rfind(' '); in FunctionName() 434 size_t pos = path_.rfind('/'); in IsForJavaMethod() 923 if (auto pos = symbol_name.rfind(' '); pos != std::string::npos) { in CalculateMinVaddr()
|
/system/core/init/ |
D | block_dev_initializer.cpp | 81 size_t base_idx = uevent.path.rfind('/'); in HandleUevent()
|
D | devices.cpp | 243 auto last_slash = path.rfind('/'); in FindPlatformDevice() 441 auto last_slash = uevent.path.rfind('/'); in GetBlockDeviceSymlinks()
|
/system/extras/simpleperf/scripts/ |
D | binary_cache_builder.py | 128 filename = device_path[device_path.rfind('/')+1:] 169 index = path.rfind('/')
|
/system/incremental_delivery/incfs/ |
D | path.cpp | 102 auto lastPos = result.rfind('/'); in normalize()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshotctl.cpp | 194 auto npos = patchfile.rfind(".patch"); in PrepareUpdate() 276 auto npos = patchfile.rfind(".patch"); in ApplyUpdate() 632 auto npos = patchfile.rfind(".patch"); in MapPrecreatedSnapshots()
|
/system/hardware/interfaces/wifi/keystore/1.0/default/test/ |
D | WifiLegacyKeystoreIntegrationTest.cpp | 278 ASSERT_EQ(blob_str.rfind("-----BEGIN CERTIFICATE-----", 0), 0); in TEST_P()
|
/system/media/camera/docs/ |
D | metadata_helpers.py | 964 lastdot = target.rfind('.') 1067 lastdot = target.rfind('.')
|
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/ |
D | VtsHalWifiKeystoreV1_0TargetTest.cpp | 396 EXPECT_EQ(cert.rfind("-----BEGIN CERTIFICATE-----", 0), 0); in TEST_P()
|