/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | GVN.cpp | 428 for (unsigned i = 0, e = deps.size(); i != e; ++i) { in lookupOrAddCall() 737 if (ValuesPerBlock.size() == 1 && in ConstructSSAForLoadSet() 988 unsigned NumDeps = Deps.size(); in AnalyzeLoadAvailability() 1022 assert(NumDeps == ValuesPerBlock.size() + UnavailableBlocks.size() && in AnalyzeLoadAvailability() 1032 // prefer to not increase code size. As such, we only do this when we know in PerformLoadPRE() 1140 unsigned NumUnavailablePreds = PredLoads.size() + CriticalEdgePred.size(); in PerformLoadPRE() 1224 << "INSERTED " << NewInsts.size() << " INSTS: " << *NewInsts.back() in PerformLoadPRE() 1325 unsigned NumDeps = Deps.size(); in processNonLocalLoad() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | const_folding_rules.cpp | 131 if (element_index >= components.size()) return nullptr; in FoldExtractWithConstants() 189 for (size_t i = 0; i < components.size(); i++) { in FoldInsertWithConstants() 198 for (size_t i = chain.size(); i > 0; i--) { in FoldInsertWithConstants() 212 for (size_t k = 0; k < components.size(); k++) { in FoldInsertWithConstants() 269 } else if (index < c1_components.size()) { in FoldVectorShuffleWithConstants() 275 c2_components[index - c1_components.size()]); in FoldVectorShuffleWithConstants() 336 for (uint32_t i = 0; i < c1_components.size(); ++i) { in FoldVectorTimesScalar() 346 for (uint32_t i = 0; i < c1_components.size(); ++i) { in FoldVectorTimesScalar() 483 for (uint32_t j = 0; j < c2_vec->GetComponents().size(); ++j) { 497 for (uint32_t i = 0; i < c2_components.size(); [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | libtommath.c | 122 /* size of comba arrays, should be at least 2 * 2**(BITS_PER_WORD - BITS_PER_DIGIT*2) */ 174 static int mp_grow(mp_int * a, int size); 185 static int mp_init_size(mp_int * a, int size); 761 /* get the size for an unsigned equivalent */ 764 int size = mp_count_bits (a); in mp_unsigned_bin_size() local 765 return (size / 8 + ((size & 7) != 0 ? 1 : 0)); in mp_unsigned_bin_size() 1264 static int mp_grow (mp_int * a, int size) in mp_grow() argument 1269 /* if the alloc size is smaller alloc more ram */ in mp_grow() 1270 if (a->alloc < size) { in mp_grow() 2500 mp_init_size(mp_int * a, int size) mp_init_size() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | libtommath.c | 122 /* size of comba arrays, should be at least 2 * 2**(BITS_PER_WORD - BITS_PER_DIGIT*2) */ 174 static int mp_grow(mp_int * a, int size); 185 static int mp_init_size(mp_int * a, int size); 761 /* get the size for an unsigned equivalent */ 764 int size = mp_count_bits (a); in mp_unsigned_bin_size() local 765 return (size / 8 + ((size & 7) != 0 ? 1 : 0)); in mp_unsigned_bin_size() 1264 static int mp_grow (mp_int * a, int size) in mp_grow() argument 1269 /* if the alloc size is smaller alloc more ram */ in mp_grow() 1270 if (a->alloc < size) { in mp_grow() 2500 mp_init_size(mp_int * a, int size) mp_init_size() argument [all...] |
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | register-allocator.cc | 126 bounds_length_(static_cast<int>(data_->live_ranges().size())), in LiveRangeFinder() 1280 incoming_operands_.reserve(phi->operands().size()); in PhiMapValue() 1379 if (index >= static_cast<int>(live_ranges().size())) { in GetOrCreateLiveRangeFor() 1447 const size_t live_ranges_size = live_ranges().size(); in RangesDefinedInDeferredStayInDeferred() 1450 live_ranges().size()); // TODO(neis): crbug.com/831822 in RangesDefinedInDeferredStayInDeferred() 1597 code()->instructions().size() || in IsBlockBoundary() 1862 for (size_t i = 0; i < phi->operands().size(); ++i) { in ResolvePhis() 2516 const size_t live_ranges_size = data()->live_ranges().size(); in BuildLiveRanges() 2520 data()->live_ranges().size()); // TODO(neis): crbug.com/831822 in BuildLiveRanges() 2754 if (lhs->uses_.size() < rh in TryMerge() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelinePushDescriptorTests.cpp | 171 static_cast<deUint32>(requiredExtensions.size()), in createDeviceWithPushDescriptor() 182 vector<Vertex4RGBA> createQuads (deUint32 numQuads, float size) in createQuads() argument 190 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size + xOffset, -size, 0.0f, 1.0f), color}; in createQuads() 191 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size + xOffset, -size, 0.0f, 1.0f), color}; in createQuads() 192 const Vertex4RGBA UpperLeftVertex = {tcu::Vec4(-size + xOffset, size, 0.0f, 1.0f), color}; in createQuads() 193 const Vertex4RGBA UpperRightVertex = {tcu::Vec4(size + xOffset, size, 0. in createQuads() 206 createTexQuads(deUint32 numQuads, float size) createTexQuads() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 162 /// by "Src" to address "Dst" of size "Size". Alignment information is 215 for (unsigned i = 0; i != RVLocs.size(); ++i) { in LowerReturn() 335 for (unsigned i = 0; i != RVLocs.size(); ++i) { in LowerCallResult() 411 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCall() 434 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCall() 513 for (unsigned i = 0, e = RegsToPass.size(); i != e; ++i) { in LowerCall() 530 for (unsigned i = 0, e = RegsToPass.size(); i != e; ++i) { in LowerCall() 559 for (unsigned i = 0, e = RegsToPass.size(); i != e; ++i) { in LowerCall() 766 // caller's stack is passed only when the struct size is smaller than (and in LowerFormalArguments() 772 for (unsigned i = 0, e = ArgLocs.size(); in LowerFormalArguments() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_mmu.c | 77 * @size: Size of the region to sync.
82 static void kbase_mmu_sync_pgd(struct kbase_device *kbdev, dma_addr_t handle, size_t size)
in kbase_mmu_sync_pgd() argument 88 dma_sync_single_for_device(kbdev->dev, handle, size, DMA_TO_DEVICE);
in kbase_mmu_sync_pgd() 173 kbase_mmu_report_fault_and_kill(kctx, faulting_as, "Address size fault");
in page_fault_worker() 221 /* find the size we need to grow it by */
in page_fault_worker() 1277 size_t size = KBASE_MMU_PAGE_ENTRIES * sizeof(u64) + sizeof(u64);
in kbasep_mmu_dump_level() local 1292 if (*size_left >= size) {
in kbasep_mmu_dump_level() 1304 *size_left -= size;
in kbasep_mmu_dump_level() 1317 size += dump_size;
in kbasep_mmu_dump_level() 1324 return size;
in kbasep_mmu_dump_level() 1351 size_t size; kbase_mmu_dump() local [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_mmu.c | 73 * @size: Size of the region to sync. 79 dma_addr_t handle, size_t size) in kbase_mmu_sync_pgd() 85 dma_sync_single_for_device(kbdev->dev, handle, size, in kbase_mmu_sync_pgd() 178 "Address size fault"); in page_fault_worker() 234 /* find the size we need to grow it by */ in page_fault_worker() 1329 size_t size = KBASE_MMU_PAGE_ENTRIES * sizeof(u64) + sizeof(u64); in kbasep_mmu_dump_level() local 1344 if (*size_left >= size) { in kbasep_mmu_dump_level() 1356 *size_left -= size; in kbasep_mmu_dump_level() 1372 size += dump_size; in kbasep_mmu_dump_level() 1379 return size; in kbasep_mmu_dump_level() 78 kbase_mmu_sync_pgd(struct kbase_device *kbdev, dma_addr_t handle, size_t size) kbase_mmu_sync_pgd() argument 1406 size_t size; kbase_mmu_dump() local [all...] |
/drivers/peripheral/usb/gadget/function/acm/ |
H A D | cdcacm.c | 143 uint32_t size = req->actual; in UsbSerialRxPush() local 147 DataFifoSkip(&port->readFifo, size); in UsbSerialRxPush() 149 uint32_t count = DataFifoWrite(&port->readFifo, data, size); in UsbSerialRxPush() 150 if (count != size) { in UsbSerialRxPush() 151 HDF_LOGW("%{public}s: write %{public}u less than expected %{public}u", __func__, count, size); in UsbSerialRxPush() 418 static int32_t UsbSerialAllocFifo(struct DataFifo *fifo, uint32_t size) in UsbSerialAllocFifo() argument 421 void *data = OsalMemAlloc(size); in UsbSerialAllocFifo() 426 DataFifoInit(fifo, size, data); in UsbSerialAllocFifo() 695 int32_t size; in UsbSerialWrite() local 721 size in UsbSerialWrite() 743 uint32_t size; UsbSerialSetBaudrate() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | mediacodec_wrapper.c | 264 { "android/media/MediaCodec.BufferInfo", "size", "I", FF_JNI_FIELD, offsetof(struct JNIAMediaCodecFields, size_id), 1 }, 869 int ff_AMediaFormat_getBuffer(FFAMediaFormat* format, const char *name, void** data, size_t *size) in ff_AMediaFormat_getBuffer() argument 901 *size = (*env)->GetDirectBufferCapacity(env, result); in ff_AMediaFormat_getBuffer() 903 if (*data && *size) { in ff_AMediaFormat_getBuffer() 905 *data = av_malloc(*size); in ff_AMediaFormat_getBuffer() 911 memcpy(*data, src, *size); in ff_AMediaFormat_getBuffer() 1087 void ff_AMediaFormat_setBuffer(FFAMediaFormat* format, const char* name, void* data, size_t size) in ff_AMediaFormat_setBuffer() argument 1103 if (!data || !size) { in ff_AMediaFormat_setBuffer() 1107 buffer_data = av_malloc(size); in ff_AMediaFormat_setBuffer() 1112 memcpy(buffer_data, data, size); in ff_AMediaFormat_setBuffer() 1480 ff_AMediaCodec_queueInputBuffer(FFAMediaCodec* codec, size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) ff_AMediaCodec_queueInputBuffer() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_datascope.c | 61 { "size", "set output size", OFFSET(ow), AV_OPT_TYPE_IMAGE_SIZE, {.str="hd720"}, 0, 0, FLAGS }, 62 { "s", "set output size", OFFSET(ow), AV_OPT_TYPE_IMAGE_SIZE, {.str="hd720"}, 0, 0, FLAGS }, 759 float size; member 801 { "s", "set scope size", OOFFSET(size), AV_OPT_TYPE_FLOAT, {.dbl=0.8}, 0, 1, FLAGSR }, 913 int cx, cy, size; in update_oscilloscope() local 919 size = hypot(inlink->w, inlink->h); in update_oscilloscope() 920 size *= s->size; in update_oscilloscope() 935 int size; oscilloscope_config_input() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | vulkan.c | 152 req->size = FFALIGN(req->size, s->props.limits.minMemoryMapAlignment); in vk_alloc_mem() 154 alloc_info.allocationSize = req->size; in vk_alloc_mem() 193 int ff_vk_create_buf(FFVulkanContext *s, FFVkBuffer *buf, size_t size, in ff_vk_create_buf() argument 206 .size = size, /* Gets FFALIGNED during alloc if host visible in ff_vk_create_buf() 283 .size = VK_WHOLE_SIZE, in ff_vk_map_buffers() 321 .size = VK_WHOLE_SIZE, in ff_vk_unmap_buffers() 364 int ff_vk_add_push_constant(FFVulkanPipeline *pl, int offset, int size, in ff_vk_add_push_constant() argument 379 pc->size in ff_vk_add_push_constant() 1106 ff_vk_update_push_exec(FFVulkanContext *s, FFVkExecContext *e, VkShaderStageFlagBits stage, int offset, size_t size, void *src) ff_vk_update_push_exec() argument [all...] |
/third_party/icu/icu4c/source/tools/genrb/ |
H A D | parse.cpp | 333 int32_t size = 0; in parseUCARules() local 378 * since the actual size needed for storing UChars in parseUCARules() 381 size = ucbuf_size(ucbuf) + 1; in parseUCARules() 382 pTarget = (UChar*) uprv_malloc(U_SIZEOF_UCHAR * size); in parseUCARules() 383 uprv_memset(pTarget, 0, size*U_SIZEOF_UCHAR); in parseUCARules() 385 targetLimit = pTarget+size; in parseUCARules() 474 int32_t size = 0; in parseTransliterator() local 516 * since the actual size needed for storing UChars in parseTransliterator() 519 pSource = ucbuf_getBuffer(ucbuf, &size, status); in parseTransliterator() 520 pTarget = (UChar*) uprv_malloc(U_SIZEOF_UCHAR * (size in parseTransliterator() [all...] |
/third_party/mbedtls/library/ |
H A D | x509_crt.c | 81 * Max size of verification chain: end-entity + intermediates + trusted root 1686 static int x509_info_ext_key_usage(char **buf, size_t *size, in x509_info_ext_key_usage() argument 1691 size_t n = *size; in x509_info_ext_key_usage() 1709 *size = n; in x509_info_ext_key_usage() 1715 static int x509_info_cert_policies(char **buf, size_t *size, in x509_info_cert_policies() argument 1720 size_t n = *size; in x509_info_cert_policies() 1738 *size = n; in x509_info_cert_policies() 1749 int mbedtls_x509_crt_info(char *buf, size_t size, const char *prefix, in mbedtls_x509_crt_info() argument 1758 n = size; in mbedtls_x509_crt_info() 1764 return (int) (size in mbedtls_x509_crt_info() 1900 mbedtls_x509_crt_verify_info(char *buf, size_t size, const char *prefix, uint32_t flags) mbedtls_x509_crt_verify_info() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_device.c | 1350 .size = 2ULL*1024*1024*1024, in lvp_GetPhysicalDeviceMemoryProperties() 1685 uint64_t size; in lvp_AllocateMemory() local 1686 if(!device->pscreen->import_memory_fd(device->pscreen, import_info->fd, &mem->pmem, &size)) { in lvp_AllocateMemory() 1691 if(size < pAllocateInfo->allocationSize) { in lvp_AllocateMemory() 1768 VkDeviceSize size, in lvp_MapMemory() 1822 pMemoryRequirements->memoryRequirements.size = 0; in lvp_GetDeviceBufferMemoryRequirements() 1828 pMemoryRequirements->memoryRequirements.size = buffer->total_size; in lvp_GetDeviceBufferMemoryRequirements() 1848 pMemoryRequirements->memoryRequirements.size = 0; in lvp_GetDeviceImageMemoryRequirements() 1854 pMemoryRequirements->memoryRequirements.size = image->size; in lvp_GetDeviceImageMemoryRequirements() 1764 lvp_MapMemory( VkDevice _device, VkDeviceMemory _memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) lvp_MapMemory() argument [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-engine.cc | 302 uint32_t section_size = decoder.consume_u32v("section size"); in PrefixHash() 366 DCHECK_EQ(0, code_to_log.size()); in ~IsolateInfo() 1190 static_cast<int>(isolate_info->native_modules.size())); in NewNativeModule() 1192 static_cast<int>(native_modules_.size())); in NewNativeModule() 1200 wire_bytes.size()); in MaybeGetNativeModule() 1312 native_module, current_gc_info_->dead_code.size()); in FreeNativeModule() 1356 live_code.size()); in ReportLiveCodeForGC() 1426 new_potentially_dead_code_size_ += code->instructions().size(); in AddPotentiallyDeadCode() 1469 TRACE_CODE_GC("Freeing %zu code object%s of module %p.\n", code_vec.size(), in FreeDeadCodeLocked() 1470 code_vec.size() in FreeDeadCodeLocked() [all...] |
/third_party/node/deps/icu-small/source/tools/genrb/ |
H A D | parse.cpp | 333 int32_t size = 0; in parseUCARules() local 378 * since the actual size needed for storing UChars in parseUCARules() 381 size = ucbuf_size(ucbuf) + 1; in parseUCARules() 382 pTarget = (char16_t*) uprv_malloc(U_SIZEOF_UCHAR * size); in parseUCARules() 383 uprv_memset(pTarget, 0, size*U_SIZEOF_UCHAR); in parseUCARules() 385 targetLimit = pTarget+size; in parseUCARules() 474 int32_t size = 0; in parseTransliterator() local 516 * since the actual size needed for storing UChars in parseTransliterator() 519 pSource = ucbuf_getBuffer(ucbuf, &size, status); in parseTransliterator() 520 pTarget = (char16_t*) uprv_malloc(U_SIZEOF_UCHAR * (size in parseTransliterator() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_state.c | 204 assert(so->size <= ARRAY_SIZE(so->state)); in nv50_blend_state_create() 341 assert(so->size <= ARRAY_SIZE(so->state)); in nv50_rasterizer_state_create() 435 assert(so->size <= ARRAY_SIZE(so->state)); in nv50_zsa_state_create() 920 nv50->constbuf[s][i].size = MIN2(cb->buffer_size, 0x10000); in nv50_set_constant_buffer() 926 nv50->constbuf[s][i].size = MIN2(align(cb->buffer_size, 0x100), 0x10000); in nv50_set_constant_buffer() 1136 unsigned offset, unsigned size) in nv50_so_target_create() 1155 targ->pipe.buffer_size = size; in nv50_so_target_create() 1163 util_range_add(&buf->base, &buf->valid_buffer_range, offset, offset + size); in nv50_so_target_create() 1266 img->u.buf.size == pimages[p].u.buf.size) in nv50_bind_images_range() 1134 nv50_so_target_create(struct pipe_context *pipe, struct pipe_resource *res, unsigned offset, unsigned size) nv50_so_target_create() argument [all...] |
/third_party/node/deps/v8/src/deoptimizer/ |
H A D | translated-state.cc | 908 int object_index = static_cast<int>(object_positions_.size()); in CreateArgumentsElementsTranslatedValues() 909 int value_index = static_cast<int>(frame.values_.size()); in CreateArgumentsElementsTranslatedValues() 967 int value_index = static_cast<int>(frame.values_.size()); in CreateNextTranslatedValue() 1016 int object_index = static_cast<int>(object_positions_.size()); in CreateNextTranslatedValue() 1348 for (size_t j = 0; j < nested_counts.size(); j++) { in Init() 1394 CHECK_LT(static_cast<size_t>(object_index), object_positions_.size()); in GetValueByObjectIndex() 1420 CHECK_LT(static_cast<size_t>(object_index), object_positions_.size()); in InitializeCapturedObjectAt() 1579 CHECK_LT(static_cast<size_t>(object_index), object_positions_.size()); in EnsureCapturedObjectAllocatedAt() 1629 // Check we have the right size. in EnsureCapturedObjectAllocatedAt() 1648 // Verify that the arguments size i in EnsureCapturedObjectAllocatedAt() [all...] |
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_cs.c | 542 rcs->used_vram_kb += bo->base.size / 1024; in amdgpu_lookup_or_add_real_buffer() 544 rcs->used_gart_kb += bo->base.size / 1024; in amdgpu_lookup_or_add_real_buffer() 643 rcs->used_vram_kb += backing->bo->base.size / 1024; in amdgpu_lookup_or_add_sparse_buffer() 645 rcs->used_gart_kb += backing->bo->base.size / 1024; in amdgpu_lookup_or_add_sparse_buffer() 720 * size, aligned to a power of two (and multiplied by 4 to reduce internal in amdgpu_ib_new_buffer() 722 * is the largest power of two that fits into the size field of the in amdgpu_ib_new_buffer() 781 /* This is the minimum size of a contiguous IB. */ in amdgpu_get_new_ib() 784 /* Always allocate at least the size of the biggest cs_check_space call, in amdgpu_get_new_ib() 785 * because precisely the last call might have requested this size. in amdgpu_get_new_ib() 804 ib->used_ib_space + ib_size > ib->big_ib_buffer->size) { in amdgpu_get_new_ib() 1044 unsigned size = align(preamble_num_dw * 4, ws->info.ib_alignment); amdgpu_cs_setup_preemption() local 1202 unsigned size; add_fence_to_list() local [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-device-manager.c | 217 key.size = strlen(name); in entry_write() 219 data.data = (void*)pa_tagstruct_data(t, &data.size); in entry_write() 245 if (data->size != sizeof(struct legacy_entry)) { in legacy_entry_read() 289 key.size = strlen(name); in entry_read() 298 t = pa_tagstruct_new_fixed(data.data, data.size); in entry_read() 396 name = pa_xstrndup(key.data, key.size); in dump_database() 517 if (key.size > strlen(prefix) && strncmp(key.data, prefix, strlen(prefix)) == 0) { in load_or_initialize_entry() 521 name2 = pa_xstrndup(key.data, key.size); in load_or_initialize_entry() 585 if (key.size > strlen(prefix) && strncmp(key.data, prefix, strlen(prefix)) == 0) { in update_highest_priority_device_indexes() 589 name = pa_xstrndup(key.data, key.size); in update_highest_priority_device_indexes() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
H A D | vktBindingDescriptorUpdateTests.cpp | 99 256, // VkDeviceSize size in EmptyDescriptorUpdateCase() 474 const vk::VkDeviceSize vertexBufferSize = static_cast<vk::VkDeviceSize>(fullScreenQuad.size() * sizeof(decltype(fullScreenQuad)::value_type)); in iterate() 579 static_cast<deUint32>(inputAttachments.size()), // deUint32 inputAttachmentCount; in iterate() 581 static_cast<deUint32>(colorAttachments.size()), // deUint32 colorAttachmentCount; in iterate() 595 static_cast<deUint32>(attachmentDescs.size()), // deUint32 attachmentCount; in iterate() 597 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in iterate() 609 const auto framebuffer = vk::makeFramebuffer(vkd, device, renderPass.get(), static_cast<deUint32>(attachments.size()), attachments.data(), kFramebufferExtent.width, kFramebufferExtent.height, kFramebufferExtent.depth); in iterate() 650 vkd.cmdDraw(cmdBuffer, static_cast<deUint32>(fullScreenQuad.size()), 1u, 0u, 0u); in iterate() 943 const vk::VkDeviceSize vertexBufferSize = static_cast<vk::VkDeviceSize>(fullScreenQuad.size() * sizeof(decltype(fullScreenQuad)::value_type)); in iterate() 987 static_cast<deUint32>(colorAttachments.size()), // deUint3 in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
H A D | vktRayQueryCullRayFlagsTests.cpp | 578 static_cast<deUint32>(shaderCreateInfos.size()), // deUint32 stageCount; in initConfiguration() 603 VkDeviceSize(sizeof(tcu::Vec3) * vertices.size()), // VkDeviceSize size; in initConfiguration() 616 deMemcpy(vertexAlloc->getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec3)); in initConfiguration() 652 vkd.cmdDraw(commandBuffer, deUint32(vertices.size()), 1, 0, 0); in fillCommandBuffer() 703 for (deUint32 primitiveNdx = 0; primitiveNdx < primitives.size(); ++primitiveNdx) in verifyImage() 714 for (deUint32 squareNdx = 0; squareNdx < squares.size(); ++squareNdx) in verifyImage() 877 for (deUint32 squareNdx = 0; squareNdx < squares.size(); ++squareNdx) in verifyImage() 1136 for (deUint32 squareNdx = 0; squareNdx < squares.size(); ++squareNdx) in verifyImage() 1954 for (size_t vNdx = 0; vNdx < faceCullingOffsets[faceCullingNdx].size(); vNd in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesBufferTests.cpp | 73 RENDER_SIZE = 128, //!< framebuffer size in pixels 91 VkDeviceSize resourceSize; //!< buffer size in bytes 118 VkBufferCreateInfo referenceCreateInfo, //!< buffer size is ignored in this info 219 referenceCreateInfo.size = sizeof(deUint32); in build() 228 memoryRequirements.size, // VkDeviceSize allocationSize; in build() 244 memBindIter->numChunks * chunkSize, // VkDeviceSize size; in build() 250 referenceCreateInfo.size = std::max(referenceCreateInfo.size, bind.resourceOffset + bind.size); in build() 253 sparseAllocation->resourceSize = referenceCreateInfo.size; in build() 261 makeImageCreateInfo(const VkFormat format, const IVec2& size, const VkImageUsageFlags usage) makeImageCreateInfo() argument [all...] |