Home
last modified time | relevance | path

Searched refs:elt_size (Results 1 – 5 of 5) sorted by relevance

/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstqueuearray.c48 guint elt_size; member
73 array->elt_size = struct_size; in gst_queue_array_new_for_struct()
158 array->clear_func (array->array + pos * array->elt_size); in gst_queue_array_clear_idx()
160 array->clear_func (*(gpointer *) (array->array + pos * array->elt_size)); in gst_queue_array_clear_idx()
210 p_struct = array->array + (array->elt_size * array->head); in gst_queue_array_pop_head_struct()
267 return array->array + (array->elt_size * array->head); in gst_queue_array_peek_head_struct()
329 return array->array + (array->elt_size * idx); in gst_queue_array_peek_nth_struct()
335 gsize elt_size = array->elt_size; in gst_queue_array_do_expand() local
350 array2 = g_malloc0_n (newsize, elt_size); in gst_queue_array_do_expand()
363 memcpy (array2, array->array + (elt_size * (gsize) array->head), in gst_queue_array_do_expand()
[all …]
/third_party/glib/glib/
Dgarray.c111 guint elt_size; member
153 #define g_array_elt_len(array,i) ((array)->elt_size * (i))
181 guint elt_size) in g_array_new() argument
183 g_return_val_if_fail (elt_size > 0, NULL); in g_array_new()
185 return g_array_sized_new (zero_terminated, clear, elt_size, 0); in g_array_new()
258 guint elt_size, in g_array_sized_new() argument
263 g_return_val_if_fail (elt_size > 0, NULL); in g_array_sized_new()
272 array->elt_size = elt_size; in g_array_sized_new()
383 return rarray->elt_size; in g_array_get_element_size()
793 (array->len - (index_ + length)) * array->elt_size); in g_array_remove_range()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_ir.h290 sb_value_pool(unsigned elt_size, unsigned block_elts = 256)
291 : sb_pool(block_elts * (aligned_elt_size = ((elt_size +
/third_party/quickjs/
Dquickjs.c52508 int elt_size; member
52524 a_idx * (size_t)psc->elt_size); in js_TA_cmp_generic()
52526 b_idx * (size_t)(psc->elt_size)); in js_TA_cmp_generic()
52563 size_t elt_size; in js_typed_array_sort() local
52629 elt_size = 1 << typed_array_size_log2(p->class_id); in js_typed_array_sort()
52642 tsc.elt_size = elt_size; in js_typed_array_sort()
52647 array_tmp = js_malloc(ctx, len * elt_size); in js_typed_array_sort()
52653 memcpy(array_tmp, array_ptr, len * elt_size); in js_typed_array_sort()
52654 switch(elt_size) { in js_typed_array_sort()
52685 rqsort(array_ptr, len, elt_size, cmpfun, &tsc); in js_typed_array_sort()
/third_party/gstreamer/gstreamer/
DChangeLog20 Check that elt_size*newsize doesn't overflow when expanding a