Home
last modified time | relevance | path

Searched refs:elem_size (Results 1 – 25 of 49) sorted by relevance

12

/third_party/pixman/pixman/
Dpixman-arm-neon-asm.h76 .macro pixldst1 op, elem_size, reg1, mem_operand, abits
78 op&.&elem_size {d&reg1}, [&mem_operand&, :&abits&]!
80 op&.&elem_size {d&reg1}, [&mem_operand&]!
84 .macro pixldst2 op, elem_size, reg1, reg2, mem_operand, abits
86 op&.&elem_size {d&reg1, d&reg2}, [&mem_operand&, :&abits&]!
88 op&.&elem_size {d&reg1, d&reg2}, [&mem_operand&]!
92 .macro pixldst4 op, elem_size, reg1, reg2, reg3, reg4, mem_operand, abits
94 op&.&elem_size {d&reg1, d&reg2, d&reg3, d&reg4}, [&mem_operand&, :&abits&]!
96 op&.&elem_size {d&reg1, d&reg2, d&reg3, d&reg4}, [&mem_operand&]!
100 .macro pixldst0 op, elem_size, reg1, idx, mem_operand, abits
[all …]
/third_party/ffmpeg/libavcodec/
Daacsbr.h73 INIT_VLC_STATIC(&vlc_sbr[num], 9, sbr_tmp[num].table_size / sbr_tmp[num].elem_size, \
75 sbr_tmp[num].sbr_codes, sbr_tmp[num].elem_size, sbr_tmp[num].elem_size, \
/third_party/protobuf/ruby/ext/google/protobuf_c/
Drepeated_field.c193 int elem_size = native_slot_size(self->field_type); in RepeatedField_reserve() local
203 self->elements = ALLOC_N(uint8_t, elem_size * self->capacity); in RepeatedField_reserve()
205 memcpy(self->elements, old_elems, self->size * elem_size); in RepeatedField_reserve()
352 size_t elem_size = native_slot_size(field_type); in RepeatedField_dup() local
357 for (i = 0; i < self->size; i++, off += elem_size) { in RepeatedField_dup()
373 size_t elem_size = native_slot_size(field_type); in RepeatedField_deep_copy() local
378 for (i = 0; i < self->size; i++, off += elem_size) { in RepeatedField_deep_copy()
398 size_t elem_size = native_slot_size(field_type); in RepeatedField_to_ary() local
403 for (i = 0; i < self->size; i++, off += elem_size) { in RepeatedField_to_ary()
447 size_t elem_size = native_slot_size(field_type); in RepeatedField_eq() local
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_rotate.c362 static av_always_inline void copy_elem(uint8_t *pout, const uint8_t *pin, int elem_size) in copy_elem() argument
365 switch (elem_size) { in copy_elem()
380 memcpy(pout, pin, elem_size); in copy_elem()
385 …ate_internal(uint8_t *dst, const uint8_t *src, int src_linesize, int angle, int elem_size, int len) in simple_rotate_internal() argument
390 memcpy(dst, src, elem_size * len); in simple_rotate_internal()
394 copy_elem(dst + i*elem_size, src + (len-i-1)*src_linesize, elem_size); in simple_rotate_internal()
398 copy_elem(dst + i*elem_size, src + (len-i-1)*elem_size, elem_size); in simple_rotate_internal()
402 copy_elem(dst + i*elem_size, src + i*src_linesize, elem_size); in simple_rotate_internal()
407 …imple_rotate(uint8_t *dst, const uint8_t *src, int src_linesize, int angle, int elem_size, int len) in simple_rotate() argument
409 switch(elem_size) { in simple_rotate()
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Dalloc_tables.c40 int elem_size) in flexbg_offset() argument
48 size = rem_grp * elem_size; in flexbg_offset()
58 ext2fs_get_free_blocks2(fs, start_blk, start_blk + size, elem_size, in flexbg_offset()
73 if (ext2fs_get_free_blocks2(fs, start_blk, last_blk, elem_size, in flexbg_offset()
77 if (ext2fs_get_free_blocks2(fs, 0, last_blk, elem_size, bmap, in flexbg_offset()
/third_party/uboot/u-boot-2020.01/common/
Dmalloc_simple.c63 void *calloc(size_t nmemb, size_t elem_size) in calloc() argument
65 size_t size = nmemb * elem_size; in calloc()
/third_party/ffmpeg/libavutil/
Dmem.c324 void *av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size, in av_dynarray2_add() argument
329 FF_DYNARRAY_ADD(INT_MAX, elem_size, *tab_ptr, *nb_ptr, { in av_dynarray2_add()
330 tab_elem_data = (uint8_t *)*tab_ptr + (*nb_ptr) * elem_size; in av_dynarray2_add()
332 memcpy(tab_elem_data, elem_data, elem_size); in av_dynarray2_add()
334 memset(tab_elem_data, FF_MEMORY_POISON, elem_size); in av_dynarray2_add()
Dmem.h647 void *av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size,
/third_party/boost/boost/interprocess/allocators/
Dallocator.hpp194 void allocate_many(size_type elem_size, size_type num_elements, multiallocation_chain &chain) in allocate_many() argument
196 if(size_overflows<sizeof(T)>(elem_size)){ in allocate_many()
199 mp_mngr->allocate_many(elem_size*sizeof(T), num_elements, chain); in allocate_many()
Dcached_node_allocator.hpp256 void allocate_many(size_type elem_size, size_type num_elements, multiallocation_chain &chain);
Dcached_adaptive_pool.hpp284 void allocate_many(size_type elem_size, size_type num_elements, multiallocation_chain &chain);
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_encoder.cc405 size_t elem_size) { in prepare_space_for_new_elem() argument
407 GPR_DEBUG_ASSERT(elem_size < 65536); in prepare_space_for_new_elem()
410 if (elem_size > c->max_table_size) { in prepare_space_for_new_elem()
420 while (c->table_size + elem_size > c->max_table_size) { in prepare_space_for_new_elem()
425 static_cast<uint16_t>(elem_size); in prepare_space_for_new_elem()
426 c->table_size = static_cast<uint16_t>(c->table_size + elem_size); in prepare_space_for_new_elem()
452 size_t elem_size, uint32_t elem_hash, uint32_t key_hash) { in add_elem() argument
453 uint32_t new_index = prepare_space_for_new_elem(c, elem_size); in add_elem()
460 size_t elem_size, uint32_t key_hash) { in add_key() argument
461 uint32_t new_index = prepare_space_for_new_elem(c, elem_size); in add_key()
/third_party/boost/libs/container/src/
Ddlmalloc.cpp30 (size_t n_elements, size_t elem_size, size_t contiguous_elements, boost_cont_memchain *pchain) in dlmalloc_multialloc_nodes() argument
31 { return boost_cont_multialloc_nodes(n_elements, elem_size, contiguous_elements, pchain); } in dlmalloc_multialloc_nodes()
Ddlmalloc_2_8_6.c1349 DLMALLOC_EXPORT void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1362 size_t elem_size, void* chunks[]);
4786 void* dlcalloc(size_t n_elements, size_t elem_size) { in dlcalloc() argument
4790 req = n_elements * elem_size; in dlcalloc()
4791 if (((n_elements | elem_size) & ~(size_t)0xffff) && in dlcalloc()
4792 (req / n_elements != elem_size)) in dlcalloc()
5300 void** dlindependent_calloc(size_t n_elements, size_t elem_size, in dlindependent_calloc() argument
5302 size_t sz = elem_size; /* serves as 1-element array */ in dlindependent_calloc()
5710 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size) { in mspace_calloc() argument
5719 req = n_elements * elem_size; in mspace_calloc()
[all …]
/third_party/grpc/test/core/transport/
Dmetadata_test.cc320 size_t elem_size = grpc_chttp2_get_size_in_hpack_table(elem, false); in verify_ascii_header_size() local
322 GPR_ASSERT(expected_size == elem_size); in verify_ascii_header_size()
334 size_t elem_size = grpc_chttp2_get_size_in_hpack_table(elem, false); in verify_binary_header_size() local
339 GPR_ASSERT(expected_size == elem_size); in verify_binary_header_size()
/third_party/grpc/third_party/upb/upb/
Dencode.c143 size_t elem_size, uint32_t tag) { in encode_fixedarray() argument
144 size_t bytes = arr->len * elem_size; in encode_fixedarray()
146 const char* ptr = data + bytes - elem_size; in encode_fixedarray()
149 encode_bytes(e, ptr, elem_size); in encode_fixedarray()
152 ptr -= elem_size; in encode_fixedarray()
Dmsg.h309 size_t elem_size = 1 << elem_size_lg2; in _upb_array_append_accessor2() local
316 memcpy(PTR_AT(ptr, arr->len * elem_size, char), value, elem_size); in _upb_array_append_accessor2()
349 size_t elem_size, upb_fieldtype_t type, in _upb_array_append_accessor() argument
352 (void)elem_size; in _upb_array_append_accessor()
/third_party/boost/boost/container/
Dadaptive_pool.hpp249 void allocate_many(size_type elem_size, std::size_t n_elements, multiallocation_chain &chain) in allocate_many() argument
262 …(n_elements, elem_size*sizeof(T), BOOST_CONTAINER_DL_MULTIALLOC_DEFAULT_CONTIGUOUS, reinterpret_ca… in allocate_many()
535 void allocate_many(size_type elem_size, std::size_t n_elements, multiallocation_chain &chain) in allocate_many() argument
539 …(n_elements, elem_size*sizeof(T), BOOST_CONTAINER_DL_MULTIALLOC_DEFAULT_CONTIGUOUS, reinterpret_ca… in allocate_many()
Dallocator.hpp285 void allocate_many(size_type elem_size, std::size_t n_elements, multiallocation_chain &chain) in allocate_many() argument
290 …if(!dlmalloc_multialloc_nodes(n_elements, elem_size*sizeof(T), BOOST_CONTAINER_DL_MULTIALLOC_DEFAU… in allocate_many()
Dnode_allocator.hpp256 void allocate_many(size_type elem_size, std::size_t n_elements, multiallocation_chain &chain) in allocate_many() argument
261 …if(BOOST_UNLIKELY(!dlmalloc_multialloc_nodes(n_elements, elem_size*sizeof(T), BOOST_CONTAINER_DL_M… in allocate_many()
/third_party/boost/boost/container/detail/
Ddlmalloc.hpp44 (size_t n_elements, size_t elem_size, size_t contiguous_elements, boost_cont_memchain *pchain);
/third_party/grpc/test/core/transport/chttp2/
Dhpack_encoder_test.cc348 size_t elem_size = grpc_chttp2_get_size_in_hpack_table(elem, use_true_binary); in verify_table_size_change_match_elem_size() local
375 GPR_ASSERT(g_compressor.table_size == elem_size + initial_table_size); in verify_table_size_change_match_elem_size()
/third_party/boost/boost/interprocess/allocators/detail/
Dallocator_common.hpp360 void allocate_many(size_type elem_size, size_type num_elements, multiallocation_chain &chain) in allocate_many() argument
362 if(size_overflows<sizeof(T)>(elem_size)){ in allocate_many()
365 … this->derived()->get_segment_manager()->allocate_many(elem_size*sizeof(T), num_elements, chain); in allocate_many()
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_malloc.c1138 void *mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1151 size_t elem_size, void *chunks[]);
4402 dlcalloc(size_t n_elements, size_t elem_size) in dlcalloc() argument
4407 req = n_elements * elem_size; in dlcalloc()
4408 if (((n_elements | elem_size) & ~(size_t) 0xffff) && in dlcalloc()
4409 (req / n_elements != elem_size)) in dlcalloc()
4450 dlindependent_calloc(size_t n_elements, size_t elem_size, void *chunks[]) in dlindependent_calloc() argument
4452 size_t sz = elem_size; /* serves as 1-element array */ in dlindependent_calloc()
4833 mspace_calloc(mspace msp, size_t n_elements, size_t elem_size) in mspace_calloc() argument
4843 req = n_elements * elem_size; in mspace_calloc()
[all …]
/third_party/libffi/src/
Ddlmalloc.c1081 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1094 size_t elem_size, void* chunks[]);
4360 void* dlcalloc(size_t n_elements, size_t elem_size) { in dlcalloc() argument
4364 req = n_elements * elem_size; in dlcalloc()
4365 if (((n_elements | elem_size) & ~(size_t)0xffff) && in dlcalloc()
4366 (req / n_elements != elem_size)) in dlcalloc()
4402 void** dlindependent_calloc(size_t n_elements, size_t elem_size, in dlindependent_calloc() argument
4404 size_t sz = elem_size; /* serves as 1-element array */ in dlindependent_calloc()
4758 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size) { in mspace_calloc() argument
4767 req = n_elements * elem_size; in mspace_calloc()
[all …]

12