Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstringpiece_unittest.cc413 EXPECT_EQ(a.find_first_of(b), 0); in TEST()
414 EXPECT_EQ(a.find_first_of(b, 0), 0); in TEST()
415 EXPECT_EQ(a.find_first_of(b, 1), 1); in TEST()
416 EXPECT_EQ(a.find_first_of(b, 2), 2); in TEST()
417 EXPECT_EQ(a.find_first_of(b, 3), StringPiece::npos); in TEST()
418 EXPECT_EQ(a.find_first_of(c), 23); in TEST()
419 EXPECT_EQ(a.find_first_of(c, 23), 23); in TEST()
420 EXPECT_EQ(a.find_first_of(c, 24), 24); in TEST()
421 EXPECT_EQ(a.find_first_of(c, 25), 25); in TEST()
422 EXPECT_EQ(a.find_first_of(c, 26), StringPiece::npos); in TEST()
[all …]
Dstringpiece.cc162 stringpiece_ssize_type StringPiece::find_first_of(StringPiece s, in find_first_of() function in google::protobuf::StringPiece
168 if (s.length_ == 1) return find_first_of(s.ptr_[0], pos); in find_first_of()
Dstringpiece.h372 stringpiece_ssize_type find_first_of(StringPiece s, size_type pos = 0) const;
373 stringpiece_ssize_type find_first_of(char c, size_type pos = 0) const {
Dstrutil.cc202 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
240 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorAllowEmpty()
/frameworks/compile/mclinker/lib/Support/Windows/
DPathV3.inc85 handler = pathname.find_first_of(separator, handler);
95 handler = pathname.find_first_of(separator, handler + 3);
103 handler = pathname.find_first_of(separator, handler + 2);
111 handler = pathname.find_first_of(separator, handler + 1);
116 handler = pathname.find_first_of(separator, handler);
/frameworks/compile/mclinker/lib/Support/Unix/
DPathV3.inc91 handler = pathname.find_first_of(separator, handler);
101 handler = pathname.find_first_of(separator, handler + 3);
109 handler = pathname.find_first_of(separator, handler + 2);
117 handler = pathname.find_first_of(separator, handler + 1);
122 handler = pathname.find_first_of(separator, handler);
/frameworks/compile/mclinker/lib/LD/
DGNUArchiveReader.cpp171 size_t pos = name_field.find_first_of('/'); in readMemberHeader()
176 size_t end = name_field.find_first_of(" :"); in readMemberHeader()
184 end = name_field.find_first_of(' ', begin); in readMemberHeader()
191 end = pArchiveRoot.getStrTable().find_first_of('\n', begin); in readMemberHeader()
/frameworks/compile/mclinker/lib/Script/
DWildcardPattern.cpp32 if (pPattern.find_first_of('*') == (pPattern.size() - 1)) in WildcardPattern()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dcode_generator.cc70 string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter()
Dcommand_line_interface.cc689 data_.find_first_of('\n', data_pos) + 1 - data_pos; in ~MemoryOutputStream()
1124 string::size_type equals_pos = parts[i].find_first_of('='); in InterpretArgument()
1264 string::size_type equals_pos = value.find_first_of('='); in InterpretArgument()
1333 string::size_type colon_pos = value.find_first_of(':'); in InterpretArgument()
/frameworks/native/cmds/lshal/libprocpartition/
Dprocpartition.cpp75 size_t backslash = path.find_first_of('/', 1); in getPartitionFromRealpath()
/frameworks/base/tools/streaming_proto/
Dstring_utils.cpp98 found = str.find_first_of(delimiter, base); in split()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_doc_comment.cc152 string::size_type pos = result.find_first_of('\n'); in FirstLineOf()
/frameworks/base/cmds/incident_helper/src/
Dih_util.cpp69 found = line.find_first_of(delimiters, base); in split()
212 auto found = line->find_first_of(cut); in behead()
/frameworks/av/media/libmedia/include/media/
Dconvert.h115 if (str.find_first_of(std::string("\r\n\t\v ")) != std::string::npos) {
/frameworks/av/include/media/
Dconvert.h115 if (str.find_first_of(std::string("\r\n\t\v ")) != std::string::npos) {
/frameworks/base/tools/incident_section_gen/
Dmain.cpp145 found = args.find_first_of(' ', base); in splitAndPrint()
156 if (fieldName.find_first_of(oldC) == fieldName.npos) return fieldName.c_str(); in replaceAll()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp407 std::size_t p = s.find_first_of(" \n", start); in comment()
Dslang_rs_reflection.cpp2198 LastDotPos = ElementVarName.find_first_of('.', LastDotPos + 1); in genPackVarOfType()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_helpers.cc285 string::size_type first_line_end = def.find_first_of('\n'); in PrintFieldComment()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc398 if (float_value.find_first_of(".eE") != string::npos) { in DefaultValue()
Dcpp_message.cc76 "def", def.substr(0, def.find_first_of('\n'))); in PrintFieldComment()
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp317 while ( (next_pos = src.find_first_of('\n', cur_pos)) != std::string::npos) { in CompileShader()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor.cc3413 string::size_type name_dot_pos = name.find_first_of('.'); in LookupSymbolNoPlaceholder()