Searched defs:pool (Results 1 - 11 of 11) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/attrib/
H A DRawAttribute.java30 * null-ok; constant pool to use for resolution of cpis in {@link
33 private final ConstantPool pool; field in class:RawAttribute
40 * @param pool 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 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.java956 private Object[][] pool; field in class:BerInputStream
960 if (pool == null) {
961 pool = new Object[2][10];
965 for (; i < pool[0].length && pool[0][i] != null; i++) {
966 if (pool[0][i] == key) {
967 pool[1][i] = entry;
972 if (i == pool[0].length) {
973 Object[][] newPool = new Object[pool[0].length * 2][2];
974 System.arraycopy(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 /** non-null; the bytes of the constant pool */
47 /** 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[]</code>
98 * Gets the actual constant pool.
100 * @return non-null; the constant pool
104 return pool;
[all...]
/dalvik/dx/src/com/android/dx/cf/direct/
H A DAnnotationParser.java57 /** 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 DDirectClassFile.java91 * null-ok; the constant pool; only ever <code>null</code>
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</code>.
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...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
H A DHttpConnectionManager.java38 * <code>HttpConnectionManager</code> manages a pool of <code>HttpConnection</code>s
40 * Clients should return an <code>HttpConnection</code> to the pool after use by calling
47 * should be kept in the pool.
58 private ConnectionPool pool = new ConnectionPool(); field in class:HttpConnectionManager
73 return pool.getHttpConnection(config, connectTimeout);
79 return pool.getHttpConnection(config, connectTimeout);
84 pool.returnConnection(connection);
88 return pool.numFreeConnections();
100 pool.clear();
179 pool
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DBytecodeArray.java44 /** non-null; constant pool to use when resolving constant pool indices */
45 private final ConstantPool pool; field in class:BytecodeArray
51 * @param pool 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 1403 milliseconds