/freebsd/contrib/ofed/opensm/complib/ |
H A D | cl_vector.c | 191 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 D | misc.c | 142 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 D | VectorType.cpp | 207 std::optional<uint64_t> element_size = 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 D | cl_vector.h | 298 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/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_res.h | 263 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 D | qplib_res.c | 215 hwq->element_size = 0; in bnxt_qplib_free_hwq() 388 hwq->element_size = stride; in bnxt_qplib_alloc_init_hwq()
|
H A D | qplib_fp.c | 1896 return (que->q_full_delta * wqe_bytes) / que->hwq.element_size; in _translate_q_full_delta()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/ |
H A D | SymbolFileCTF.cpp | 439 std::optional<uint64_t> element_size = element_type->GetByteSize(nullptr); in CreateArray() local 440 if (!element_size) in CreateArray() 446 uint64_t size = ctf_array.nelems * *element_size; in CreateArray()
|
/freebsd/contrib/llvm-project/openmp/runtime/src/include/ |
H A D | omp_lib.F90.var | 656 function omp_target_memcpy_rect(dst, src, element_size, num_dims, & 662 integer(c_size_t), value :: element_size 681 function omp_target_memcpy_rect_async(dst, src, element_size, & 689 integer(c_size_t), value :: element_size
|
H A D | omp_lib.h.var | 713 …function omp_target_memcpy_rect(dst, src, element_size, … 719 integer(c_size_t), value :: element_size 739 …function omp_target_memcpy_rect_async(dst, src, element_size, … 747 integer(c_size_t), value :: element_size
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 600 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 D | hv_kvp_daemon.c | 643 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 D | PdbAstBuilder.cpp | 1172 uint64_t element_size = GetSizeOfType({ar.ElementType}, index.tpi()); in CreateArrayType() 1173 if (element_type.isNull() || element_size == 0) in CreateArrayType() 1175 uint64_t element_count = ar.Size / element_size; in CreateArrayType() 1171 uint64_t element_size = GetSizeOfType({ar.ElementType}, index.tpi()); CreateArrayType() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64Features.td | 753 "true", "In order to emit ldp, first check if the load will be aligned to 2 * element_size">; 756 "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 D | kmp_ftn_entry.h | 1094 void *dst, void *src, size_t element_size, int num_dims, in FTN_TARGET_ASSOCIATE_PTR() 1085 FTN_TARGET_MEMCPY_RECT(void * dst,void * src,size_t element_size,int num_dims,const size_t * volume,const size_t * dst_offsets,const size_t * src_offsets,const size_t * dst_dimensions,const size_t * src_dimensions,int dst_device,int src_device) FTN_TARGET_MEMCPY_RECT() argument
|
/freebsd/sys/dev/pci/ |
H A D | pci.c | 1127 alloc_buffer(void* buffer, size_t element_size, int needed) in alloc_buffer() argument 1135 new_alloc * element_size, M_DEVBUF, M_WAITOK | M_ZERO); in alloc_buffer()
|