/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_descriptor_set.c | 32 * from the descriptor pool bo. 48 return set->pool->bo->map + in descriptor_bo_map() 107 * associated with that descriptor (suballocation of the descriptor pool bo) 144 .bo = set->pool->bo, in v3dv_descriptor_map_get_descriptor_bo() 408 struct v3dv_descriptor_pool *pool; in v3dv_CreateDescriptorPool() local 409 /* size is for the vulkan object descriptor pool. The final size would in v3dv_CreateDescriptorPool() 479 pool = vk_object_zalloc(&device->vk, pAllocator, size, in v3dv_CreateDescriptorPool() 482 if (!pool) in v3dv_CreateDescriptorPool() 486 pool->host_memory_base = (uint8_t*)pool in v3dv_CreateDescriptorPool() 519 descriptor_set_destroy(struct v3dv_device *device, struct v3dv_descriptor_pool *pool, struct v3dv_descriptor_set *set, bool free_bo) descriptor_set_destroy() argument 791 out_of_pool_memory(const struct v3dv_device *device, const struct v3dv_descriptor_pool *pool) out_of_pool_memory() argument 804 descriptor_set_create(struct v3dv_device *device, struct v3dv_descriptor_pool *pool, struct v3dv_descriptor_set_layout *layout, struct v3dv_descriptor_set **out_set) descriptor_set_create() argument [all...] |
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_descriptor_set.c | 1091 mtx_lock(&set->pool->defragment_lock); in dzn_descriptor_set_write_sampler_desc() 1092 dzn_descriptor_heap_write_sampler_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_sampler_desc() 1095 mtx_unlock(&set->pool->defragment_lock); in dzn_descriptor_set_write_sampler_desc() 1170 mtx_lock(&set->pool->defragment_lock); in dzn_descriptor_set_write_image_view_desc() 1171 dzn_descriptor_heap_write_image_view_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_image_view_desc() 1177 dzn_descriptor_heap_write_image_view_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_image_view_desc() 1182 mtx_unlock(&set->pool->defragment_lock); in dzn_descriptor_set_write_image_view_desc() 1212 mtx_lock(&set->pool->defragment_lock); in dzn_descriptor_set_write_buffer_view_desc() 1213 dzn_descriptor_heap_write_buffer_view_desc(&set->pool->heaps[type], in dzn_descriptor_set_write_buffer_view_desc() 1219 dzn_descriptor_heap_write_buffer_view_desc(&set->pool in dzn_descriptor_set_write_buffer_view_desc() 1280 dzn_descriptor_set_init(struct dzn_descriptor_set *set, struct dzn_device *device, struct dzn_descriptor_pool *pool, struct dzn_descriptor_set_layout *layout) dzn_descriptor_set_init() argument 1329 dzn_descriptor_pool_destroy(struct dzn_descriptor_pool *pool, const VkAllocationCallbacks *pAllocator) dzn_descriptor_pool_destroy() argument 1416 dzn_descriptor_pool_defragment_heap(struct dzn_descriptor_pool *pool, D3D12_DESCRIPTOR_HEAP_TYPE type) dzn_descriptor_pool_defragment_heap() argument 1486 dzn_descriptor_heap_pool_finish(struct dzn_descriptor_heap_pool *pool) dzn_descriptor_heap_pool_finish() argument 1497 dzn_descriptor_heap_pool_init(struct dzn_descriptor_heap_pool *pool, struct dzn_device *device, D3D12_DESCRIPTOR_HEAP_TYPE type, bool shader_visible, const VkAllocationCallbacks *alloc) dzn_descriptor_heap_pool_init() argument 1517 dzn_descriptor_heap_pool_alloc_slots(struct dzn_descriptor_heap_pool *pool, struct dzn_device *device, uint32_t desc_count, struct dzn_descriptor_heap **heap, uint32_t *first_slot) dzn_descriptor_heap_pool_alloc_slots() argument 1582 dzn_descriptor_heap_pool_reset(struct dzn_descriptor_heap_pool *pool) dzn_descriptor_heap_pool_reset() argument [all...] |
/third_party/protobuf/php/tests/ |
H A D | DescriptorsTest.php | 45 # Test descriptor pool. 50 $pool = DescriptorPool::getGeneratedPool(); variable 52 $desc = $pool->getDescriptorByClassName(get_class(new TestDescriptorsMessage())); 55 $enumDesc = $pool->getEnumDescriptorByClassName(get_class(new TestDescriptorsEnum())); 61 $pool = DescriptorPool::getGeneratedPool(); variable 63 $desc = $pool->getDescriptorByClassName('NotAClass'); 66 $desc = $pool->getDescriptorByClassName(get_class(new TestDescriptorsEnum())); 69 $enumDesc = $pool->getEnumDescriptorByClassName(get_class(new TestDescriptorsMessage())); 79 $pool = DescriptorPool::getGeneratedPool(); variable 82 $desc = $pool 96 $pool = DescriptorPool::getGeneratedPool(); global() variable 114 $pool = DescriptorPool::getGeneratedPool(); global() variable 138 $pool = DescriptorPool::getGeneratedPool(); global() variable 213 $pool = DescriptorPool::getGeneratedPool(); global() variable 224 $pool = DescriptorPool::getGeneratedPool(); global() variable 236 $pool = DescriptorPool::getGeneratedPool(); global() variable [all...] |
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | message_factory.cc | 59 PyMessageFactory* NewMessageFactory(PyTypeObject* type, PyDescriptorPool* pool) { in NewMessageFactory() argument 71 factory->pool = pool; in NewMessageFactory() 72 Py_INCREF(pool); in NewMessageFactory() 80 static char* kwlist[] = {"pool", 0}; in New() 81 PyObject* pool = NULL; in New() local 82 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", kwlist, &pool)) { in New() 86 if (pool == NULL || pool == Py_None) { in New() 92 pool in New() [all...] |
H A D | descriptor_pool.cc | 102 // Create a Python DescriptorPool object, but does not fill the "pool" 129 // Create a Python DescriptorPool, using the given pool as an underlay: 130 // new messages will be added to a custom pool, not to the underlay. 140 cpool->pool = new DescriptorPool(underlay); in PyDescriptorPool_NewWithUnderlay() 144 std::make_pair(cpool->pool, cpool)).second) { in PyDescriptorPool_NewWithUnderlay() 161 cpool->pool = new DescriptorPool(database, cpool->error_collector); in PyDescriptorPool_NewWithDatabase() 164 cpool->pool = new DescriptorPool(); in PyDescriptorPool_NewWithDatabase() 167 if (!descriptor_pool_map->insert(std::make_pair(cpool->pool, cpool)).second) { in PyDescriptorPool_NewWithDatabase() 194 descriptor_pool_map->erase(self->pool); in Dealloc() 203 delete self->pool; in Dealloc() 755 GetDescriptorPool_FromPool(const DescriptorPool* pool) GetDescriptorPool_FromPool() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_queue.c | 38 * Single producer - single consumer pool queue 70 struct nine_cmdbuf pool[NINE_CMD_BUFS]; member 85 struct nine_cmdbuf *cmdbuf = &ctx->pool[ctx->tail]; in nine_queue_wait_flush() 107 struct nine_cmdbuf *cmdbuf = &ctx->pool[ctx->tail]; in nine_queue_get() 141 struct nine_cmdbuf *cmdbuf = &ctx->pool[ctx->head]; in nine_queue_flush() 158 cmdbuf = &ctx->pool[ctx->head]; in nine_queue_flush() 180 struct nine_cmdbuf *cmdbuf = &ctx->pool[ctx->head]; in nine_queue_alloc() 192 cmdbuf = &ctx->pool[ctx->head]; in nine_queue_alloc() 222 struct nine_cmdbuf *cmdbuf = &ctx->pool[ctx->head]; in nine_queue_isempty() 238 ctx->pool[ in nine_queue_create() [all...] |
/third_party/protobuf/php/src/GPBMetadata/Google/Protobuf/Internal/ |
H A D | Descriptor.php | 12 $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); variable 17 $pool->addMessage('google.protobuf.internal.FileDescriptorSet', \Google\Protobuf\Internal\FileDescriptorSet::class) 21 $pool->addMessage('google.protobuf.internal.FileDescriptorProto', \Google\Protobuf\Internal\FileDescriptorProto::class) 36 $pool->addMessage('google.protobuf.internal.DescriptorProto', \Google\Protobuf\Internal\DescriptorProto::class) 49 $pool->addMessage('google.protobuf.internal.DescriptorProto.ExtensionRange', \Google\Protobuf\Internal\DescriptorProto\ExtensionRange::class) 55 $pool->addMessage('google.protobuf.internal.DescriptorProto.ReservedRange', \Google\Protobuf\Internal\DescriptorProto\ReservedRange::class) 60 $pool->addMessage('google.protobuf.internal.ExtensionRangeOptions', \Google\Protobuf\Internal\ExtensionRangeOptions::class) 64 $pool->addMessage('google.protobuf.internal.FieldDescriptorProto', \Google\Protobuf\Internal\FieldDescriptorProto::class) 78 $pool->addEnum('google.protobuf.internal.FieldDescriptorProto.Type', \Google\Protobuf\Internal\Type::class) 99 $pool [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_descriptor_set.c | 842 * These are implemented using a big pool of memory and a free-list for the 845 * fragmentation in all cases but two: 1) after pool reset, allocating up 846 * until the pool size with no freeing must succeed and 2) allocating and 866 struct anv_descriptor_pool *pool; in anv_CreateDescriptorPool() local 935 const size_t total_size = sizeof(*pool) + pool_size; in anv_CreateDescriptorPool() 937 pool = vk_object_alloc(&device->vk, pAllocator, total_size, in anv_CreateDescriptorPool() 939 if (!pool) in anv_CreateDescriptorPool() 942 pool->size = pool_size; in anv_CreateDescriptorPool() 943 pool->next = 0; in anv_CreateDescriptorPool() 944 pool in anv_CreateDescriptorPool() 1037 anv_descriptor_pool_alloc_set(struct anv_descriptor_pool *pool, uint32_t size, struct anv_descriptor_set **set) anv_descriptor_pool_alloc_set() argument 1069 anv_descriptor_pool_free_set(struct anv_descriptor_pool *pool, struct anv_descriptor_set *set) anv_descriptor_pool_free_set() argument 1090 anv_descriptor_pool_alloc_state(struct anv_descriptor_pool *pool) anv_descriptor_pool_alloc_state() argument 1108 anv_descriptor_pool_free_state(struct anv_descriptor_pool *pool, struct anv_state state) anv_descriptor_pool_free_state() argument 1134 anv_descriptor_set_create(struct anv_device *device, struct anv_descriptor_pool *pool, struct anv_descriptor_set_layout *layout, uint32_t var_desc_count, struct anv_descriptor_set **out_set) anv_descriptor_set_create() argument 1247 anv_descriptor_set_destroy(struct anv_device *device, struct anv_descriptor_pool *pool, struct anv_descriptor_set *set) anv_descriptor_set_destroy() argument [all...] |
/third_party/python/Doc/includes/ |
H A D | mp_pool.py | 43 print('Creating pool with %d processes\n' % PROCESSES) 45 with multiprocessing.Pool(PROCESSES) as pool: 53 results = [pool.apply_async(calculate, t) for t in TASKS] 54 imap_it = pool.imap(calculatestar, TASKS) 55 imap_unordered_it = pool.imap_unordered(calculatestar, TASKS) 57 print('Ordered results using pool.apply_async():') 62 print('Ordered results using pool.imap():') 67 print('Unordered results using pool.imap_unordered():') 72 print('Ordered results using pool.map() --- will block till complete:') 73 for x in pool [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/ |
H A D | rand_unix.c | 141 size_t ossl_pool_acquire_entropy(RAND_POOL *pool) in ossl_pool_acquire_entropy() argument 156 bytes_needed = ossl_rand_pool_bytes_needed(pool, 4 /*entropy_factor*/); in ossl_pool_acquire_entropy() 179 ossl_rand_pool_add(pool, arg, &v, sizeof(v) , 2); in ossl_pool_acquire_entropy() 181 return ossl_rand_pool_entropy_available(pool); in ossl_pool_acquire_entropy() 626 size_t ossl_pool_acquire_entropy(RAND_POOL *pool) in ossl_pool_acquire_entropy() argument 629 return ossl_rand_pool_entropy_available(pool); in ossl_pool_acquire_entropy() 643 bytes_needed = ossl_rand_pool_bytes_needed(pool, 1 /*entropy_factor*/); in ossl_pool_acquire_entropy() 645 buffer = ossl_rand_pool_add_begin(pool, bytes_needed); in ossl_pool_acquire_entropy() 648 ossl_rand_pool_add_end(pool, bytes, 8 * bytes); in ossl_pool_acquire_entropy() 656 entropy_available = ossl_rand_pool_entropy_available(pool); in ossl_pool_acquire_entropy() 754 ossl_pool_add_nonce_data(RAND_POOL *pool) ossl_pool_add_nonce_data() argument 777 ossl_rand_pool_add_additional_data(RAND_POOL *pool) ossl_rand_pool_add_additional_data() argument [all...] |
/third_party/openssl/providers/implementations/rands/seeding/ |
H A D | rand_unix.c | 141 size_t ossl_pool_acquire_entropy(RAND_POOL *pool) in ossl_pool_acquire_entropy() argument 156 bytes_needed = ossl_rand_pool_bytes_needed(pool, 4 /*entropy_factor*/); in ossl_pool_acquire_entropy() 179 ossl_rand_pool_add(pool, arg, &v, sizeof(v) , 2); in ossl_pool_acquire_entropy() 181 return ossl_rand_pool_entropy_available(pool); in ossl_pool_acquire_entropy() 626 size_t ossl_pool_acquire_entropy(RAND_POOL *pool) in ossl_pool_acquire_entropy() argument 629 return ossl_rand_pool_entropy_available(pool); in ossl_pool_acquire_entropy() 643 bytes_needed = ossl_rand_pool_bytes_needed(pool, 1 /*entropy_factor*/); in ossl_pool_acquire_entropy() 645 buffer = ossl_rand_pool_add_begin(pool, bytes_needed); in ossl_pool_acquire_entropy() 648 ossl_rand_pool_add_end(pool, bytes, 8 * bytes); in ossl_pool_acquire_entropy() 656 entropy_available = ossl_rand_pool_entropy_available(pool); in ossl_pool_acquire_entropy() 754 ossl_pool_add_nonce_data(RAND_POOL *pool) ossl_pool_add_nonce_data() argument 777 ossl_rand_pool_add_additional_data(RAND_POOL *pool) ossl_rand_pool_add_additional_data() argument [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkResourceProvider.cpp | 415 for (const GrVkCommandPool* pool : fActiveCommandPools) { in findOrCreateCommandPool() 416 SkASSERT(pool != result); in findOrCreateCommandPool() 418 for (const GrVkCommandPool* pool : fAvailableCommandPools) { in findOrCreateCommandPool() 419 SkASSERT(pool != result); in findOrCreateCommandPool() 439 GrVkCommandPool* pool = fActiveCommandPools[i]; in checkCommandBuffers() local 440 if (!pool->isOpen()) { in checkCommandBuffers() 441 GrVkPrimaryCommandBuffer* buffer = pool->getPrimaryCommandBuffer(); in checkCommandBuffers() 444 // This passes ownership of the pool to the backgroundReset call. The pool should in checkCommandBuffers() 447 this->backgroundReset(pool); in checkCommandBuffers() 455 GrVkCommandPool* pool = fActiveCommandPools[i]; forceSyncAllCommandBuffers() local 466 GrVkCommandPool* pool = fActiveCommandPools[i]; addFinishedProcToActiveCommandBuffers() local 538 backgroundReset(GrVkCommandPool* pool) backgroundReset() argument 559 reset(GrVkCommandPool* pool) reset() argument [all...] |
/third_party/vk-gl-cts/framework/delibs/depool/ |
H A D | dePoolArray.c | 21 * \brief Memory pool array class. 38 * \brief Create a new pool array. 39 * \param pool Pool to allocate memory from. 43 dePoolArray* dePoolArray_create (deMemPool* pool, int elementSize) in dePoolArray_create() argument 46 dePoolArray* arr = DE_POOL_NEW(pool, dePoolArray); in dePoolArray_create() 52 arr->pool = pool; in dePoolArray_create() 78 void** newPageTable = (void**)deMemPool_alloc(arr->pool, (size_t)newPageTableCapacity * sizeof(void*)); in dePoolArray_reserve() 115 /* Allocate the rest of the needed pages from the pool. */ in dePoolArray_reserve() 118 void* newPage = deMemPool_alloc(arr->pool, (size_ in dePoolArray_reserve() 159 deMemPool* pool = deMemPool_createRoot(DE_NULL, 0); dePoolArray_selfTest() local [all...] |
H A D | dePoolStringBuilder.c | 21 * \brief Memory pool management. 38 deMemPool* pool; member 44 dePoolStringBuilder* dePoolStringBuilder_create (deMemPool* pool) in dePoolStringBuilder_create() argument 46 dePoolStringBuilder* builder = DE_POOL_NEW(pool, dePoolStringBuilder); in dePoolStringBuilder_create() 50 builder->pool = pool; in dePoolStringBuilder_create() 60 StringBlock* block = DE_POOL_NEW(builder->pool, StringBlock); in dePoolStringBuilder_appendString() 62 char* blockStr = (char*)deMemPool_alloc(builder->pool, len + 1); in dePoolStringBuilder_appendString() 115 return dePoolStringBuilder_dupToPool(builder, builder->pool); in dePoolStringBuilder_dupToString() 118 char* dePoolStringBuilder_dupToPool (dePoolStringBuilder* builder, deMemPool* pool) in dePoolStringBuilder_dupToPool() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_descriptors.c | 56 struct zink_descriptor_pool *pool; member 90 struct zink_descriptor_pool *pool[ZINK_DESCRIPTOR_TYPES]; member 111 pipe_reference(NULL, &zds->pool->reference); in batch_add_desc_set() 219 for (unsigned i = 0; i < zds->pool->key->layout->num_bindings; i++) { in descriptor_set_invalidate() 220 for (unsigned j = 0; j < zds->pool->key->layout->bindings[i].descriptorCount; j++) { in descriptor_set_invalidate() 221 switch (zds->pool->type) { in descriptor_set_invalidate() 271 descriptor_pool_free(struct zink_screen *screen, struct zink_descriptor_pool *pool) in descriptor_pool_free() argument 273 if (!pool) in descriptor_pool_free() 275 if (pool->descpool) in descriptor_pool_free() 276 VKSCR(DestroyDescriptorPool)(screen->dev, pool in descriptor_pool_free() 295 descriptor_pool_delete(struct zink_context *ctx, struct zink_descriptor_pool *pool) descriptor_pool_delete() argument 308 struct zink_descriptor_pool *pool = rzalloc(NULL, struct zink_descriptor_pool); descriptor_pool_create() local 597 struct zink_descriptor_pool *pool = he->data; descriptor_pool_get() local 602 struct zink_descriptor_pool *pool = descriptor_pool_create(zink_screen(ctx->base.screen), type, pool_key); descriptor_pool_get() local 617 zink_descriptor_util_alloc_sets(struct zink_screen *screen, VkDescriptorSetLayout dsl, VkDescriptorPool pool, VkDescriptorSet *sets, unsigned num_sets) zink_descriptor_util_alloc_sets() argument 643 struct zink_descriptor_pool *pool = push_set ? ctx->dd->push_pool[is_compute] : pdd_cached(pg)->pool[type]; allocate_desc_set() local 791 struct zink_descriptor_pool *pool = push_set ? ctx->dd->push_pool[is_compute] : pdd_cached(pg)->pool[type]; zink_descriptor_set_get() local 941 struct zink_descriptor_pool *pool = zds->pool; zink_descriptor_set_recycle() local 1133 struct zink_descriptor_pool *pool = descriptor_pool_get(ctx, i, pool_key); zink_descriptor_program_init() local 1595 struct zink_descriptor_pool *pool = zds->pool; zink_batch_descriptor_reset() local [all...] |
/third_party/curl/lib/ |
H A D | bufq.c | 159 void Curl_bufcp_init(struct bufc_pool *pool, in Curl_bufcp_init() argument 164 memset(pool, 0, sizeof(*pool)); in Curl_bufcp_init() 165 pool->chunk_size = chunk_size; in Curl_bufcp_init() 166 pool->spare_max = spare_max; in Curl_bufcp_init() 169 static CURLcode bufcp_take(struct bufc_pool *pool, in bufcp_take() argument 174 if(pool->spare) { in bufcp_take() 175 chunk = pool->spare; in bufcp_take() 176 pool->spare = chunk->next; in bufcp_take() 177 --pool in bufcp_take() 193 bufcp_put(struct bufc_pool *pool, struct buf_chunk *chunk) bufcp_put() argument 207 Curl_bufcp_free(struct bufc_pool *pool) Curl_bufcp_free() argument 213 bufq_init(struct bufq *q, struct bufc_pool *pool, size_t chunk_size, size_t max_chunks, int opts) bufq_init() argument 236 Curl_bufq_initp(struct bufq *q, struct bufc_pool *pool, size_t max_chunks, int opts) Curl_bufq_initp() argument [all...] |
/third_party/eudev/src/shared/ |
H A D | mempool.c | 27 struct pool { struct 28 struct pool *next; 54 struct pool *p; in mempool_alloc_tile() 58 size = PAGE_ALIGN(ALIGN(sizeof(struct pool)) + n*mp->tile_size); in mempool_alloc_tile() 59 n = (size - ALIGN(sizeof(struct pool))) / mp->tile_size; in mempool_alloc_tile() 74 return ((uint8_t*) mp->first_pool) + ALIGN(sizeof(struct pool)) + i*mp->tile_size; in mempool_alloc_tile() 94 struct pool *p = mp->first_pool; in mempool_drop() 96 struct pool *n; in mempool_drop()
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | pool_test.py | 15 from testrunner.local.pool import Pool 28 pool = Pool(3) 29 for result in pool.imap_unordered(Run, [[x] for x in range(0, 10)]): 38 pool = Pool(3) 40 for result in pool.imap_unordered(Run, [[x] for x in range(0, 12)]): 52 pool = Pool(3) 53 for result in pool.imap_unordered(Run, [[x] for x in range(0, 10)]): 59 pool.add([result.value + 20])
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkQueryPool.cpp | 84 : pool(reinterpret_cast<Query *>(mem)) in QueryPool() 102 new(&pool[i]) Query(type); in QueryPool() 110 pool[i].~Query(); in destroy() 113 vk::freeHostMemory(pool, pAllocator); in destroy() 134 auto &query = pool[i]; in getResults() 194 pool[query].start(); in begin() 200 pool[query].finish(); 210 pool[i].reset(); 219 pool[query].start(); 220 pool[quer [all...] |
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | symbol_database_test.py | 52 db = symbol_database.SymbolDatabase(pool=descriptor_pool.Default()) 93 # Check registration of types in the pool. 96 self._Database().pool.FindEnumTypeByName( 100 self._Database().pool.FindEnumTypeByName( 106 self._Database().pool.FindMessageTypeByName( 110 self._Database().pool.FindMessageTypeByName( 116 self._Database().pool.FindServiceByName( 123 self._Database().pool.FindFileContainingSymbol( 127 self._Database().pool.FindFileContainingSymbol( 133 self._Database().pool [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_canvas_bridge.cpp | 227 auto task = [](const RefPtr<CanvasTaskPool>& pool) { pool->UpdateFontStyle(FontStyle::NORMAL); }; in JsParseTextState() 409 auto pool = paintChild->GetTaskPool(); in HandleWebglContext() 410 if (!pool) { in HandleWebglContext() 413 pool->WebGLInit(canvasRenderContext); in HandleWebglContext() 437 auto pool = paintChild->GetTaskPool(); in HandleWebglContext() local 438 if (!pool) { in HandleWebglContext() 443 auto weakPool = AceType::WeakClaim(AceType::RawPtr(pool)); in HandleWebglContext() 449 auto pool = weakPool.Upgrade(); in HandleWebglContext() 450 if (pool) { in HandleWebglContext() [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/ |
H A D | fillp_buf_item.h | 26 void *pool; member 29 int FillpMallocBufItem(void *pool, void **data, int throttleGrow); 30 void FillpDestroyBufItemPool(void *pool); 33 int FillpAskMoreBufItem(void *pool, int stepSize, int throttleGrow); 34 void FillbufItemPoolSetConflictSafe(void *pool, FILLP_BOOL consSafe, FILLP_BOOL prodSafe);
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_feedback.h | 53 VkCommandPool pool; member 58 struct vn_feedback_pool *pool, 63 vn_feedback_pool_fini(struct vn_feedback_pool *pool); 66 vn_feedback_pool_alloc(struct vn_feedback_pool *pool, 70 vn_feedback_pool_free(struct vn_feedback_pool *pool, 118 struct vn_feedback_cmd_pool *pool, 124 struct vn_feedback_cmd_pool *pool,
|
/third_party/protobuf/python/google/protobuf/ |
H A D | symbol_database.py | 51 # The database's underlying descriptor pool can be queried, so it's not 53 filename = db.pool.FindFileContainingSymbol('MyMessage') 95 self.pool._AddDescriptor(message_descriptor) 108 self.pool._AddEnumDescriptor(enum_descriptor) 120 self.pool._AddServiceDescriptor(service_descriptor) 130 self.pool._InternalAddFileDescriptor(file_descriptor) 148 return self._classes[self.pool.FindMessageTypeByName(symbol)] 178 file_desc = self.pool.FindFileByName(file_name) 189 _DEFAULT = SymbolDatabase(pool=descriptor_pool.Default())
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_perfcounter.c | 397 radv_pc_deinit_query_pool(struct radv_pc_query_pool *pool) in radv_pc_deinit_query_pool() argument 399 free(pool->counters); in radv_pc_deinit_query_pool() 400 free(pool->pc_regs); in radv_pc_deinit_query_pool() 405 const VkQueryPoolCreateInfo *pCreateInfo, struct radv_pc_query_pool *pool) in radv_pc_init_query_pool() 416 &pool->num_pc_regs, &pool->pc_regs); in radv_pc_init_query_pool() 420 pool->num_passes = radv_get_num_counter_passes(pdevice, pool->num_pc_regs, pool->pc_regs); in radv_pc_init_query_pool() 422 uint32_t *pc_reg_offsets = malloc(pool in radv_pc_init_query_pool() 404 radv_pc_init_query_pool(struct radv_physical_device *pdevice, const VkQueryPoolCreateInfo *pCreateInfo, struct radv_pc_query_pool *pool) radv_pc_init_query_pool() argument 579 radv_pc_stop_and_sample(struct radv_cmd_buffer *cmd_buffer, struct radv_pc_query_pool *pool, uint64_t va, bool end) radv_pc_stop_and_sample() argument 647 radv_pc_begin_query(struct radv_cmd_buffer *cmd_buffer, struct radv_pc_query_pool *pool, uint64_t va) radv_pc_begin_query() argument 728 radv_pc_end_query(struct radv_cmd_buffer *cmd_buffer, struct radv_pc_query_pool *pool, uint64_t va) radv_pc_end_query() argument [all...] |