/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | objc_method_clash.rs | 23 pub fn alloc() -> Self { in alloc() functions 24 Self(unsafe { msg_send!(class!(Foo), alloc) }) in alloc()
|
/third_party/ffmpeg/libavcodec/ |
H A D | mpegaudioenc_template.c | 519 const unsigned char *alloc; in compute_bit_allocation() local 536 /* compute the header + bit alloc size */ in compute_bit_allocation() 538 alloc = s->alloc_table; in compute_bit_allocation() 540 incr = alloc[0]; in compute_bit_allocation() 542 alloc += 1 << incr; in compute_bit_allocation() 560 ff_dlog(NULL, "current=%d max=%d max_sb=%d max_ch=%d alloc=%d\n", in compute_bit_allocation() 564 /* find alloc table entry (XXX: not optimal, should use in compute_bit_allocation() 566 alloc = s->alloc_table; in compute_bit_allocation() 568 alloc += 1 << alloc[ in compute_bit_allocation() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_pipeline_cache.c | 111 vk_free(&cache->alloc, cache->hash_table[i]); in radv_pipeline_cache_finish() 352 vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_create_shaders_from_pipeline_cache() 415 pipeline->slab_bo = pipeline->slab->alloc->arena->bo; in radv_create_shaders_from_pipeline_cache() 431 vk_free(&cache->alloc, entry); in radv_create_shaders_from_pipeline_cache() 491 entry = vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_insert_shaders() 538 vk_free2(&cache->alloc, NULL, entry); in radv_pipeline_cache_insert_shaders() 594 dest_entry = vk_alloc(&cache->alloc, size_of_entry, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_load() 617 cache = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*cache), 8, in radv_CreatePipelineCache() 623 cache->alloc = *pAllocator; in radv_CreatePipelineCache() 625 cache->alloc in radv_CreatePipelineCache() [all...] |
H A D | radv_meta_blit.c | 486 &cmd_buffer->pool->vk.alloc, &sampler); in blit_image() 610 radv_DestroySampler(radv_device_to_handle(device), sampler, &cmd_buffer->pool->vk.alloc); in blit_image() 634 &state->alloc); in radv_device_finish_meta_blit_state() 636 &state->alloc); in radv_device_finish_meta_blit_state() 638 &state->alloc); in radv_device_finish_meta_blit_state() 642 &state->alloc); in radv_device_finish_meta_blit_state() 644 &state->alloc); in radv_device_finish_meta_blit_state() 646 &state->alloc); in radv_device_finish_meta_blit_state() 649 &state->alloc); in radv_device_finish_meta_blit_state() 651 &state->alloc); in radv_device_finish_meta_blit_state() [all...] |
H A D | radv_meta_copy_vrs_htile.c | 37 &state->alloc); in radv_device_finish_meta_copy_vrs_htile_state() 39 &state->alloc); in radv_device_finish_meta_copy_vrs_htile_state() 41 radv_device_to_handle(device), state->copy_vrs_htile_ds_layout, &state->alloc); in radv_device_finish_meta_copy_vrs_htile_state() 166 &state->alloc, &state->copy_vrs_htile_ds_layout); in radv_device_init_meta_copy_vrs_htile_state() 183 result = radv_CreatePipelineLayout(radv_device_to_handle(device), &p_layout_info, &state->alloc, in radv_device_init_meta_copy_vrs_htile_state()
|
H A D | radv_meta_fmask_expand.c | 176 &state->alloc); in radv_device_finish_meta_fmask_expand_state() 179 &state->alloc); in radv_device_finish_meta_fmask_expand_state() 182 radv_device_to_handle(device), state->fmask_expand.ds_layout, &state->alloc); in radv_device_finish_meta_fmask_expand_state() 240 &state->alloc, &state->fmask_expand.ds_layout); in radv_device_init_meta_fmask_expand_state() 253 &state->alloc, &state->fmask_expand.p_layout); in radv_device_init_meta_fmask_expand_state()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawShaderLayerTests.cpp | 895 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader() local 896 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testVertexShader() 897 flushAlloc(vk, device, alloc); in testVertexShader() 914 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader() local 915 invalidateAlloc(vk, device, alloc); in testVertexShader() 917 deUint8* resultMem = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in testVertexShader() 955 const Allocation alloc = colorBuffer->getBoundMemory(); in testTessellationShader() local 956 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(colorBufferSize)); in testTessellationShader() 957 flushAlloc(vk, device, alloc); in testTessellationShader() 974 const Allocation alloc in testTessellationShader() local [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_device.c | 224 vk_free(&pdevice->vk.instance->alloc, pdevice->master_path); in pvr_physical_device_finish() 229 vk_free(&pdevice->vk.instance->alloc, pdevice->render_path); in pvr_physical_device_finish() 248 vk_free(&instance->vk.alloc, instance); in pvr_DestroyInstance() 355 pdevice->render_path = vk_strdup(&pdevice->vk.instance->alloc, in pvr_physical_device_init() 372 pdevice->master_path = vk_strdup(&pdevice->vk.instance->alloc, in pvr_physical_device_init() 385 &pdevice->vk.instance->alloc); in pvr_physical_device_init() 453 vk_free(&pdevice->vk.instance->alloc, pdevice->master_path); in pvr_physical_device_init() 459 vk_free(&pdevice->vk.instance->alloc, pdevice->render_path); in pvr_physical_device_init() 1154 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_device_init_compute_fence_program() 1178 vk_free(&device->vk.alloc, staging_buffe in pvr_device_init_compute_fence_program() [all...] |
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
H A D | pvr_srv.c | 378 vk_free(srv_ws->alloc, srv_ws); in pvr_srv_winsys_destroy() 621 const VkAllocationCallbacks *alloc) in pvr_srv_winsys_create() 639 vk_zalloc(alloc, sizeof(*srv_ws), 8, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE); in pvr_srv_winsys_create() 649 srv_ws->alloc = alloc; in pvr_srv_winsys_create() 669 vk_free(alloc, srv_ws); in pvr_srv_winsys_create() 686 sync_prim = vk_alloc(srv_ws->alloc, in pvr_srv_sync_prim_alloc() 703 vk_free(srv_ws->alloc, sync_prim); in pvr_srv_sync_prim_alloc() 721 vk_free(srv_ws->alloc, sync_prim); in pvr_srv_sync_prim_free() 619 pvr_srv_winsys_create(int master_fd, int render_fd, const VkAllocationCallbacks *alloc) pvr_srv_winsys_create() argument
|
H A D | pvr_srv_job_render.c | 105 srv_free_list = vk_zalloc(srv_ws->alloc, in pvr_srv_winsys_free_list_create() 146 vk_free(srv_ws->alloc, srv_free_list); in pvr_srv_winsys_free_list_create() 158 vk_free(srv_ws->alloc, srv_free_list); in pvr_srv_winsys_free_list_destroy() 194 srv_rt_dataset = vk_zalloc(srv_ws->alloc, in pvr_srv_render_target_dataset_create() 266 vk_free(srv_ws->alloc, srv_rt_dataset); in pvr_srv_render_target_dataset_create() 287 vk_free(srv_ws->alloc, srv_rt_dataset); in pvr_srv_render_target_dataset_destroy() 336 srv_ctx = vk_zalloc(srv_ws->alloc, in pvr_srv_winsys_render_ctx_create() 388 vk_free(srv_ws->alloc, srv_ctx); in pvr_srv_winsys_render_ctx_create() 402 vk_free(srv_ws->alloc, srv_ctx); in pvr_srv_winsys_render_ctx_destroy()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationFractionalSpacingTests.cpp | 602 const Allocation& alloc = tessLevelsBuffer.getAllocation(); 603 float* const tessLevelOuter1 = static_cast<float*>(alloc.getHostPtr()); 606 flushAlloc(vk, device, alloc); 611 const Allocation& alloc = resultBuffer.getAllocation(); 613 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(resultBufferSizeBytes)); 614 flushAlloc(vk, device, alloc); 619 const Allocation& alloc = counterBuffer.getAllocation(); 621 deMemset(alloc.getHostPtr(), 0, static_cast<std::size_t>(counterBufferSizeBytes)); 622 flushAlloc(vk, device, alloc);
|
H A D | vktTessellationGeometryPassthroughTests.cpp | 379 const Allocation& alloc = colorBuffer.getAllocation(); in getPixelBufferAccess() local 381 invalidateAlloc(vk, device, alloc); in getPixelBufferAccess() 383 return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr()); in getPixelBufferAccess() 460 const Allocation& alloc = tessLevelsBuffer.getAllocation(); in iterate() local 461 TessLevels* const bufferTessLevels = static_cast<TessLevels*>(alloc.getHostPtr()); in iterate() 464 flushAlloc(vk, device, alloc); in iterate() 474 const Allocation& alloc = vertexBuffer.getAllocation(); in iterate() local 476 deMemcpy(alloc.getHostPtr(), &m_params.vertices[0], static_cast<std::size_t>(vertexDataSizeBytes)); in iterate() 477 flushAlloc(vk, device, alloc); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationGeometryPassthroughTests.cpp | 379 const Allocation& alloc = colorBuffer.getAllocation(); in getPixelBufferAccess() local 381 invalidateAlloc(vk, device, alloc); in getPixelBufferAccess() 383 return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr()); in getPixelBufferAccess() 460 const Allocation& alloc = tessLevelsBuffer.getAllocation(); in iterate() local 461 TessLevels* const bufferTessLevels = static_cast<TessLevels*>(alloc.getHostPtr()); in iterate() 464 flushAlloc(vk, device, alloc); in iterate() 474 const Allocation& alloc = vertexBuffer.getAllocation(); in iterate() local 476 deMemcpy(alloc.getHostPtr(), &m_params.vertices[0], static_cast<std::size_t>(vertexDataSizeBytes)); in iterate() 477 flushAlloc(vk, device, alloc); in iterate()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_common.h | 270 const VkAllocationCallbacks *alloc) in vn_instance_base_init() 273 dispatch_table, info, alloc); in vn_instance_base_init() 309 const VkAllocationCallbacks *alloc) in vn_device_base_init() 312 dispatch_table, info, alloc); in vn_device_base_init() 265 vn_instance_base_init( struct vn_instance_base *instance, const struct vk_instance_extension_table *supported_extensions, const struct vk_instance_dispatch_table *dispatch_table, const VkInstanceCreateInfo *info, const VkAllocationCallbacks *alloc) vn_instance_base_init() argument 305 vn_device_base_init(struct vn_device_base *dev, struct vn_physical_device_base *physical_dev, const struct vk_device_dispatch_table *dispatch_table, const VkDeviceCreateInfo *info, const VkAllocationCallbacks *alloc) vn_device_base_init() argument
|
/third_party/skia/src/shaders/ |
H A D | SkComposeShader.cpp | 146 skvm::Uniforms* uniforms, SkArenaAlloc* alloc) const { in onProgram() 148 if ((d = as_SB(fDst)->program(p, device,local, paint, mats,localM, cinfo, uniforms,alloc)) && in onProgram() 149 (s = as_SB(fSrc)->program(p, device,local, paint, mats,localM, cinfo, uniforms,alloc))) in onProgram() 152 return as_BB(fBlender)->program(p, s,d, cinfo, uniforms,alloc); in onProgram()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | node_hash_map.h | 548 static value_type* new_element(Allocator* alloc, Args&&... args) { in new_element() argument 551 PairAlloc pair_alloc(*alloc); in new_element() 560 static void delete_element(Allocator* alloc, value_type* pair) { in delete_element() argument 563 PairAlloc pair_alloc(*alloc); in delete_element()
|
/third_party/glslang/glslang/Include/ |
H A D | arrays.h | 94 alloc(); in operator =() 130 alloc(); in push_back() 137 alloc(); in push_back() 167 alloc(); in copyNonFront() 204 void alloc() in alloc() function
|
/third_party/node/deps/uv/src/win/ |
H A D | getaddrinfo.c | 118 uv__free(req->alloc); in uv__getaddrinfo_done() 119 req->alloc = NULL; in uv__getaddrinfo_done() 323 req->alloc = (void*)alloc_ptr; in uv_getaddrinfo() 393 uv__free(req->alloc); in uv_getaddrinfo() 394 req->alloc = NULL; in uv_getaddrinfo()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
H A D | vktConditionalIgnoreTests.cpp | 131 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 173 colorAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in iterate() 199 depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthImageCreateInfo, MemoryRequirement::Any)); in iterate() 203 const auto outBuffer = makeBufferForImage(vkd, device, alloc, imageFormat, imageExtent); in iterate() 207 const auto outDepthBuffer = makeBufferForImage(vkd, device, alloc, depthFormat, imageExtent); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTests.hpp | 66 AllocMv alloc; member 75 , alloc() {} in ImageHandleAlloc() 105 AllocMv alloc; member 109 , alloc () {} in BufferHandleAlloc() 114 , alloc (alloc_) {} in BufferHandleAlloc()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/ |
H A D | vktConditionalIgnoreTests.cpp | 129 auto& alloc = m_context.getDefaultAllocator(); in iterate() local 171 colorAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any)); in iterate() 197 depthAttachment = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vkd, device, alloc, depthImageCreateInfo, MemoryRequirement::Any)); in iterate() 201 const auto outBuffer = makeBufferForImage(vkd, device, alloc, imageFormat, imageExtent); in iterate() 205 const auto outDepthBuffer = makeBufferForImage(vkd, device, alloc, depthFormat, imageExtent); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTests.hpp | 66 AllocMv alloc; member 75 , alloc() {} in ImageHandleAlloc() 105 AllocMv alloc; member 109 , alloc () {} in BufferHandleAlloc() 114 , alloc (alloc_) {} in BufferHandleAlloc()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_image.c | 32 const VkAllocationCallbacks* alloc, in lvp_image_create() 40 image = vk_image_create(&device->vk, pCreateInfo, alloc, sizeof(*image)); in lvp_image_create() 285 buffer = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*buffer), 8, in lvp_CreateBuffer() 320 vk_free2(&device->vk.alloc, pAllocator, buffer); in lvp_CreateBuffer() 342 vk_free2(&device->vk.alloc, pAllocator, buffer); in lvp_DestroyBuffer() 377 view = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*view), 8, in lvp_CreateBufferView() 404 vk_free2(&device->vk.alloc, pAllocator, view); in lvp_DestroyBufferView() 30 lvp_image_create(VkDevice _device, const VkImageCreateInfo *pCreateInfo, const VkAllocationCallbacks* alloc, VkImage *pImage) lvp_image_create() argument
|
/third_party/lzma/C/ |
H A D | Lzma2Dec.c | 71 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc)
in Lzma2Dec_AllocateProbs() argument 75 return LzmaDec_AllocateProbs(&p->decoder, props, LZMA_PROPS_SIZE, alloc);
in Lzma2Dec_AllocateProbs() 78 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc)
in Lzma2Dec_Allocate() argument 82 return LzmaDec_Allocate(&p->decoder, props, LZMA_PROPS_SIZE, alloc);
in Lzma2Dec_Allocate() 470 Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAllocPtr alloc)
in Lzma2Decode() 478 RINOK(Lzma2Dec_AllocateProbs(&p, prop, alloc))
in Lzma2Decode() 487 Lzma2Dec_FreeProbs(&p, alloc);
in Lzma2Decode() 469 Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAllocPtr alloc) Lzma2Decode() argument
|
/third_party/openssl/test/ |
H A D | wpackettest.c | 22 static const unsigned char alloc[] = { 0x02, 0xfe, 0xff }; variable 107 || !TEST_mem_eq(sbuf, written, alloc, sizeof(alloc))) in test_WPACKET_init() 315 || !TEST_mem_eq(buf->data, written, alloc, sizeof(alloc))) in test_WPACKET_allocate_bytes() 342 || !TEST_mem_eq(buf->data, written, alloc, sizeof(alloc))) in test_WPACKET_memcpy()
|