Home
last modified time | relevance | path

Searched refs:find_first_not_of (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstring_view_test.cc560 EXPECT_EQ(a.find_first_not_of(b), 3); in TEST()
561 EXPECT_EQ(a.find_first_not_of(c), 0); in TEST()
562 EXPECT_EQ(b.find_first_not_of(a), absl::string_view::npos); in TEST()
563 EXPECT_EQ(c.find_first_not_of(a), absl::string_view::npos); in TEST()
564 EXPECT_EQ(f.find_first_not_of(a), 0); in TEST()
565 EXPECT_EQ(a.find_first_not_of(f), 0); in TEST()
566 EXPECT_EQ(a.find_first_not_of(d), 0); in TEST()
567 EXPECT_EQ(a.find_first_not_of(e), 0); in TEST()
569 EXPECT_EQ(a.find_first_not_of(d), 0); in TEST()
570 EXPECT_EQ(a.find_first_not_of(e), 0); in TEST()
[all …]
Dstring_view.h554 size_type find_first_not_of(string_view s, size_type pos = 0) const noexcept;
558 size_type find_first_not_of(char c, size_type pos = 0) const noexcept;
562 size_type find_first_not_of(const char* s, size_type pos, in find_first_not_of() function
564 return find_first_not_of(string_view(s, count), pos); in find_first_not_of()
569 size_type find_first_not_of(const char* s, size_type pos = 0) const {
570 return find_first_not_of(string_view(s), pos);
Dstring_view.cc140 string_view::size_type string_view::find_first_not_of( in find_first_not_of() function in absl::string_view
144 if (s.length_ == 1) return find_first_not_of(s.ptr_[0], pos); in find_first_not_of()
154 string_view::size_type string_view::find_first_not_of( in find_first_not_of() function in absl::string_view
/third_party/protobuf/src/google/protobuf/stubs/
Dstringpiece_unittest.cc437 EXPECT_EQ(a.find_first_not_of(b), 3); in TEST()
438 EXPECT_EQ(a.find_first_not_of(c), 0); in TEST()
439 EXPECT_EQ(b.find_first_not_of(a), StringPiece::npos); in TEST()
440 EXPECT_EQ(c.find_first_not_of(a), StringPiece::npos); in TEST()
441 EXPECT_EQ(f.find_first_not_of(a), 0); in TEST()
442 EXPECT_EQ(a.find_first_not_of(f), 0); in TEST()
443 EXPECT_EQ(a.find_first_not_of(d), 0); in TEST()
444 EXPECT_EQ(a.find_first_not_of(e), 0); in TEST()
446 EXPECT_EQ(d.find_first_not_of(a), StringPiece::npos); in TEST()
447 EXPECT_EQ(e.find_first_not_of(a), StringPiece::npos); in TEST()
[all …]
Dstringpiece.cc182 stringpiece_ssize_type StringPiece::find_first_not_of(StringPiece s, in find_first_not_of() function in google::protobuf::StringPiece
187 if (s.length_ == 1) return find_first_not_of(s.ptr_[0], pos); in find_first_not_of()
199 stringpiece_ssize_type StringPiece::find_first_not_of(char c, in find_first_not_of() function in google::protobuf::StringPiece
Dstringpiece.h375 stringpiece_ssize_type find_first_not_of(StringPiece s,
377 stringpiece_ssize_type find_first_not_of(char c, size_type pos = 0) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallString.h190 size_t find_first_not_of(char C, size_t From = 0) const {
191 return str().find_first_not_of(C, From);
198 size_t find_first_not_of(StringRef Chars, size_t From = 0) const {
199 return str().find_first_not_of(Chars, From);
DStringRef.h415 size_t find_first_not_of(char C, size_t From = 0) const;
422 size_t find_first_not_of(StringRef Chars, size_t From = 0) const;
812 return drop_front(std::min(Length, find_first_not_of(Char))); in ltrim()
819 return drop_front(std::min(Length, find_first_not_of(Chars)));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallString.h191 size_t find_first_not_of(char C, size_t From = 0) const {
192 return str().find_first_not_of(C, From);
199 size_t find_first_not_of(StringRef Chars, size_t From = 0) const {
200 return str().find_first_not_of(Chars, From);
DStringRef.h406 size_t find_first_not_of(char C, size_t From = 0) const;
413 size_t find_first_not_of(StringRef Chars, size_t From = 0) const;
798 return drop_front(std::min(Length, find_first_not_of(Char))); in ltrim()
805 return drop_front(std::min(Length, find_first_not_of(Chars)));
/third_party/libphonenumber/cpp/src/phonenumbers/base/strings/
Dstring_piece.cc122 size_type StringPiece::find_first_not_of(const StringPiece& s, in find_first_not_of() function in i18n::phonenumbers::StringPiece
132 return find_first_not_of(s.ptr_[0], pos); in find_first_not_of()
144 size_type StringPiece::find_first_not_of(char c, size_type pos) const { in find_first_not_of() function in i18n::phonenumbers::StringPiece
Dstring_piece.h147 size_type find_first_not_of(const StringPiece& s, size_type pos = 0) const;
148 size_type find_first_not_of(char c, size_type pos = 0) const;
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
Dsfn_test_shaders.cpp3089 if (line.find_first_not_of(" \t") == std::string::npos) in from_string()
3105 if (line.find_first_not_of(" \t") == std::string::npos) in from_string()
Dsfn_shaderfromstring_test.cpp104 if (line.find_first_not_of(" \t") == std::string::npos) in from_string()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DDemangle.cpp17 size_t Pos = MangledName.find_first_not_of('_'); in isItaniumEncoding()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSectionWasm.cpp25 if (Name.find_first_not_of("0123456789_." in printName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DStringExtras.cpp40 StringRef::size_type Start = Source.find_first_not_of(Delimiters); in getToken()
/third_party/skia/third_party/externals/angle2/src/common/
Dstring_utils.cpp103 auto begin = input.find_first_not_of(trimChars); in TrimString()
148 if (input.find_first_not_of("0123456789ABCDEFabcdef", offset) != std::string::npos) in HexStringToUInt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStringExtras.cpp40 StringRef::size_type Start = Source.find_first_not_of(Delimiters); in getToken()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkAppParamsUtil.cpp38 const auto beg = original.find_first_not_of(whiteSigns); in trim()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dusage_config.cc98 auto pos = filename.find_first_not_of("\\/"); in NormalizeFilename()
/third_party/glslang/glslang/ResourceLimits/
DResourceLimits.cpp287 while ((pos = configStr.find_first_not_of(delims, pos)) != std::string::npos) { in DecodeResourceLimits()
290 const size_t value_s = configStr.find_first_not_of(delims, token_e); in DecodeResourceLimits()
/third_party/gn/src/base/strings/
Dstring_util.cc224 ? input_piece.find_first_not_of(trim_chars) in TrimStringT()
267 (positions & TRIM_LEADING) ? input.find_first_not_of(trim_chars) : 0; in TrimStringPieceT()
402 return input.find_first_not_of(characters) == std::string_view::npos; in ContainsOnlyChars()
407 return input.find_first_not_of(characters) == std::u16string_view::npos; in ContainsOnlyChars()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMAsm.cpp71 auto index = line.find_first_not_of(" \t"); in fixupAsmFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DYAMLTraits.h414 S.drop_front().find_first_not_of(OctalChars) == StringRef::npos)
418 S.drop_front(2).find_first_not_of(OctalChars) == StringRef::npos)
423 S.drop_front(2).find_first_not_of(HexChars) == StringRef::npos)
427 if (S.find_first_not_of(DecChars) == StringRef::npos)
474 if (S.find_first_not_of(ScalarSafeChars) != StringRef::npos)

1234