/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 40 return &mTable->stringPool; in getStringPool() 68 return addValue(name, id, util::make_unique<String>(mTable->stringPool.makeRef(str))); in addString() 74 util::make_unique<String>(mTable->stringPool.makeRef(str))); in addString() 84 util::make_unique<FileReference>(mTable->stringPool.makeRef(path))); in addFileReference() 90 util::make_unique<FileReference>(mTable->stringPool.makeRef(path))); in addFileReference()
|
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 257 &mMasterTable->stringPool)); in doMerge() 270 &mMasterTable->stringPool)); in doMerge() 286 mMasterTable->stringPool.makeRef(newPath)); in cloneAndMangleFile() 291 return std::unique_ptr<FileReference>(fileRef.clone(&mMasterTable->stringPool)); in cloneAndMangleFile() 299 table.stringPool.makeRef(path)); in mergeFileImpl()
|
D | ReferenceLinker.cpp | 48 ReferenceLinkerVisitor(IAaptContext* context, SymbolTable* symbols, StringPool* stringPool, in ReferenceLinkerVisitor() argument 50 mContext(context), mSymbols(symbols), mPackageDecls(decl), mStringPool(stringPool), in ReferenceLinkerVisitor() 319 &table->stringPool, &declStack, &callSite); in consume()
|
D | AutoVersioner.cpp | 117 std::unique_ptr<Style> newStyle(style->clone(&table->stringPool)); in consume()
|
D | ReferenceLinker_test.cpp | 82 table->stringPool.makeRef(u"one|two")); in TEST()
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 181 private final StringPool stringPool = new StringPool(); field in JsonReader 891 return stringPool.get(buffer, start, pos - start - 1); in nextString() 989 result = stringPool.get(buffer, pos, i); in nextLiteral() 1023 String hex = stringPool.get(buffer, pos, 4); in readEscapeCharacter() 1095 value = stringPool.get(buffer, valuePos, valueLength); in decodeLiteral()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageEvents.java | 197 public UsageEvents(List<Event> events, String[] stringPool) { in UsageEvents() argument 198 mStringPool = stringPool; in UsageEvents()
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoSerializer.cpp | 202 table->stringPool.sort([](const StringPool::Entry& a, const StringPool::Entry& b) -> bool { in serializeTableToPb() 211 table->stringPool.prune(); in serializeTableToPb() 214 serializeStringPoolToPb(table->stringPool, pbTable->mutable_string_pool()); in serializeTableToPb()
|
D | TableProtoSerializer_test.cpp | 50 plural->values[Plural::One] = util::make_unique<String>(table->stringPool.makeRef(u"one")); in TEST()
|
D | TableProtoDeserializer.cpp | 145 config, &table->stringPool); in deserializeFromPb()
|
/frameworks/base/tools/aapt2/unflatten/ |
D | BinaryResourceParser.cpp | 128 mTable->stringPool.hintWillAdd(mValuePool.size(), mValuePool.styleCount()); in parseTable() 406 return util::make_unique<StyledString>(mTable->stringPool.makeRef( in parseValue() 412 return util::make_unique<FileReference>(mTable->stringPool.makeRef( in parseValue() 418 return util::make_unique<String>(mTable->stringPool.makeRef( in parseValue()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 251 &table->stringPool, entry.get()); in consume() 253 &table->stringPool, entry.get()); in consume()
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener.cpp | 469 table->stringPool.sort([](const StringPool::Entry& a, const StringPool::Entry& b) -> bool { in consume() 478 table->stringPool.prune(); in consume() 486 StringPool::flattenUtf8(tableWriter.getBuffer(), table->stringPool); in consume()
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 263 StringPool stringPool; variable
|
D | ResourceParser.cpp | 492 mTable->stringPool.makeRef(styleString, StringPool::Context{ 1, mConfig })); in parseXml() 517 mTable->stringPool.makeRef(styleString.str, StringPool::Context{ 1, mConfig })); in parseXml() 523 mTable->stringPool.makeRef(rawValue, StringPool::Context{ 1, mConfig })); in parseXml()
|
D | ResourceTable.cpp | 300 stringPool.makeRef(path)); in addFileReferenceImpl()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.cpp | 236 configValue->value->clone(&splitTable->stringPool)); in splitTable()
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 1107 sp<AaptFile> stringPool = strings.createStringBlock(); in flatten() local 1116 dest->writeData(stringPool->getData(), stringPool->getSize()); in flatten() 1142 dest->getSize(), (stringPool->getSize()*100)/dest->getSize(), in flatten()
|