Home
last modified time | relevance | path

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

123456

/external/libcxx/test/std/strings/string.view/string.view.find/
Dfind_first_not_of_char_size.pass.cpp25 assert(s.find_first_not_of(c, pos) == x); in test()
34 assert(s.find_first_not_of(c) == x); in test()
78 static_assert (sv1.find_first_not_of( 'q', 0 ) == SV::npos, "" ); in main()
79 static_assert (sv1.find_first_not_of( 'q', 1 ) == SV::npos, "" ); in main()
80 static_assert (sv2.find_first_not_of( 'q', 0 ) == 0, "" ); in main()
81 static_assert (sv2.find_first_not_of( 'q', 1 ) == 1, "" ); in main()
82 static_assert (sv2.find_first_not_of( 'q', 5 ) == SV::npos, "" ); in main()
Dfind_first_not_of_pointer_size.pass.cpp25 assert(s.find_first_not_of(str, pos) == x); in test()
34 assert(s.find_first_not_of(str) == x); in test()
159 static_assert (sv1.find_first_not_of( "", 0) == SV::npos, "" ); in main()
160 static_assert (sv1.find_first_not_of( "irkhs", 0) == SV::npos, "" ); in main()
161 static_assert (sv2.find_first_not_of( "", 0) == 0, "" ); in main()
162 static_assert (sv2.find_first_not_of( "gfsrt", 0) == 0, "" ); in main()
163 static_assert (sv2.find_first_not_of( "lecar", 0) == 1, "" ); in main()
Dfind_first_not_of_pointer_size_size.pass.cpp25 assert(s.find_first_not_of(str, pos, n) == x); in test()
386 static_assert (sv1.find_first_not_of( "", 0, 0) == SV::npos, "" ); in main()
387 static_assert (sv1.find_first_not_of( "irkhs", 0, 5) == SV::npos, "" ); in main()
388 static_assert (sv2.find_first_not_of( "", 0, 0) == 0, "" ); in main()
389 static_assert (sv2.find_first_not_of( "gfsrt", 0, 5) == 0, "" ); in main()
390 static_assert (sv2.find_first_not_of( "lecar", 0, 5) == 1, "" ); in main()
/external/libchrome/base/strings/
Dstring_piece_unittest.cc359 ASSERT_EQ(a.find_first_not_of(b), 3U); in TYPED_TEST()
360 ASSERT_EQ(a.find_first_not_of(c), 0U); in TYPED_TEST()
361 ASSERT_EQ(b.find_first_not_of(a), Piece::npos); in TYPED_TEST()
362 ASSERT_EQ(c.find_first_not_of(a), Piece::npos); in TYPED_TEST()
363 ASSERT_EQ(f.find_first_not_of(a), 0U); in TYPED_TEST()
364 ASSERT_EQ(a.find_first_not_of(f), 0U); in TYPED_TEST()
365 ASSERT_EQ(a.find_first_not_of(d), 0U); in TYPED_TEST()
366 ASSERT_EQ(a.find_first_not_of(e), 0U); in TYPED_TEST()
368 ASSERT_EQ(d.find_first_not_of(a), Piece::npos); in TYPED_TEST()
369 ASSERT_EQ(e.find_first_not_of(a), Piece::npos); in TYPED_TEST()
[all …]
Dstring_piece.h97 BASE_EXPORT size_t find_first_not_of(const StringPiece& self,
100 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self,
103 BASE_EXPORT size_t find_first_not_of(const StringPiece& self,
106 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self,
339 size_type find_first_not_of(const BasicStringPiece& s,
341 return internal::find_first_not_of(*this, s, pos);
343 size_type find_first_not_of(value_type c, size_type pos = 0) const {
344 return internal::find_first_not_of(*this, c, pos);
Dstring_piece.cc233 size_t find_first_not_of(const StringPiece& self, in find_first_not_of() function
244 return find_first_not_of(self, s.data()[0], pos); in find_first_not_of()
257 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self, in find_first_not_of() function
292 size_t find_first_not_of(const StringPiece& self, in find_first_not_of() function
298 size_t find_first_not_of(const StringPiece16& self, in find_first_not_of() function
/external/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.cc180 stringpiece_ssize_type StringPiece::find_first_not_of(StringPiece s, in find_first_not_of() function in google::protobuf::StringPiece
185 if (s.length_ == 1) return find_first_not_of(s.ptr_[0], pos); in find_first_not_of()
197 stringpiece_ssize_type StringPiece::find_first_not_of(char c, in find_first_not_of() function in google::protobuf::StringPiece
/external/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);
/external/swiftshader/third_party/llvm-7.0/llvm/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);
/external/llvm/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.h310 size_t find_first_not_of(char C, size_t From = 0) const;
316 size_t find_first_not_of(StringRef Chars, size_t From = 0) const;
553 return drop_front(std::min(Length, find_first_not_of(Char))); in ltrim()
559 return drop_front(std::min(Length, find_first_not_of(Chars)));
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTString.h365 size_t find_first_not_of(char _Ch, size_t _Off = 0) const;
373 size_t find_first_not_of(const char* _Ptr, size_t _Off = 0) const;
382 size_t find_first_not_of(const char* _Ptr, size_t _Off, size_t _Count) const;
390 size_t find_first_not_of(const CPVRTString& _Str, size_t _Off = 0) const;
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenInstruction.cpp201 std::string::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint()
205 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
222 start = CStr.find_first_not_of(" \t"); in ParseConstraint()
233 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
257 bidx = CStr.find_first_not_of(delims); in ParseConstraints()
264 bidx = CStr.find_first_not_of(delims, eidx); in ParseConstraints()
/external/parameter-framework/upstream/parameter/
DRuleParser.cpp154 if ((delimiter = _strApplicationRule.find_first_not_of(" ", _uiCurrentPos)) != string::npos) { in iterate()
246 if ((delimiter = _strApplicationRule.find_first_not_of(" ", _uiCurrentPos)) != string::npos) { in next()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DSmallStringTest.cpp140 EXPECT_EQ(1U, theString.find_first_not_of('h')); in TEST_F()
141 EXPECT_EQ(4U, theString.find_first_not_of("hel")); in TEST_F()
142 EXPECT_EQ(StringRef::npos, theString.find_first_not_of("hello")); in TEST_F()
/external/llvm/unittests/ADT/
DSmallStringTest.cpp140 EXPECT_EQ(1U, theString.find_first_not_of('h')); in TEST_F()
141 EXPECT_EQ(4U, theString.find_first_not_of("hel")); in TEST_F()
142 EXPECT_EQ(StringRef::npos, theString.find_first_not_of("hello")); in TEST_F()
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.not.of/
Dchar_size.pass.cpp24 assert(s.find_first_not_of(c, pos) == x); in test()
33 assert(s.find_first_not_of(c) == x); in test()
Dstring_size.pass.cpp24 assert(s.find_first_not_of(str, pos) == x); in test()
33 assert(s.find_first_not_of(str) == x); in test()
162 assert(s.find_first_not_of({"abc", 1}) == 0); in main()
Dpointer_size.pass.cpp24 assert(s.find_first_not_of(str, pos) == x); in test()
33 assert(s.find_first_not_of(str) == x); in test()
/external/libcxx/include/
Dstring_view137 constexpr size_type find_first_not_of(basic_string_view s, size_type pos = 0) const noexcept;
138 constexpr size_type find_first_not_of(charT c, size_type pos = 0) const noexcept;
139 constexpr size_type find_first_not_of(const charT* s, size_type pos, size_type n) const;
140 constexpr size_type find_first_not_of(const charT* s, size_type pos = 0) const;
514 // find_first_not_of
516 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT
518 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): receiv…
524 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT
531 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const
533 … _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr");
[all …]
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp207 std::string::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint()
211 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
228 start = CStr.find_first_not_of(" \t"); in ParseConstraint()
239 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
265 bidx = CStr.find_first_not_of(delims); in ParseConstraints()
272 bidx = CStr.find_first_not_of(delims, eidx); in ParseConstraints()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenInstruction.cpp208 std::string::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint()
212 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
229 start = CStr.find_first_not_of(" \t"); in ParseConstraint()
240 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
266 bidx = CStr.find_first_not_of(delims); in ParseConstraints()
273 bidx = CStr.find_first_not_of(delims, eidx); in ParseConstraints()
/external/swiftshader/third_party/LLVM/unittests/ADT/
DStringRefTest.cpp260 EXPECT_EQ(1U, Str.find_first_not_of('h')); in TEST()
261 EXPECT_EQ(4U, Str.find_first_not_of("hel")); in TEST()
262 EXPECT_EQ(StringRef::npos, Str.find_first_not_of("hello")); in TEST()
/external/perf_data_converter/src/quipper/
Dstring_utils.cc15 size_t start = str->find_first_not_of(kWhitespaceCharacters); in TrimWhitespace()

123456