/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstcudabufferpool.c | 62 guint max_align, n; in gst_cuda_buffer_pool_set_config() local 104 max_align = params->align; in gst_cuda_buffer_pool_set_config() 113 max_align |= valign.stride_align[n]; in gst_cuda_buffer_pool_set_config() 116 valign.stride_align[n] = max_align; in gst_cuda_buffer_pool_set_config() 124 if (params->align < max_align) { in gst_cuda_buffer_pool_set_config() 127 (guint) params->align, max_align); in gst_cuda_buffer_pool_set_config() 129 params->align = max_align; in gst_cuda_buffer_pool_set_config()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | gstvideopool.c | 173 guint max_align, n; in video_buffer_pool_set_config() local 178 max_align = priv->params.align; in video_buffer_pool_set_config() 180 max_align |= priv->video_align.stride_align[n]; in video_buffer_pool_set_config() 183 priv->video_align.stride_align[n] = max_align; in video_buffer_pool_set_config() 191 if (priv->params.align < max_align) { in video_buffer_pool_set_config() 194 (guint) priv->params.align, max_align); in video_buffer_pool_set_config() 195 priv->params.align = max_align; in video_buffer_pool_set_config()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglbufferpool.c | 93 guint max_align, n; in gst_gl_buffer_pool_set_config() local 148 max_align = alloc_params.align; in gst_gl_buffer_pool_set_config() 158 max_align |= priv->gl_params->valign->stride_align[n]; in gst_gl_buffer_pool_set_config() 161 priv->gl_params->valign->stride_align[n] = max_align; in gst_gl_buffer_pool_set_config() 169 if (alloc_params.align < max_align) { in gst_gl_buffer_pool_set_config() 172 (guint) alloc_params.align, max_align); in gst_gl_buffer_pool_set_config() 174 alloc_params.align = max_align; in gst_gl_buffer_pool_set_config()
|
D | gstglmemory.c | 338 guint max_align, n; in gst_gl_memory_init() local 340 max_align = gst_memory_alignment; in gst_gl_memory_init() 341 max_align |= params->align; in gst_gl_memory_init() 343 max_align |= mem->valign.stride_align[n]; in gst_gl_memory_init() 345 if (params->align < max_align && max_align > gst_memory_alignment) { in gst_gl_memory_init() 347 "than the max required video alignment %u", params->align, max_align); in gst_gl_memory_init()
|
/third_party/elfutils/libasm/ |
D | asm_align.c | 108 if (asmscn->max_align < value) in asm_align() 110 asmscn->max_align = value; in asm_align() 117 if (asmscn->data.up->max_align < value) in asm_align() 118 asmscn->data.up->max_align = value; in asm_align()
|
D | asm_end.c | 98 offset = ((offset + asmsubscn->max_align - 1) in binary_end() 99 & ~(asmsubscn->max_align - 1)); in binary_end() 121 newdata->d_align = first ? asmsubscn->max_align : 1; in binary_end() 427 shdr->sh_addralign = asmscn->max_align; in binary_end()
|
D | asm_newsubscn.c | 84 newp->max_align = 1; in asm_newsubscn()
|
D | libasmP.h | 104 GElf_Word max_align; member
|
D | asm_newscn.c | 118 result->max_align = 1; in binary_newscn()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | comp.rs | 598 let mut max_align = 0; in bitfields_to_allocation_units() localVariable 655 max_align = cmp::max(max_align, bitfield_align); in bitfields_to_allocation_units() 1119 let mut max_align = 1; in layout() localVariable 1122 max_align = cmp::max(max_align, layout.align); in layout() 1125 Some(Layout::new(max_size, max_align)) in layout()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | symbol.c | 88 unsigned long max_align; member 208 .max_align = 1, in examine_struct_union_type() 228 if (member->ctype.alignment > info.max_align && !sym->packed) { in examine_struct_union_type() 231 info.max_align = member->ctype.alignment; in examine_struct_union_type() 242 sym->ctype.alignment = info.max_align; in examine_struct_union_type()
|
/third_party/skia/third_party/externals/tint/src/ |
D | intrinsic_table.cc | 690 uint32_t max_align = 0; in build_struct() local 696 max_align = std::max(max_align, align); in build_struct() 708 uint32_t size_with_padding = utils::RoundUp(max_align, offset); in build_struct() 713 /* align */ max_align, in build_struct()
|
/third_party/mesa3d/src/compiler/ |
D | glsl_types.cpp | 2220 unsigned max_align = 0; in std140_size() local 2242 max_align = MAX2(align, max_align); in std140_size() 2247 size = glsl_align(size, MAX2(max_align, 16)); in std140_size() 2588 unsigned max_align = 0; in std430_size() local 2605 max_align = MAX2(align, max_align); in std430_size() 2607 size = glsl_align(size, max_align); in std430_size()
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavviddec.c | 749 gsize max_align; in gst_ffmpegvideodec_prepare_dr_pool() local 768 max_align = DEFAULT_STRIDE_ALIGN; in gst_ffmpegvideodec_prepare_dr_pool() 769 max_align |= params.align; in gst_ffmpegvideodec_prepare_dr_pool() 773 max_align |= linesize_align[i] - 1; in gst_ffmpegvideodec_prepare_dr_pool() 777 align.stride_align[i] = max_align; in gst_ffmpegvideodec_prepare_dr_pool() 779 params.align = max_align; in gst_ffmpegvideodec_prepare_dr_pool()
|
/third_party/libbpf/src/ |
D | btf_dump.c | 837 int max_align = 1, align, i, bit_sz; in btf_is_struct_packed() local 848 max_align = max(align, max_align); in btf_is_struct_packed() 851 if (t->size % max_align != 0) in btf_is_struct_packed()
|
D | btf.c | 699 int i, max_align = 1, align; in btf__align_of() local 705 max_align = max(max_align, align); in btf__align_of() 718 if ((t->size % max_align) != 0) in btf__align_of() 721 return max_align; in btf__align_of()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 74 uint32_t max_align = 0; in radv_mutable_descriptor_type_size_alignment() local 102 max_align = MAX2(max_align, align); in radv_mutable_descriptor_type_size_alignment() 106 *out_align = max_align; in radv_mutable_descriptor_type_size_alignment()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_lower_to_hw_instr.cpp | 982 unsigned max_align = src.def.regClass().type() == RegType::vgpr ? 4 : 16; in split_copy() local 988 bool can_increase = def_reg.reg_b % MIN2(next, max_align) == 0 && in split_copy() 991 can_increase = op_reg.reg_b % MIN2(next, max_align) == 0; in split_copy()
|