Searched refs:pool (Results 276 - 300 of 504) sorted by last modified time

<<11121314151617181920>>

/external/chromium_org/v8/tools/testrunner/local/
H A Dpool_unittest.py8 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 Dvalgrind.h3616 /* 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 DtestAPI_mac.mm58 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
68 [pool release];
/external/chromium_org/third_party/webrtc/test/mac/
H A Drun_test.mm39 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 Drun_threaded_main_mac.mm47 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 Dcmake.py1131 pool = multiprocessing.Pool(len(config_names))
1136 pool.map(CallGenerateOutputForConfig, arglists)
1138 pool.terminate()
H A Dninja.py602 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 Dinput.py529 # 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 Dninja_syntax.py37 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 Dhttpclient.cc268 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 Dhttpclient.h63 HttpClient(const std::string& agent, StreamPool* pool,
67 void set_pool(StreamPool* pool) { pool_ = pool; } argument
H A Dhttprequest.cc74 ReuseSocketPool pool(&factory);
75 client_.set_pool(&pool);
H A Dmaccocoasocketserver.mm81 rtc::ScopedAutoreleasePool pool;
H A Dsocketpool.cc27 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 Dsocketpool.h48 StreamCache(StreamPool* pool);
62 // We delegate stream creation and deletion to this pool.
121 LoggingPoolAdapter(StreamPool* pool, LoggingSeverity level,
H A Dthread.cc67 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 Dfactory.cpp38 SkAutoTUnref<SkDiscardableMemoryPool> pool(
43 &fBitmap, pool));
H A Dsystem_preferences_mac.mm13 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
27 [pool release];
/external/chromium_org/third_party/skia/src/gpu/
H A DGrProcessor.cpp46 static void DeleteTLS(void* pool) { argument
47 SkDELETE(reinterpret_cast<GrMemoryPool*>(pool));
/external/chromium_org/third_party/skia/src/lazy/
H A DSkDiscardableMemoryPool.cpp16 // 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 DSkTaskGroup.cpp104 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 DCachedDecodingPixelRefTest.cpp304 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 DDiscardableMemoryPoolTest.cpp12 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 DDrawBitmapRectTest.cpp39 SkAutoTUnref<SkDiscardableMemoryPool> pool(
42 bool installSuccess = SkInstallDiscardablePixelRef(SkNEW(FailureImageGenerator), &bm, pool);
H A DGrMemoryPoolTest.cpp55 GrMemoryPool* pool = new GrMemoryPool(preallocSize, minAllocSize); local
56 gPool.reset(pool);
186 // prealloc and min alloc sizes for the pool

Completed in 602 milliseconds

<<11121314151617181920>>