/system/core/base/ |
D | parsenetaddress.cpp | 38 if (address.rfind("]:") == std::string::npos) { in ParseNetAddress() 43 port_str = address.substr(address.rfind("]:") + 2); in ParseNetAddress()
|
/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/core/bootstat/ |
D | bootstat.cpp | 465 size_t rfind(const std::string& needle) const { in rfind() function in __anon236637740111::pstoreConsole 466 size_t pos = console.rfind(needle); // exact match? in rfind() 670 if ((console.rfind("SysRq : Trigger a crash") != std::string::npos) || in addKernelPanicSubReason() 671 (console.rfind("PC is at sysrq_handle_crash+") != std::string::npos)) { in addKernelPanicSubReason() 676 auto pos = console.rfind(sysrqSubreason); in addKernelPanicSubReason() 682 if (console.rfind("Unable to handle kernel NULL pointer dereference at virtual address") != in addKernelPanicSubReason() 687 if (console.rfind("Kernel BUG at ") != std::string::npos) { in addKernelPanicSubReason() 693 auto pos = console.rfind(panic); in addKernelPanicSubReason() 888 if (console.rfind("reboot: Power down") != std::string::npos) { in BootReasonStrToReason() 897 size_t pos = console.rfind(cmd); in BootReasonStrToReason() [all …]
|
/system/tools/aidl/ |
D | io_delegate_unittest.cpp | 40 EXPECT_TRUE(absolute_path.rfind("/foo") == absolute_path.length() - 4); in TEST()
|
D | aidl.cpp | 365 if (line.rfind(';', end) != string::npos) { in ParsePreprocessedLine() 390 size_t dot_pos = type.rfind('.'); in ParsePreprocessedLine()
|
D | ast_java.cpp | 429 size_t pos = name.rfind('.'); in Write()
|
/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/core/adb/client/ |
D | bugreport.cpp | 148 size_t idx1 = line.rfind(BUGZ_PROGRESS_PREFIX) + strlen(BUGZ_PROGRESS_PREFIX); in ProcessLine() 149 size_t idx2 = line.rfind(BUGZ_PROGRESS_SEPARATOR); in ProcessLine()
|
/system/extras/simpleperf/scripts/ |
D | binary_cache_builder.py | 94 index = binary.rfind('/') 198 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 | Common.cpp | 260 size_t last_slash = path.rfind('/'); in CreateDirectories() 294 return module.substr(module.rfind('.') + 1); in GetModuleName()
|
D | JavaGen.cpp | 268 return module.substr(0, module.rfind('.')); in GetJavaPackageName() 273 return module.substr(module.rfind('.') + 1); in GetJavaClassName()
|
/system/libhidl/transport/ |
D | ServiceManagement.cpp | 93 size_t idx = cmdline.rfind('/'); in binaryName() 119 size_t lastDot = descriptor.rfind('.'); in tryShortenProcessName() 121 size_t secondDot = descriptor.rfind('.', lastDot - 1); in tryShortenProcessName() 316 if (line.rfind('@') == std::string::npos) continue; in fetchPidsForPassthroughLibraries() 318 auto spacePos = line.rfind(' '); in fetchPidsForPassthroughLibraries()
|
/system/core/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/security/keystore/ |
D | grant_store.cpp | 33 auto pos = grantAlias.rfind(kKeystoreGrantInfix); in parseGrantAlias()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 231 auto other_suffix = sanitized_partition_name.rfind("_other"); in AvbPartitionToDevicePatition() 258 auto found = partition_name.rfind(ab_suffix); in DeriveAvbPartitionName() 263 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/core/init/ |
D | devices.cpp | 216 auto last_slash = path.rfind('/'); in FindPlatformDevice() 380 auto last_slash = uevent.path.rfind('/'); in GetBlockDeviceSymlinks()
|
/system/extras/simpleperf/ |
D | event_type.cpp | 180 size_t comm_pos = event_type_str.rfind(':'); in ParseEventType()
|
/system/media/camera/docs/ |
D | metadata_helpers.py | 923 lastdot = target.rfind('.') 1022 lastdot = target.rfind('.')
|
/system/core/fastboot/device/ |
D | variables.cpp | 399 slotless_name = name.substr(0, name.rfind("_")); in GetAllPartitionArgsNoSlot()
|
/system/tools/hidl/utils/ |
D | FQName.cpp | 480 size_t pos = s1.rfind(s2); in endsWith()
|
/system/extras/perfprofd/scripts/ |
D | perf_proto_stack.py | 272 i = s.rfind('+')
|