Searched defs:pool (Results 126 - 150 of 311) sorted by relevance

1234567891011>>

/external/compiler-rt/lib/interception/
H A Dinterception_win.cc60 // Trampolines are allocated from a common pool.
62 static char *pool = NULL; local
64 if (!pool) {
65 pool = (char *)VirtualAlloc(NULL, POOL_SIZE, MEM_RESERVE | MEM_COMMIT,
69 if (!pool)
71 _memset(pool, 0xCC /* int 3 */, POOL_SIZE);
77 char *ret = pool + pool_used;
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DAttributeStrategy.java73 private final KeyPool pool; field in class:AttributeStrategy.Key
79 public Key(KeyPool pool) { argument
80 this.pool = pool;
118 pool.offer(this);
H A DSizeStrategy.java40 // Do a get even if we know we don't have a bitmap so that the key moves to the front in the lru pool
143 private final KeyPool pool; field in class:SizeStrategy.Key
146 private Key(KeyPool pool) { argument
147 this.pool = pool;
176 pool.offer(this);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DDownsampler.java125 * @param pool A pool of recycled bitmaps
131 public Bitmap decode(InputStream is, BitmapPool pool, int outWidth, int outHeight, DecodeFormat decodeFormat) { argument
166 final Bitmap downsampled = downsampleWithSize(bis, options, pool, inWidth, inHeight, sampleSize, decodeFormat);
170 rotated = TransformationUtils.rotateImageExif(downsampled, pool, orientation);
172 if (downsampled != rotated && !pool.put(downsampled)) {
184 BitmapPool pool, int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) {
191 setInBitmap(options, pool.get(inWidth, inHeight, config));
183 downsampleWithSize(RecyclableBufferedInputStream bis, BitmapFactory.Options options, BitmapPool pool, int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) argument
/external/javassist/src/main/javassist/bytecode/annotation/
H A DAnnotationImpl.java42 private ClassPool pool; field in class:AnnotationImpl
63 * @param cp class pool for containing an annotation
76 pool = cp;
148 return mv.getValue(classLoader, pool, method);
155 if (pool != null) {
157 CtClass cc = pool.get(classname);
166 return mv.getValue(classLoader, pool, method);
200 value = mv.getValue(classLoader, pool, methods[i]);
260 value = mv.getValue(classLoader, pool, methods[i]);
H A DAnnotationsWriter.java31 * 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/javassist/src/main/javassist/tools/reflect/
H A DReflection.java103 public void start(ClassPool pool) throws NotFoundException { argument
104 classPool = pool;
125 public void onLoad(ClassPool pool, String classname) argument
128 CtClass clazz = pool.get(classname);
/external/javassist/src/main/javassist/tools/rmi/
H A DStubGenerator.java70 public void start(ClassPool pool) throws NotFoundException { argument
71 classPool = pool;
72 CtClass c = pool.get(sampleClass);
77 = pool.get(new String[] { "javassist.tools.rmi.ObjectImporter",
80 = pool.get(new String[] { "java.io.Serializable",
83 = new CtClass[] { pool.get("javassist.tools.rmi.RemoteException") };
91 public void onLoad(ClassPool pool, String classname) {} argument
/external/libnfc-nci/halimpl/bcm2079x/gki/common/
H A Dgki_debug.c92 GKI_TRACE_5("pool:%4u free %4u cur %3u max %3u total%3u", i, gki_cb.com.freeq[i].size,
167 void gki_print_buffer_statistics(FP_PRINT print, INT16 pool) argument
174 if (pool > GKI_NUM_TOTAL_BUF_POOLS || pool < 0)
176 print("Not a valid Buffer pool\n");
180 size = gki_cb.com.freeq[pool].size;
181 maxbuffs = gki_cb.com.freeq[pool].total;
184 pool, gki_cb.com.freeq[pool].size,
185 gki_cb.com.freeq[pool]
[all...]
/external/libnfc-nci/src/gki/common/
H A Dgki_debug.c92 GKI_TRACE_5("pool:%4u free %4u cur %3u max %3u total%3u", i, gki_cb.com.freeq[i].size,
167 void gki_print_buffer_statistics(FP_PRINT print, INT16 pool) argument
174 if (pool > GKI_NUM_TOTAL_BUF_POOLS || pool < 0)
176 print("Not a valid Buffer pool\n");
180 size = gki_cb.com.freeq[pool].size;
181 maxbuffs = gki_cb.com.freeq[pool].total;
184 pool, gki_cb.com.freeq[pool].size,
185 gki_cb.com.freeq[pool]
[all...]
/external/ltrace/sysdeps/linux-gnu/s390/
H A Dfetch.c205 int pool = s390x(ctx) ? 6 : 2; local
207 if (ctx->freg > pool)
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
H A Dnative_shm.c88 struct wl_shm_pool *pool; local
109 pool = wl_shm_create_pool(shmdpy->wl_shm, wsh.fd, wsh.size);
110 buffer = wl_shm_pool_create_buffer(pool, 0, width, height,
112 wl_shm_pool_destroy(pool);
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter.h165 inline const DescriptorPool* pool() const { function in class:google::protobuf::compiler::Importer
/external/skia/include/utils/
H A DSkThreadPool.h172 SkTThreadPool<T>* pool = static_cast<SkTThreadPool<T>*>(arg); local
177 pool->fReady.lock();
178 while(pool->fQueue.isEmpty()) {
181 if (kWaiting_State == pool->fState && pool->fBusyThreads == 0) {
182 pool->fState = kHalting_State;
183 pool->fReady.broadcast();
186 if (kHalting_State == pool->fState) {
187 pool->fReady.unlock();
191 pool
[all...]
/external/skia/src/gpu/
H A DGrEffect.cpp53 static void DeleteTLS(void* pool) { argument
54 SkDELETE(reinterpret_cast<GrMemoryPool*>(pool));
/external/valgrind/main/memcheck/tests/
H A Dmempool2.c33 } pool; typedef in typeref:struct:_pool
35 pool *make_pool( int use_mmap )
37 pool *p;
40 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC,
46 p = (pool *)malloc(sizeof(pool));
56 void push(pool *p, int use_mmap )
73 void pop(pool *p, int use_mmap)
86 void destroy_pool(pool *
[all...]
/external/zopfli/src/zopfli/
H A Dkatajainen.c43 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/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3commontoken.c112 /* 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/chromium_org/base/i18n/
H A Dstreaming_utf8_validator_unittest.cc92 // pool. Signals |all_done_| at the end if it thinks all tasks are
115 scoped_refptr<base::SequencedWorkerPool> pool = local
120 pool->PostWorkerTask(
/external/chromium_org/chrome/browser/chromeos/settings/
H A Dsession_manager_operation.cc147 base::SequencedWorkerPool* pool = local
150 pool->GetSequencedTaskRunnerWithShutdownBehavior(
151 pool->GetSequenceToken(),
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dmedia_file_system_backend.cc149 base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); local
151 pool->GetNamedSequenceToken(kMediaTaskRunnerName);
152 return pool->IsRunningSequenceOnCurrentThread(media_sequence_token);
158 base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); local
160 pool->GetNamedSequenceToken(kMediaTaskRunnerName);
161 return pool->GetSequencedTaskRunner(media_sequence_token);
/external/chromium_org/chrome/browser/media_galleries/
H A Dmedia_folder_finder.cc324 base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool(); local
325 worker_task_runner_ = pool->GetSequencedTaskRunner(pool->GetSequenceToken());
/external/chromium_org/chrome/browser/sessions/
H A Dbase_session_service.cc301 base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); local
302 if (!pool->IsShutdownInProgress()) {
303 pool->PostSequencedWorkerTask(sequence_token_, from_here, task);
306 // worker pool has been requested to shutdown (around shutdown
/external/chromium_org/components/enhanced_bookmarks/
H A Dbookmark_image_service.cc46 scoped_refptr<base::SequencedWorkerPool> pool)
49 pool_(pool) {
57 scoped_refptr<base::SequencedWorkerPool> pool)
58 : enhanced_bookmark_model_(enhanced_bookmark_model), pool_(pool) {
67 // the sequential thread task pool.
43 BookmarkImageService( scoped_ptr<ImageStore> store, EnhancedBookmarkModel* enhanced_bookmark_model, scoped_refptr<base::SequencedWorkerPool> pool) argument
54 BookmarkImageService( const base::FilePath& path, EnhancedBookmarkModel* enhanced_bookmark_model, scoped_refptr<base::SequencedWorkerPool> pool) argument
/external/chromium_org/content/browser/media/android/
H A Dmedia_resource_getter_impl.cc354 base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); local
355 pool->PostWorkerTask(
364 base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); local
365 pool->PostWorkerTask(

Completed in 1078 milliseconds

1234567891011>>