Searched refs:pool (Results 1 - 15 of 15) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/attrib/
H A DRawAttribute.java30 * {@code null-ok;} constant pool to use for resolution of cpis in {@link
33 private final ConstantPool pool; field in class:RawAttribute
40 * @param pool {@code null-ok;} constant pool to use for cpi resolution
42 public RawAttribute(String name, ByteArray data, ConstantPool pool) { argument
50 this.pool = pool;
60 * @param pool {@code null-ok;} constant pool to use for cpi resolution
63 int length, ConstantPool pool) {
62 RawAttribute(String name, ByteArray data, int offset, int length, ConstantPool pool) argument
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
H A DASN1OpenType.java41 private final InformationObjectSet pool; field in class:ASN1OpenType
43 public ASN1OpenType(Id key, InformationObjectSet pool) { argument
45 this.pool = pool;
55 AttributeType attr = (AttributeType) pool.get(oid);
H A DInformationObjectSet.java40 private final Entry[][] pool; field in class:InformationObjectSet
48 pool = new Entry[capacity][size];
58 // look for OID in the pool
59 Entry[] list = pool[index];
79 // look for OID in the pool
80 Entry[] list = pool[index];
H A DBerInputStream.java968 private Object[][] pool; field in class:BerInputStream
972 if (pool == null) {
973 pool = new Object[2][10];
977 for (; i < pool[0].length && pool[0][i] != null; i++) {
978 if (pool[0][i] == key) {
979 pool[1][i] = entry;
984 if (i == pool[0].length) {
985 Object[][] newPool = new Object[pool[0].length * 2][2];
986 System.arraycopy(pool[
[all...]
/dalvik/vm/compiler/codegen/arm/Thumb/
H A DGen.c117 RegisterPool *pool = dvmCompilerNew(sizeof(*pool), true); local
118 cUnit->regPool = pool;
119 pool->numCoreTemps = numTemps;
120 pool->coreTemps =
121 dvmCompilerNew(numTemps * sizeof(*pool->coreTemps), true);
122 pool->numFPTemps = 0;
123 pool->FPTemps = NULL;
124 pool->numCoreRegs = 0;
125 pool
[all...]
/dalvik/dx/src/com/android/dx/cf/direct/
H A DAttributeFactory.java83 ConstantPool pool = cf.getConstantPool();
87 name = (CstUtf8) pool.get(nameIdx);
125 ConstantPool pool = cf.getConstantPool();
126 Attribute result = new RawAttribute(name, bytes, offset, length, pool);
H A DDirectClassFile.java91 * {@code null-ok;} the constant pool; only ever {@code null}
92 * before the constant pool is successfully parsed
94 private StdConstantPool pool; field in class:DirectClassFile
275 return pool;
317 * list of constant pool indices for classes, which are in turn
320 * constant pool entries of type {@code Class}.
332 if (pool == null) {
333 throw new IllegalStateException("pool not yet initialized");
336 return new DcfTypeList(bytes, offset, size, pool, observer);
469 pool
567 private final StdConstantPool pool; field in class:DirectClassFile.DcfTypeList
579 DcfTypeList(ByteArray bytes, int offset, int size, StdConstantPool pool, ParseObserver observer) argument
[all...]
H A DAnnotationParser.java57 /** {@code non-null;} constant pool to use */
58 private final ConstantPool pool; field in class:AnnotationParser
90 this.pool = cf.getConstantPool();
250 CstUtf8 typeUtf8 = (CstUtf8) pool.get(typeIndex);
287 CstUtf8 elementName = (CstUtf8) pool.get(elementNameIndex);
353 CstUtf8 value = (CstUtf8) pool.get(classInfoIndex);
371 CstUtf8 typeName = (CstUtf8) pool.get(typeNameIndex);
372 CstUtf8 constName = (CstUtf8) pool.get(constNameIndex);
428 Constant value = (Constant) pool.get(constValueIndex);
H A DStdAttributeFactory.java219 ConstantPool pool = cf.getConstantPool();
246 pool);
279 CstType catchType = (CstType) pool.get0Ok(catchTypeIdx);
323 ConstantPool pool = cf.getConstantPool();
325 TypedConstant cst = (TypedConstant) pool.get(idx);
357 ConstantPool pool = cf.getConstantPool();
360 CstType type = (CstType) pool.get(idx);
363 CstNat method = (CstNat) pool.get0Ok(idx);
414 ConstantPool pool = cf.getConstantPool();
436 CstType innerClass = (CstType) pool
559 parseLocalVariables(ByteArray bytes, ConstantPool pool, ParseObserver observer, int count, boolean typeTable) argument
[all...]
H A DMemberListParser.java84 * Gets the end offset of this constant pool in the {@code byte[]}
178 ConstantPool pool = cf.getConstantPool();
190 CstUtf8 name = (CstUtf8) pool.get(nameIdx);
191 CstUtf8 desc = (CstUtf8) pool.get(descIdx);
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMStringPool.java138 * this version of the pool assigns indices consecutively, starting
154 DTMStringPool pool=new DTMStringPool();
164 int j=pool.stringToIndex(word[i]);
166 System.out.println("\tMismatch populating pool: assigned "+
172 int j=pool.stringToIndex(word[i]);
180 String w=pool.indexToString(i);
186 pool.removeAllElements();
/dalvik/vm/compiler/codegen/arm/Thumb2/
H A DGen.c93 RegisterPool *pool = dvmCompilerNew(sizeof(*pool), true); local
94 cUnit->regPool = pool;
95 pool->numCoreTemps = numTemps;
96 pool->coreTemps =
98 pool->numFPTemps = numFPTemps;
99 pool->FPTemps =
101 pool->numCoreRegs = 0;
102 pool->coreRegs = NULL;
103 pool
[all...]
/dalvik/dx/src/com/android/dx/cf/cst/
H A DConstantPoolParser.java41 * Parser for a constant pool embedded in a class file.
44 /** {@code non-null;} the bytes of the constant pool */
47 /** {@code non-null;} actual parsed constant pool contents */
48 private final StdConstantPool pool; field in class:ConstantPoolParser
54 * -1 || &gt;= 10; the end offset of this constant pool in the
72 this.pool = new StdConstantPool(size);
87 * Gets the end offset of this constant pool in the {@code byte[]}
98 * Gets the actual constant pool.
100 * @return {@code non-null;} the constant pool
104 return pool;
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DBytecodeArray.java44 /** {@code non-null;} constant pool to use when resolving constant pool indices */
45 private final ConstantPool pool; field in class:BytecodeArray
51 * @param pool {@code non-null;} constant pool to use when resolving constant
52 * pool indices
54 public BytecodeArray(ByteArray bytes, ConstantPool pool) { argument
59 if (pool == null) {
60 throw new NullPointerException("pool == null");
64 this.pool
[all...]
/dalvik/libcore/archive/src/main/native/
H A Dzipsup.c143 static HyZipCachePool *pool = 0; local
145 if (pool == 0) {
146 pool = zipCachePool_new(env);
148 return pool;
2012 * If the cache pool is non-NULL, the cachePool will be used to find a suitable cache, and if none can be found it will create one and add it to cachePool.
2020 * @param[in] cachePool the cache pool

Completed in 280 milliseconds