/external/chromium_org/chrome/common/ |
pref_names_util.cc | 21 if (pos == std::string::npos || pos + 1 == pref_path.length())
|
/external/chromium_org/printing/ |
page_number.h | 28 // initialize to npos if the range is empty and document_page_count is 0. 40 static const PageNumber npos() { function in class:printing::PageNumber 45 // "page != PageNumber::npos()" works.
|
page_number.cc | 54 *this = npos(); 65 *this = npos();
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
TestCommon.cpp | 52 if (!url.find(fileUrlPattern) && ((pos = url.find(layoutTestsPattern)) != string::npos)) {
|
/external/llvm/unittests/Object/ |
YAMLTest.cpp | 37 EXPECT_NE(OS.str().find("\"\""), StringRef::npos);
|
/external/chromium/net/base/ |
registry_controlled_domain.cc | 123 return std::string::npos; 138 return std::string::npos; 152 return std::string::npos; 195 if ((registry_length == std::string::npos) || (registry_length == 0)) 210 if (dot == std::string::npos) 222 if (host_check_begin == std::string::npos) 238 size_t prev_start = std::string::npos; 241 if (next_dot >= host_check_len) // Catches std::string::npos as well. 255 if (rule->type == kWildcardRule && (prev_start != std::string::npos)) { 263 if (next_dot == std::string::npos) { [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
pathutils.cc | 135 if (pos != std::string::npos) { 161 std::string::size_type pos = std::string::npos; 165 if (pos != std::string::npos) { 173 std::string::size_type pos = std::string::npos; 177 if (pos != std::string::npos) { 205 if(basename.find_first_of(FOLDER_DELIMS) != std::string::npos) { 217 if (extension.find_first_of(FOLDER_DELIMS) != std::string::npos || 218 extension.find_first_of(EXT_DELIM, 1) != std::string::npos) { 237 if ((pos == std::string::npos) || (pos == 0)) {
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
pathutils.cc | 135 if (pos != std::string::npos) { 161 std::string::size_type pos = std::string::npos; 165 if (pos != std::string::npos) { 173 std::string::size_type pos = std::string::npos; 177 if (pos != std::string::npos) { 205 if(basename.find_first_of(FOLDER_DELIMS) != std::string::npos) { 217 if (extension.find_first_of(FOLDER_DELIMS) != std::string::npos || 218 extension.find_first_of(EXT_DELIM, 1) != std::string::npos) { 237 if ((pos == std::string::npos) || (pos == 0)) {
|
/external/clang/lib/Frontend/ |
LayoutOverrideSource.cpp | 47 if (LineStr.find("*** Dumping AST Record Layout") != StringRef::npos) { 62 if ((Pos = LineStr.find("struct ")) != StringRef::npos) 64 else if ((Pos = LineStr.find("class ")) != StringRef::npos) 66 else if ((Pos = LineStr.find("union ")) != StringRef::npos) 79 if (Pos != StringRef::npos) { 91 if (Pos != StringRef::npos) { 103 if (Pos != StringRef::npos) { 113 if (Pos != StringRef::npos) { 128 if (Pos == StringRef::npos)
|
/external/llvm/unittests/ADT/ |
SmallStringTest.cpp | 120 EXPECT_EQ(StringRef::npos, theString.find('z')); 121 EXPECT_EQ(StringRef::npos, theString.find("helloworld")); 124 EXPECT_EQ(StringRef::npos, theString.find("zz")); 126 EXPECT_EQ(StringRef::npos, theString.find("ll", 3)); 130 EXPECT_EQ(StringRef::npos, theString.rfind('z')); 131 EXPECT_EQ(StringRef::npos, theString.rfind("helloworld")); 134 EXPECT_EQ(StringRef::npos, theString.rfind("zz")); 138 EXPECT_EQ(StringRef::npos, theString.find_first_of("xyz")); 142 EXPECT_EQ(StringRef::npos, theString.find_first_not_of("hello"));
|
/external/ceres-solver/internal/ceres/ |
split.cc | 98 while (begin_index != string::npos) { 100 if (end_index == string::npos) {
|
/external/chromium/base/ |
string_piece.h | 43 static const size_type npos; member in class:base::StringPiece 140 size_type rfind(const StringPiece& s, size_type pos = npos) const; 141 size_type rfind(char c, size_type pos = npos) const; 149 size_type find_last_of(const StringPiece& s, size_type pos = npos) const; 150 size_type find_last_of(char c, size_type pos = npos) const { 153 size_type find_last_not_of(const StringPiece& s, size_type pos = npos) const; 154 size_type find_last_not_of(char c, size_type pos = npos) const; 156 StringPiece substr(size_type pos, size_type n = npos) const;
|
/external/chromium/third_party/libjingle/overrides/talk/xmllite/ |
qname.cc | 25 if (i == std::string::npos) 33 if (i == std::string::npos)
|
/external/chromium/third_party/modp_b64/ |
modp_b64.h | 138 x.erase(d, std::string::npos); 159 x.erase(d, std::string::npos);
|
/external/chromium_org/chrome/browser/policy/ |
policy_path_parser_linux.cc | 36 if (position != std::string::npos) { 45 if (position != std::string::npos) {
|
/external/chromium_org/chrome/test/webdriver/ |
frame_path.cc | 46 if (i != std::string::npos) 53 if (i != std::string::npos)
|
/external/chromium_org/google_apis/gaia/ |
gaia_auth_util.cc | 44 if (sanitized.find('@') == std::string::npos) { 61 if (separator_pos != email.npos && separator_pos < email.length() - 1)
|
/external/chromium_org/net/base/registry_controlled_domains/ |
registry_controlled_domain.cc | 85 if (host_check_begin == std::string::npos) 101 size_t prev_start = std::string::npos; 104 if (next_dot >= host_check_len) // Catches std::string::npos as well. 124 if (rule->type & kWildcardRule && (prev_start != std::string::npos)) { 132 if (next_dot == std::string::npos) { 150 if (next_dot >= host_check_len) // Catches std::string::npos as well. 172 if ((registry_length == std::string::npos) || (registry_length == 0)) 187 if (dot == std::string::npos) 245 return std::string::npos; 261 return std::string::npos; [all...] |
/external/chromium_org/net/quic/crypto/ |
crypto_secret_boxer_test.cc | 34 EXPECT_FALSE(boxer.Unbox(box.substr(1, string::npos), &storage, &result)); 36 EXPECT_FALSE(boxer.Unbox(string(1, box[0]^0x80) + box.substr(1, string::npos),
|
/external/chromium_org/ppapi/shared_impl/ |
file_ref_util.cc | 17 CHECK(pos != std::string::npos); 24 CHECK(pos != base::FilePath::StringType::npos);
|
/external/chromium_org/remoting/host/setup/ |
oauth_helper_unittest.cc | 14 if (pos == std::string::npos) { 18 s.substr(pos + old_substr.length(), std::string::npos);
|
/external/chromium_org/third_party/icu/source/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/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/ |
string_piece.h | 43 static const size_type npos; member in class:i18n::phonenumbers::StringPiece 140 size_type rfind(const StringPiece& s, size_type pos = npos) const; 141 size_type rfind(char c, size_type pos = npos) const; 149 size_type find_last_of(const StringPiece& s, size_type pos = npos) const; 150 size_type find_last_of(char c, size_type pos = npos) const { 153 size_type find_last_not_of(const StringPiece& s, size_type pos = npos) const; 154 size_type find_last_not_of(char c, size_type pos = npos) const; 156 StringPiece substr(size_type pos, size_type n = npos) const;
|
/external/chromium_org/third_party/modp_b64/ |
modp_b64.h | 142 x.erase(d, std::string::npos); 163 x.erase(d, std::string::npos);
|
/external/chromium_org/tools/gn/ |
source_file.cc | 29 DCHECK(value_.find('/') != std::string::npos); 39 DCHECK(value_.find('/') != std::string::npos);
|