Home
last modified time | relevance | path

Searched refs:npos (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/tools/aapt2/java/
DJavaClassGenerator_test.cpp77 EXPECT_NE(std::string::npos, in TEST()
80 EXPECT_NE(std::string::npos, in TEST()
83 EXPECT_NE(std::string::npos, in TEST()
106 EXPECT_NE(std::string::npos, output.find("package com.android.internal;")); in TEST()
107 EXPECT_NE(std::string::npos, in TEST()
109 EXPECT_EQ(std::string::npos, output.find("two")); in TEST()
110 EXPECT_EQ(std::string::npos, output.find("com_foo$two")); in TEST()
132 EXPECT_NE(std::string::npos, output.find("public static final class attr")); in TEST()
133 EXPECT_EQ(std::string::npos, in TEST()
165 EXPECT_NE(std::string::npos, in TEST()
[all …]
DAnnotationProcessor.cpp48 if (comment.find(sDeprecated) != std::string::npos) { in AppendCommentLine()
53 if (idx != std::string::npos) { in AppendCommentLine()
/frameworks/rs/script_api/
DScanner.cpp150 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()
DUtilities.cpp64 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()
DSpecification.cpp187 if (pComma == string::npos || pParen == string::npos) { in parseParameterDefinition()
195 if (pParen == string::npos) { in parseParameterDefinition()
202 if (pParen == string::npos) { in parseParameterDefinition()
283 if (pComma != string::npos) { in scanDocumentationTags()
562 if (pParen == string::npos) { in parseTest()
586 bool patternFound = inlineStr.find(kRSTypePatterns[i]) != string::npos; in checkRSTPatternValidity()
607 if (p != string::npos) { in scanFunctionSpecification()
642 if (scanner->getValue().find("1") != string::npos) { in scanFunctionSpecification()
645 if (scanner->getValue().find("2") != string::npos) { in scanFunctionSpecification()
648 if (scanner->getValue().find("3") != string::npos) { in scanFunctionSpecification()
[all …]
/frameworks/base/tools/bit/
Daapt.cpp139 if (className.find('.') == string::npos) { in full_class_name()
152 return packageName + "/" + string(className, pn, string::npos); in pretty_component_name()
196 if (colon == string::npos) { in inspect_apk()
200 element->name.assign(str, colon+1, string::npos); in inspect_apk()
221 if (colon == string::npos) { in inspect_apk()
225 attr.name.assign(str, colon+1, string::npos); in inspect_apk()
/frameworks/compile/libbcc/tools/bcc_compat/
DMain.cpp158 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/base/tools/streaming_proto/
Dstring_utils.cpp67 if (start == string::npos) { in file_base_name()
73 if (end == string::npos) { in file_base_name()
/frameworks/compile/mclinker/lib/Support/
DPath.cpp160 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/
DRSX86CallConvPass.cpp81 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/libs/androidfw/include/androidfw/
DStringPiece.h43 constexpr static const size_t npos = static_cast<size_t>(-1); variable
54 BasicStringPiece<TChar> substr(size_t start, size_t len = npos) const;
87 constexpr const size_t BasicStringPiece<TChar>::npos;
129 if (len == npos) { in substr()
/frameworks/native/services/vr/performanced/
Dtask.cpp100 if (offset == std::string::npos) in GetStatusField()
119 if (offset == std::string::npos) { in ReadStatusFields()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp302 fullPath += path2.substr(1, string::npos); in JoinPath()
317 while ((p = s->find('\\', p)) != std::string::npos) { in SanitizeString()
410 if (p == std::string::npos) { in comment()
/frameworks/base/tools/aapt2/filter/
DAbiFilter.cpp41 if (abi_end == std::string::npos) { in Keep()
/frameworks/native/cmds/lshal/
Dutils.cpp32 while ((matchPos = s.find(c, startPos)) != std::string::npos) { in split()
/frameworks/native/cmds/installd/
Dsystem_properties.h35 if (equals_pos == std::string::npos || equals_pos == 0) { in Load()
/frameworks/av/include/media/
Dconvert.h115 if (str.find_first_of(std::string("\r\n\t\v ")) != std::string::npos) {
122 if (str.find('-') != std::string::npos
/frameworks/av/media/libmedia/include/media/
Dconvert.h115 if (str.find_first_of(std::string("\r\n\t\v ")) != std::string::npos) {
122 if (str.find('-') != std::string::npos
/frameworks/base/core/jni/
Dfd_utils.cpp94 && path.find("/../") == std::string::npos) { in IsAllowed()
102 && path.find("/../") == std::string::npos) { in IsAllowed()
109 && path.find("/../") == std::string::npos) { in IsAllowed()
/frameworks/base/tools/aapt2/
DNameMangler.h84 if (pivot == std::string::npos) { in Unmangle()
/frameworks/native/cmds/atrace/
Datrace.cpp476 if (clockStr.find("boot") != std::string::npos) { in setClock()
478 } else if (clockStr.find("mono") != std::string::npos) { in setClock()
486 if (newClock.compare(0, std::string::npos, clockStr, begin, end-begin) == 0) { in setClock()
547 if (n == std::string::npos || interfaces[i].size() == n+1) in pokeHalServices()
550 hidl_string instanceName = fqInstanceName.substr(n+1, std::string::npos); in pokeHalServices()
/frameworks/native/opengl/libs/EGL/
Degl_object.cpp120 if (gl_extensions.find("GL_EXT_debug_marker") == std::string::npos) { in onMakeCurrent()
/frameworks/compile/mclinker/lib/Core/
DGeneralOptions.cpp73 if (std::string::npos == pos) in setSOName()
/frameworks/compile/mclinker/lib/Support/Unix/
DSystem.inc57 if (DarwinDashIdx != std::string::npos) {
/frameworks/rs/rsov/compiler/
Drs2spirv.cpp59 if (Pos != std::string::npos) in removeExt()

123