Home
last modified time | relevance | path

Searched refs:element_size (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/ofed/opensm/complib/
H A Dcl_vector.c191 IN const size_t element_size, in cl_vector_init() argument
199 CL_ASSERT(element_size); in cl_vector_init()
204 p_vector->element_size = element_size; in cl_vector_init()
213 switch (element_size) { in cl_vector_init()
328 p_vector->pfn_copy(p_dest, p_element, p_vector->element_size); in cl_vector_set()
376 alloc_size = new_elements * p_vector->element_size; in cl_vector_set_capacity()
391 p_buf = (void *)(((uint8_t *) p_buf) + p_vector->element_size); in cl_vector_set_capacity()
/freebsd/contrib/flex/src/
H A Dmisc.c142 void *allocate_array (int size, size_t element_size) in allocate_array() argument
147 mem = reallocarray(NULL, (size_t) size, element_size); in allocate_array()
149 size_t num_bytes = (size_t) size * element_size; in allocate_array()
150 mem = (size && SIZE_MAX / (size_t) size < element_size) ? NULL : in allocate_array()
659 void *reallocate_array (void *array, int size, size_t element_size) in reallocate_array() argument
664 new_array = reallocarray(array, (size_t) size, element_size); in reallocate_array()
666 size_t num_bytes = (size_t) size * element_size; in reallocate_array()
667 new_array = (size && SIZE_MAX / (size_t) size < element_size) ? NULL : in reallocate_array()
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/
H A DVectorType.cpp207 std::optional<uint64_t> element_size = llvm::expectedToOptional( in CalculateNumChildren() local
209 if (!element_size || !*element_size) in CalculateNumChildren()
212 if (container_size % *element_size) in CalculateNumChildren()
215 return container_size / *element_size; in CalculateNumChildren()
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_vector.h298 size_t element_size; member
387 IN const size_t element_size,
592 p_vector->pfn_copy(p_src, p_element, p_vector->element_size); in cl_vector_get()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DMsvcStl.cpp53 ExtractMsvcStlStringInfo(ValueObject &valobj, uint64_t element_size) { in ExtractMsvcStlStringInfo() argument
72 size_t bufSize = std::max<size_t>(16 / element_size, 1); in ExtractMsvcStlStringInfo()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dstring.h115 kmemdup_array(const void *src, size_t count, size_t element_size, gfp_t gfp) in kmemdup_array()
117 return (kmemdup(src, size_mul(count, element_size), gfp)); in kmemdup_array()
114 kmemdup_array(const void * src,size_t count,size_t element_size,gfp_t gfp) kmemdup_array() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td941 def OpSubgroup2DBlockLoadINTEL: Op<6231, (outs), (ins ID:$element_size, ID:$block_width, ID:$block_…
943 …"OpSubgroup2DBlockLoadINTEL $element_size $block_width $block_height $block_count $src_base_ptr $m…
944 def OpSubgroup2DBlockLoadTransposeINTEL: Op<6233, (outs), (ins ID:$element_size, ID:$block_width, I…
946 …"OpSubgroup2DBlockLoadTransposeINTEL $element_size $block_width $block_height $block_count $src_ba…
947 def OpSubgroup2DBlockLoadTransformINTEL: Op<6232, (outs), (ins ID:$element_size, ID:$block_width, I…
949 …"OpSubgroup2DBlockLoadTransformINTEL $element_size $block_width $block_height $block_count $src_ba…
950 def OpSubgroup2DBlockPrefetchINTEL: Op<6234, (outs), (ins ID:$element_size, ID:$block_width, ID:$bl…
952 …"OpSubgroup2DBlockPrefetchINTEL $element_size $block_width $block_height $block_count $src_base_pt…
953 def OpSubgroup2DBlockStoreINTEL: Op<6235, (outs), (ins ID:$element_size, ID:$block_width, ID:$block…
955 …"OpSubgroup2DBlockStoreINTEL $element_size $block_width $block_height $block_count $src_ptr $dst_b…
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_res.h263 u16 element_size; /* Size of each entry */ member
511 return (void *)((u8 *)hwq->pbl_ptr[pg_num] + hwq->element_size * pg_idx); in bnxt_qplib_get_qe()
H A Dqplib_res.c215 hwq->element_size = 0; in bnxt_qplib_free_hwq()
388 hwq->element_size = stride; in bnxt_qplib_alloc_init_hwq()
H A Dqplib_fp.c1904 return (que->q_full_delta * wqe_bytes) / que->hwq.element_size; in _translate_q_full_delta()
/freebsd/contrib/llvm-project/openmp/runtime/src/include/
H A Domp_lib.F90.var668 function omp_target_memcpy_rect(dst, src, element_size, num_dims, &
674 integer(c_size_t), value :: element_size
693 function omp_target_memcpy_rect_async(dst, src, element_size, &
701 integer(c_size_t), value :: element_size
H A Domp_lib.h.var737 …function omp_target_memcpy_rect(dst, src, element_size, …
743 integer(c_size_t), value :: element_size
763 …function omp_target_memcpy_rect_async(dst, src, element_size, …
771 integer(c_size_t), value :: element_size
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_handlers.c600 size_t element_size, i; in wpas_dbus_simple_array_property_getter() local
623 element_size = 1; in wpas_dbus_simple_array_property_getter()
627 element_size = sizeof(uint16_t); in wpas_dbus_simple_array_property_getter()
631 element_size = sizeof(uint32_t); in wpas_dbus_simple_array_property_getter()
635 element_size = sizeof(uint64_t); in wpas_dbus_simple_array_property_getter()
638 element_size = sizeof(double); in wpas_dbus_simple_array_property_getter()
642 element_size = sizeof(char *); in wpas_dbus_simple_array_property_getter()
653 i * element_size)) { in wpas_dbus_simple_array_property_getter()
/freebsd/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c643 size_t element_size, int offset) in kvp_process_ipconfig_file() argument
662 if ((len - strlen(config_buf)) < (element_size + 1)) { in kvp_process_ipconfig_file()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1172 uint64_t element_size = GetSizeOfType({ar.ElementType}, index.tpi()); in CreateArrayType() local
1173 if (element_type.isNull() || element_size == 0) in CreateArrayType()
1175 uint64_t element_count = ar.Size / element_size; in CreateArrayType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Features.td825 "true", "In order to emit ldp, first check if the load will be aligned to 2 * element_size">;
828 "true", "In order to emit stp, first check if the store will be aligned to 2 * element_size">;
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_ftn_entry.h1218 void *dst, void *src, size_t element_size, int num_dims, in FTN_TARGET_MEMCPY_RECT() argument
/freebsd/sys/dev/pci/
H A Dpci.c1162 alloc_buffer(void* buffer, size_t element_size, int needed) in alloc_buffer() argument
1170 new_alloc * element_size, M_DEVBUF, M_WAITOK | M_ZERO); in alloc_buffer()
/freebsd/crypto/openssh/
H A Dlibcrux_mlkem768_sha3.h485 size_t element_size) { in chunk_next() argument
492 chunks->slice.ptr = (char *)(chunks->slice.ptr) + chunk_size * element_size; in chunk_next()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttrDocs.td1766 size_t element_size [[clang::require_explicit_initialization]];
1780 // warning: field 'element_size' is not explicitly initialized