/external/chromium_org/v8/tools/testrunner/local/ |
H A D | pool_unittest.py | 8 from pool import Pool 18 pool = Pool(3) 19 for result in pool.imap_unordered(Run, [[x] for x in range(0, 10)]): 25 pool = Pool(3) 26 for result in pool.imap_unordered(Run, [[x] for x in range(0, 12)]): 35 pool = Pool(3) 36 for result in pool.imap_unordered(Run, [[x] for x in range(0, 10)]): 39 pool.add([result + 20])
|
/external/chromium_org/v8/src/third_party/valgrind/ |
H A D | valgrind.h | 3616 /* Memory pool support. */ 3940 /* Create a memory pool. */ 3941 #define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) \ 3944 pool, rzB, is_zeroed, 0, 0) 3946 /* Destroy a memory pool. */ 3947 #define VALGRIND_DESTROY_MEMPOOL(pool) \ 3950 pool, 0, 0, 0, 0) 3952 /* Associate a piece of memory with a memory pool. */ 3953 #define VALGRIND_MEMPOOL_ALLOC(pool, addr, size) \ 3956 pool, add [all...] |
/external/chromium_org/third_party/webrtc/modules/video_render/test/testAPI/ |
H A D | testAPI_mac.mm | 58 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 68 [pool release];
|
/external/chromium_org/third_party/webrtc/test/mac/ |
H A D | run_test.mm | 39 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 42 [pool release]; 54 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 71 [pool release];
|
/external/chromium_org/third_party/webrtc/test/testsupport/mac/ |
H A D | run_threaded_main_mac.mm | 47 NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; 52 [pool release]; 63 NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; 88 [pool release];
|
/external/chromium_org/tools/gyp/pylib/gyp/generator/ |
H A D | cmake.py | 1131 pool = multiprocessing.Pool(len(config_names)) 1136 pool.map(CallGenerateOutputForConfig, arglists) 1138 pool.terminate()
|
H A D | ninja.py | 602 pool = 'console' if int(action.get('ninja_use_console', 0)) else None 604 is_cygwin, env, pool) 642 pool = 'console' if int(rule.get('ninja_use_console', 0)) else None 644 name, args, description, is_cygwin, env, pool) 1434 def WriteNewNinjaRule(self, name, args, description, is_cygwin, env, pool): 1492 self.ninja.rule(rule_name, command, description, restat=True, pool=pool, 1677 pool='link_pool') 1683 pool='link_pool') 1695 pool [all...] |
/external/chromium_org/tools/gyp/pylib/gyp/ |
H A D | input.py | 529 # The multiprocessing pool. 530 self.pool = None 605 if not parallel_state.pool: 606 parallel_state.pool = multiprocessing.Pool(multiprocessing.cpu_count()) 607 parallel_state.pool.apply_async( 614 parallel_state.pool.terminate() 619 parallel_state.pool.close() 620 parallel_state.pool.join() 621 parallel_state.pool = None
|
H A D | ninja_syntax.py | 37 def pool(self, name, depth): member in class:Writer 38 self._line('pool %s' % name) 42 generator=False, pool=None, restat=False, rspfile=None, 52 if pool: 53 self.variable('pool', pool, indent=1)
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | httpclient.cc | 268 HttpClient::HttpClient(const std::string& agent, StreamPool* pool, argument 270 : agent_(agent), pool_(pool), 813 // This shouldn't occur, since we return the stream to the pool upon command
|
H A D | httpclient.h | 63 HttpClient(const std::string& agent, StreamPool* pool, 67 void set_pool(StreamPool* pool) { pool_ = pool; } argument
|
H A D | httprequest.cc | 74 ReuseSocketPool pool(&factory); 75 client_.set_pool(&pool);
|
H A D | maccocoasocketserver.mm | 81 rtc::ScopedAutoreleasePool pool;
|
H A D | socketpool.cc | 27 StreamCache::StreamCache(StreamPool* pool) : pool_(pool) { argument 159 // Only one socket can be used from this "pool" at a time 237 StreamPool* pool, LoggingSeverity level, const std::string& label, 239 : pool_(pool), level_(level), label_(label), binary_mode_(binary_mode) { 236 LoggingPoolAdapter( StreamPool* pool, LoggingSeverity level, const std::string& label, bool binary_mode) argument
|
H A D | socketpool.h | 48 StreamCache(StreamPool* pool); 62 // We delegate stream creation and deletion to this pool. 121 LoggingPoolAdapter(StreamPool* pool, LoggingSeverity level,
|
H A D | thread.cc | 67 ScopedAutoreleasePool pool; 387 ScopedAutoreleasePool pool; 552 // Each thread is supposed to have an autorelease pool. Also for event loops 553 // like this, autorelease pool needs to be created and drained/released 555 ScopedAutoreleasePool pool;
|
/external/chromium_org/third_party/skia/gm/ |
H A D | factory.cpp | 38 SkAutoTUnref<SkDiscardableMemoryPool> pool( 43 &fBitmap, pool));
|
H A D | system_preferences_mac.mm | 13 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 27 [pool release];
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrProcessor.cpp | 46 static void DeleteTLS(void* pool) { argument 47 SkDELETE(reinterpret_cast<GrMemoryPool*>(pool));
|
/external/chromium_org/third_party/skia/src/lazy/ |
H A D | SkDiscardableMemoryPool.cpp | 16 // A PoolDiscardableMemory is memory that is counted in a pool. 17 // A DiscardableMemoryPool is a pool of PoolDiscardableMemorys. 24 * This non-global pool can be used for unit tests to verify that the 25 * pool works. 80 PoolDiscardableMemory(DiscardableMemoryPool* pool, 95 PoolDiscardableMemory::PoolDiscardableMemory(DiscardableMemoryPool* pool, argument 98 : fPool(pool) 142 // PoolDiscardableMemory objects that belong to this pool are 143 // always deleted before deleting this pool since each one has a 144 // ref to the pool [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkTaskGroup.cpp | 104 ThreadPool* pool = (ThreadPool*)arg; local 108 AutoLock lock(&pool->fReady); 109 while (pool->fWork.isEmpty()) { 110 if (pool->fDraining) { 113 pool->fReady.wait(); 115 pool->fWork.pop(&work);
|
/external/chromium_org/third_party/skia/tests/ |
H A D | CachedDecodingPixelRefTest.cpp | 304 SkAutoTUnref<SkDiscardableMemoryPool> pool( 306 REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed()); 308 reporter, kSkDiscardable_PixelRefType, pool); 309 REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed()); 311 reporter, kSkDiscardable_PixelRefType, pool); 312 REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed()); 317 // global DM pool.
|
H A D | DiscardableMemoryPoolTest.cpp | 12 SkAutoTUnref<SkDiscardableMemoryPool> pool( 14 pool->setRAMBudget(3); 15 REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed()); 17 SkAutoTDelete<SkDiscardableMemory> dm1(pool->create(100)); 19 REPORTER_ASSERT(reporter, 100 == pool->getRAMUsed()); 21 REPORTER_ASSERT(reporter, 0 == pool->getRAMUsed()); 25 SkAutoTDelete<SkDiscardableMemory> dm2(pool->create(200)); 26 REPORTER_ASSERT(reporter, 200 == pool->getRAMUsed()); 27 pool->setRAMBudget(400); 29 REPORTER_ASSERT(reporter, 200 == pool [all...] |
H A D | DrawBitmapRectTest.cpp | 39 SkAutoTUnref<SkDiscardableMemoryPool> pool( 42 bool installSuccess = SkInstallDiscardablePixelRef(SkNEW(FailureImageGenerator), &bm, pool);
|
H A D | GrMemoryPoolTest.cpp | 55 GrMemoryPool* pool = new GrMemoryPool(preallocSize, minAllocSize); local 56 gPool.reset(pool); 186 // prealloc and min alloc sizes for the pool
|