/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/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | memory_pool.h | 29 * Provides a pool of memory that can quickly be allocated from, at the 31 * Instead, the entire pool can be freed at once. 45 void memory_pool_init(struct memory_pool * pool); 46 void memory_pool_destroy(struct memory_pool * pool); 47 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes); 58 * memory_pool_array_reserve(pool, type, Array, Size, Reserved, k); 66 #define memory_pool_array_reserve(pool, type, array, size, reserved, num) do { \ 73 newarray = memory_pool_malloc((pool), newreserve * sizeof(type)); \
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | memory_pool.h | 29 * Provides a pool of memory that can quickly be allocated from, at the 31 * Instead, the entire pool can be freed at once. 45 void memory_pool_init(struct memory_pool * pool); 46 void memory_pool_destroy(struct memory_pool * pool); 47 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes); 58 * memory_pool_array_reserve(pool, type, Array, Size, Reserved, k); 66 #define memory_pool_array_reserve(pool, type, array, size, reserved, num) do { \ 73 newarray = memory_pool_malloc((pool), newreserve * sizeof(type)); \
|
/external/deqp/framework/delibs/depool/ |
H A D | deMemPool.h | 23 * \brief Memory pool management. 29 /** Enable support for failure-simulating pool allocations. */ 35 /** Enable support for memory tracking of pools (will collect the maximum memory consumption to root pool). */ 47 DE_POOL_DEFAULT_ALLOC_ALIGNMENT = DE_PTR_SIZE /*!< Default alignment for pool allocations (in bytes). */ 50 /** Macro for allocating a new struct from a pool (leaves it uninitialized!). */ 67 void deMemPool_destroy (deMemPool* pool); 68 int deMemPool_getNumChildren (const deMemPool* pool); 69 int deMemPool_getNumAllocatedBytes (const deMemPool* pool, deBool recurse); 70 int deMemPool_getCapacity (const deMemPool* pool, deBool recurse); 72 void* deMemPool_alloc (deMemPool* pool, in [all...] |
H A D | dePoolStringBuilder.c | 21 * \brief Memory pool management. 38 deMemPool* pool; member in struct:dePoolStringBuilder_s 44 dePoolStringBuilder* dePoolStringBuilder_create (deMemPool* pool) argument 46 dePoolStringBuilder* builder = DE_POOL_NEW(pool, dePoolStringBuilder); 50 builder->pool = pool; 60 StringBlock* block = DE_POOL_NEW(builder->pool, StringBlock); 62 char* blockStr = (char*)deMemPool_alloc(builder->pool, len + 1); 115 return dePoolStringBuilder_dupToPool(builder, builder->pool); 118 char* dePoolStringBuilder_dupToPool (dePoolStringBuilder* builder, deMemPool* pool) argument [all...] |
/external/chromium_org/net/socket/ |
H A D | mock_client_socket_pool_manager.cc | 18 TransportClientSocketPool* pool) { 19 transport_socket_pool_.reset(pool); 23 SSLClientSocketPool* pool) { 24 ssl_socket_pool_.reset(pool); 29 SOCKSClientSocketPool* pool) { 30 socks_socket_pools_[socks_proxy] = pool; 35 HttpProxyClientSocketPool* pool) { 36 http_proxy_socket_pools_[http_proxy] = pool; 41 SSLClientSocketPool* pool) { 42 ssl_socket_pools_for_proxies_[proxy_server] = pool; 17 SetTransportSocketPool( TransportClientSocketPool* pool) argument 22 SetSSLSocketPool( SSLClientSocketPool* pool) argument 27 SetSocketPoolForSOCKSProxy( const HostPortPair& socks_proxy, SOCKSClientSocketPool* pool) argument 33 SetSocketPoolForHTTPProxy( const HostPortPair& http_proxy, HttpProxyClientSocketPool* pool) argument 39 SetSocketPoolForSSLWithProxy( const HostPortPair& proxy_server, SSLClientSocketPool* pool) argument [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | InternersTest.java | 37 Interner<String> pool = Interners.newStrongInterner(); 38 assertSame(canonical, pool.intern(canonical)); 39 assertSame(canonical, pool.intern(not)); 43 Interner<String> pool = Interners.newStrongInterner(); 45 pool.intern(null); 54 Interner<String> pool = Interners.newWeakInterner(); 55 assertSame(canonical, pool.intern(canonical)); 56 assertSame(canonical, pool.intern(not)); 60 Interner<String> pool = Interners.newWeakInterner(); 62 pool [all...] |
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
H A D | plarena.h | 68 PRUint32 narenas; /* number of arenas in pool */ 84 PLArena first; /* first arena in pool list */ 99 #define PL_ARENA_ALIGN(pool, n) (((PRUword)(n) + PL_ARENA_CONST_ALIGN_MASK) \ 102 #define PL_INIT_ARENA_POOL(pool, name, size) \ 103 PL_InitArenaPool(pool, name, size, PL_ARENA_CONST_ALIGN_MASK + 1) 105 #define PL_ARENA_ALIGN(pool, n) (((PRUword)(n) + (pool)->mask) & ~(pool)->mask) 108 #define PL_ARENA_ALLOCATE(p, pool, nb) \ 110 PLArena *_a = (pool) [all...] |
/external/javassist/src/main/javassist/bytecode/annotation/ |
H A D | 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 [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
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);
|
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);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | system_preferences_mac.mm | 13 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 27 [pool release];
|
/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/skia/gm/ |
H A D | system_preferences_mac.mm | 13 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 27 [pool release];
|
/external/javassist/src/main/javassist/bytecode/ |
H A D | InstructionPrinter.java | 41 ConstPool pool = info.getConstPool(); 55 stream.println(pos + ": " + instructionString(iterator, pos, pool)); 59 public static String instructionString(CodeIterator iter, int pos, ConstPool pool) { argument 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, ite 195 classInfo(ConstPool pool, int index) argument 200 interfaceMethodInfo(ConstPool pool, int index) argument 207 methodInfo(ConstPool pool, int index) argument 215 fieldInfo(ConstPool pool, int index) argument 262 ldc(ConstPool pool, int index) argument [all...] |
/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/deqp/framework/delibs/decpp/ |
H A D | deMemPool.cpp | 21 * \brief Memory pool (deMemPool wrapper). 32 char* copyToPool (de::MemPool* pool, const char* string) argument 35 char* copy = (char*)pool->alloc(size);
|
/external/fio/examples/ |
H A D | rbd.fio | 16 pool=rbd
|
/external/skia/tests/ |
H A D | PathOpsThreadedCommon.cpp | 19 SkThreadPool pool(fNumThreads); 21 pool.add(fRunnables[index]);
|
/external/zopfli/src/zopfli/ |
H A D | katajainen.c | 43 Memory pool for nodes. 46 Node* nodes; /* The pool. */ 47 Node* next; /* Pointer to a possibly free node in the pool. */ 48 int size; /* Size of the memory pool. */ 62 Finds a free location in the memory pool. Performs garbage collection if needed. 65 pool: Memory pool to get free node from. 67 static Node* GetFreeNode(Node* (*lists)[2], int maxbits, NodePool* pool) { argument 69 if (pool->next >= &pool 105 BoundaryPM(Node* (*lists)[2], int maxbits, Node* leaves, int numsymbols, NodePool* pool, int index, char final) argument 145 InitLists( NodePool* pool, const Node* leaves, int maxbits, Node* (*lists)[2]) argument 182 NodePool pool; local [all...] |
/external/chromium_org/third_party/libevent/ |
H A D | 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); 409 evrpc_pool_free(struct evrpc_pool *pool) argument 443 evrpc_pool_add_connection(struct evrpc_pool *pool, struct evhttp_connection *connection) argument 475 evrpc_pool_set_timeout(struct evrpc_pool *pool, int timeout_in_secs) argument 493 evrpc_pool_find_connection(struct evrpc_pool *pool) argument 512 struct evrpc_pool *pool = ctx->pool; local 565 struct evrpc_pool *pool = ctx->pool; local 590 struct evrpc_pool *pool = ctx->pool; local 634 evrpc_pool_schedule(struct evrpc_pool *pool) argument [all...] |
/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/valgrind/main/memcheck/tests/ |
H A D | 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 * [all...] |
/external/chromium_org/third_party/skia/tools/ |
H A D | LazyDecodeBitmap.cpp | 41 SkDiscardableMemory::Factory* pool = NULL; local 44 pool = SkGetGlobalDiscardableMemoryPool(); 46 // memory implementation that differs from the global DM pool. 48 return SkInstallDiscardablePixelRef(gen.detach(), dst, pool);
|
/external/skia/tools/ |
H A D | LazyDecodeBitmap.cpp | 41 SkDiscardableMemory::Factory* pool = NULL; local 44 pool = SkGetGlobalDiscardableMemoryPool(); 46 // memory implementation that differs from the global DM pool. 48 return SkInstallDiscardablePixelRef(gen.detach(), dst, pool);
|