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

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
memory.c 83 MemoryPool *pool; local
90 if (!(pool = malloc(chunksize))) return 0;
91 pool->next = 0;
92 pool->chunksize = chunksize;
93 pool->alignmask = (uintptr_t)(align)-1;
94 pool->free = ((uintptr_t)(pool + 1) + pool->alignmask) & ~pool->alignmask;
95 pool->end = (uintptr_t)pool + chunksize
    [all...]
  /frameworks/volley/tests/src/com/android/volley/toolbox/
ByteArrayPoolTest.java 23 ByteArrayPool pool = new ByteArrayPool(32); local
25 byte[] buf1 = pool.getBuf(16);
26 byte[] buf2 = pool.getBuf(16);
28 pool.returnBuf(buf1);
29 pool.returnBuf(buf2);
31 byte[] buf3 = pool.getBuf(16);
32 byte[] buf4 = pool.getBuf(16);
39 ByteArrayPool pool = new ByteArrayPool(32); local
41 byte[] buf1 = pool.getBuf(16);
42 byte[] buf2 = pool.getBuf(16)
60 ByteArrayPool pool = new ByteArrayPool(32); local
    [all...]
PoolingByteArrayOutputStreamTest.java 28 ByteArrayPool pool = new ByteArrayPool(32768); local
29 writeOneBuffer(pool);
30 writeOneBuffer(pool);
31 writeOneBuffer(pool);
35 ByteArrayPool pool = new ByteArrayPool(32768); local
36 writeBytesIndividually(pool);
37 writeBytesIndividually(pool);
38 writeBytesIndividually(pool);
42 ByteArrayPool pool = new ByteArrayPool(0); local
43 writeOneBuffer(pool);
49 ByteArrayPool pool = new ByteArrayPool(0); local
    [all...]
  /external/okhttp/src/test/java/com/squareup/okhttp/
ConnectionPoolTest.java 114 ConnectionPool pool = new ConnectionPool(1, KEEP_ALIVE_DURATION_MS); local
115 Connection connection = pool.get(httpAddress);
120 assertEquals(0, pool.getConnectionCount());
121 pool.recycle(connection);
122 assertEquals(1, pool.getConnectionCount());
123 assertEquals(1, pool.getHttpConnectionCount());
124 assertEquals(0, pool.getSpdyConnectionCount());
126 Connection recycledConnection = pool.get(httpAddress);
130 recycledConnection = pool.get(httpAddress);
135 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS) local
143 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
150 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
157 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
165 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
174 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
183 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
191 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
198 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
207 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
214 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
221 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
227 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
233 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
244 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
255 ConnectionPool pool = new ConnectionPool(2, KEEP_ALIVE_DURATION_MS); local
355 ConnectionPool pool = new ConnectionPool(10, KEEP_ALIVE_DURATION_MS); local
    [all...]
  /external/javassist/src/main/javassist/
Translator.java 35 * @param pool the <code>ClassPool</code> that this translator
42 void start(ClassPool pool)
50 * pool.get(classname).toBytecode()</pre></ul>
60 * @param pool the <code>ClassPool</code> that this translator
68 void onLoad(ClassPool pool, String classname)
  /external/webkit/Source/WebCore/platform/
Arena.cpp 93 void InitArenaPool(ArenaPool* pool, const char*, unsigned size, unsigned align)
97 pool->mask = BITMASK(CeilingLog2(align));
98 pool->first.next = NULL;
99 pool->first.base = pool->first.avail = pool->first.limit =
100 (uword)ARENA_ALIGN(&pool->first + 1);
101 pool->current = &pool->first;
102 pool->arenasize = size;
    [all...]
Arena.h 66 Arena first; // first arena in pool list.
72 void InitArenaPool(ArenaPool *pool, const char *name,
74 void FinishArenaPool(ArenaPool *pool);
75 void FreeArenaPool(ArenaPool *pool);
76 void* ArenaAllocate(ArenaPool *pool, unsigned int nb);
79 #define INIT_ARENA_POOL(pool, name, size) \
80 InitArenaPool(pool, name, size, ARENA_ALIGN_MASK + 1)
82 #define ARENA_ALLOCATE(p, pool, nb) \
83 Arena *_a = (pool)->current; \
88 _p = (uword)ArenaAllocate(pool, _nb);
    [all...]
  /external/webkit/Tools/WebKitTestRunner/mac/
main.mm 32 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
37 [pool drain];
  /external/chromium/net/http/
http_network_session_peer.h 28 void SetTransportSocketPool(TransportClientSocketPool* pool);
32 SOCKSClientSocketPool* pool);
36 HttpProxyClientSocketPool* pool);
38 void SetSSLSocketPool(SSLClientSocketPool* pool);
42 SSLClientSocketPool* pool);
http_network_session_peer.cc 23 TransportClientSocketPool* pool) {
24 session_->socket_pool_manager_.transport_socket_pool_.reset(pool);
29 SOCKSClientSocketPool* pool) {
36 socket_pool_manager->socks_socket_pools_[socks_proxy] = pool;
41 HttpProxyClientSocketPool* pool) {
48 socket_pool_manager->http_proxy_socket_pools_[http_proxy] = pool;
51 void HttpNetworkSessionPeer::SetSSLSocketPool(SSLClientSocketPool* pool) {
52 session_->socket_pool_manager_.ssl_socket_pool_.reset(pool);
57 SSLClientSocketPool* pool) {
64 socket_pool_manager->ssl_socket_pools_for_proxies_[proxy_host] = pool;
    [all...]
  /dalvik/dx/src/com/android/dx/cf/attrib/
RawAttribute.java 30 * {@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) {
50 this.pool = pool;
60 * @param pool {@code null-ok;} constant pool to use for cpi resolution
63 int length, ConstantPool pool) {
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
InternersTest.java 37 Interner<String> pool = Interners.newStrongInterner(); local
38 assertSame(canonical, pool.intern(canonical));
39 assertSame(canonical, pool.intern(not));
43 Interner<String> pool = Interners.newStrongInterner(); local
45 pool.intern(null);
54 Interner<String> pool = Interners.newWeakInterner(); local
55 assertSame(canonical, pool.intern(canonical));
56 assertSame(canonical, pool.intern(not));
60 Interner<String> pool = Interners.newWeakInterner(); local
62 pool.intern(null)
71 Interner<Integer> pool = Interners.newWeakInterner(); local
    [all...]
  /external/javassist/src/main/javassist/bytecode/annotation/
AnnotationsWriter.java 31 * ConstPool pool = ...;
33 * writer = new AnnotationsWriter(output, pool);
45 * = new AnnotationsAttribute(pool, AnnotationsAttribute.visibleTag,
61 private ConstPool pool; field in class:AnnotationsWriter
67 * @param cp the constant pool.
71 pool = cp;
75 * Obtains the constant pool given to the constructor.
78 return pool;
121 annotation(pool.addUtf8Info(type), numMemberValuePairs);
150 memberValuePair(pool.addUtf8Info(memberName))
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/output/
ThreadLocalOutputBufferProvider.java 24 private final ThreadLocal<StringBuilder> pool; field in class:ThreadLocalOutputBufferProvider
28 pool = new ThreadLocal<StringBuilder>() {
45 StringBuilder sb = pool.get();
53 if (buffer != pool.get()) {
  /external/skia/gm/
system_preferences_mac.mm 13 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
27 [pool release];
  /external/skia/src/utils/
SkThreadPool.cpp 37 SkThreadPool* pool = static_cast<SkThreadPool*>(arg); local
41 pool->fReady.lock();
42 while(pool->fQueue.isEmpty()) {
44 if (pool->fDone) {
45 pool->fReady.unlock();
49 pool->fReady.wait();
54 LinkedRunnable* r = pool->fQueue.tail();
56 pool->fQueue.remove(r);
61 pool->fReady.unlock();
68 SkASSERT(false); // Unreachable. The only exit happens when pool->fDone
    [all...]
  /frameworks/av/libvideoeditor/vss/stagefrightshells/src/
VideoEditorBuffer.c 43 * @brief Allocate a pool of nbBuffers buffers
45 * @param ppool : IN The buffer pool to create
46 * @param nbBuffers : IN The number of buffers in the pool
47 * @param poolName : IN a name given to the pool
55 VIDEOEDITOR_BUFFER_Pool* pool; local
61 pool = M4OSA_NULL;
62 pool = (VIDEOEDITOR_BUFFER_Pool*)M4OSA_32bitAlignedMalloc(
64 (M4OSA_Char*)("VIDEOEDITOR_BUFFER_allocatePool: pool"));
65 if (M4OSA_NULL == pool)
71 ALOGV("VIDEOEDITOR_BUFFER_allocatePool : Allocating Pool buffers")
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
BumpPointerAllocator.h 37 // ensureCapacity will check whether the current pool has capacity to
39 // allocate a new pool (which will be added to this one in a chain).
75 // If pointer was not allocated from this pool (or pools) then dealloc
146 // The pool passed should not have capacity, so we'll start with the next one.
150 BumpPointerPool* pool = previousPool->m_next; local
153 if (!pool) {
154 // We've run to the end; allocate a new pool.
155 pool = BumpPointerPool::create(size);
156 previousPool->m_next = pool;
157 pool->m_previous = previousPool
    [all...]
  /external/javassist/src/main/javassist/bytecode/
InstructionPrinter.java 41 ConstPool pool = info.getConstPool(); local
55 stream.println(pos + ": " + instructionString(iterator, pos, pool));
59 public static String instructionString(CodeIterator iter, int pos, ConstPool pool) {
72 return opstring + " " + ldc(pool, iter.byteAt(pos + 1));
75 return opstring + " " + ldc(pool, iter.u16bitAt(pos + 1));
119 return opstring + " " + fieldInfo(pool, iter.u16bitAt(pos + 1));
123 return opstring + " " + methodInfo(pool, iter.u16bitAt(pos + 1));
125 return opstring + " " + interfaceMethodInfo(pool, iter.u16bitAt(pos + 1));
129 return opstring + " " + classInfo(pool, iter.u16bitAt(pos + 1));
134 return opstring + " " + classInfo(pool, iter.u16bitAt(pos + 1))
    [all...]
  /external/webkit/Source/WebKit/mac/WebCoreSupport/
WebIconDatabaseClient.mm 38 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
40 [pool drain];
46 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
48 [pool drain];
54 // Therefore we let WebCore handle autorelease by draining its pool "from time to time"
  /external/chromium/third_party/libevent/
evrpc.c 180 static void evrpc_pool_schedule(struct evrpc_pool *pool);
385 struct evrpc_pool *pool = calloc(1, sizeof(struct evrpc_pool)); local
386 if (pool == NULL)
389 TAILQ_INIT(&pool->connections);
390 TAILQ_INIT(&pool->requests);
392 TAILQ_INIT(&pool->input_hooks);
393 TAILQ_INIT(&pool->output_hooks);
395 pool->base = base;
396 pool->timeout = -1;
398 return (pool);
512 struct evrpc_pool *pool = ctx->pool; local
565 struct evrpc_pool *pool = ctx->pool; local
590 struct evrpc_pool *pool = ctx->pool; local
    [all...]
  /external/javassist/sample/vector/
VectorAssistant.java 52 public CtClass[] assist(ClassPool pool, String vec, String[] args)
61 CtClass elementType = pool.get(args[0]);
63 subclass = makeSubclass2(pool, elementType);
65 subclass = makeSubclass(pool, elementType);
67 CtClass[] results = { subclass, pool.get(vec) };
84 public CtClass makeSubclass(ClassPool pool, CtClass type)
87 CtClass vec = pool.makeClass(makeClassName(type));
88 vec.setSuperclass(pool.get("java.util.Vector"));
90 CtClass c = pool.get("sample.vector.Sample");
109 public CtClass makeSubclass2(ClassPool pool, CtClass type
    [all...]
  /external/valgrind/main/memcheck/tests/
mempool.c 30 } pool; typedef in typeref:struct:_pool
32 pool *make_pool()
34 pool *p;
37 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC,
43 p = (pool *)malloc(sizeof(pool));
53 void push(pool *p)
70 void pop(pool *p)
83 void destroy_pool(pool *p
    [all...]
  /external/webkit/Tools/TestWebKitAPI/mac/
main.mm 30 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
42 [pool drain];
  /libcore/luni/src/main/java/libcore/internal/
StringPool.java 20 * A pool of string instances. Unlike the {@link String#intern() VM's
21 * interned strings}, this pool provides no guarantee of reference equality.
26 private final String[] pool = new String[512]; field in class:StringPool
53 int index = hashCode & (pool.length - 1);
55 String pooled = pool[index];
61 pool[index] = result;

Completed in 574 milliseconds

1 2 3 4 5 6 7 8 91011>>