/frameworks/base/tools/aapt2/xml/ |
H A D | XmlUtil.cpp | 42 package = package.substr(schema_prefix.size(), 52 package = package.substr(schema_prefix.size(),
|
/frameworks/native/cmds/installd/ |
H A D | system_properties.h | 40 std::string key = line.substr(0, equals_pos); 41 std::string value = line.substr(equals_pos + 1,
|
/frameworks/native/cmds/lshal/ |
H A D | utils.cpp | 33 components.push_back(s.substr(startPos, matchPos - startPos)); 38 components.push_back(s.substr(startPos));
|
/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator.cpp | 152 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 D | PngChunkFilter.cpp | 140 data_ = data_.substr(0, window_end_);
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | Path.cpp | 161 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 D | Demangle.cpp | 23 if (pName.substr(0, 2) != "_Z")
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | Relocator.cpp | 59 sect_name = sect_name.substr(sect_name.find('.', /*pos=*/1)); 68 if (sect_name.substr(0, 5) != ".text") {
|
H A D | GNUArchiveReader.cpp | 172 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 D | task.cpp | 102 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 D | Scanner.cpp | 158 *documentation = s->substr(first, last - first); 170 p->testOption = s.substr(optionStart + 2); 187 p->name = s.substr(nameStart + 1);
|
H A D | Utilities.cpp | 104 out += in.substr(start); 107 out += in.substr(start, lt - start); 173 addCommaSeparated(userAttribute.substr(1), &stream, &needComma);
|
H A D | Specification.cpp | 130 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 D | string_utils.cpp | 76 return str.substr(start, end-start);
|
/frameworks/base/libs/androidfw/ |
H A D | ApkAssets.cpp | 155 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 D | rs2spirv.cpp | 51 return FileName.substr(0, Pos);
|
H A D | GlobalAllocSPIRITPass.cpp | 84 mapping << "\"" << A.VarName.substr(1) << "\":" << A.ID;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | StringPiece.h | 53 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 D | LoadedApk.cpp | 81 path = path.substr(path.find("@") + 1);
|
/frameworks/compile/libbcc/tools/bcc/ |
H A D | Main.cpp | 163 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 D | GeneralOptions.cpp | 76 m_SOName = pName.substr(pos + 1);
|
/frameworks/base/tools/aapt2/util/ |
H A D | Util.cpp | 44 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 D | TestHelpers.cpp | 49 SetTestDataPath(arg.substr(strlen("--testdata=")));
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Compile.cpp | 88 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 D | slang_rs_reflect_utils.cpp | 302 fullPath += path2.substr(1, string::npos); 428 *this << s.substr(start, toCopy);
|