Home
last modified time | relevance | path

Searched refs:num_elements (Results 1 – 6 of 6) sorted by relevance

/plan9/sys/src/cmd/gs/src/
H A Dgsmemret.c211 gs_retrying_alloc_byte_array(gs_memory_t * mem, uint num_elements, uint elt_size, in gs_retrying_alloc_byte_array() argument
216 target->procs.alloc_byte_array(target, num_elements, in gs_retrying_alloc_byte_array()
221 gs_retrying_alloc_byte_array_immovable(gs_memory_t * mem, uint num_elements, in gs_retrying_alloc_byte_array_immovable() argument
227 num_elements, elt_size, in gs_retrying_alloc_byte_array_immovable()
232 gs_retrying_alloc_struct_array(gs_memory_t * mem, uint num_elements, in gs_retrying_alloc_struct_array() argument
237 target->procs.alloc_struct_array(target, num_elements, in gs_retrying_alloc_struct_array()
242 gs_retrying_alloc_struct_array_immovable(gs_memory_t * mem, uint num_elements, in gs_retrying_alloc_struct_array_immovable() argument
248 num_elements, pstype, in gs_retrying_alloc_struct_array_immovable()
H A Dgsmemlok.c219 gs_locked_alloc_byte_array(gs_memory_t * mem, uint num_elements, uint elt_size, in gs_locked_alloc_byte_array() argument
225 (lmem->target, num_elements, elt_size, cname) in gs_locked_alloc_byte_array()
229 gs_locked_alloc_byte_array_immovable(gs_memory_t * mem, uint num_elements, in gs_locked_alloc_byte_array_immovable() argument
235 (lmem->target, num_elements, elt_size, cname) in gs_locked_alloc_byte_array_immovable()
239 gs_locked_alloc_struct_array(gs_memory_t * mem, uint num_elements, in gs_locked_alloc_struct_array() argument
245 (lmem->target, num_elements, pstype, cname) in gs_locked_alloc_struct_array()
249 gs_locked_alloc_struct_array_immovable(gs_memory_t * mem, uint num_elements, in gs_locked_alloc_struct_array_immovable() argument
255 (lmem->target, num_elements, pstype, cname) in gs_locked_alloc_struct_array_immovable()
H A Dgsmemory.c103 gs_resize_struct_array(gs_memory_t *mem, void *obj, uint num_elements, in gs_resize_struct_array() argument
107 return gs_alloc_struct_array(mem, num_elements, void, pstype, cname); in gs_resize_struct_array()
115 return gs_resize_object(mem, obj, num_elements, cname); in gs_resize_struct_array()
H A Dgsmalloc.c225 gs_heap_alloc_byte_array(gs_memory_t * mem, uint num_elements, uint elt_size, in gs_heap_alloc_byte_array() argument
228 ulong lsize = (ulong) num_elements * elt_size; in gs_heap_alloc_byte_array()
235 gs_heap_alloc_struct_array(gs_memory_t * mem, uint num_elements, in gs_heap_alloc_struct_array() argument
239 gs_heap_alloc_byte_array(mem, num_elements, in gs_heap_alloc_struct_array()
H A Dgsalloc.c600 i_alloc_byte_array(gs_memory_t * mem, uint num_elements, uint elt_size, in i_alloc_byte_array() argument
604 obj_header_t *obj = alloc_obj(imem, (ulong) num_elements * elt_size, in i_alloc_byte_array()
609 (ulong) num_elements * elt_size, in i_alloc_byte_array()
610 num_elements, elt_size, (ulong) obj); in i_alloc_byte_array()
614 i_alloc_byte_array_immovable(gs_memory_t * mem, uint num_elements, in i_alloc_byte_array_immovable() argument
618 obj_header_t *obj = alloc_obj(imem, (ulong) num_elements * elt_size, in i_alloc_byte_array_immovable()
624 (ulong) num_elements * elt_size, in i_alloc_byte_array_immovable()
625 num_elements, elt_size, (ulong) obj); in i_alloc_byte_array_immovable()
629 i_alloc_struct_array(gs_memory_t * mem, uint num_elements, in i_alloc_struct_array() argument
644 (ulong) num_elements * pstype->ssize, in i_alloc_struct_array()
[all …]
H A Dgsmemory.h274 byte *proc(gs_memory_t *mem, uint num_elements, uint elt_size,\
288 void *proc(gs_memory_t *mem, uint num_elements,\
421 void *gs_resize_struct_array(gs_memory_t *mem, void *obj, uint num_elements,