Searched refs:npos (Results 151 - 175 of 419) sorted by relevance

1234567891011>>

/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dcompat.cpp54 if (pos != string::npos) {
/external/stlport/test/unit/
H A Drope_test.cpp78 CPPUNIT_ASSERT( n == crope::npos );
/external/webkit/Tools/DumpRenderTree/chromium/
H A DTestShellGtk.cpp72 ASSERT(lastPathPos != std::string::npos);
/external/chromium/base/
H A Dshared_memory_posix.cc287 DCHECK_EQ(std::string::npos, mem_name.find('/'));
288 DCHECK_EQ(std::string::npos, mem_name.find('\0'));
H A Dstring_util.cc178 while (found != STR::npos) {
223 (first_good_char == STR::npos) || (last_good_char == STR::npos)) {
402 if (characters.find(*iter) == STR::npos)
714 if ((start_offset == StringType::npos) || (start_offset >= str->length()))
719 offs != StringType::npos; offs = str->find(find_this, offs)) {
768 while (start != STR::npos) {
770 if (end == STR::npos) {
H A Dfile_path.cc51 // otherwise returns npos. This can only be true on Windows, when a pathname
53 // returns npos.
64 return StringType::npos;
73 if (a_letter_pos == StringType::npos || b_letter_pos == StringType::npos)
90 if (letter != StringType::npos) {
119 // '.tar.gz' and '.tar.Z' respectively. Returns npos if it can't find an
124 return StringType::npos;
130 if (last_dot == StringType::npos || last_dot == 0U)
151 if (penultimate_dot != StringType::npos
[all...]
/external/chromium/chrome/browser/chromeos/notifications/
H A Ddesktop_notifications_unittest.cc267 EXPECT_EQ(std::string::npos, data_url.spec().find("<script>"));
268 EXPECT_EQ(std::string::npos, data_url.spec().find("<i>"));
/external/chromium/chrome/browser/content_settings/
H A Dcontent_settings_base_provider.cc132 if (next_dot == std::string::npos)
221 if (next_dot == std::string::npos)
/external/chromium/chrome/browser/
H A Dcookies_tree_model.cc105 if (position == 0 || position == std::string::npos)
119 if (next_dot == std::string::npos) {
621 std::string::npos)) {
702 (origin_node_name.find(filter) != std::wstring::npos)) {
738 std::wstring::npos)) {
771 std::wstring::npos)) {
804 std::wstring::npos)) {
837 std::wstring::npos)) {
H A Djankometer.cc374 if (list.npos != list.find("ui"))
376 if (list.npos != list.find("io"))
/external/chromium/chrome/browser/search_engines/
H A Dtemplate_url_parser_unittest.cc148 return (name_str_.empty() || key.find(name_str_) == std::string::npos) &&
149 (value_str_.empty() || value.find(value_str_) == std::string::npos);
/external/chromium/net/http/
H A Dhttp_request_headers.cc104 DCHECK_EQ(std::string::npos, header_line.find("\r\n"))
108 if (key_end_index == std::string::npos) {
/external/chromium/net/tools/dump_cache/
H A Dcache_dumper.cc54 while ((pos = path.find(backslash, pos)) != std::wstring::npos) {
181 if (pos != std::string::npos)
/external/chromium/third_party/libjingle/source/talk/xmllite/
H A Dxmlprinter.cc155 if (unsafe == std::string::npos)
177 if (unsafe == std::string::npos)
/external/clang/test/Index/
H A Drecursive-cxx-member-calls.cpp41 static const size_t npos = ~size_t(0); member in class:llvm::StringRef
60 StringRef substr(size_t Start, size_t N = npos) const {
439 // CHECK-tokens: Identifier: "npos" [41:23 - 41:27] VarDecl=npos:41:23
440 // CHECK-tokens: Punctuation: "=" [41:28 - 41:29] VarDecl=npos:41:23
636 // CHECK-tokens: Identifier: "npos" [60:45 - 60:49] DeclRefExpr=npos:41:23
1630 // CHECK: 41:23: VarDecl=npos:41:23 Extent=[41:3 - 41:40]
1749 // CHECK: 60:45: DeclRefExpr=npos:41:23 Extent=[60:45 - 60:49]
/external/clang/tools/driver/
H A Ddriver.cpp108 Edit.slice(2, Edit.size()-1).find('/') != StringRef::npos) {
122 std::string Option = Edit.substr(1, std::string::npos);
318 if (LastComponent != StringRef::npos)
324 if (LastComponent == StringRef::npos)
/external/llvm/lib/Support/Unix/
H A DPath.inc370 if (slash == std::string::npos)
376 if (dot == std::string::npos || dot < slash)
386 if (slash == std::string::npos)
392 if (dot == std::string::npos || dot < slash)
476 if (pos == std::string::npos)
483 if (pos2 == std::string::npos)
601 if (slashpos == 0 || slashpos == std::string::npos) {
607 if (slashpos == std::string::npos) {
619 if (dotpos != std::string::npos) {
620 if (slashpos == std::string::npos || dotpo
[all...]
/external/llvm/lib/Target/
H A DMangler.cpp140 Name.find_first_of("\n\"") == StringRef::npos)) {
152 assert(Name.find_first_of("\n\"") != StringRef::npos);
/external/oprofile/libpp/
H A Dop_header.cpp82 if (pos != string::npos && pos == filename.size() - suf.size())
120 if (file.find("/symbols/") == string::npos) {
H A Dparse_filename.cpp126 if (pos == string::npos) {
184 if (pos == string::npos) {
/external/webkit/Tools/DumpRenderTree/wx/
H A DDumpRenderTreeWx.cpp228 if (separatorPos != string::npos) {
235 if (http == string::npos)
/external/oprofile/pp/
H A Dopannotate.cpp205 string::size_type loc1 = string::npos, loc2 = string::npos;
211 if (loc1 != string::npos) {
213 if (loc2 != string::npos) {
651 if (out_file.find("/../") != string::npos) {
/external/stlport/stlport/stl/
H A D_string.h183 basic_string(const _Self& __s, size_type __pos, size_type __n = npos, argument
788 _Self& erase(size_type __pos = 0, size_type __n = npos) { argument
966 size_type rfind(const _Self& __s, size_type __pos = npos) const
969 size_type rfind(const _CharT* __s, size_type __pos = npos) const
973 size_type rfind(_CharT __c, size_type __pos = npos) const;
988 size_type find_last_of(const _Self& __s, size_type __pos = npos) const
991 size_type find_last_of(const _CharT* __s, size_type __pos = npos) const
996 size_type find_last_of(_CharT __c, size_type __pos = npos) const
1011 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const
1014 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) cons
1089 const size_t basic_string<_CharT, _Traits, _Alloc>::npos = ~(size_t) 0; member in class:basic_string
[all...]
/external/chromium/net/url_request/
H A Durl_request_unittest.cc1432 EXPECT_TRUE(d.data_received().find("user/secret") != std::string::npos);
1450 EXPECT_TRUE(d.data_received().find("user/secret") != std::string::npos);
1479 EXPECT_TRUE(d.data_received().find("user/secret") != std::string::npos);
1483 != std::string::npos);
1505 EXPECT_TRUE(d.data_received().find("user2/secret") != std::string::npos);
1509 != std::string::npos);
1539 != std::string::npos);
1554 == std::string::npos);
1608 == std::string::npos);
1610 != std::string::npos);
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp343 if (FName.startswith("NS") && (FName.find("Insert") != StringRef::npos))
349 return StrInStrNoCase(FName, "InsertValue") != StringRef::npos ||
350 StrInStrNoCase(FName, "AddValue") != StringRef::npos ||
351 StrInStrNoCase(FName, "SetValue") != StringRef::npos ||
352 StrInStrNoCase(FName, "WithData") != StringRef::npos ||
353 StrInStrNoCase(FName, "AppendValue") != StringRef::npos ||
354 StrInStrNoCase(FName, "SetAttribute") != StringRef::npos;

Completed in 1674 milliseconds

1234567891011>>