Searched refs:elt_size (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-11-stable/contrib/gcc/
H A Dvec.c97 vec_gc_o_reserve_1 (void *vec, int reserve, size_t vec_offset, size_t elt_size, argument
106 vec = ggc_realloc_stat (vec, vec_offset + alloc * elt_size PASS_MEM_STAT);
147 vec_gc_o_reserve (void *vec, int reserve, size_t vec_offset, size_t elt_size
150 return vec_gc_o_reserve_1 (vec, reserve, vec_offset, elt_size, false
160 size_t elt_size MEM_STAT_DECL)
162 return vec_gc_o_reserve_1 (vec, reserve, vec_offset, elt_size, true
170 size_t elt_size, bool exact MEM_STAT_DECL)
178 vec = xrealloc (vec, vec_offset + alloc * elt_size);
211 vec_heap_o_reserve (void *vec, int reserve, size_t vec_offset, size_t elt_size
214 return vec_heap_o_reserve_1 (vec, reserve, vec_offset, elt_size, fals
169 vec_heap_o_reserve_1(void *vec, int reserve, size_t vec_offset, size_t elt_size, bool exact MEM_STAT_DECL) argument
[all...]
H A Dalloc-pool.h46 size_t elt_size; member in struct:alloc_pool_def
H A Dalloc-pool.c157 pool->elt_size = size;
230 desc->allocated+=pool->elt_size;
256 for (i = 0; i < pool->elts_per_block; i++, block += pool->elt_size)
295 memset (ptr, 0xaf, pool->elt_size - offsetof (allocation_object, u.data));
H A Dtree-ssa-ccp.c1543 tree array_type, elt_type, elt_size; local
1575 elt_size = TYPE_SIZE_UNIT (elt_type);
1578 if (TREE_CODE (elt_size) != INTEGER_CST)
1579 elt_size = size_int (TYPE_ALIGN (elt_type));
1588 if (TREE_CODE (elt_size) != INTEGER_CST
1592 TREE_INT_CST_LOW (elt_size),
1593 TREE_INT_CST_HIGH (elt_size),
1885 tree elt_size = TYPE_SIZE_UNIT (elt_type); local
1890 if (TREE_CODE (elt_size) != INTEGER_CST)
1912 array_idx = int_const_binop (MULT_EXPR, array_idx, elt_size,
[all...]
H A Ddwarf2out.c2720 unsigned elt_size;
4996 unsigned int length, unsigned int elt_size, unsigned char *array)
5003 attr.dw_attr_val.v.val_vec.elt_size = elt_size;
6056 || v1->v.val_vec.elt_size != v2->v.val_vec.elt_size)
6059 v1->v.val_vec.length * v1->v.val_vec.elt_size))
6663 * a->dw_attr_val.v.val_vec.elt_size); /* block */
7164 unsigned int elt_size = a->dw_attr_val.v.val_vec.elt_size;
2718 unsigned elt_size; local
4988 add_AT_vec(dw_die_ref die, enum dwarf_attribute attr_kind, unsigned int length, unsigned int elt_size, unsigned char *array) argument
7153 unsigned int elt_size = a->dw_attr_val.v.val_vec.elt_size; local
9947 unsigned int elt_size = GET_MODE_UNIT_SIZE (mode); local
[all...]
H A Dsimplify-rtx.c896 int elt_size = GET_MODE_SIZE (GET_MODE_INNER (mode));
897 unsigned n_elts = (GET_MODE_SIZE (mode) / elt_size);
921 int elt_size = GET_MODE_SIZE (GET_MODE_INNER (mode));
922 unsigned n_elts = (GET_MODE_SIZE (mode) / elt_size);
2568 int elt_size = GET_MODE_SIZE (GET_MODE_INNER (mode));
2569 unsigned n_elts = (GET_MODE_SIZE (mode) / elt_size);
2646 int elt_size = GET_MODE_SIZE (GET_MODE_INNER (mode));
2647 unsigned n_elts = (GET_MODE_SIZE (mode) / elt_size);
2653 in_n_elts = (GET_MODE_SIZE (op0_mode) / elt_size);
4188 int elt_size
890 int elt_size = GET_MODE_SIZE (GET_MODE_INNER (mode)); local
915 int elt_size = GET_MODE_SIZE (GET_MODE_INNER (mode)); local
2561 int elt_size = GET_MODE_SIZE (GET_MODE_INNER (mode)); local
2639 int elt_size = GET_MODE_SIZE (GET_MODE_INNER (mode)); local
4179 int elt_size = GET_MODE_SIZE (GET_MODE_INNER (mode)); local
[all...]
H A Dvarasm.c4136 int elt_size;
4144 elt_size = GET_MODE_SIZE (inner);
4147 output_constant (TREE_VALUE (link), elt_size, align);
4148 thissize = elt_size;
4151 output_constant (TREE_VALUE (link), elt_size, nalign);
4152 thissize += elt_size;
4111 int elt_size; local
4122 output_constant (TREE_VALUE (link), elt_size, align); local
4126 output_constant (TREE_VALUE (link), elt_size, nalign); local
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dsorts.c146 qsort(array->elts, array->nelts, array->elt_size, comparison_func);
206 int elt_size,
216 int cmp = compare_func((const char *)base + try * elt_size, key);
234 array->elts, array->nelts, array->elt_size,
266 offset = (array->nelts - 1) * array->elt_size;
278 previous = array->elts + (idx-1) * array->elt_size;
279 result = array->elts + idx * array->elt_size;
295 idx = bsearch_lower_bound(key, array->elts, array->nelts, array->elt_size,
302 result = array->elts + idx * array->elt_size;
328 new_position = (char *)array->elts + insert_index * array->elt_size;
201 bsearch_lower_bound(const void *key, const void *base, int nelts, int elt_size, int (*compare_func)(const void *, const void *)) argument
[all...]
H A Diter.c112 void *item = array->elts + array->elt_size*i;
/freebsd-11-stable/contrib/flex/
H A Dbuf.c41 * The type is specified in buf_init by the elt_size. If the elt_size is
43 * elt_size is sizeof(char*), then the buffer should be treated as a list of
213 buf->elt_size = elem_size;
247 n_alloc = (n_elem + buf->nelts) * buf->elt_size;
250 if (((n_alloc * buf->elt_size) % 512) != 0
251 && buf->elt_size < 512)
254 ((n_alloc * buf->elt_size) % 512)) /
255 buf->elt_size;
259 allocate_array (n_alloc, buf->elt_size);
[all...]
H A Dflexdef.h1106 size_t elt_size; /* in bytes. */ member in struct:Buf
/freebsd-11-stable/contrib/apr/tables/
H A Dapr_tables.c55 int nelts, int elt_size, int clear)
66 res->elts = apr_pcalloc(p, nelts * elt_size);
69 res->elts = apr_palloc(p, nelts * elt_size);
73 res->elt_size = elt_size;
84 int nelts, int elt_size)
89 make_array_core(res, p, nelts, elt_size, 1);
104 return arr->elts + (arr->elt_size * (--arr->nelts));
113 new_data = apr_palloc(arr->pool, arr->elt_size * new_size);
115 memcpy(new_data, arr->elts, arr->nalloc * arr->elt_size);
54 make_array_core(apr_array_header_t *res, apr_pool_t *p, int nelts, int elt_size, int clear) argument
83 apr_array_make(apr_pool_t *p, int nelts, int elt_size) argument
146 int elt_size = dst->elt_size; local
[all...]
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dfilepath_util.c77 if (pathelts->elt_size != sizeof(char*))
/freebsd-11-stable/contrib/apr/include/
H A Dapr_tables.h66 int elt_size; member in struct:apr_array_header_t
118 * @param elt_size The size of each element in the array.
122 int nelts, int elt_size);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_x/
H A Dnoderevs.c189 apr_hash_set(dict, ids->elts + (idx-1) * ids->elt_size,
190 ids->elt_size, (void*)(apr_uintptr_t)idx);
216 apr_hash_set(dict, reps->elts + (idx-1) * reps->elt_size,
217 reps->elt_size, (void*)(apr_uintptr_t)idx);
741 = noderevs->ids->elt_size * noderevs->ids->nelts
742 + noderevs->reps->elt_size * noderevs->reps->nelts
743 + noderevs->noderevs->elt_size * noderevs->noderevs->nelts
744 + 10 * noderevs->noderevs->elt_size
H A Dchanges.c407 = changes->changes->elt_size * changes->changes->nelts
408 + changes->offsets->elt_size * changes->offsets->nelts
409 + 10 * changes->changes->elt_size
H A Dpack.c1400 path_order->elt_size);
1402 reps->elt_size);
1404 reps->elt_size);
1406 reps->elt_size);
1549 = apr_array_make(context->info_pool, 16, entries->elt_size);
1641 = apr_array_make(context->info_pool, 16, entries->elt_size);
H A Dtemp_serializer.c167 (apr_size_t)array->nelts * array->elt_size);
/freebsd-11-stable/contrib/subversion/subversion/svn/
H A Dsvn.c1996 int elt_size = sizeof(svn_opt_subcommand_desc3_t);
2009 cmds_new = apr_pcalloc(pool, (n_cmds_new + 1) * elt_size);
2010 memcpy(cmds_new, cmds_old, n_cmds_old * elt_size);
2011 memcpy(&cmds_new[n_cmds_old], cmds_add, n_cmds_add * elt_size);
1993 int elt_size = sizeof(svn_opt_subcommand_desc3_t); local
/freebsd-11-stable/contrib/gdb/gdb/
H A Dvalarith.c262 unsigned int elt_size = TYPE_LENGTH (elt_type);
264 unsigned int elt_offs = elt_size * longest_to_int (index - lowerbound);
274 memcpy (VALUE_CONTENTS (v), VALUE_CONTENTS (array) + elt_offs, elt_size);
261 unsigned int elt_size = TYPE_LENGTH (elt_type); local
H A Ds390-tdep.c828 CORE_ADDR elt_size,
847 && offset.k >= array_len * elt_size)
849 else if (offset.k % elt_size != 0
850 || size != elt_size)
854 *i = offset.k / elt_size;
824 pv_is_array_ref(struct prologue_value *addr, CORE_ADDR size, struct prologue_value *array_addr, CORE_ADDR array_len, CORE_ADDR elt_size, int *i) argument
/freebsd-11-stable/contrib/subversion/subversion/libsvn_wc/
H A Dinfo.c52 = apr_array_make(pool, info->conflicts->nelts, info->conflicts->elt_size);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_client/
H A Dlog.c752 log_segments->nelts, log_segments->elt_size,
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/
H A Drev_hunt.c650 SVN_ERR_ASSERT(location_revisions_orig->elt_size == sizeof(svn_revnum_t));
H A Dlog.c1501 arr->elts += arr->elt_size;

Completed in 281 milliseconds

12