/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | stringpiece_unittest.cc | 318 EXPECT_EQ(StringPiece::npos, string::npos); in TEST() 321 EXPECT_EQ(a.find(b, 1), StringPiece::npos); in TEST() 324 EXPECT_EQ(a.find(c, StringPiece::npos), StringPiece::npos); in TEST() 325 EXPECT_EQ(b.find(c), StringPiece::npos); in TEST() 326 EXPECT_EQ(b.find(c, StringPiece::npos), StringPiece::npos); in TEST() 332 EXPECT_EQ(a.find(g), StringPiece::npos); in TEST() 334 EXPECT_EQ(d.find(b), StringPiece::npos); in TEST() 335 EXPECT_EQ(e.find(b), StringPiece::npos); in TEST() 336 EXPECT_EQ(d.find(b, 4), StringPiece::npos); in TEST() 337 EXPECT_EQ(e.find(b, 7), StringPiece::npos); in TEST() [all …]
|
D | stringpiece.cc | 99 return find(s, 0) != npos; in contains() 105 return npos; in find() 109 return result == ptr_ + length_ ? npos : result - ptr_; in find() 114 return npos; in find() 118 return result != NULL ? result - ptr_ : npos; in find() 122 if (length_ < s.length_) return npos; in rfind() 128 return result != last ? result - ptr_ : npos; in rfind() 134 if (length_ <= 0) return npos; in rfind() 142 return npos; in rfind() 165 return npos; in find_first_of() [all …]
|
D | stringpiece.h | 346 static const size_type npos; variable 369 stringpiece_ssize_type rfind(StringPiece s, size_type pos = npos) const; 370 stringpiece_ssize_type rfind(char c, size_type pos = npos) const; 380 size_type pos = npos) const; 381 stringpiece_ssize_type find_last_of(char c, size_type pos = npos) const { 385 size_type pos = npos) const; 386 stringpiece_ssize_type find_last_not_of(char c, size_type pos = npos) const; 388 StringPiece substr(size_type pos, size_type n = npos) const;
|
/frameworks/base/cmds/idmap2/tests/ |
D | RawPrintVisitorTests.cpp | 50 ASSERT_NE(stream.str().find("00000000: 504d4449 magic\n"), std::string::npos); in TEST() 51 ASSERT_NE(stream.str().find("00000004: 00000001 version\n"), std::string::npos); in TEST() 52 ASSERT_NE(stream.str().find("00000008: 76a20829 target crc\n"), std::string::npos); in TEST() 53 ASSERT_NE(stream.str().find("0000000c: 8635c2ed overlay crc\n"), std::string::npos); in TEST() 55 std::string::npos); in TEST() 71 ASSERT_NE(stream.str().find("00000000: 504d4449 magic\n"), std::string::npos); in TEST() 72 ASSERT_NE(stream.str().find("00000004: 00000001 version\n"), std::string::npos); in TEST() 73 ASSERT_NE(stream.str().find("00000008: 00001234 target crc\n"), std::string::npos); in TEST() 74 ASSERT_NE(stream.str().find("0000000c: 00005678 overlay crc\n"), std::string::npos); in TEST() 75 ASSERT_NE(stream.str().find("0000021c: 00000000 0x7f020000 -> 0x7f020000\n"), std::string::npos); in TEST()
|
D | PrettyPrintVisitorTests.cpp | 55 ASSERT_NE(stream.str().find("target apk path : "), std::string::npos); in TEST() 56 ASSERT_NE(stream.str().find("overlay apk path : "), std::string::npos); in TEST() 57 ASSERT_NE(stream.str().find("0x7f010000 -> 0x7f010000 integer/int1\n"), std::string::npos); in TEST() 73 ASSERT_NE(stream.str().find("target apk path : "), std::string::npos); in TEST() 74 ASSERT_NE(stream.str().find("overlay apk path : "), std::string::npos); in TEST() 75 ASSERT_NE(stream.str().find("0x7f020000 -> 0x7f020000\n"), std::string::npos); in TEST()
|
D | Idmap2BinaryTests.cpp | 130 ASSERT_NE(result->stdout.find("0x7f010000 -> 0x7f010000 integer/int1"), std::string::npos); in TEST_F() 131 ASSERT_NE(result->stdout.find("0x7f02000c -> 0x7f020000 string/str1"), std::string::npos); in TEST_F() 132 ASSERT_NE(result->stdout.find("0x7f02000e -> 0x7f020001 string/str3"), std::string::npos); in TEST_F() 133 ASSERT_NE(result->stdout.find("0x7f02000f -> 0x7f020002 string/str4"), std::string::npos); in TEST_F() 134 ASSERT_EQ(result->stdout.find("00000210: 007f target package id"), std::string::npos); in TEST_F() 144 ASSERT_NE(result->stdout.find("00000000: 504d4449 magic"), std::string::npos); in TEST_F() 145 ASSERT_NE(result->stdout.find("00000210: 007f target package id"), std::string::npos); in TEST_F() 306 ASSERT_NE(result->stdout.find("overlay-1"), std::string::npos); in TEST_F() 307 ASSERT_EQ(result->stdout.find("overlay-1-sv"), std::string::npos); in TEST_F() 318 ASSERT_NE(result->stdout.find("overlay-1"), std::string::npos); in TEST_F() [all …]
|
D | CommandLineOptionsTests.cpp | 229 std::string::npos); in TEST() 230 ASSERT_NE(s.find("--aa arg description-aa"), std::string::npos); in TEST() 231 ASSERT_NE(s.find("--ff description-ff"), std::string::npos); in TEST() 233 std::string::npos); in TEST()
|
/frameworks/rs/script_api/ |
D | Scanner.cpp | 150 if (docStart == string::npos) { in parseDocumentation() 155 if (last == string::npos) { in parseDocumentation() 169 if (optionStart != string::npos) { in parseArgString() 177 if (nameStart == string::npos) { in parseArgString() 189 if (p->name.find('*') != string::npos) { in parseArgString()
|
D | Utilities.cpp | 64 if (end == string::npos) { in trimSpaces() 81 if (p == string::npos) break; in stringReplace() 91 if (p != string::npos) { in charRemoved() 103 if (lt == string::npos) { in stripHtml() 111 if (start == string::npos) { in stripHtml()
|
D | Specification.cpp | 187 if (pComma == string::npos || pParen == string::npos) { in parseParameterDefinition() 195 if (pParen == string::npos) { in parseParameterDefinition() 202 if (pParen == string::npos) { in parseParameterDefinition() 284 if (pComma != string::npos) { in scanDocumentationTags() 563 if (pParen == string::npos) { in parseTest() 587 bool patternFound = inlineStr.find(kRSTypePatterns[i]) != string::npos; in checkRSTPatternValidity() 608 if (p != string::npos) { in scanFunctionSpecification() 643 if (scanner->getValue().find("1") != string::npos) { in scanFunctionSpecification() 646 if (scanner->getValue().find("2") != string::npos) { in scanFunctionSpecification() 649 if (scanner->getValue().find("3") != string::npos) { in scanFunctionSpecification() [all …]
|
/frameworks/base/tools/bit/ |
D | aapt.cpp | 139 if (className.find('.') == string::npos) { in full_class_name() 152 return packageName + "/" + string(className, pn, string::npos); in pretty_component_name() 197 if (colon == string::npos) { in inspect_apk() 201 element->name.assign(str, colon+1, string::npos); in inspect_apk() 222 if (colon == string::npos) { in inspect_apk() 226 attr.name.assign(str, colon+1, string::npos); in inspect_apk()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_map_field.cc | 106 string::npos) { in MapFieldGenerator() 112 if (value_field_flags.find("GPBFieldHasDefaultValue") != string::npos) { in MapFieldGenerator() 115 if (value_field_flags.find("GPBFieldHasEnumDescriptor") != string::npos) { in MapFieldGenerator()
|
/frameworks/compile/libbcc/tools/bcc_compat/ |
D | Main.cpp | 158 if (config->getTriple().find("arm") != std::string::npos) { in ConfigCompiler() 168 if ((config->getTriple().find("i686") != std::string::npos) || in ConfigCompiler() 169 (config->getTriple().find("x86_64") != std::string::npos)) { in ConfigCompiler() 176 if (config->getTriple().find("i686") != std::string::npos) { in ConfigCompiler() 185 if (config->getTriple().find("x86_64") != std::string::npos) { in ConfigCompiler()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | JsonWebKey.cpp | 112 if (encodedText.find(kBase64Padding) != std::string::npos) { in decodeBase64String() 142 if (jsonObject.find(kKeyTypeTag) != std::string::npos) { in findKey() 148 if (jsonObject.find(kKeyIdTag) != std::string::npos) { in findKey() 152 if (jsonObject.find(kKeyTag) != std::string::npos) { in findKey() 175 if (jsonObject.find(kKeysTag) == std::string::npos) { in isJsonWebKeySet()
|
D | Base64.cpp | 153 if ((std::string::npos != out->find("+")) || in encodeBase64Url() 154 (std::string::npos != out->find("/"))) { in encodeBase64Url()
|
/frameworks/base/tools/streaming_proto/ |
D | string_utils.cpp | 67 if (start == string::npos) { in file_base_name() 73 if (end == string::npos) { in file_base_name() 105 if (found == str.npos) break; in split()
|
/frameworks/compile/mclinker/lib/Support/ |
D | Path.cpp | 160 if (end_pos != StringType::npos) in parent_path() 167 if (pos != StringType::npos) { in filename() 183 if (pos == StringType::npos) in extension()
|
/frameworks/compile/libbcc/lib/ |
D | RSX86CallConvPass.cpp | 81 if (FName.find("rsSetObject") != std::string::npos && ArgNo == 0) in IsDerefNeeded() 84 if (FName.find("rsClearObject") != std::string::npos && ArgNo == 0) in IsDerefNeeded() 87 if (FName.find("rsForEachInternal") != std::string::npos && ArgNo == 4) in IsDerefNeeded()
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.cpp | 35 if (head == std::string::npos) return ""; in trim() 76 if (found == line.npos) break; in split() 103 if (lastIndex == std::string::npos) { in getColumnIndices() 138 while (idx < lineSize && delimiters.find(line[idx++]) == std::string::npos); in parseRecordByColumns() 171 if (head == std::string::npos) return false; in stripPrefix() 192 if (tail == std::string::npos) return false; in stripSuffix() 213 if (found == std::string::npos) { in behead()
|
/frameworks/base/tools/aapt2/java/ |
D | AnnotationProcessor.cpp | 67 if (comment.find(sDeprecated) != std::string::npos) { in AppendCommentLine() 73 if (idx != std::string::npos) { in AppendCommentLine()
|
D | ManifestClassGenerator.cpp | 37 if (pos != std::string::npos) { in ExtractJavaIdentifier() 42 if (result.find("-") != std::string::npos) { in ExtractJavaIdentifier()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/ |
D | python_plugin_unittest.cc | 158 if (lines[i].find(expected_import) != string::npos) { in TEST() 161 EXPECT_EQ(string::npos, lines[i].find("importlib")); in TEST()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | StringPiece.h | 51 constexpr static const size_t npos = static_cast<size_t>(-1); variable 62 BasicStringPiece<TChar> substr(size_t start, size_t len = npos) const; 95 constexpr const size_t BasicStringPiece<TChar>::npos; 137 if (len == npos) { in substr()
|
/frameworks/base/startop/view_compiler/ |
D | util.cc | 27 if (start == string::npos) { in FindLayoutNameFromFilename()
|
/frameworks/opt/gamesdk/src/swappy/ |
D | CpuInfo.cpp | 40 while (j != std::string::npos) { in split() 45 if (j == std::string::npos) { in split()
|