HomeSort by relevance Sort by last modified time
    Searched refs:stringPool (Results 1 - 25 of 73) sorted by null

1 2 3

  /libcore/luni/src/test/java/libcore/internal/
StringPoolTest.java 20 import libcore.internal.StringPool;
25 StringPool stringPool = new StringPool();
26 String bcd = stringPool.get(new char[] { 'a', 'b', 'c', 'd', 'e' }, 1, 3);
28 assertSame(bcd, stringPool.get(new char[] { 'a', 'b', 'c', 'd', 'e' }, 1, 3));
32 StringPool stringPool = new StringPool();
37 String aString = stringPool.get(a, 0, 2)
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
DexAnnotationAttributeImpl.java 28 private String[] stringPool;
35 DexAnnotation annotation, int[] typeIds, String[] stringPool,
40 this.stringPool = stringPool;
48 stringPool, fieldIdItems);
52 return stringPool[nameIdx];
DexEncodedAnnotationImpl.java 34 private final String[] stringPool;
40 int[] typeIds, String[] stringPool, FieldIdItem[] fieldIdItems) {
44 this.stringPool = stringPool;
55 typeIds, stringPool, fieldIdItems));
68 return stringPool[typeIds[typeIdx]];
DexFieldImpl.java 32 private String[] stringPool;
44 FieldAnnotation fieldAnnotation, String[] stringPool,
51 this.stringPool = stringPool;
64 buffer.readUInt(), typeIds, stringPool, fieldIdItems));
70 return stringPool[fieldIdItem.name_idx];
74 return stringPool[typeIds[fieldIdItem.type_idx]];
DexFileImpl.java 32 private final String[] stringPool;
42 public DexFileImpl(DexBuffer buffer, String[] stringPool, int[] typeIds,
46 this.stringPool = stringPool;
64 classDefItems[i], stringPool, typeIds, protoIdItems,
74 b.append("StringPool:\n").append(Arrays.toString(stringPool));
77 b.append(stringPool[typeIds[i]] + "\n");
DexAnnotationImpl.java 31 private String[] stringPool;
39 String[] stringPool, FieldIdItem[] fieldIdItems) {
43 this.stringPool = stringPool;
52 stringPool, fieldIdItems);
DexParameterImpl.java 33 private final String[] stringPool;
37 Integer annotationOffset, int[] typeIds, String[] stringPool,
43 this.stringPool = stringPool;
55 buffer.readUInt(), typeIds, stringPool, fieldIdItems));
DexMethodImpl.java 41 private String[] stringPool;
57 ParameterAnnotation parameterAnnotation, String[] stringPool,
66 this.stringPool = stringPool;
91 buffer.readUInt(), typeIds, stringPool, fieldIdItems));
97 return stringPool[methodsIdItem.name_idx];
101 return stringPool[typeIds[protoIdItem.return_type_idx]];
118 stringPool[typeIds[paramTypeIdx[i]]],
119 parameterIdToIndex.get(i), typeIds, stringPool,
DexEncodedValueImpl.java 33 private String[] stringPool;
44 * @param stringPool
48 int[] typeIds, String[] stringPool, FieldIdItem[] fieldIdItems) {
52 this.stringPool = stringPool;
137 stringPool, fieldIdItems);
150 stringPool, fieldIdItems));
164 String constantName = stringPool[fieldIdItem.name_idx];
165 String typeName = stringPool[typeIds[fieldIdItem.type_idx]];
189 String fieldName = stringPool[fieldIdItem.name_idx]
    [all...]
DexClassImpl.java 45 private final String[] stringPool;
70 String[] stringPool, int[] typeIds, ProtIdItem[] protoIdItems,
74 this.stringPool = stringPool;
243 buffer.readUInt(), typeIds, stringPool, fieldIdItems));
269 idToFieldAnnotation.get(fieldIdIdx), stringPool,
301 .get(methodIdIdx), stringPool, typeIds,
317 interfaces.add(stringPool[typeIds[buffer.readUShort()]]);
327 : stringPool[typeIds[classDefItem.superclass_idx]];
335 return stringPool[typeIds[classDefItem.class_idx]]
    [all...]
DexFileReader.java 60 private String[] stringPool;
61 private int[] typeIds; // values are index of stringPool
101 return new DexFileImpl(b.createCopy(), stringPool, typeIds,
157 stringPool = new String[nStrings];
164 stringPool[i] = new String(values);
203 // directly stringpool)
225 // directly stringpool)
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
TypePool.java 42 @Nonnull private final StringPool stringPool;
44 public TypePool(@Nonnull StringPool stringPool) {
45 this.stringPool = stringPool;
52 stringPool.intern(typeString);
FieldPool.java 42 @Nonnull private final StringPool stringPool;
45 public FieldPool(@Nonnull StringPool stringPool, @Nonnull TypePool typePool) {
46 this.stringPool = stringPool;
54 stringPool.intern(field.getName());
MethodPool.java 41 @Nonnull private final StringPool stringPool;
45 public MethodPool(@Nonnull StringPool stringPool, @Nonnull TypePool typePool,
47 this.stringPool = stringPool;
57 stringPool.intern(method.getName());
AnnotationPool.java 44 @Nonnull StringPool stringPool;
49 public AnnotationPool(@Nonnull StringPool stringPool, @Nonnull TypePool typePool,
51 this.stringPool = stringPool;
62 stringPool.intern(element.getName());
63 DexPool.internEncodedValue(element.getValue(), stringPool, typePool, fieldPool, methodPool);
DexPool.java 73 StringPool stringPool = new StringPool();
74 TypePool typePool = new TypePool(stringPool);
75 FieldPool fieldPool = new FieldPool(stringPool, typePool);
77 ProtoPool protoPool = new ProtoPool(stringPool, typePool, typeListPool);
78 MethodPool methodPool = new MethodPool(stringPool, typePool, protoPool);
79 AnnotationPool annotationPool = new AnnotationPool(stringPool, typePool, fieldPool, methodPool);
81 ClassPool classPool = new ClassPool(stringPool, typePool, fieldPool, methodPool, annotationSetPool,
84 return new DexPool(opcodes, stringPool, typePool, protoPool, fieldPool, methodPool, classPool, typeListPool
    [all...]
ProtoPool.java 49 @Nonnull private final StringPool stringPool;
53 public ProtoPool(@Nonnull StringPool stringPool, @Nonnull TypePool typePool,
55 this.stringPool = stringPool;
66 stringPool.intern(key.getShorty());
ClassPool.java 66 @Nonnull private final StringPool stringPool;
73 public ClassPool(@Nonnull StringPool stringPool,
79 this.stringPool = stringPool;
98 stringPool.internNullable(poolClassDef.getSourceFile());
111 DexPool.internEncodedValue(initialValue, stringPool, typePool, fieldPool, methodPool);
149 stringPool.intern((StringReference)reference);
185 stringPool.intern(paramName)
    [all...]
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
ClassAnalyzer.java 29 private final StringPool stringPool;
43 * @param stringPool
47 final boolean[] probes, final StringPool stringPool) {
51 this.stringPool = stringPool;
68 this.coverage = new ClassCoverageImpl(stringPool.get(name), classid,
69 noMatch, stringPool.get(signature), stringPool.get(superName)
    [all...]
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
Analyzer.java 28 import org.jacoco.core.internal.analysis.StringPool;
48 private final StringPool stringPool;
63 this.stringPool = new StringPool();
88 probes, stringPool) {
  /external/icu/icu4c/source/i18n/
uspoof_conf.h 100 SPUStringPool *stringPool;
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
BuilderContext.java 50 @Nonnull final BuilderStringPool stringPool;
63 this.stringPool = new BuilderStringPool();
88 return new BuilderAnnotationElement(stringPool.internString(annotationElement.getName()),
169 return new BuilderStringEncodedValue(stringPool.internString(string.getValue()));
BuilderTypePool.java 57 BuilderStringReference stringRef = context.stringPool.internString(type);
  /frameworks/base/tools/aapt2/link/
TableMerger.cpp 257 &mMasterTable->stringPool));
270 &mMasterTable->stringPool));
286 mMasterTable->stringPool.makeRef(newPath));
291 return std::unique_ptr<FileReference>(fileRef.clone(&mMasterTable->stringPool));
299 table.stringPool.makeRef(path));
  /frameworks/base/tools/aapt2/test/
Builders.h 39 StringPool* getStringPool() {
40 return &mTable->stringPool;
68 return addValue(name, id, util::make_unique<String>(mTable->stringPool.makeRef(str)));
74 util::make_unique<String>(mTable->stringPool.makeRef(str)));
84 util::make_unique<FileReference>(mTable->stringPool.makeRef(path)));
90 util::make_unique<FileReference>(mTable->stringPool.makeRef(path)));

Completed in 314 milliseconds

1 2 3