Home
last modified time | relevance | path

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

12

/openbsd/gnu/gcc/libstdc++-v3/libsupc++/
H A Dvec.cc71 std::size_t element_size, in __cxa_vec_new() argument
83 std::size_t element_size, in __cxa_vec_new2() argument
121 std::size_t element_size, in __cxa_vec_new3() argument
161 std::size_t element_size, in __cxa_vec_ctor() argument
190 std::size_t element_size, in __cxa_vec_cctor() argument
202 ix++, src_ptr += element_size, dest_ptr += element_size) in __cxa_vec_cctor()
220 std::size_t element_size, in __cxa_vec_dtor() argument
234 ptr -= element_size; in __cxa_vec_dtor()
255 std::size_t element_size, in __cxa_vec_cleanup() argument
269 ptr -= element_size; in __cxa_vec_cleanup()
[all …]
H A Dcxxabi.h89 size_t element_size,
/openbsd/gnu/lib/libstdc++/libstdc++/libsupc++/
H A Dvec.cc65 std::size_t element_size, in __cxa_vec_new() argument
77 std::size_t element_size, in __cxa_vec_new2() argument
110 std::size_t element_size, in __cxa_vec_new3() argument
145 std::size_t element_size, in __cxa_vec_ctor() argument
173 std::size_t element_size, in __cxa_vec_cctor() argument
185 ix++, src_ptr += element_size, dest_ptr += element_size) in __cxa_vec_cctor()
202 std::size_t element_size, in __cxa_vec_dtor() argument
216 ptr -= element_size; in __cxa_vec_dtor()
237 std::size_t element_size, in __cxa_vec_cleanup() argument
251 ptr -= element_size; in __cxa_vec_cleanup()
[all …]
H A Dcxxabi.h465 __SIZE_TYPE__ element_size,
/openbsd/gnu/llvm/libcxxabi/src/
H A Dcxa_vector.cpp149 size_t element_size, in calculate_allocation_size_or_throw() argument
199 element_count, element_size, padding_size); in __cxa_vec_new2()
228 element_count, element_size, padding_size); in __cxa_vec_new3()
262 size_t element_size, in __cxa_vec_cctor() argument
272 ++idx, src_ptr += element_size, dest_ptr += element_size ) in __cxa_vec_cctor()
309 size_t element_size, in __cxa_vec_dtor() argument
320 ptr -= element_size; in __cxa_vec_dtor()
335 size_t element_size, in __cxa_vec_cleanup() argument
344 ptr -= element_size; in __cxa_vec_cleanup()
372 size_t element_size, in __cxa_vec_delete() argument
[all …]
/openbsd/gnu/llvm/libcxxabi/include/
H A Dcxxabi.h93 __cxa_vec_new(size_t element_count, size_t element_size, size_t padding_size,
97 __cxa_vec_new2(size_t element_count, size_t element_size, size_t padding_size,
102 __cxa_vec_new3(size_t element_count, size_t element_size, size_t padding_size,
107 __cxa_vec_ctor(void *array_address, size_t element_count, size_t element_size,
112 size_t element_size,
117 size_t element_size,
121 size_t element_size,
126 __cxa_vec_delete2(void *array_address, size_t element_size, size_t padding_size,
130 __cxa_vec_delete3(void *__array_address, size_t element_size,
136 size_t element_size, void (*constructor)(void *, void *),
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dvarray.c30 static const size_t element_size[NUM_VARRAY_DATA] = { variable
68 size_t data_size = num_elements * element_size[element_kind];
93 size_t elem_size = element_size[va->type];
114 size_t data_size = element_size[va->type] * va->num_elements;
H A Dstor-layout.c1669 tree element_size; local
1680 element_size = TYPE_SIZE (element);
1693 element_size = integer_one_node;
1696 TYPE_SIZE (type) = size_binop (MULT_EXPR, element_size,
1707 if (TYPE_SIZE_UNIT (element) != 0 && ! integer_onep (element_size))
/openbsd/gnu/llvm/lldb/source/DataFormatters/
H A DVectorType.cpp179 std::optional<uint64_t> element_size = element_type.GetByteSize(exe_scope); in CalculateNumChildren() local
181 if (container_size && element_size && *element_size) { in CalculateNumChildren()
182 if (*container_size % *element_size) in CalculateNumChildren()
184 return *container_size / *element_size; in CalculateNumChildren()
/openbsd/gnu/llvm/lldb/examples/synthetic/
H A Dgnu_libstdcpp.py693 self.element_size = -1
703 self.element_size = self.element_type.GetByteSize()
711 if self.element_size < 512:
712 self.block_size = 512 // self.element_size
742 … return self.first_elem.CreateChildAtOffset(name, index * self.element_size, self.element_type)
753 return node.CreateChildAtOffset(name, j * self.element_size, self.element_type)
772 if self.block_size < 0 or self.element_size < 0:
800 … self.first_node_size = (last_node_last_elem - first_node_first_elem) // self.element_size
803 … self.first_node_size = (first_node_last_elem - first_node_first_elem) // self.element_size
809 count += (last_node_last_elem - last_node_first_elem) // self.element_size
H A Dlibcxx.py644 self.element_size = -1
647 (self.block_size, self.element_size))
653 self.element_size = self.element_type.GetByteSize()
659 if self.element_size < 256:
660 self.block_size = 4096 // self.element_size
/openbsd/usr.bin/lex/
H A Dmisc.c151 allocate_array(int size, size_t element_size) in allocate_array() argument
154 size_t num_bytes = element_size * size; in allocate_array()
774 reallocate_array(void *array, int size, size_t element_size) in reallocate_array() argument
777 size_t num_bytes = element_size * size; in reallocate_array()
/openbsd/gnu/usr.bin/binutils-2.17/gas/config/
H A Dobj-coff.c59 unsigned long element_size; member
71 unsigned long element_size) in stack_init() argument
87 st->element_size = element_size; in stack_init()
94 if (st->pointer + st->element_size >= st->size) in stack_push()
100 memcpy (st->data + st->pointer, element, st->element_size); in stack_push()
101 st->pointer += st->element_size; in stack_push()
108 if (st->pointer < st->element_size) in stack_pop()
113 st->pointer -= st->element_size; in stack_pop()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Deval.c344 int element_size = TYPE_LENGTH (VALUE_TYPE (element)); in init_array_element() local
364 + (index - low_bound) * element_size, in init_array_element()
365 VALUE_CONTENTS (element), element_size); in init_array_element()
373 memcpy (VALUE_CONTENTS_RAW (array) + (index - low_bound) * element_size, in init_array_element()
374 VALUE_CONTENTS (element), element_size); in init_array_element()
513 int element_size = TYPE_LENGTH (check_typedef (element_type)); in evaluate_subexp_standard() local
518 high_bound = (TYPE_LENGTH (type) / element_size) - 1; in evaluate_subexp_standard()
548 + (index - low_bound) * element_size, in evaluate_subexp_standard()
550 element_size); in evaluate_subexp_standard()
H A Dmips-linux-tdep.c368 int element_size = TARGET_PTR_BIT == 32 ? 4 : 8; in mips64_linux_get_longjmp_target() local
372 if (target_read_memory (jb_addr + MIPS64_LINUX_JB_PC * element_size, in mips64_linux_get_longjmp_target()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_ras.c1346 const unsigned int element_size = in amdgpu_ras_sysfs_badpages_read() local
1348 unsigned int start = div64_ul(ppos + element_size - 1, element_size); in amdgpu_ras_sysfs_badpages_read()
1349 unsigned int end = div64_ul(ppos + count - 1, element_size); in amdgpu_ras_sysfs_badpages_read()
1360 s += scnprintf(&buf[s], element_size + 1, in amdgpu_ras_sysfs_badpages_read()
1769 data->element_size); in amdgpu_ras_interrupt_handler()
1817 data->element_size); in amdgpu_ras_interrupt_dispatch()
1872 .element_size = sizeof(struct amdgpu_iv_entry), in amdgpu_ras_interrupt_add_handler()
1879 data->aligned_element_size = ALIGN(data->element_size, 8); in amdgpu_ras_interrupt_add_handler()
H A Damdgpu_ras.h472 unsigned int element_size; member
/openbsd/gnu/usr.bin/binutils/gas/config/
H A Dobj-coff.c48 unsigned long element_size; member
83 stack_init (chunk_size, element_size) in stack_init() argument
85 unsigned long element_size;
101 st->element_size = element_size;
121 if (st->pointer + st->element_size >= st->size)
127 memcpy (st->data + st->pointer, element, st->element_size);
128 st->pointer += st->element_size;
136 if (st->pointer < st->element_size)
141 st->pointer -= st->element_size;
/openbsd/gnu/gcc/gcc/
H A Dstor-layout.c1716 tree element_size; in layout_type() local
1727 element_size = TYPE_SIZE (element); in layout_type()
1740 element_size = integer_one_node; in layout_type()
1752 TYPE_SIZE (type) = size_binop (MULT_EXPR, element_size, in layout_type()
1764 if (TYPE_SIZE_UNIT (element) != 0 && ! integer_onep (element_size)) in layout_type()
H A Dtree-data-ref.c907 tree array_size, data_size, element_size; in estimate_niter_from_size_of_data() local
914 element_size = TYPE_SIZE (TREE_TYPE (TREE_TYPE (opnd0))); in estimate_niter_from_size_of_data()
917 || TREE_CODE (element_size) != INTEGER_CST) in estimate_niter_from_size_of_data()
921 array_size, element_size); in estimate_niter_from_size_of_data()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D920428-2.c121 typedef char *(*proc_alloc_t)(unsigned num_elements, unsigned element_size, const char *client_name…
122 typedef void (*proc_free_t)(char *data, unsigned num_elements, unsigned element_size, const char *c…
/openbsd/gnu/usr.bin/binutils/binutils/
H A Dwrstabs.c1019 unsigned int element_size; in stab_array_type() local
1028 element_size = info->type_stack->size; in stab_array_type()
1056 size = element_size * ((high - low) + 1); in stab_array_type()
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Dwrstabs.c1021 unsigned int element_size; in stab_array_type() local
1030 element_size = info->type_stack->size; in stab_array_type()
1058 size = element_size * ((high - low) + 1); in stab_array_type()
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1170 uint64_t element_size = GetSizeOfType({ar.ElementType}, index.tpi()); in CreateArrayType() local
1171 if (element_type.isNull() || element_size == 0) in CreateArrayType()
1173 uint64_t element_count = ar.Size / element_size; in CreateArrayType()
/openbsd/gnu/llvm/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptRuntime.cpp630 uint32_t element_size; // Size of a single element, including padding member
2472 __FUNCTION__, root_el_hdr.type, root_el_hdr.element_size); in LoadAllocation()
2476 if (*alloc->element.datum_size.get() != root_el_hdr.element_size) { in LoadAllocation()
2479 root_el_hdr.element_size, *alloc->element.datum_size.get()); in LoadAllocation()
2567 elem_header.element_size = *elem.datum_size.get(); in PopulateElementHeaders()

12