/external/icu4c/common/unicode/ |
stringpiece.h | 186 static const int32_t npos = 0x7fffffff; member in class:StringPiece 196 StringPiece substr(int32_t pos, int32_t len = npos) const {
|
/external/llvm/lib/Support/ |
StringExtras.cpp | 21 /// the offset of s2 in s1 or npos if s2 cannot be found. 25 return StringRef::npos; 29 return StringRef::npos;
|
StringRef.cpp | 21 const size_t StringRef::npos; member in class:StringRef 122 /// \return - The index of the first occurrence of \arg Str, or npos if not 127 return npos; 134 return npos; 138 return npos; 157 return npos; 162 /// \return - The index of the last occurrence of \arg Str, or npos if not 167 return npos; 173 return npos; 177 /// Chars, or npos if not found [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.capacity/ |
resize_size.pass.cpp | 56 test(S(), S::npos, S("not going to happen")); member in class:S 76 test(S(), S::npos, S("not going to happen")); member in class:S
|
/external/chromium_org/base/debug/ |
stack_trace_unittest.cc | 63 std::string::npos) << 82 EXPECT_TRUE(backtrace_message.find("start") != std::string::npos) 92 std::string::npos) 102 EXPECT_TRUE(backtrace_message.find("main") != std::string::npos) 114 EXPECT_TRUE(backtrace_message.find(__func__) != std::string::npos)
|
/external/chromium/net/tools/tld_cleanup/ |
tld_cleanup.cc | 135 if (domain->find("*.", start_offset) != std::string::npos || 136 domain->find('!', start_offset) != std::string::npos) { 186 if (line_end == std::string::npos) 191 if (line_end == std::string::npos) 211 if (tld_start != std::string::npos && tld_start + 1 < domain.size()) 219 if (line_start == std::string::npos) 222 if (line_start == std::string::npos)
|
/external/chromium_org/net/tools/tld_cleanup/ |
tld_cleanup_util.cc | 107 if (domain->find("*.", start_offset) != std::string::npos || 108 domain->find('!', start_offset) != std::string::npos) { 161 if (line_end == std::string::npos) 166 if (line_end == std::string::npos) 188 if (tld_start != std::string::npos && tld_start + 1 < domain.size()) { 214 if (line_start == std::string::npos) 217 if (line_start == std::string::npos)
|
/external/chromium/webkit/glue/ |
multipart_response_delegate.cc | 131 while ((boundary_pos = FindBoundary()) != std::string::npos) { 217 while (line_end_pos != std::string::npos) { 235 if (line_end_pos == std::string::npos) 284 if (boundary_pos != std::string::npos) { 305 if (boundary_start_offset == std::string::npos) 312 if (boundary_end_offset == std::string::npos) 343 if (byte_range_lower_bound_start_offset == std::string::npos) { 353 if (byte_range_lower_bound_end_offset == std::string::npos) { 369 if (byte_range_upper_bound_end_offset == std::string::npos) {
|
/external/chromium_org/webkit/child/ |
multipart_response_delegate.cc | 131 while ((boundary_pos = FindBoundary()) != std::string::npos) { 217 while (line_end_pos != std::string::npos) { 235 if (line_end_pos == std::string::npos) 284 if (boundary_pos != std::string::npos) { 305 if (boundary_start_offset == std::string::npos) 312 if (boundary_end_offset == std::string::npos) 343 if (byte_range_lower_bound_start_offset == std::string::npos) { 353 if (byte_range_lower_bound_end_offset == std::string::npos) { 369 if (byte_range_upper_bound_end_offset == std::string::npos) {
|
/external/chromium/chrome/browser/policy/ |
policy_path_parser_win.cc | 50 if (position != std::wstring::npos) { 59 if (position != std::wstring::npos) { 70 if (position != std::wstring::npos) {
|
/external/chromium/net/http/ |
http_chunked_decoder.cc | 104 if (index_of_lf != base::StringPiece::npos) { 131 if (index_of_semicolon != base::StringPiece::npos) 191 != base::StringPiece::npos)
|
/external/chromium/third_party/libjingle/source/talk/base/ |
stringutils.cc | 115 while ((pos = s->find(search, pos, search_len)) != std::string::npos) { 138 if (first == std::string::npos || last == std::string::npos) {
|
/external/chromium-libpac/src/ |
net_util.cc | 31 if (ip_literal.find(':') != std::string::npos) { 67 if (split == std::string::npos) 71 if (parts[1].find('/') != std::string::npos)
|
/external/chromium_org/base/ |
sys_info_chromeos.cc | 80 size_t version_key_index = std::string::npos; 83 if (std::string::npos != version_key_index) { 87 if (std::string::npos == version_key_index) {
|
/external/chromium_org/chrome/browser/sessions/ |
better_session_restore_browsertest.cc | 222 std::string::npos); 224 std::string::npos); 227 std::string::npos); 229 std::string::npos); 237 std::string::npos); 239 std::string::npos); 242 std::string::npos); 244 std::string::npos); 248 std::string::npos); 250 std::string::npos); [all...] |
/external/chromium_org/gpu/config/ |
gpu_info_collector_android.cc | 26 if (begin == std::string::npos) 32 if (begin == std::string::npos) 36 if (end != std::string::npos)
|
/external/chromium_org/net/http/ |
http_chunked_decoder.cc | 108 if (index_of_lf != base::StringPiece::npos) { 135 if (index_of_semicolon != base::StringPiece::npos) 201 != base::StringPiece::npos) {
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
sslidentity.cc | 64 if (header == std::string::npos) 68 if (body == std::string::npos) 72 if (trailer == std::string::npos)
|
stringutils.cc | 115 while ((pos = s->find(search, pos, search_len)) != std::string::npos) { 143 if (first == std::string::npos || last == std::string::npos) {
|
/external/clang/lib/Format/ |
BreakableToken.cpp | 46 return BreakableToken::Split(StringRef::npos, 0); 57 if (SpaceOffset == StringRef::npos || 59 Text.find_last_not_of(Blanks, SpaceOffset) == StringRef::npos) { 63 if (FirstNonWhitespace == StringRef::npos) 65 return BreakableToken::Split(StringRef::npos, 0); 69 if (SpaceOffset != StringRef::npos && SpaceOffset != 0) { 75 return BreakableToken::Split(StringRef::npos, 0); 84 return BreakableToken::Split(StringRef::npos, 0); 86 return BreakableToken::Split(StringRef::npos, 0); 126 return BreakableToken::Split(StringRef::npos, 0) [all...] |
/external/llvm/utils/FileCheck/ |
FileCheck.cpp | 105 /// returns the position that is matched or npos if there is no match. If 145 /// \return offset of the closing sequence within Str, or npos if it was not 171 (PatternStr.find("{{") == StringRef::npos && 172 PatternStr.find("[[") == StringRef::npos)) { 188 if (End == StringRef::npos) { 220 if (End == StringRef::npos) { 246 if (NameEnd != StringRef::npos) { 271 if (NameEnd == StringRef::npos) { 379 /// returns the position that is matched or npos if there is no match. If 410 return StringRef::npos; [all...] |
/art/runtime/base/ |
stringpiece.h | 131 static const size_type npos; member in class:art::StringPiece 152 size_type rfind(const StringPiece& s, size_type pos = npos) const; 153 size_type rfind(char c, size_type pos = npos) const; 155 StringPiece substr(size_type pos, size_type n = npos) const;
|
/external/chromium/chrome/browser/chromeos/login/ |
client_login_response_handler.cc | 23 std::string::npos);
|
/external/chromium/chrome/browser/extensions/ |
extension_i18n_api.cc | 47 if (end == string16::npos || begin >= acceptLanguages.length())
|
/external/chromium/chrome/browser/ |
idle_linux.cc | 50 return value.find("screensaver") != std::string::npos;
|