Home
last modified time | relevance | path

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

/freebsd-13.1/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-13.1/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-13.1/contrib/llvm-project/lldb/source/DataFormatters/
H A DVectorType.cpp176 llvm::Optional<uint64_t> element_size = element_type.GetByteSize(exe_scope); in CalculateNumChildren() local
178 if (container_size && element_size && *element_size) { in CalculateNumChildren()
179 if (*container_size % *element_size) in CalculateNumChildren()
181 return *container_size / *element_size; in CalculateNumChildren()
/freebsd-13.1/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-13.1/contrib/llvm-project/openmp/runtime/src/include/
H A Domp_lib.f90.var582 function omp_target_memcpy_rect(dst, src, element_size, num_dims, &
588 integer(c_size_t), value :: element_size
606 function omp_target_memcpy_rect_async(dst, src, element_size, &
613 integer(c_size_t), value :: element_size
H A Domp_lib.h.var675 …function omp_target_memcpy_rect(dst, src, element_size, …
681 integer(c_size_t), value :: element_size
701 …function omp_target_memcpy_rect_async(dst, src, element_size, …
709 integer(c_size_t), value :: element_size
/freebsd-13.1/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_handlers.c531 size_t element_size, i; in wpas_dbus_simple_array_property_getter() local
554 element_size = 1; in wpas_dbus_simple_array_property_getter()
558 element_size = sizeof(uint16_t); in wpas_dbus_simple_array_property_getter()
562 element_size = sizeof(uint32_t); in wpas_dbus_simple_array_property_getter()
566 element_size = sizeof(uint64_t); in wpas_dbus_simple_array_property_getter()
569 element_size = sizeof(double); in wpas_dbus_simple_array_property_getter()
573 element_size = sizeof(char *); in wpas_dbus_simple_array_property_getter()
584 i * element_size)) { in wpas_dbus_simple_array_property_getter()
/freebsd-13.1/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c644 size_t element_size, int offset) in kvp_process_ipconfig_file() argument
663 if ((len - strlen(config_buf)) < (element_size + 1)) { in kvp_process_ipconfig_file()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptRuntime.cpp630 uint32_t element_size; // Size of a single element, including padding member
2483 __FUNCTION__, root_el_hdr.type, root_el_hdr.element_size); in LoadAllocation()
2487 if (*alloc->element.datum_size.get() != root_el_hdr.element_size) { in LoadAllocation()
2490 root_el_hdr.element_size, *alloc->element.datum_size.get()); in LoadAllocation()
2578 elem_header.element_size = *elem.datum_size.get(); in PopulateElementHeaders()
/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_ftn_entry.h1028 void *dst, void *src, size_t element_size, int num_dims, in FTN_TARGET_MEMCPY_RECT() argument