/third_party/protobuf/benchmarks/util/ |
H A D | result_parser.py | 220 last_slash_index = result_list[0].rfind('/') 224 last_dash = behavior_with_suffix.rfind("-")
|
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/renderers/ |
H A D | makefile.py | 227 name_suffix = input_file[input_file.filename.rfind("/")+1:input_file.filename.rfind(".")]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | string_view.cc | 101 string_view::size_type string_view::rfind(string_view s, 111 string_view::size_type string_view::rfind(char c,
|
/foundation/distributeddatamgr/pasteboard/framework/uri/ |
H A D | uri_handler.cpp | 55 if (!isClient && (PasteData::sharePath.size() == 0 || fileRealPath.rfind(PasteData::sharePath, 0) != 0)) {
in ToFd()
|
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | source_map.cpp | 141 end = temp.rfind("_.js"); in TranslateBySourceMap() 161 } else if (key.rfind(".js") != std::string::npos) { in TranslateBySourceMap() 496 uint32_t secondPos = rawStack.rfind(':', lineEnd); in GetErrorPos() 497 uint32_t fristPos = rawStack.rfind(':', secondPos - 1); in GetErrorPos()
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | fixed_string.h | 226 constexpr size_type rfind(const CharT str, size_type pos = npos) const noexcept 228 return string_view(*this).rfind(str, pos); 231 constexpr size_type rfind(const string_view& str, size_type pos = npos) const noexcept 233 return string_view(*this).rfind(str, pos);
|
/foundation/multimedia/ringtone_library/services/utils/src/ |
H A D | ringtone_file_utils.cpp | 122 size_t found = path.rfind("/"); in GetFileNameFromPath() 169 size_t found = path.rfind("/"); in GetBaseNameFromPath() 170 size_t foundDot = path.rfind("."); in GetBaseNameFromPath() 666 size_t dotIndex = path.rfind("."); in GetFileExtension()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | StringRef.h | 357 size_t rfind(char C, size_t From = npos) const { 380 size_t rfind(StringRef Str) const; 419 return rfind(C, From); 788 size_t Idx = rfind(Separator);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | StringRef.h | 366 size_t rfind(char C, size_t From = npos) const { 389 size_t rfind(StringRef Str) const; 428 return rfind(C, From); 752 size_t Idx = rfind(Separator);
|
/third_party/python/Lib/test/ |
H A D | test_mmap.py | 312 self.assertEqual(m.rfind(b'one'), 8) 313 self.assertEqual(m.rfind(b'one '), 0) 314 self.assertEqual(m.rfind(b'one', 0, -1), 8) 315 self.assertEqual(m.rfind(b'one', 0, -2), 0) 316 self.assertEqual(m.rfind(b'one', 1, -1), 8) 317 self.assertEqual(m.rfind(b'one', 1, -2), -1) 318 self.assertEqual(m.rfind(bytearray(b'one')), 8)
|
/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/ |
H A D | manifest_router.cpp | 66 if (uri.rfind(suffix) != std::string::npos) { in GetPagePath()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | render_data_loader.cpp | 34 if (auto const pos = fileUri.rfind(ext); pos != string_view::npos) { in HasExtension()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec_utils.h | 39 return (name.rfind(prefix) == (name.length() - prefix.length())); in IsSecureMode()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | text_trace.h | 64 int endIndex = str.rfind('('); in CutPrettyFunction()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | native_album_asset.cpp | 143 slashIndex = albumUri.rfind("/"); in ModifyAlbumAsset()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/src/ |
H A D | file_packer_stream.cpp | 35 int lastSlash = static_cast<int>(filePath.rfind("/")); in FilePackerStream()
|
/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/ |
H A D | mock.cpp | 28 return std::string(fileFullName).substr(0, fileFullName.rfind("/") + 1); in ExtractFilePath()
|
/foundation/distributeddatamgr/preferences/frameworks/native/platform/include/ |
H A D | preferences_file_operation.h | 118 auto pos = path.rfind('/'); in ExtractFileName()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/ |
H A D | default_app_mgr.cpp | 407 bool matchUri = uri.rfind(HTTP_SCHEME, 0) == 0 || uri.rfind(HTTPS_SCHEME, 0) == 0; in IsBrowserWant() 424 bool matchUri = uri.rfind(EMAIL_SCHEME, 0) == 0; in IsEmailWant() 446 bool isLocalScheme = uri.rfind(FILE_SCHEME, 0) == 0 || uri.rfind(CONTENT_SCHEME, 0) == 0; in GetTypeFromWant()
|
/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/system_tone_player/ |
H A D | system_tone_player_impl.cpp | 56 hapticUri.replace(0, hapticUri.rfind("/"), GENTLE_HAPTIC_PATH); in FormateHapticUri() 58 hapticUri.replace(hapticUri.rfind(AUDIO_FORMAT_STR), AUDIO_FORMAT_STR.length(), HAPTIC_FORMAT_STR); in FormateHapticUri() 73 audioUri.rfind(AUDIO_FORMAT_STR) != audioUri.length() - AUDIO_FORMAT_STR.length()) { in FindHapticUriByAudioUri() 232 hapticUri.rfind(AUDIO_FORMAT_STR) == hapticUri.length() - AUDIO_FORMAT_STR.length()) { in GetNewHapticUriForAudioUri() 233 hapticUri.replace(hapticUri.rfind(AUDIO_FORMAT_STR), AUDIO_FORMAT_STR.length(), HAPTIC_FORMAT_STR); in GetNewHapticUriForAudioUri()
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | backup_file_utils.cpp | 131 size_t displayNameIndex = result.rfind("/"); in ConvertLowQualityPath() 179 size_t displayNameIndex = filePath.rfind("/"); in GarbleFilePath() 211 size_t titleIndex = fileName.rfind("."); in GarbleFileName() 307 size_t index = path.rfind("/"); in PreparePath() 622 size_t pos = path.rfind("/"); in GetLastSlashPosFromPath()
|
/base/hiviewdfx/hiview/base/event_store/store/ |
H A D | sys_event_database.cpp | 45 ss << file.substr(file.rfind(FILE_NAME_DELIMIT_STR) + 1); in GetFileSeq() 284 std::string fileName = file.substr(file.rfind(FILE_DELIMIT_STR) + 1); // 1 for skipping '/' in UpdateClearMap() 376 std::string fileName = file.substr(file.rfind(FILE_DELIMIT_STR) + 1); // 1 for next char in IsContainQueryArg()
|
/base/hiviewdfx/hiview/base/utility/ |
H A D | string_util.cpp | 246 size_t pos = input.rfind(split, string::npos); in GetRleftSubstr() 255 size_t pos = input.rfind(split, string::npos); in GetRrightSubstr() 469 size_t index = str.rfind(sub); in EndWith()
|
/base/request/request/frameworks/cj/ffi/src/ |
H A D | cj_request_task.cpp | 132 std::string childDir = filepath.substr(0, filepath.rfind("/")); in SetPathPermission() 189 parentDir = childDir.substr(0, childDir.rfind("/")); in AddPathMap() 224 parentDir = childDir.substr(0, childDir.rfind("/")); in RemovePathMap()
|
/base/startup/init/services/param/watcher/agent/ |
H A D | watcher_manager_kits.cpp | 317 if (prefix.rfind(".*") == prefix.length() - 2) { // 2 last index in PreHandleWatchParam() 319 } else if (prefix.rfind("*") == prefix.length() - 1) { in PreHandleWatchParam() 321 } else if (prefix.rfind(".") == prefix.length() - 1) { in PreHandleWatchParam()
|