Searched refs:substr (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/base/tools/aapt2/xml/
H A DXmlUtil.cpp42 package = package.substr(schema_prefix.size(),
52 package = package.substr(schema_prefix.size(),
/frameworks/native/cmds/installd/
H A Dsystem_properties.h40 std::string key = line.substr(0, equals_pos);
41 std::string value = line.substr(equals_pos + 1,
/frameworks/native/cmds/lshal/
H A Dutils.cpp33 components.push_back(s.substr(startPos, matchPos - startPos));
38 components.push_back(s.substr(startPos));
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator.cpp152 const StringPiece16 substr = text.substr(cursor, span->first_char - cursor); local
153 cursor += substr.size();
156 std::string new_substr = util::Utf16ToUtf8(substr);
179 const StringPiece16 substr = text.substr(cursor, parent_span->last_char - cursor + 1); local
180 cursor += substr.size();
183 std::string new_substr = util::Utf16ToUtf8(substr);
201 new_string += localizer.Text(util::Utf16ToUtf8(text.substr(cursor, text.size() - cursor)));
255 result += localizer_.Text(original_string.substr(star
[all...]
H A DPngChunkFilter.cpp140 data_ = data_.substr(0, window_end_);
/frameworks/compile/mclinker/lib/Support/
H A DPath.cpp161 return Path(m_PathName.substr(0, end_pos));
169 return Path(m_PathName.substr(pos));
177 Path result_path(m_PathName.substr(begin_pos, end_pos - begin_pos));
185 return Path(m_PathName.substr(pos));
H A DDemangle.cpp23 if (pName.substr(0, 2) != "_Z")
/frameworks/compile/mclinker/lib/LD/
H A DRelocator.cpp59 sect_name = sect_name.substr(sect_name.find('.', /*pos=*/1));
68 if (sect_name.substr(0, 5) != ".text") {
H A DGNUArchiveReader.cpp172 member_name.assign(name_field.substr(0, pos).str());
179 name_field.substr(begin, end - begin).getAsInteger(10, name_offset);
185 name_field.substr(begin, end - begin).getAsInteger(10, pNestedOffset);
193 pArchiveRoot.getStrTable().substr(begin, end - begin - 1));
/frameworks/native/services/vr/performanced/
H A Dtask.cpp102 return Trim(line.substr(offset + field.size() + 1));
122 std::string key = line.substr(0, offset);
123 std::string value = Trim(line.substr(offset + 1));
/frameworks/rs/script_api/
H A DScanner.cpp158 *documentation = s->substr(first, last - first);
170 p->testOption = s.substr(optionStart + 2);
187 p->name = s.substr(nameStart + 1);
H A DUtilities.cpp104 out += in.substr(start);
107 out += in.substr(start, lt - start);
173 addCommaSeparated(userAttribute.substr(1), &stream, &needComma);
H A DSpecification.cpp130 const string trimmed = type.substr(0, last);
190 minValue = testOption.substr(6, pComma - 6);
191 maxValue = testOption.substr(pComma + 1, pParen - pComma - 1);
198 smallerParameter = testOption.substr(6, pParen - 6);
205 compatibleTypeIndex = findCType(testOption.substr(11, pParen - 11));
284 mDeprecatedMessage = value.substr(pComma + 2);
565 mPrecisionLimit = value.substr(8, pParen - 8);
/frameworks/base/tools/streaming_proto/
H A Dstring_utils.cpp76 return str.substr(start, end-start);
/frameworks/base/libs/androidfw/
H A DApkAssets.cpp155 StringPiece leaf_file_path = full_file_path.substr(root_path_full.size());
159 leaf_file_path.substr(0, std::distance(leaf_file_path.begin(), iter)).to_string());
/frameworks/rs/rsov/compiler/
H A Drs2spirv.cpp51 return FileName.substr(0, Pos);
H A DGlobalAllocSPIRITPass.cpp84 mapping << "\"" << A.VarName.substr(1) << "\":" << A.ID;
/frameworks/base/libs/androidfw/include/androidfw/
H A DStringPiece.h53 BasicStringPiece<TChar> substr(size_t start, size_t len = npos) const;
54 BasicStringPiece<TChar> substr(BasicStringPiece<TChar>::const_iterator begin,
127 inline BasicStringPiece<TChar> BasicStringPiece<TChar>::substr(size_t start, size_t len) const { function in class:android::BasicStringPiece
139 inline BasicStringPiece<TChar> BasicStringPiece<TChar>::substr( function in class:android::BasicStringPiece
/frameworks/base/tools/aapt2/
H A DLoadedApk.cpp81 path = path.substr(path.find("@") + 1);
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp163 std::string name = plan.substr(0, found);
167 std::istringstream iss(plan.substr(found + 1));
172 std::string sourceStr = s.substr(0, found);
173 std::string slotStr = s.substr(found + 1);
/frameworks/compile/mclinker/lib/Core/
H A DGeneralOptions.cpp76 m_SOName = pName.substr(pos + 1);
/frameworks/base/tools/aapt2/util/
H A DUtil.cpp44 parts.emplace_back(str.substr(start, current).to_string());
66 return str.substr(0, prefix.size()) == prefix;
73 return str.substr(str.size() - suffix.size(), suffix.size()) == suffix;
/frameworks/base/libs/androidfw/tests/
H A DTestHelpers.cpp49 SetTestDataPath(arg.substr(strlen("--testdata=")));
/frameworks/base/tools/aapt2/cmd/
H A DCompile.cpp88 config_str = dir_str.substr(dash_pos + 1, dir.size() - (dash_pos + 1));
97 dir_str = dir_str.substr(0, dash_pos);
105 extension = name.substr(dot_pos + 1, filename.size() - (dot_pos + 1));
106 name = name.substr(0, dot_pos);
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.cpp302 fullPath += path2.substr(1, string::npos);
428 *this << s.substr(start, toCopy);

Completed in 9788 milliseconds

123