/frameworks/base/tests/CoreTests/android/core/ |
TestWebServer.java | 407 Vector pool = threads; local 408 synchronized (pool) { 409 if (pool.size() >= workers) { 414 pool.addElement(this);
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
MCCacheReader.cpp | 248 vector<char const *> &pool = mpResult->mStringPool; local 251 pool.push_back(str); 260 vector<char const *> &pool = mpResult->mStringPool; local 264 if (pool[i][poolR->list[i].length] != '\0') {
|
/external/valgrind/unittest/ |
racecheck_unittest.cc | 146 ThreadPool pool(1); 147 pool.StartWorkers(); 149 pool.Add(NewCallback(Waker)); 192 ThreadPool pool(1); 193 pool.StartWorkers(); 195 pool.Add(NewCallback(Waker)); 324 ThreadPool pool(1); 325 pool.StartWorkers(); 327 pool.Add(NewCallback(Waker)); 771 ThreadPool pool(1) [all...] |
thread_wrappers.h | 217 /*! A thread pool that uses ProducerConsumerQueue. 220 ThreadPool pool(n_workers); 221 pool.StartWorkers(); 222 pool.Add(NewCallback(func_with_no_args)); 223 pool.Add(NewCallback(func_with_one_arg, arg)); 224 pool.Add(NewCallback(func_with_two_args, arg1, arg2)); 225 ... // more calls to pool.Add() 228 // and then join all threads in the pool. 271 ThreadPool *pool = reinterpret_cast<ThreadPool*>(p); local 273 Closure *closure = reinterpret_cast<Closure*>(pool->queue_.Get()) [all...] |
/external/javassist/src/main/javassist/util/proxy/ |
ProxyFactory.java | 687 ConstPool pool = cf.getConstPool(); local 691 FieldInfo finfo = new FieldInfo(pool, DEFAULT_INTERCEPTOR, HANDLER_TYPE); 697 FieldInfo finfo2 = new FieldInfo(pool, HANDLER, HANDLER_TYPE); 702 FieldInfo finfo3 = new FieldInfo(pool, FILTER_SIGNATURE_FIELD, FILTER_SIGNATURE_TYPE); 707 FieldInfo finfo4 = new FieldInfo(pool, SERIAL_VERSION_UID_FIELD, SERIAL_VERSION_UID_TYPE); 713 makeConstructors(classname, cf, pool, classname); 714 int s = overrideMethods(cf, pool, classname); 715 addMethodsHolder(cf, pool, classname, s); 716 addSetter(classname, cf, pool); 717 addGetter(classname, cf, pool); [all...] |
/cts/tests/tests/webkitsecurity/generate/ |
postprocess.py | 146 pool = multiprocessing.Pool(processes=12) 147 return pool.map(get_test_cls, tests)
|
/external/chromium/base/threading/ |
worker_pool_posix_unittest.cc | 21 explicit PosixDynamicThreadPoolPeer(PosixDynamicThreadPool* pool) 22 : pool_(pool) {} 49 // thread pool, since the first one might finish executing before the subsequent
|
/external/chromium/net/spdy/ |
spdy_stream_unittest.cc | 17 explicit SpdySessionPoolPeer(SpdySessionPool* pool) 18 : pool_(pool) {}
|
/external/javassist/src/main/javassist/ |
SerialVersionUID.java | 65 ClassPool pool = clazz.getClassPool(); local 66 return clazz.subtypeOf(pool.get("java.io.Serializable"));
|
/external/javassist/src/main/javassist/bytecode/stackmap/ |
TypedBlock.java | 49 ConstPool pool = minfo.getConstPool(); 52 pool.getClassName(), minfo.getDescriptor(),
|
/external/protobuf/src/google/protobuf/ |
message.cc | 247 GOOGLE_DCHECK_EQ(descriptor->file()->pool(), DescriptorPool::generated_pool()) 267 // If the type is not in the generated pool, then we can't possibly handle 269 if (type->file()->pool() != DescriptorPool::generated_pool()) return NULL; 275 GOOGLE_LOG(DFATAL) << "File appears to be in generated pool but wasn't " 292 GOOGLE_LOG(DFATAL) << "Type appears to be in generated pool but wasn't "
|
message_unittest.cc | 269 DescriptorPool pool; local 273 const Descriptor* descriptor = pool.BuildFile(file)->message_type(0);
|
/external/qemu/ |
block_int.h | 204 AIOPool *pool; member in struct:BlockDriverAIOCB 213 void *qemu_aio_get(AIOPool *pool, BlockDriverState *bs,
|
/external/webkit/Source/JavaScriptCore/wtf/ |
ListHashSet.h | 144 : m_freeList(pool()) 147 memset(m_pool.pool, 0, sizeof(m_pool.pool)); 191 Node* pool() { return reinterpret_cast_ptr<Node*>(m_pool.pool); } function in struct:WTF::ListHashSetNodeAllocator 192 Node* pastPool() { return pool() + m_poolSize; } 196 return node >= pool() && node < pastPool(); 203 char pool[sizeof(Node) * m_poolSize]; member in union:WTF::ListHashSetNodeAllocator::__anon14606
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
BasicNetwork.java | 68 // If a pool isn't passed in, then build a small default pool that will give us a lot of 75 * @param pool a buffer pool that improves GC performance in copy operations 77 public BasicNetwork(HttpStack httpStack, ByteArrayPool pool) { 79 mPool = pool;
|
/external/webkit/Tools/DumpRenderTree/mac/ |
DumpRenderTree.mm | 359 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 372 [pool release]; 724 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 729 [pool release]; [all...] |
/hardware/ril/mock-ril/src/cpp/ |
protobuf_v8.cpp | 101 Schema(Handle<Object> self, const DescriptorPool* pool) 102 : pool_(pool) { 513 DescriptorPool* pool = new DescriptorPool; local 515 pool->BuildFile(descriptors.file(i)); 519 return (new Schema(args.This(), pool))->handle_;
|
/external/chromium/net/socket/ |
transport_client_socket_pool_unittest.cc | 742 TransportClientSocketPool* pool) 744 pool_(pool), 859 // Need to run all pending to release the socket back to the pool. [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.util_1.0.200.v20100503.jar | |
/external/libpcap/ |
pcap-dos.c | 62 static int pktq_init (struct rx_ringbuf *q, int size, int num, char *pool); 753 strcpy (ebuf, "Not enough memory (Rx pool)"); [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
command_line_interface.cc | 667 DescriptorPool pool; local 671 GOOGLE_CHECK(pool.BuildFile(file) != NULL); 673 if (!EncodeOrDecode(&pool)) { 677 if (!EncodeOrDecode(importer.pool())) { [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDatabase.java | 104 // It is ok to hold the lock while reconfiguring the connection pool or dumping 120 // The connection pool for the database, null when closed. 121 // The pool itself is thread-safe, but the reference to it can only be acquired 276 final SQLiteConnectionPool pool; local 285 pool = mConnectionPoolLocked; 294 if (pool != null) { 295 pool.close(); 363 final SQLiteConnectionPool pool; local 366 pool = mConnectionPoolLocked; 368 return new SQLiteSession(pool); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
AndroidSpellCheckerService.java | 378 for (DictionaryPool pool : oldPools.values()) { 379 pool.close(); 404 DictionaryPool pool = mDictionaryPools.get(locale); local 405 if (null == pool) { 407 pool = new DictionaryPool(POOL_SIZE, this, localeObject); 408 mDictionaryPools.put(locale, pool); 410 return pool; [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3commontoken.c | 112 /* Allocate the initial pool 158 // If we were reusing this token factory then we may already have a pool 167 (ANTLR3_UINT32)((factory->thisPool + 1) * sizeof(pANTLR3_COMMON_TOKEN *)) /* Memory for new pool pointers */ 170 /* Allocate a new pool for the factory 176 // We now have a new pool and can track it as the maximum we have created so far 195 /* See if we need a new token pool before allocating a new 200 /* We ran out of tokens in the current pool, so we need a new pool 234 // Just start again with pool #0 when we are 244 pANTLR3_COMMON_TOKEN pool; local [all...] |
/external/javassist/src/main/javassist/bytecode/analysis/ |
Type.java | 351 ClassPool pool = rootComponent.clazz.getClassPool(); local 352 return pool != null ? pool : ClassPool.getDefault();
|