Home
last modified time | relevance | path

Searched refs:rfind (Results 76 - 100 of 463) sorted by relevance

12345678910>>...19

/third_party/protobuf/benchmarks/util/
H A Dresult_parser.py220 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 Dmakefile.py227 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 Dstring_view.cc101 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 Duri_handler.cpp55 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 Dsource_map.cpp141 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 Dfixed_string.h226 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 Dringtone_file_utils.cpp122 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 DStringRef.h357 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 DStringRef.h366 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 Dtest_mmap.py312 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 Dmanifest_router.cpp66 if (uri.rfind(suffix) != std::string::npos) { in GetPagePath()
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Drender_data_loader.cpp34 if (auto const pos = fileUri.rfind(ext); pos != string_view::npos) { in HasExtension()
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec_utils.h39 return (name.rfind(prefix) == (name.length() - prefix.length())); in IsSecureMode()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Dtext_trace.h64 int endIndex = str.rfind('('); in CutPrettyFunction()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dnative_album_asset.cpp143 slashIndex = albumUri.rfind("/"); in ModifyAlbumAsset()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/src/
H A Dfile_packer_stream.cpp35 int lastSlash = static_cast<int>(filePath.rfind("/")); in FilePackerStream()
/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/
H A Dmock.cpp28 return std::string(fileFullName).substr(0, fileFullName.rfind("/") + 1); in ExtractFilePath()
/foundation/distributeddatamgr/preferences/frameworks/native/platform/include/
H A Dpreferences_file_operation.h118 auto pos = path.rfind('/'); in ExtractFileName()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/
H A Ddefault_app_mgr.cpp407 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 Dsystem_tone_player_impl.cpp56 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 Dbackup_file_utils.cpp131 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 Dsys_event_database.cpp45 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 Dstring_util.cpp246 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 Dcj_request_task.cpp132 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 Dwatcher_manager_kits.cpp317 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()

Completed in 38 milliseconds

12345678910>>...19