Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstringpiece_unittest.cc371 EXPECT_EQ(a.rfind(b), 0); in TEST()
372 EXPECT_EQ(a.rfind(b, 1), 0); in TEST()
373 EXPECT_EQ(a.rfind(c), 23); in TEST()
374 EXPECT_EQ(a.rfind(c, 22), StringPiece::npos); in TEST()
375 EXPECT_EQ(a.rfind(c, 1), StringPiece::npos); in TEST()
376 EXPECT_EQ(a.rfind(c, 0), StringPiece::npos); in TEST()
377 EXPECT_EQ(b.rfind(c), StringPiece::npos); in TEST()
378 EXPECT_EQ(b.rfind(c, 0), StringPiece::npos); in TEST()
379 EXPECT_EQ(a.rfind(d), a.as_string().rfind(string())); in TEST()
380 EXPECT_EQ(a.rfind(e), a.as_string().rfind(string())); in TEST()
[all …]
Dstringpiece.h369 stringpiece_ssize_type rfind(StringPiece s, size_type pos = npos) const;
370 stringpiece_ssize_type rfind(char c, size_type pos = npos) const;
382 return rfind(c, pos);
Dstringpiece.cc121 stringpiece_ssize_type StringPiece::rfind(StringPiece s, size_type pos) const { in rfind() function in google::protobuf::StringPiece
132 stringpiece_ssize_type StringPiece::rfind(char c, size_type pos) const { in rfind() function in google::protobuf::StringPiece
/frameworks/base/startop/view_compiler/
Dutil.cc26 size_t start = filename.rfind("/"); in FindLayoutNameFromFilename()
/frameworks/compile/libbcc/lib/
DRSUtils.h60 size_t LastDot = T->getName().rfind('.'); in getUnsuffixedStructName()
/frameworks/base/tools/bit/
Dutil.cpp274 size_t slash = filename.rfind('/'); in dirname()
287 size_t slash = filename.rfind('/'); in leafname()
Daapt.cpp221 size_t colon = str.rfind(':'); in inspect_apk()
/frameworks/native/cmds/installd/
Dglobals.cpp78 if (path.rfind('/') != path.size() - 1) { in ensure_trailing_slash()
Ddexopt.cpp471 unsigned long dir_index = apk_dir.rfind('/'); in RunDex2Oat()
1038 size_t odex_pos = oat_path.rfind(".odex"); in replace_file_extension()
1602 unsigned long dirIndex = dex_path.rfind('/'); in prepare_secondary_dex_oat_dir()
1736 size_t dirIndex = dex_path.rfind('/'); in create_secondary_dex_oat_layout()
2626 std::string::size_type end = apk_path_.rfind('.'); in calculate_oat_file_path_default()
2627 std::string::size_type start = apk_path_.rfind('/', end); in calculate_oat_file_path_default()
2653 std::string::size_type end = apk_path_.rfind('.'); in calculate_odex_file_path_default()
2654 std::string::size_type start = apk_path_.rfind('/', end); in calculate_odex_file_path_default()
Dutils.cpp291 size_t dirIndex = dex_path.rfind('/'); in get_secondary_dex_location()
833 if (dir.find('/') != 0 || dir.rfind('/') != dir.size() - 1 in validate_path()
/frameworks/base/tools/streaming_proto/
Dstring_utils.cpp66 size_t start = str.rfind('/'); in file_base_name()
/frameworks/base/tools/aapt2/java/
DManifestClassGenerator.cpp36 size_t pos = value.rfind('.'); in ExtractJavaIdentifier()
/frameworks/rs/script_api/
DScanner.cpp176 size_t nameStart = s.rfind(' '); in parseArgString()
/frameworks/base/packages/SystemUI/scripts/
Dnew_merge.py99 file = path[path.rfind('/') + 1:]
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp322 std::string::size_type end = path.rfind('.'); in GetSecondaryDexArtifact()
323 std::string::size_type start = path.rfind('/', end); in GetSecondaryDexArtifact()
542 std::string::size_type name_end = dex_path.rfind('.'); in GetPrimaryDexArtifact()
543 std::string::size_type name_start = dex_path.rfind('/'); in GetPrimaryDexArtifact()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dutility.cc134 size_t idx = type_url.rfind('/'); in GetTypeWithoutUrl()
Dprotostream_objectwriter.cc96 size_t idx = input.rfind('.'); in SplitSecondsAndNanos()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dwell_known_types.py141 timezone_offset = value.rfind('-')
/frameworks/base/tools/fonts/
Dfontchain_linter.py55 hyphen_idx = lang.rfind('-')
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Ddescriptor.py976 [type_name[type_name.rfind('.')+1:]])
/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp70 size_t cutPos = scriptSOName.rfind("cache"); in findSharedObjectName()
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp117 size_t dot_pos = filename.rfind('.'); in ExtractResourcePathData()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp356 size_t end_index = apk_name.to_string().rfind(ext.to_string()); in ToBaseName()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc228 string::size_type last_slash = path.rfind('/'); in PathSplit()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/
Dpython_generator.cc380 int last_dot_pos = module_name.rfind('.'); in PrintImports()

12