Home
last modified time | relevance | path

Searched refs:rfind (Results 1 – 18 of 18) sorted by relevance

/aosp14/frameworks/base/services/incremental/
H A Dpath.cpp123 auto lastPos = result.rfind('/'); in normalize()
145 auto pos = path.rfind('/'); in basename()
148 pos = path.rfind('/'); in basename()
163 const auto pos = path.rfind('/'); in dirname()
/aosp14/system/core/bootstat/
H A Dbootstat.cpp620 size_t rfind(const std::string& needle) const { in rfind() function in __anonde50f2f90110::pstoreConsole
621 size_t pos = console.rfind(needle); // exact match? in rfind()
825 if ((console.rfind("SysRq : Trigger a crash") != std::string::npos) || in addKernelPanicSubReason()
826 (console.rfind("PC is at sysrq_handle_crash+") != std::string::npos)) { in addKernelPanicSubReason()
831 auto pos = console.rfind(sysrqSubreason); in addKernelPanicSubReason()
842 if (console.rfind("Kernel BUG at ") != std::string::npos) { in addKernelPanicSubReason()
848 auto pos = console.rfind(panic); in addKernelPanicSubReason()
1044 if (console.rfind("reboot: Power down") != std::string::npos) { in BootReasonStrToReason()
1053 size_t pos = console.rfind(cmd); in BootReasonStrToReason()
1074 ((console.rfind("Power held for ") != std::string::npos) || in BootReasonStrToReason()
[all …]
/aosp14/frameworks/base/startop/view_compiler/
H A Dutil.cc26 size_t start = filename.rfind('/'); in FindLayoutNameFromFilename()
/aosp14/frameworks/base/tools/bit/
H A Dutil.cpp274 size_t slash = filename.rfind('/'); in dirname()
287 size_t slash = filename.rfind('/'); in leafname()
H A Daapt.cpp221 size_t colon = str.rfind(':'); in inspect_apk()
/aosp14/system/core/fs_mgr/libfs_avb/
H A Davb_util.cpp215 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()
H A Davb_ops.cpp114 auto found = partition_name.rfind(ab_suffix); in DeriveMountPoint()
/aosp14/frameworks/base/tools/streaming_proto/
H A Dstring_utils.cpp66 size_t start = str.rfind('/'); in file_base_name()
/aosp14/frameworks/base/tools/aapt2/java/
H A DManifestClassGenerator.cpp35 size_t pos = value.rfind('.'); in ExtractJavaIdentifier()
/aosp14/system/core/init/
H A Dblock_dev_initializer.cpp81 size_t base_idx = uevent.path.rfind('/'); in HandleUevent()
H A Ddevices.cpp241 auto last_slash = path.rfind('/'); in FindPlatformDevice()
438 auto last_slash = uevent.path.rfind('/'); in GetBlockDeviceSymlinks()
/aosp14/frameworks/base/packages/SystemUI/scripts/
H A Dnew_merge.py99 file = path[path.rfind('/') + 1:]
/aosp14/system/core/fastboot/device/
H A Dvariables.cpp406 slotless_name = name.substr(0, name.rfind("_")); in GetAllPartitionArgsNoSlot()
/aosp14/system/core/fs_mgr/libdm/
H A Ddm.cpp714 auto npos = dm_block_name.rfind("-verity"); in FindDmPartitions()
/aosp14/frameworks/base/tools/fonts/
H A Dfontchain_linter.py72 hyphen_idx = lang.rfind('-')
/aosp14/frameworks/base/tools/aapt2/cmd/
H A DCompile.cpp118 size_t dot_pos = filename.rfind('.'); in ExtractResourcePathData()
/aosp14/frameworks/base/tools/aapt2/configuration/
H A DConfigurationParser.cpp351 size_t end_index = apk_name.rfind(ext); in ToBaseName()
/aosp14/frameworks/base/libs/androidfw/
H A DAssetManager2.cpp702 const std::string name = overlay_path.substr(overlay_path.rfind('/') + 1); in FindEntry()