Home
last modified time | relevance | path

Searched refs:substr (Results 1 – 25 of 28) 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/rs/api/
DScanner.cpp158 *documentation = s->substr(first, last - first); in parseDocumentation()
170 p->testOption = s.substr(optionStart + 2); in parseArgString()
180 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.cpp121 const string trimmed = rsType.substr(0, last); in parseParameterDefinition()
167 minValue = testOption.substr(6, pComma - 6); in parseParameterDefinition()
168 maxValue = testOption.substr(pComma + 1, pParen - pComma - 1); in parseParameterDefinition()
175 smallerParameter = testOption.substr(6, pParen - 6); in parseParameterDefinition()
182 compatibleTypeIndex = findCType(testOption.substr(11, pParen - 11)); in parseParameterDefinition()
253 mDeprecatedMessage = value.substr(pComma + 2); in scanDocumentationTags()
514 mPrecisionLimit = value.substr(8, pParen - 8); in parseTest()
DGenerateDocumentation.cpp189 const string id = s->substr(start + 1, end - start - 1); in convertDocumentationRefences()
/frameworks/base/tools/aapt2/
DStringPiece.h49 BasicStringPiece<TChar> substr(size_t start, size_t len) const;
50 BasicStringPiece<TChar> substr(BasicStringPiece<TChar>::const_iterator begin,
126 inline BasicStringPiece<TChar> BasicStringPiece<TChar>::substr(size_t start, size_t len) const { in substr() function
134 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()
DUtil.cpp42 parts.emplace_back(str.substr(start, current).toString()); in splitAndTransform()
334 return package.substr(schemaPrefix.size(), package.size() - schemaPrefix.size()) in extractPackageFromNamespace()
DMain.cpp229 return str.substr(offset, str.size() - offset); in getExtension()
639 StringPiece configStr = dirStr.substr(dashPos + 1, dir.size() - (dashPos + 1)); in extractResourcePathData()
648 dirStr = dirStr.substr(0, dashPos); in extractResourcePathData()
656 extension = name.substr(dotPos + 1, filename.size() - (dotPos + 1)); in extractResourcePathData()
657 name = name.substr(0, dotPos); in extractResourcePathData()
DResourceParser.cpp67 extractResourceName(trimmedStr.substr(offset, trimmedStr.size() - offset), in tryParseReference()
98 extractResourceName(trimmedStr.substr(1, trimmedStr.size() - 1), &package, &type, &entry); in tryParseAttributeReference()
134 name = name.substr(1, name.size() - 1); in parseStyleParentReference()
137 name = name.substr(1, name.size() - 1); in parseStyleParentReference()
1192 style->parent.name.entry = styleName.substr(0, pos); in parseStyle()
DBindingXmlPullParser.cpp86 value.substr(2, value.size() - 3).toString() in readExpressions()
/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/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/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.cpp77 m_SOName = pName.substr(pos + 1); in setSOName()
/frameworks/rs/
DrsScriptC.cpp100 currentDir += cacheDirString.substr(currPos, nextPos - currPos); in createCacheDir()
103 currentDir += cacheDirString.substr(currPos); in createCacheDir()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java899 String substr = null; in dispatchEvent() local
903 substr = eventStr.substring(ind + 1); in dispatchEvent()
905 if (substr != null) { in dispatchEvent()
906 String status[] = substr.split(" "); in dispatchEvent()
925 SSID_TEMP_DISABLED:SSID_REENABLED, netId, 0, substr); in dispatchEvent()
/frameworks/av/services/audiopolicy/utilities/convert/
Dconvert.h131 if (str.substr(0, 2) == "0x") {
/frameworks/base/docs/html/channels/
Dio2013.jd282 title = title.substr(title.indexOf("-") + 1, title.length);
286 var shortDescription = fullDescription.substr(0, MAX_DESC_LENGTH);
/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()
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp318 ALOGE("%03zd : %s", line_number, src.substr(cur_pos, next_pos-cur_pos).c_str()); in CompileShader()
322 ALOGE("%03zu : %s", line_number, src.substr(cur_pos, next_pos-cur_pos).c_str()); in CompileShader()
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp678 value.substr(pos + 1).getAsInteger(0, addr); in TranslateArguments()
681 script_.addressMap().insert(value.substr(0, pos), exist); in TranslateArguments()

12