/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_acceleration_structure.c | 79 accel = vk_zalloc2(&device->vk.alloc, pAllocator, sizeof(*accel), 8, in anv_CreateAccelerationStructureKHR() 108 vk_free2(&device->vk.alloc, pAllocator, accel); in anv_DestroyAccelerationStructureKHR()
|
H A D | anv_measure.c | 81 vk_zalloc(&device->instance->vk.alloc, in anv_measure_device_init() 111 vk_alloc(&cmd_buffer->vk.pool->alloc, in anv_measure_init() 356 vk_free(&cmd_buffer->vk.pool->alloc, measure); in anv_measure_destroy() 376 vk_free(&device->instance->vk.alloc, measure_device->ringbuffer); in anv_measure_device_destroy()
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common.h | 237 const VkAllocationCallbacks *alloc, 244 const VkAllocationCallbacks *alloc);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryTestsUtil.hpp | 119 void fillBuffer (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::Allocation& alloc, const vk::VkDeviceSize size, const vk::VkDeviceSize offset, const vk::VkFormat format, const tcu::Vec4& color); 120 void fillBuffer (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::Allocation& alloc, const vk::VkDeviceSize size, const vk::VkDeviceSize offset, const vk::VkFormat format, const float depth);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryTestsUtil.hpp | 119 void fillBuffer (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::Allocation& alloc, const vk::VkDeviceSize size, const vk::VkDeviceSize offset, const vk::VkFormat format, const tcu::Vec4& color); 120 void fillBuffer (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::Allocation& alloc, const vk::VkDeviceSize size, const vk::VkDeviceSize offset, const vk::VkFormat format, const float depth);
|
/third_party/skia/tests/ |
H A D | WrappedSurfaceCopyOnWriteTest.cpp | 119 pixels.alloc(SkImageInfo::Make({10, 10}, kRGBA_8888_SkColorType, kPremul_SkAlphaType)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 154 pixels.alloc(SkImageInfo::Make({10, 10}, kRGBA_8888_SkColorType, kPremul_SkAlphaType)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta.c | 422 return device->vk.alloc.pfnAllocation(device->vk.alloc.pUserData, size, alignment, in meta_alloc() 431 return device->vk.alloc.pfnReallocation(device->vk.alloc.pUserData, original, size, alignment, in meta_realloc() 439 device->vk.alloc.pfnFree(device->vk.alloc.pUserData, data); in meta_free() 555 device->meta_state.alloc = (VkAllocationCallbacks){ in radv_device_init_meta() 562 device->meta_state.cache.alloc = device->meta_state.alloc; in radv_device_init_meta()
|
H A D | radv_pass.c | 310 vk_free2(&device->vk.alloc, pAllocator, pass->subpass_attachments); in radv_destroy_render_pass() 311 vk_free2(&device->vk.alloc, pAllocator, pass); in radv_destroy_render_pass() 345 pass = vk_alloc2(&device->vk.alloc, pAllocator, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateRenderPass2() 379 vk_alloc2(&device->vk.alloc, pAllocator, in radv_CreateRenderPass2()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeIndirectComputeDispatchTests.cpp | 344 const vk::Allocation& alloc = indirectBuffer.getAllocation(); in fillIndirectBufferData() local 345 deUint8* indirectDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in fillIndirectBufferData() 360 vk::flushAlloc(vkdi, m_device, alloc); in fillIndirectBufferData() 422 const vk::Allocation& alloc = resultBuffer.getAllocation(); in iterate() local 423 deUint8* resultDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in iterate() 435 vk::flushAlloc(vkdi, m_device, alloc); in iterate() 525 const vk::Allocation& alloc = resultBuffer.getAllocation(); in verifyResultBuffer() local 526 vk::invalidateAlloc(vkdi, m_device, alloc); in verifyResultBuffer() 528 const deUint8* const resultDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in verifyResultBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
H A D | vktComputeIndirectComputeDispatchTests.cpp | 337 const vk::Allocation& alloc = indirectBuffer.getAllocation(); in fillIndirectBufferData() local 338 deUint8* indirectDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in fillIndirectBufferData() 353 vk::flushAlloc(vkdi, m_device, alloc); in fillIndirectBufferData() 415 const vk::Allocation& alloc = resultBuffer.getAllocation(); in iterate() local 416 deUint8* resultDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in iterate() 428 vk::flushAlloc(vkdi, m_device, alloc); in iterate() 521 const vk::Allocation& alloc = resultBuffer.getAllocation(); in verifyResultBuffer() local 522 vk::invalidateAlloc(vkdi, m_device, alloc); in verifyResultBuffer() 524 const deUint8* const resultDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); in verifyResultBuffer()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | inlined_vector.h | 327 explicit Storage(const allocator_type& alloc) in Storage() argument 328 : metadata_(alloc, /* size and is_allocated */ 0) {} in Storage() 618 auto* alloc = GetAllocPtr(); variable 621 inlined_vector_internal::DestroyElements(alloc, base + new_size, 625 inlined_vector_internal::ConstructElements(alloc, base + size, &values, 635 AllocationTransaction allocation_tx(alloc); 639 ConstructionTransaction construction_tx(alloc); 643 inlined_vector_internal::ConstructElements(alloc, new_data, &move_values, 646 inlined_vector_internal::DestroyElements(alloc, base, size);
|
/third_party/mesa3d/src/imagination/vulkan/winsys/powervr/ |
H A D | pvr_drm.c | 32 const VkAllocationCallbacks *alloc) in pvr_drm_winsys_create() 30 pvr_drm_winsys_create(int master_fd, int render_fd, const VkAllocationCallbacks *alloc) pvr_drm_winsys_create() argument
|
H A D | pvr_drm_public.h | 33 const VkAllocationCallbacks *alloc);
|
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
H A D | pvr_srv_public.h | 33 const VkAllocationCallbacks *alloc);
|
/third_party/protobuf/js/binary/ |
H A D | reader.js | 72 this.decoder_ = jspb.BinaryDecoder.alloc(opt_bytes, opt_start, opt_length); 123 jspb.BinaryReader.alloc = 145 jspb.BinaryReader.prototype.alloc = jspb.BinaryReader.alloc; 596 jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(), start, length);
|
H A D | writer_test.js | 162 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer()); 274 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer()); 335 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer()); 358 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer());
|
/third_party/skia/modules/particles/src/ |
H A D | SkParticleEffect.cpp | 32 std::unique_ptr<SkArenaAlloc> alloc, in SkParticleProgram() 40 , fAlloc(std::move(alloc)) in SkParticleProgram() 150 auto alloc = std::make_unique<SkArenaAlloc>(0); in prepare() 156 externalFns.push_back(binding->toFunction(compiler, &efUniforms, alloc.get())); in prepare() 207 std::move(alloc), in prepare()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_vec4_copy_propagation.cpp | 468 struct copy_entry entries[alloc.total_size]; in opt_copy_propagation() 502 const unsigned reg = (alloc.offsets[inst->src[i].nr] + in opt_copy_propagation() 515 alloc.offsets[inst->dst.nr] + inst->dst.offset / REG_SIZE; in opt_copy_propagation() 537 for (unsigned i = 0; i < alloc.total_size; i++) { in opt_copy_propagation()
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_sync_timeline.c | 96 vk_free(&device->alloc, point); in vk_sync_timeline_finish() 102 vk_free(&device->alloc, point); in vk_sync_timeline_finish() 148 point = vk_zalloc(&device->alloc, size, 8, in vk_sync_timeline_alloc_point_locked() 158 vk_free(&device->alloc, point); in vk_sync_timeline_alloc_point_locked()
|
/third_party/node/deps/openssl/openssl/crypto/dh/ |
H A D | dh_key.c | 413 int alloc) in ossl_dh_key2buf() 428 if (pbuf_out != NULL && (alloc || *pbuf_out != NULL)) { in ossl_dh_key2buf() 429 if (!alloc) { in ossl_dh_key2buf() 445 if (alloc) in ossl_dh_key2buf() 412 ossl_dh_key2buf(const DH *dh, unsigned char **pbuf_out, size_t size, int alloc) ossl_dh_key2buf() argument
|
/third_party/openssl/crypto/dh/ |
H A D | dh_key.c | 414 int alloc) in ossl_dh_key2buf() 429 if (pbuf_out != NULL && (alloc || *pbuf_out != NULL)) { in ossl_dh_key2buf() 430 if (!alloc) { in ossl_dh_key2buf() 446 if (alloc) in ossl_dh_key2buf() 413 ossl_dh_key2buf(const DH *dh, unsigned char **pbuf_out, size_t size, int alloc) ossl_dh_key2buf() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageMisalignedCubeTests.cpp | 84 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const tcu::Vec4& color) in fillBuffer() argument 94 deUint8* dstBase = static_cast<deUint8*>(alloc.getHostPtr()); in fillBuffer() 100 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset() + offset, size); in fillBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageMisalignedCubeTests.cpp | 84 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const tcu::Vec4& color) in fillBuffer() argument 94 deUint8* dstBase = static_cast<deUint8*>(alloc.getHostPtr()); in fillBuffer() 100 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset() + offset, size); in fillBuffer()
|
H A D | vktImageTransfer.cpp | 193 const Allocation& alloc = srcBuffer.getAllocation(); in iterate() local 194 deMemcpy(alloc.getHostPtr(), generatedData.data(), generatedData.size()); in iterate() 254 const Allocation& alloc = dstBuffer.getAllocation(); in iterate() local 255 deMemcpy(resultData.data(), alloc.getHostPtr(), resultData.size()); in iterate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | ExecutionDomainFix.cpp | 25 DomainValue *ExecutionDomainFix::alloc(int domain) { 108 setLiveReg(rx, alloc(domain)); in force() 124 setLiveReg(rx, alloc(domain)); in collapse() 376 dv = alloc();
|