Home
last modified time | relevance | path

Searched refs:find_last_of (Results 1 – 24 of 24) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstringpiece_unittest.cc469 EXPECT_EQ(h.find_last_of(a), StringPiece::npos); in TEST()
470 EXPECT_EQ(g.find_last_of(a), g.size()-1); in TEST()
471 EXPECT_EQ(a.find_last_of(b), 2); in TEST()
472 EXPECT_EQ(a.find_last_of(c), a.size()-1); in TEST()
473 EXPECT_EQ(f.find_last_of(i), 6); in TEST()
474 EXPECT_EQ(a.find_last_of('a'), 0); in TEST()
475 EXPECT_EQ(a.find_last_of('b'), 1); in TEST()
476 EXPECT_EQ(a.find_last_of('z'), 25); in TEST()
477 EXPECT_EQ(a.find_last_of('a', 5), 0); in TEST()
478 EXPECT_EQ(a.find_last_of('b', 5), 1); in TEST()
[all …]
Dstringpiece.cc209 stringpiece_ssize_type StringPiece::find_last_of(StringPiece s, in find_last_of() function in google::protobuf::StringPiece
213 if (s.length_ == 1) return find_last_of(s.ptr_[0], pos); in find_last_of()
Dstringpiece.h379 stringpiece_ssize_type find_last_of(StringPiece s,
381 stringpiece_ssize_type find_last_of(char c, size_type pos = npos) const {
/frameworks/compile/mclinker/lib/Support/
DPath.cpp159 size_t end_pos = m_PathName.find_last_of(separator); in parent_path()
166 size_t pos = m_PathName.find_last_of(separator); in filename()
175 size_t begin_pos = m_PathName.find_last_of(separator) + 1; in stem()
176 size_t end_pos = m_PathName.find_last_of(dot); in stem()
182 size_t pos = m_PathName.find_last_of('.'); in extension()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dany.cc88 size_t pos = type_url.find_last_of("/"); in ParseAnyTypeUrl()
Ddescriptor.cc1591 string::size_type dot_pos = prefix.find_last_of('.'); in IsSubSymbolOfBuiltType()
3425 string::size_type dot_pos = scope_to_try.find_last_of('.'); in LookupSymbolNoPlaceholder()
3494 string::size_type dotpos = placeholder_full_name->find_last_of('.'); in NewPlaceholder()
3608 string::size_type dot_pos = full_name.find_last_of('.'); in AddSymbol()
3632 string::size_type dot_pos = name.find_last_of('.'); in AddPackage()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DMemoryFileSystem.cpp18 size_t index = path.find_last_of("/"); in GetFileName()
/frameworks/compile/mclinker/lib/Core/
DGeneralOptions.cpp72 size_t pos = pName.find_last_of(sys::fs::separator); in setSOName()
/frameworks/rs/rsov/compiler/
Drs2spirv.cpp58 size_t Pos = FileName.find_last_of("."); in removeExt()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc110 int lastindex = proto_file.find_last_of("."); in StripDotProto()
125 int lastslash = proto_file.find_last_of("/"); in GetFileNameBase()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testing/
Dfile.cc124 string::size_type slashpos = path.find_last_of('/'); in RecursivelyCreateDir()
/frameworks/native/libs/ui/tools/
Dlutgen.cpp135 size_t index = filename.find_last_of('.'); in main()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_name_resolver.cc122 string::size_type last_slash = file->name().find_last_of('/'); in GetFileDefaultImmutableClassName()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dcommand_line_interface.cc127 text.find_last_of(':') == 1; in IsWindowsAbsolutePath()
239 size_t pos = path.find_last_of("/\\"); in AddDefaultProtoPaths()
255 pos = path.find_last_of("/\\"); in AddDefaultProtoPaths()
651 pos = target->find_last_of('\n', pos); in ~MemoryOutputStream()
1267 string::size_type slash_pos = value.find_last_of('/'); in InterpretArgument()
Dimporter.cc77 text.find_last_of(':') == 1; in IsWindowsAbsolutePath()
Dcommand_line_interface_unittest.cc370 string::size_type slash_pos = name.find_last_of('/'); in Run()
Dparser_unittest.cc1739 string::size_type pos = type_name.find_last_of("."); in StripFieldTypeName()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtype_resolver_util.cc59 size_t pos = type_url.find_last_of("/"); in SplitTypeUrl()
Dtime_util.cc209 size_t pos = value.find_last_of("."); in FromString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_helpers.cc184 string::size_type last_slash = file->name().find_last_of('/'); in FileClassName()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ruby/
Druby_generator.cc74 int lastindex = proto_file.find_last_of("."); in GetRequireName()
/frameworks/native/libs/graphicsenv/
DGraphicsEnv.cpp94 size_t insertPos = fileName->find_last_of("."); in insertVndkVersionStr()
/frameworks/native/cmds/installd/
Dotapreopt.cpp387 size_t last_slash = path.find_last_of('/'); in CreatePath()
/frameworks/base/tools/aapt2/
DResourceParser.cpp1448 size_t pos = style_name.find_last_of(u'.'); in ParseStyle()