/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
D | buffer_backed_descriptor.cc | 83 auto size_in_bytes = transfer_resource->GetSizeInBytes(); in MoveTransferResourceToBufferOutput() local 84 buffer->SetElementCount(size_in_bytes / buffer->GetFormat()->SizeInBytes()); in MoveTransferResourceToBufferOutput() 85 buffer->ValuePtr()->resize(size_in_bytes); in MoveTransferResourceToBufferOutput() 86 std::memcpy(buffer->ValuePtr()->data(), resource_memory_ptr, size_in_bytes); in MoveTransferResourceToBufferOutput()
|
D | push_constant.cc | 54 uint32_t size_in_bytes = it->offset + in GetVkPushConstantRange() local 65 assert(size_in_bytes + 3U <= std::numeric_limits<uint32_t>::max()); in GetVkPushConstantRange() 66 range.size = ((size_in_bytes + 3U) / 4U) * 4U; in GetVkPushConstantRange()
|
D | transfer_buffer.cc | 24 uint32_t size_in_bytes, in TransferBuffer() argument 26 : Resource(device, size_in_bytes) { in TransferBuffer()
|
D | buffer_descriptor.cc | 63 auto size_in_bytes = in CreateResourceIfNeeded() local 66 device_, size_in_bytes, amber_buffer->GetFormat()); in CreateResourceIfNeeded()
|
D | resource.cc | 50 Resource::Resource(Device* device, uint32_t size_in_bytes) in Resource() argument 51 : device_(device), size_in_bytes_(size_in_bytes) {} in Resource()
|
D | transfer_buffer.h | 34 TransferBuffer(Device* device, uint32_t size_in_bytes, Format* format);
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 221 tex->tex.size_in_bytes = 0; in r300_setup_miptree() 256 tex->tex.offset_in_bytes[i] = tex->tex.size_in_bytes; in r300_setup_miptree() 257 tex->tex.size_in_bytes = tex->tex.offset_in_bytes[i] + size; in r300_setup_miptree() 265 u_minify(tex->tex.depth0, i), stride, tex->tex.size_in_bytes, in r300_setup_miptree() 535 tex->b.last_level, tex->tex.size_in_bytes, in r300_tex_print_info() 609 if (tex->buf && tex->tex.size_in_bytes > tex->buf->size) { in r300_texture_desc_init() 613 if (tex->tex.size_in_bytes > tex->buf->size) { in r300_texture_desc_init() 619 tex->buf->size, tex->tex.size_in_bytes); in r300_texture_desc_init()
|
D | r300_texture.c | 1077 tex->tex.size_in_bytes >= (uint64_t)rscreen->info.vram_size_kb * 1024) { in r300_texture_create_object() 1082 tex->tex.size_in_bytes >= (uint64_t)rscreen->info.gart_size_kb * 1024) { in r300_texture_create_object() 1097 tex->buf = rws->buffer_create(rws, tex->tex.size_in_bytes, 2048, in r300_texture_create_object()
|
D | r300_context.h | 353 unsigned size_in_bytes; member
|
/third_party/mesa3d/src/amd/common/ |
D | ac_rgp.c | 101 int32_t size_in_bytes; member 195 chunk->header.size_in_bytes = sizeof(*chunk); in ac_sqtt_fill_cpu_info() 440 chunk->header.size_in_bytes = sizeof(*chunk); in ac_sqtt_fill_asic_info() 600 chunk->header.size_in_bytes = sizeof(*chunk); in ac_sqtt_fill_api_info() 630 chunk->header.size_in_bytes = chunk_size; in ac_sqtt_fill_code_object() 663 chunk->header.size_in_bytes = (rgp_loader_events->record_count * in ac_sqtt_fill_loader_events() 694 chunk->header.size_in_bytes = (rgp_pso_correlation->record_count * in ac_sqtt_fill_pso_correlation() 749 chunk->header.size_in_bytes = sizeof(*chunk); in ac_sqtt_fill_sqtt_desc() 778 chunk->header.size_in_bytes = sizeof(*chunk) + size; in ac_sqtt_fill_sqtt_data() 836 chunk->header.size_in_bytes = queue_info_size + queue_event_size + in ac_sqtt_fill_queue_event_timings() [all …]
|
/third_party/vk-gl-cts/external/amber/src/android_sample/jni/ |
D | amber_script.cc | 129 size_t size_in_bytes = AAsset_getLength(asset); in ReadContent() local 132 std::vector<uint8_t> content(size_in_bytes); in ReadContent() 134 AAsset_read(asset, content.data(), size_in_bytes); in ReadContent()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/process/ |
D | cpu_set.rs | 36 pub(crate) fn CPU_COUNT_S(size_in_bytes: usize, cpuset: &RawCpuSet) -> u32 { in CPU_COUNT_S() 38 let idx = size_in_bytes / size_of_mask; in CPU_COUNT_S()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | radeon_vcn_enc_1_2.c | 270 uint32_t *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_enc_nalu_sps() local 344 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_enc_nalu_sps() 352 uint32_t *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_enc_nalu_sps_hevc() local 442 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_enc_nalu_sps_hevc() 465 uint32_t *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_enc_nalu_prefix() local 495 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_enc_nalu_prefix() 509 unsigned *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_enc_nalu_sei() local 604 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_enc_nalu_sei() 612 uint32_t *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_enc_nalu_pps() local 639 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_enc_nalu_pps() [all …]
|
D | radeon_vcn_enc_3_0.c | 110 uint32_t *size_in_bytes; in radeon_enc_nalu_pps_hevc() local 114 size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_enc_nalu_pps_hevc() 166 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_enc_nalu_pps_hevc()
|
D | radeon_vcn_enc_2_0.c | 234 uint32_t *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_enc_nalu_sps_hevc() local 329 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_enc_nalu_sps_hevc() 337 uint32_t *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_enc_nalu_pps_hevc() local 387 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_enc_nalu_pps_hevc()
|
D | radeon_uvd_enc_1_1.c | 394 uint32_t *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_uvd_enc_nalu_sps_hevc() local 481 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_uvd_enc_nalu_sps_hevc() 489 uint32_t *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_uvd_enc_nalu_pps_hevc() local 541 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_uvd_enc_nalu_pps_hevc() 549 uint32_t *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_uvd_enc_nalu_vps_hevc() local 595 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_uvd_enc_nalu_vps_hevc() 603 uint32_t *size_in_bytes = &enc->cs.current.buf[enc->cs.current.cdw++]; in radeon_uvd_enc_nalu_aud_hevc() local 632 *size_in_bytes = (enc->bits_output + 7) / 8; in radeon_uvd_enc_nalu_aud_hevc()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | verifier.cc | 45 const uint32_t size_in_bytes = (src_bit_offset + bits + 7) / kBitsPerByte; in CopyBitsOfMemoryToBuffer() local 46 assert(size_in_bytes <= kBitsPerByte); in CopyBitsOfMemoryToBuffer() 50 for (uint32_t i = 0; i < size_in_bytes; ++i) { in CopyBitsOfMemoryToBuffer() 531 size_t size_in_bytes = buffer_element_count * fmt->SizeInBytes(); in ProbeSSBO() local 532 if ((elem_count * fmt->SizeInBytes()) + offset > size_in_bytes) { in ProbeSSBO() 537 std::to_string(size_in_bytes) + " bytes"); in ProbeSSBO()
|
D | buffer.cc | 398 void Buffer::SetSizeInBytes(uint32_t size_in_bytes) { in SetSizeInBytes() argument 399 assert(size_in_bytes % format_->SizeInBytes() == 0); in SetSizeInBytes() 400 element_count_ = size_in_bytes / format_->SizeInBytes(); in SetSizeInBytes() 401 bytes_.resize(size_in_bytes); in SetSizeInBytes()
|
D | buffer.h | 187 void SetSizeInBytes(uint32_t size_in_bytes);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | SmallVector.cpp | 21 size_t CurSizeBytes = size_in_bytes(); in grow_pod()
|
/third_party/node/src/ |
D | aliased_buffer.h | 39 const size_t size_in_bytes = in AliasedBufferBase() local 44 isolate_, size_in_bytes); in AliasedBufferBase()
|
/third_party/flutter/skia/third_party/externals/imgui/misc/freetype/ |
D | imgui_freetype.cpp | 298 memset(src_tmp_array.Data, 0, (size_t)src_tmp_array.size_in_bytes()); in ImFontAtlasBuildWithFreeType() 299 memset(dst_tmp_array.Data, 0, (size_t)dst_tmp_array.size_in_bytes()); in ImFontAtlasBuildWithFreeType() 392 memset(buf_rects.Data, 0, (size_t)buf_rects.size_in_bytes()); in ImFontAtlasBuildWithFreeType()
|
/third_party/skia/third_party/externals/imgui/misc/freetype/ |
D | imgui_freetype.cpp | 408 memset((void*)src_tmp_array.Data, 0, (size_t)src_tmp_array.size_in_bytes()); in ImFontAtlasBuildWithFreeTypeEx() 409 memset((void*)dst_tmp_array.Data, 0, (size_t)dst_tmp_array.size_in_bytes()); in ImFontAtlasBuildWithFreeTypeEx() 500 memset(buf_rects.Data, 0, (size_t)buf_rects.size_in_bytes()); in ImFontAtlasBuildWithFreeTypeEx()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/ |
D | gstvp9statefulparser.c | 270 init_bool (Vp9BoolDecoder * bd, GstBitReader * br, guint size_in_bytes) in init_bool() argument 274 if (size_in_bytes < 1) in init_bool() 282 bd->bits_left = 8 * size_in_bytes; in init_bool()
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui.h | 1718 inline int size_in_bytes() const { return Size * (int)sizeof(T); } in size_in_bytes() function 2586 …size_in_bytes = (IM_UNICODE_CODEPOINT_MAX + 1) / 8; UsedChars.resize(size_in_bytes / (int)sizeof(I… in Clear() local
|