/external/chromium_org/content/public/test/ |
H A D | content_browser_test.cc | 123 // On Mac, without the following autorelease pool, code which is directly 125 // objects into a higher-level pool. This pool is not recycled in-sync with 127 // deallocation via an autorelease pool (such as browser window closure and 128 // browser shutdown). To avoid this, the following pool is recycled after each 130 base::mac::ScopedNSAutoreleasePool pool; local 137 pool.Recycle(); 146 pool.Recycle();
|
/external/chromium_org/extensions/browser/api/system_info/ |
H A D | system_info_provider.cc | 13 base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); local 14 worker_pool_ = pool->GetSequencedTaskRunnerWithShutdownBehavior( 15 pool->GetSequenceToken(), 60 // Post the custom query info task to blocking pool for information querying
|
/external/chromium_org/remoting/host/it2me/ |
H A D | it2me_native_messaging_host_main.cc | 42 base::mac::ScopedNSAutoreleasePool pool; local
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | memory_pool.c | 38 void memory_pool_init(struct memory_pool * pool) argument 40 memset(pool, 0, sizeof(struct memory_pool)); 44 void memory_pool_destroy(struct memory_pool * pool) argument 46 while(pool->blocks) { 47 struct memory_block * block = pool->blocks; 48 pool->blocks = block->next; 53 static void refill_pool(struct memory_pool * pool) argument 55 unsigned int blocksize = pool->total_allocated; 62 newblock->next = pool->blocks; 63 pool 71 memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) argument [all...] |
H A D | radeon_list.c | 35 struct rc_list * rc_list(struct memory_pool * pool, void * item) argument 37 struct rc_list * new = memory_pool_malloc(pool, sizeof(struct rc_list));
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
H A D | compute_memory_pool.h | 38 int64_t start_in_dw; ///Start pointer in dwords relative in the pool bo 41 struct compute_memory_pool* pool; member in struct:compute_memory_item 50 int64_t size_in_dw; ///Size of the pool in dwords 52 struct r600_resource *bo; ///The pool buffer object resource 56 uint32_t *shadow; ///host copy of the pool, used for defragmentation 60 struct compute_memory_pool* compute_memory_pool_new(struct r600_screen *rscreen); ///Creates a new pool 61 void compute_memory_pool_delete(struct compute_memory_pool* pool); ///Frees all stuff in the pool and the pool struct itself too 63 int64_t compute_memory_prealloc_chunk(struct compute_memory_pool* pool, int64_ [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | ObjectPoolTest.cpp | 22 const ObjectPoolType& pool, 25 if (available != pool.available()) { 27 stage, pool.available(), available); 30 if (blocks != pool.blocks()) { 32 stage, pool.blocks(), blocks); 40 ObjectPoolType pool; local 42 verifyPool(reporter, pool, "empty", 0, 0); 44 used.push(pool.acquire()); 47 if (!verifyPool(reporter, pool, "acquire", available, blocks)) { 51 int available = pool 21 verifyPool(skiatest::Reporter* reporter, const ObjectPoolType& pool, const char* stage, int available, int blocks) argument [all...] |
/external/deqp/framework/delibs/decpp/ |
H A D | dePoolString.hpp | 23 * \brief Memory pool -backed string. 37 * \brief String template backed by memory pool 45 explicit PoolString (MemPool* pool); 46 PoolString (MemPool* pool, const PoolString& other); 73 inline PoolString::PoolString (MemPool* pool) argument 74 : PoolArray<char>(pool)
|
/external/deqp/framework/delibs/depool/ |
H A D | dePoolArray.h | 23 * \brief Memory pool array class. 40 deMemPool* pool; /*!< Pool from which all memory is allocated from. */ member in struct:dePoolArray_s 52 dePoolArray* dePoolArray_create (deMemPool* pool, int elementSize); 61 * \brief Declare a template pool array class. 65 * This macro declares a pool array with all the necessary functions for 66 * operating with it. All allocated memory is taken from the memory pool 80 * Array* Array_create (deMemPool* pool); 96 deMemPool* pool; \ 106 DE_INLINE TYPENAME* TYPENAME##_create (deMemPool* pool); \ 118 DE_INLINE TYPENAME* TYPENAME##_create (deMemPool* pool) \ [all...] |
H A D | dePoolHash.c | 21 * \brief Memory pool hash class. 39 deMemPool* pool = deMemPool_createRoot(DE_NULL, 0); local 40 deTestHash* hash = deTestHash_create(pool); 115 deTestInt16Array* keyArray = deTestInt16Array_create(pool); 116 deTestIntArray* valueArray = deTestIntArray_create(pool); 147 deMemPool_destroy(pool);
|
H A D | dePoolHeap.c | 21 * \brief Memory pool heap class. 61 deMemPool* pool = deMemPool_createRoot(DE_NULL, 0); local 62 TestHeap* heap = TestHeap_create(pool); 79 deMemPool_alloc(pool, 1); 121 deMemPool_destroy(pool);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
H A D | CenterCrop.java | 15 private BitmapPool pool; field in class:CenterCrop 17 public CenterCrop(BitmapPool pool) { argument 18 this.pool = pool; 28 final Bitmap toReuse = pool.get(outWidth, outHeight, resource.get().getConfig()); 30 if (toReuse != null && toReuse != transformed && !pool.put(toReuse)) { 37 return new BitmapResource(transformed, pool);
|
H A D | FitCenter.java | 13 private BitmapPool pool; field in class:FitCenter 15 public FitCenter(BitmapPool pool) { argument 16 this.pool = pool; 25 Bitmap transformed = TransformationUtils.fitCenter(resource.get(), pool, outWidth, outHeight); 29 return new BitmapResource(transformed, pool);
|
/external/javassist/sample/vector/ |
H A D | VectorAssistant.java | 52 public CtClass[] assist(ClassPool pool, String vec, String[] args) argument 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) argument 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, CtClas argument [all...] |
/external/javassist/src/test/test/javassist/bytecode/analysis/ |
H A D | ErrorFinder.java | 19 ClassPool pool = ClassPool.getDefault(); 23 analyzeClass(pool, className); 33 analyzeClass(pool, line); 38 private static void analyzeClass(ClassPool pool, String className) { argument 41 CtClass clazz = pool.get(className);
|
H A D | ScannerTest.java | 26 ClassPool pool = ClassPool.getDefault(); 27 generate(pool); 28 CtClass clazz = pool.get("test.ScannerTest$GeneratedTest"); 78 private static void generate(ClassPool pool) throws CannotCompileException, IOException, NotFoundException { argument 106 CtClass clazz = pool.makeClass("test.ScannerTest$GeneratedTest"); 110 CtClass stringClass = pool.get("java.lang.String");
|
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
H A D | 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/libcxx/test/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
H A D | uninitialized_fill_n.pass.cpp | 33 char pool[sizeof(B)*N] = {0}; local 34 B* bp = (B*)pool;
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | memory_pool.c | 38 void memory_pool_init(struct memory_pool * pool) argument 40 memset(pool, 0, sizeof(struct memory_pool)); 44 void memory_pool_destroy(struct memory_pool * pool) argument 46 while(pool->blocks) { 47 struct memory_block * block = pool->blocks; 48 pool->blocks = block->next; 53 static void refill_pool(struct memory_pool * pool) argument 55 unsigned int blocksize = pool->total_allocated; 62 newblock->next = pool->blocks; 63 pool 71 memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) argument [all...] |
H A D | radeon_list.c | 35 struct rc_list * rc_list(struct memory_pool * pool, void * item) argument 37 struct rc_list * new = memory_pool_malloc(pool, sizeof(struct rc_list));
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | compute_memory_pool.h | 38 int64_t start_in_dw; ///Start pointer in dwords relative in the pool bo 41 struct compute_memory_pool* pool; member in struct:compute_memory_item 50 int64_t size_in_dw; ///Size of the pool in dwords 52 struct r600_resource *bo; ///The pool buffer object resource 56 uint32_t *shadow; ///host copy of the pool, used for defragmentation 60 struct compute_memory_pool* compute_memory_pool_new(struct r600_screen *rscreen); ///Creates a new pool 61 void compute_memory_pool_delete(struct compute_memory_pool* pool); ///Frees all stuff in the pool and the pool struct itself too 63 int64_t compute_memory_prealloc_chunk(struct compute_memory_pool* pool, int64_ [all...] |
/external/oauth/core/src/main/java/net/oauth/ |
H A D | ConsumerProperties.java | 28 * A pool of OAuthConsumers that are constructed from Properties. Each consumer 70 private final Map<String, OAuthConsumer> pool = new HashMap<String, OAuthConsumer>(); field in class:ConsumerProperties 75 synchronized (pool) { 76 consumer = pool.get(name); 81 synchronized (pool) { 82 OAuthConsumer first = pool.get(name); 84 pool.put(name, consumer);
|
/external/protobuf/src/google/protobuf/ |
H A D | message_unittest.cc | 269 DescriptorPool pool; local 273 const Descriptor* descriptor = pool.BuildFile(file)->message_type(0);
|
/external/skia/tests/ |
H A D | ObjectPoolTest.cpp | 22 const ObjectPoolType& pool, 25 if (available != pool.available()) { 27 stage, pool.available(), available); 30 if (blocks != pool.blocks()) { 32 stage, pool.blocks(), blocks); 40 ObjectPoolType pool; local 42 verifyPool(reporter, pool, "empty", 0, 0); 44 used.push(pool.acquire()); 47 if (!verifyPool(reporter, pool, "acquire", available, blocks)) { 51 int available = pool 21 verifyPool(skiatest::Reporter* reporter, const ObjectPoolType& pool, const char* stage, int available, int blocks) argument [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
H A D | AnnotationSetPool.java | 32 package org.jf.dexlib2.writer.pool;
|