/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/ |
D | path.cpp | 102 auto lastPos = result.rfind('/'); in normalize() 198 auto pos = path.rfind('/'); in baseName() 201 pos = path.rfind('/'); in baseName() 216 const auto pos = path.rfind('/'); in dirName()
|
/system/netd/libnetdutils/ |
D | Log.cpp | 98 const size_t endFuncName = pretty_function.rfind('('); in prettyFunction() 99 const size_t precedingSpace = pretty_function.rfind(' ', endFuncName); in prettyFunction() 102 const size_t beginFuncName = pretty_function.rfind("::", endFuncName); in prettyFunction() 104 const size_t previousNameBoundary = pretty_function.rfind("::", beginFuncName - 1); in prettyFunction()
|
/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 | 40 EXPECT_TRUE(absolute_path.rfind("/foo") == absolute_path.length() - 4); in TEST()
|
D | aidl.cpp | 311 if (line.rfind(';', end) != string::npos) { in ParsePreprocessedLine() 336 size_t dot_pos = type.rfind('.'); in ParsePreprocessedLine()
|
/system/core/bootstat/ |
D | bootstat.cpp | 599 size_t rfind(const std::string& needle) const { in rfind() function in __anon44f4d30b0111::pstoreConsole 600 size_t pos = console.rfind(needle); // exact match? in rfind() 804 if ((console.rfind("SysRq : Trigger a crash") != std::string::npos) || in addKernelPanicSubReason() 805 (console.rfind("PC is at sysrq_handle_crash+") != std::string::npos)) { in addKernelPanicSubReason() 810 auto pos = console.rfind(sysrqSubreason); in addKernelPanicSubReason() 816 if (console.rfind("Unable to handle kernel NULL pointer dereference at virtual address") != in addKernelPanicSubReason() 821 if (console.rfind("Kernel BUG at ") != std::string::npos) { in addKernelPanicSubReason() 827 auto pos = console.rfind(panic); in addKernelPanicSubReason() 1023 if (console.rfind("reboot: Power down") != std::string::npos) { in BootReasonStrToReason() 1032 size_t pos = console.rfind(cmd); in BootReasonStrToReason() [all …]
|
/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/libaidlvintf_test_helper/ |
D | Vintf.cpp | 25 size_t lastDot = descriptor.rfind('.'); in getAidlHalInstanceNames()
|
/system/core/adb/client/ |
D | mdns_utils.cpp | 69 auto pos = name.rfind("."); in mdns_parse_instance_name()
|
D | bugreport.cpp | 150 size_t idx1 = line.rfind(BUGZ_PROGRESS_PREFIX) + strlen(BUGZ_PROGRESS_PREFIX); in ProcessLine() 151 size_t idx2 = line.rfind(BUGZ_PROGRESS_SEPARATOR); in ProcessLine()
|
D | incremental.cpp | 246 const auto end_itr = stdout_str.rfind("]"); in wait_for_installation()
|
/system/extras/simpleperf/scripts/ |
D | binary_cache_builder.py | 94 index = binary.rfind('/') 196 filename = device_path[device_path.rfind('/')+1:]
|
D | debug_unwind_reporter.py | 347 break_pos = line.rfind('(', 0, line.rfind('(')) 349 break_pos = line.rfind('(')
|
/system/tools/sysprop/ |
D | JavaGen.cpp | 285 return module.substr(0, module.rfind('.')); in GetJavaPackageName() 290 return module.substr(module.rfind('.') + 1); in GetJavaClassName()
|
D | Common.cpp | 286 return module.substr(module.rfind('.') + 1); in GetModuleName()
|
/system/libhidl/transport/ |
D | ServiceManagement.cpp | 95 size_t idx = cmdline.rfind('/'); in binaryName() 121 size_t lastDot = descriptor.rfind('.'); in tryShortenProcessName() 123 size_t secondDot = descriptor.rfind('.', lastDot - 1); in tryShortenProcessName() 356 if (line.rfind('@') == std::string::npos) continue; in fetchPidsForPassthroughLibraries() 358 auto spacePos = line.rfind(' '); in fetchPidsForPassthroughLibraries()
|
/system/memory/lmkd/tests/ |
D | lmkd_test.cpp | 94 (start_pos = text.rfind('\n', start_pos)) != std::string::npos) { in getTextAround() 98 start_pos = text.rfind('\n', start_pos); in getTextAround()
|
/system/update_engine/payload_generator/ |
D | mapfile_filesystem.cc | 97 while ((delim = line.rfind(' ', last_delim - 1)) != string::npos) { in GetFiles()
|
/system/core/init/ |
D | block_dev_initializer.cpp | 81 size_t base_idx = uevent.path.rfind('/'); in HandleUevent()
|
D | devices.cpp | 204 auto last_slash = path.rfind('/'); in FindPlatformDevice() 373 auto last_slash = uevent.path.rfind('/'); in GetBlockDeviceSymlinks()
|
/system/security/keystore/ |
D | grant_store.cpp | 33 auto pos = grantAlias.rfind(kKeystoreGrantInfix); in parseGrantAlias()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 281 auto other_suffix = sanitized_partition_name.rfind("_other"); in AvbPartitionToDevicePatition() 308 auto found = partition_name.rfind(ab_suffix); in DeriveAvbPartitionName() 313 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/media/camera/docs/ |
D | metadata_helpers.py | 923 lastdot = target.rfind('.') 1022 lastdot = target.rfind('.')
|