Home
last modified time | relevance | path

Searched refs:substr (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/compile/mclinker/lib/Support/
DPath.cpp161 return Path(m_PathName.substr(0, end_pos)); in parent_path()
169 return Path(m_PathName.substr(pos)); in filename()
177 Path result_path(m_PathName.substr(begin_pos, end_pos - begin_pos)); in stem()
185 return Path(m_PathName.substr(pos)); in extension()
DDemangle.cpp23 if (pName.substr(0, 2) != "_Z") in demangleName()
/frameworks/native/cmds/installd/
Dsystem_properties.h40 std::string key = line.substr(0, equals_pos); in Load()
41 std::string value = line.substr(equals_pos + 1, in Load()
/frameworks/rs/api/
DScanner.cpp158 *documentation = s->substr(first, last - first); in parseDocumentation()
170 p->testOption = s.substr(optionStart + 2); in parseArgString()
187 p->name = s.substr(nameStart + 1); in parseArgString()
DUtilities.cpp104 out += in.substr(start); in stripHtml()
107 out += in.substr(start, lt - start); in stripHtml()
173 addCommaSeparated(userAttribute.substr(1), &stream, &needComma); in makeAttributeTag()
DSpecification.cpp130 const string trimmed = type.substr(0, last); in getVectorSizeAndBaseType()
190 minValue = testOption.substr(6, pComma - 6); in parseParameterDefinition()
191 maxValue = testOption.substr(pComma + 1, pParen - pComma - 1); in parseParameterDefinition()
198 smallerParameter = testOption.substr(6, pParen - 6); in parseParameterDefinition()
205 compatibleTypeIndex = findCType(testOption.substr(11, pParen - 11)); in parseParameterDefinition()
284 mDeprecatedMessage = value.substr(pComma + 2); in scanDocumentationTags()
562 mPrecisionLimit = value.substr(8, pParen - 8); in parseTest()
/frameworks/base/tools/aapt2/xml/
DXmlUtil.cpp30 package = package.substr(schemaPrefix.size(), package.size() - schemaPrefix.size()); in extractPackageFromNamespace()
39 package = package.substr(schemaPrefix.size(), package.size() - schemaPrefix.size()); in extractPackageFromNamespace()
/frameworks/compile/mclinker/lib/LD/
DRelocator.cpp59 sect_name = sect_name.substr(sect_name.find('.', /*pos=*/1)); in issueUndefRef()
68 if (sect_name.substr(0, 5) != ".text") { in issueUndefRef()
DGNUArchiveReader.cpp172 member_name.assign(name_field.substr(0, pos).str()); in readMemberHeader()
179 name_field.substr(begin, end - begin).getAsInteger(10, name_offset); in readMemberHeader()
185 name_field.substr(begin, end - begin).getAsInteger(10, pNestedOffset); in readMemberHeader()
193 pArchiveRoot.getStrTable().substr(begin, end - begin - 1)); in readMemberHeader()
/frameworks/base/tools/aapt2/util/
DStringPiece.h50 BasicStringPiece<TChar> substr(size_t start, size_t len) const;
51 BasicStringPiece<TChar> substr(BasicStringPiece<TChar>::const_iterator begin,
128 inline BasicStringPiece<TChar> BasicStringPiece<TChar>::substr(size_t start, size_t len) const { in substr() function
136 inline BasicStringPiece<TChar> BasicStringPiece<TChar>::substr( in substr() function
DUtil.h45 return str.substr(0, prefix.size()) == prefix; in stringStartsWith()
56 return str.substr(str.size() - suffix.size(), suffix.size()) == suffix; in stringEndsWith()
DFiles.cpp150 part = part.substr(1, part.size() - 1); in appendPath()
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp166 std::string name = plan.substr(0, found); in extractSourcesAndSlots()
170 std::istringstream iss(plan.substr(found + 1)); in extractSourcesAndSlots()
175 std::string sourceStr = s.substr(0, found); in extractSourcesAndSlots()
176 std::string slotStr = s.substr(found + 1); in extractSourcesAndSlots()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp68 if (!extractResourceName(str.substr(offset, str.size() - offset), &package, &type, &entry)) { in parseResourceName()
110 if (!parseResourceName(trimmedStr.substr(offset, trimmedStr.size() - offset), in tryParseReference()
153 if (!extractResourceName(trimmedStr.substr(1, trimmedStr.size() - 1), in tryParseAttributeReference()
201 name = name.substr(1, name.size() - 1); in parseStyleParentReference()
206 name = name.substr(1, name.size() - 1); in parseStyleParentReference()
/frameworks/base/tools/aapt2/compile/
DCompile.cpp76 configStr = dirStr.substr(dashPos + 1, dir.size() - (dashPos + 1)); in extractResourcePathData()
85 dirStr = dirStr.substr(0, dashPos); in extractResourcePathData()
93 extension = name.substr(dotPos + 1, filename.size() - (dotPos + 1)); in extractResourcePathData()
94 name = name.substr(0, dotPos); in extractResourcePathData()
DPseudolocalizer.cpp114 std::u16string chunk = text.substr(lastpos, size).toString(); in text()
236 result = result.substr(0, length + ext); in pseudoGenerateExpansion()
DPseudolocaleGenerator.cpp105 localized.str += localizer.text(originalText.substr(start, len)); in pseudolocalizeStyledString()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp302 fullPath += path2.substr(1, string::npos); in JoinPath()
428 *this << s.substr(start, toCopy); in comment()
/frameworks/compile/mclinker/lib/Core/
DGeneralOptions.cpp76 m_SOName = pName.substr(pos + 1); in setSOName()
/frameworks/rs/
DrsScriptC.cpp91 currentDir += cacheDirString.substr(currPos, nextPos - currPos); in createCacheDir()
94 currentDir += cacheDirString.substr(currPos); in createCacheDir()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java942 String substr = null; in dispatchEvent() local
946 substr = eventStr.substring(ind + 1); in dispatchEvent()
948 if (substr != null) { in dispatchEvent()
949 String status[] = substr.split(" "); in dispatchEvent()
968 SSID_TEMP_DISABLED:SSID_REENABLED, netId, 0, substr); in dispatchEvent()
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp389 ForEachFileInZip(path.substr(0, zip_pos), path.substr(zip_pos + 2), in ForEachFileInPath()
/frameworks/av/services/audiopolicy/utilities/convert/
Dconvert.h131 if (str.substr(0, 2) == "0x") {
/frameworks/compile/mclinker/lib/Script/
DScriptScanner.ll212 str.substr(0, yyleng - 1).getAsInteger(0, yylval->integer);
217 str.substr(0, yyleng - 1).getAsInteger(0, yylval->integer);
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc231 if (r.substr(0, 10) == "_GLOBAL__N") in parse_source_name()
1703 if (db.names.back().second.substr(0, 2) == " [") in parse_array_type()
1719 if (db.names.back().second.substr(0, 2) == " [") in parse_array_type()
1740 if (type.second.substr(0, 2) == " [") in parse_array_type()
2012 if (db.names[k].second.substr(0, 2) == " [") in parse_type()
2039 if (db.names[k].second.substr(0, 2) == " [") in parse_type()
2049 … if (first[1] != 'U' || db.names[k].first.substr(0, 12) != "objc_object<") in parse_type()
2073 if (db.names[k].second.substr(0, 2) == " [") in parse_type()
2129 if (db.names.back().first.substr(0, 9) != "objcproto") in parse_type()

12