/third_party/python/Lib/test/ |
H A D | test_bytes.py | 648 self.assertEqual(b.rfind(b'ss'), 5) 649 self.assertEqual(b.rfind(b'w'), -1) 650 self.assertEqual(b.rfind(b'mississippian'), -1) 652 self.assertEqual(b.rfind(i), 10) 653 self.assertEqual(b.rfind(w), -1) 655 self.assertEqual(b.rfind(b'ss', 3), 5) 656 self.assertEqual(b.rfind(b'ss', 0, 6), 2) 658 self.assertEqual(b.rfind(i, 1, 3), 1) 659 self.assertEqual(b.rfind(i, 3, 9), 7) 660 self.assertEqual(b.rfind( [all...] |
/foundation/ability/form_fwk/services/form_render_service/src/ |
H A D | form_module_checker.cpp | 75 const std::string path = item.substr(0, item.rfind('.'));
in CheckApiWithSuffix()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | native_lib_util.cpp | 27 auto pos = hapPath.rfind("/"); in GetLibPath()
|
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | uncaught_exception_callback.cpp | 114 auto spitlPos = tempStr.rfind(" "); in GetBuildId()
|
/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | patterns_matcher.cpp | 156 if (indexM < match.length() && !(pattern.rfind("*") == pattern.length() - 1)) { in GlobPattern()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | mime_type_mgr.cpp | 85 auto suffixIndex = uri.rfind('.'); in GetUriSuffix()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | base_extractor.cpp | 117 auto position = entry.first.rfind(ServiceConstants::QUICK_FIX_FILE_SUFFIX); in GetZipFileNames()
|
/foundation/multimedia/media_library/frameworks/services/media_cloud_sync_notify_handle/src/ |
H A D | analysis_handler.cpp | 37 auto index = uriString.rfind('/'); in GetFileIds()
|
/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | get_device_node.cpp | 127 startPos = item.rfind("event"); in AnalyseDevices()
|
/foundation/distributeddatamgr/preferences/frameworks/common/include/ |
H A D | log_print.h | 71 auto pos = fileName.rfind('/'); \
|
/third_party/gn/src/gn/ |
H A D | ohos_components_mapping.cc | 35 return (str.rfind(prefix, 0) == 0);
in StartWith()
|
/third_party/icu/icu4c/source/python/icutools/databuilder/ |
H A D | utils.py | 136 dirs.add(path[:path.rfind("/")])
|
/third_party/json/tests/thirdparty/imapdl/ |
H A D | filterbr.py | 28 a = line.rfind('*/', p)
|
/third_party/protobuf/benchmarks/util/ |
H A D | protoc-gen-proto2_to_proto3.cc | 26 return filename.substr(0, filename.rfind(".proto")); in StripProto()
|
/third_party/python/Lib/ctypes/macholib/ |
H A D | dyld.py | 155 fmwk_index = fn.rfind('.framework')
|
/third_party/python/Lib/re/ |
H A D | _constants.py | 48 self.colno = pos - pattern.rfind(newline, 0, pos)
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
H A D | File.cpp | 126 auto pos = pathstr.rfind("/"); in createPhysical()
|
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/ |
H A D | utils.py | 136 dirs.add(path[:path.rfind("/")])
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | string_view.h | 132 constexpr size_type rfind(const CharT str, size_type pos = npos) const noexcept; 133 constexpr size_type rfind(const basic_string_view& str, size_type pos = npos) const noexcept; 627 constexpr typename basic_string_view<CharT>::size_type basic_string_view<CharT>::rfind( 634 constexpr typename basic_string_view<CharT>::size_type basic_string_view<CharT>::rfind(
|
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_sub_statemachine.cpp | 664 std::string::size_type dotPos = btpanIpv4Addr.rfind("."); in GetBtDestinationAddr() 690 std::string::size_type dotPos = wifiIpv4Addr.rfind("."); in GetWifiApDestinationAddr() 739 std::string::size_type dotPos = usbIpv4Addr.rfind("."); in GetUsbDestinationAddr() 767 std::string::size_type pos = ipAddr.rfind("."); in StartDhcp()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_utils.cpp | 260 return (path.rfind('/') != path.size() - 1) ? path + "/" : path; in NormalizePath() 269 const size_t lastSlashIdx = path.rfind('/'); in GetFileName() 283 const size_t lastSlashIdx = path.rfind('/'); in GetDirectory()
|
/foundation/multimodalinput/input/libudev/src/ |
H A D | udev_device.cpp | 53 auto pos = str.rfind(sep); in ChopTail() 99 auto pos = result.rfind('/'); in GetLinkValue() 303 auto pos = syspath.rfind('/'); in SetSyspath()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | udbgutil.cpp | 639 if(ticket.rfind(OLD_CLDR_PREFIX) == 0) { in mapTicketId() 709 if(ticketid.rfind(ICU_BUG_PREFIX) == 0 || ticketid.rfind(CLDR_BUG_PREFIX) == 0) { in print()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | udbgutil.cpp | 642 if(ticket.rfind(OLD_CLDR_PREFIX) == 0) { in mapTicketId() 712 if(ticketid.rfind(ICU_BUG_PREFIX) == 0 || ticketid.rfind(CLDR_BUG_PREFIX) == 0) { in print()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | udbgutil.cpp | 639 if(ticket.rfind(OLD_CLDR_PREFIX) == 0) { in mapTicketId() 709 if(ticketid.rfind(ICU_BUG_PREFIX) == 0 || ticketid.rfind(CLDR_BUG_PREFIX) == 0) { in print()
|