Home
last modified time | relevance | path

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

12345

/external/chromium_org/base/strings/
Dstring_piece_unittest.cc355 ASSERT_EQ(a.find_first_not_of(b), 3U); in TYPED_TEST()
356 ASSERT_EQ(a.find_first_not_of(c), 0U); in TYPED_TEST()
357 ASSERT_EQ(b.find_first_not_of(a), Piece::npos); in TYPED_TEST()
358 ASSERT_EQ(c.find_first_not_of(a), Piece::npos); in TYPED_TEST()
359 ASSERT_EQ(f.find_first_not_of(a), 0U); in TYPED_TEST()
360 ASSERT_EQ(a.find_first_not_of(f), 0U); in TYPED_TEST()
361 ASSERT_EQ(a.find_first_not_of(d), 0U); in TYPED_TEST()
362 ASSERT_EQ(a.find_first_not_of(e), 0U); in TYPED_TEST()
364 ASSERT_EQ(d.find_first_not_of(a), Piece::npos); in TYPED_TEST()
365 ASSERT_EQ(e.find_first_not_of(a), Piece::npos); in TYPED_TEST()
[all …]
Dstring_piece.h106 BASE_EXPORT size_t find_first_not_of(const StringPiece& self,
109 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self,
112 BASE_EXPORT size_t find_first_not_of(const StringPiece& self,
115 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self,
314 size_type find_first_not_of(const BasicStringPiece& s,
316 return internal::find_first_not_of(*this, s, pos);
318 size_type find_first_not_of(value_type c, size_type pos = 0) const {
319 return internal::find_first_not_of(*this, c, pos);
Dstring_piece.cc228 size_t find_first_not_of(const StringPiece& self, in find_first_not_of() function
239 return find_first_not_of(self, s.data()[0], pos); in find_first_not_of()
252 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self, in find_first_not_of() function
287 size_t find_first_not_of(const StringPiece& self, in find_first_not_of() function
293 size_t find_first_not_of(const StringPiece16& self, in find_first_not_of() function
Dstring_util.cc168 input.find_first_not_of(trim_chars) : 0; in TrimStringT()
317 return input.find_first_not_of(characters) == StringPiece::npos; in ContainsOnlyChars()
322 return input.find_first_not_of(characters) == StringPiece16::npos; in ContainsOnlyChars()
552 size_t start = str.find_first_not_of(delimiters); in TokenizeT()
560 start = str.find_first_not_of(delimiters, end + 1); in TokenizeT()
/external/chromium_org/third_party/cython/src/Cython/Includes/libcpp/
Dstring.pxd76 size_t find_first_not_of(string&, size_t) nogil
77 size_t find_first_not_of(char* s, size_t, size_t) nogil
78 size_t find_first_not_of(char*, size_t pos) nogil
79 size_t find_first_not_of(char c, size_t) nogil
80 size_t find_first_not_of(char c) nogil
/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.h287 size_t find_first_not_of(char C, size_t From = 0) const;
293 size_t find_first_not_of(StringRef Chars, size_t From = 0) const;
505 return drop_front(std::min(Length, find_first_not_of(Chars)));
/external/ceres-solver/internal/ceres/
Dsplit.cc97 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing()
105 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
/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/chromium_org/gpu/config/
Dgpu_info_collector_android.cc28 size_t end = version_string.find_first_not_of("01234567890.", begin); in GetDriverVersionFromString()
34 end = version_string.find_first_not_of("01234567890.", begin); in GetDriverVersionFromString()
Dgpu_info_collector_linux.cc57 size_t end = line.find_first_not_of("0123456789.", begin); in CollectDriverVersionATI()
247 size_t pos = driver_version.find_first_not_of("0123456789."); in CollectDriverInfoGL()
/external/libcxx/test/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()
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()
Dstring_size.pass.cpp23 assert(s.find_first_not_of(str, pos) == x); in test()
32 assert(s.find_first_not_of(str) == x); in test()
/external/stlport/stlport/stl/
D_string_sum.h217 size_type find_first_not_of(const _BString& __s, size_type __pos = 0) const
218 { return _M_get_storage().find_first_not_of(__s, __pos); }
219 size_type find_first_not_of(const _CharT* __s, size_type __pos = 0) const
220 { return _M_get_storage().find_first_not_of(__s, __pos); }
221 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const in find_first_not_of() function
222 { return _M_get_storage().find_first_not_of(__s, __pos, __n); } in find_first_not_of()
223 size_type find_first_not_of(_CharT __c, size_type __pos = 0) const
224 { return _M_get_storage().find_first_not_of(__c, __pos); }
/external/chromium_org/third_party/libphonenumber/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;
/external/chromium_org/net/dns/
Ddns_hosts.cc109 pos_ = text_.find_first_not_of(" \t", pos_); in SkipWhitespace()
112 pos_ = text_.find_first_not_of(" ,\t", pos_); in SkipWhitespace()
/external/chromium_org/sync/internal_api/public/base/
Dunique_position.cc226 size_t ref_zeroes = reference.find_first_not_of('\0'); in FindSmallerWithSuffix()
227 size_t suffix_zeroes = suffix.find_first_not_of('\0'); in FindSmallerWithSuffix()
259 size_t ref_FFs = reference.find_first_not_of(kuint8max); in FindGreaterWithSuffix()
260 size_t suffix_FFs = suffix.find_first_not_of(kuint8max); in FindGreaterWithSuffix()
552 const size_t runs_until = str.find_first_not_of(rep_digit, i+4); in CompressImpl()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DBidiTestHarness.h98 s.erase(0, s.find_first_not_of(separators)); in ltrim()
125 size_t lastPos = str.find_first_not_of(separators); // skip leading spaces in parseStringList()
130 lastPos = str.find_first_not_of(separators, pos); in parseStringList()
/external/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()
259 bidx = CStr.find_first_not_of(delims); in ParseConstraints()
266 bidx = CStr.find_first_not_of(delims, eidx); in ParseConstraints()
/external/llvm/tools/llvm-mc/
DDisassembler.cpp101 while (!Str.empty() && Str.find_first_not_of(" \t\r\n#,") != 0) { in SkipToToken()
103 if (size_t Pos = Str.find_first_not_of(" \t\r,")) { in SkipToToken()
/external/stlport/stlport/stl/debug/
D_string.h759 size_type find_first_not_of(const _Self& __s, size_type __pos = 0) const
760 { return _M_non_dbg_impl.find_first_not_of(__s._M_non_dbg_impl, __pos); }
761 size_type find_first_not_of(const _CharT* __s, size_type __pos = 0) const {
764 return _M_non_dbg_impl.find_first_not_of(__s, __pos);
766 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const { in find_first_not_of() function
769 return _M_non_dbg_impl.find_first_not_of(__s, __pos, __n); in find_first_not_of()
771 size_type find_first_not_of(_CharT __c, size_type __pos = 0) const
772 { return _M_non_dbg_impl.find_first_not_of(__c, __pos); }
/external/chromium_org/extensions/common/
Dmanifest_handler_helpers.cc24 size_t first_non_slash = path->find_first_not_of('/'); in NormalizeAndValidatePath()
/external/llvm/lib/Support/
DStringExtras.cpp41 StringRef::size_type Start = Source.find_first_not_of(Delimiters); in getToken()

12345