Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/krb5/dyn/
H A Ddyn_delete.c47 memset(obj->array + idx*obj->el_size, 0, obj->el_size);
59 (idx+1)*obj->el_size, idx*obj->el_size);
62 memmove(obj->array + idx*obj->el_size,
63 obj->array + (idx+1)*obj->el_size,
64 obj->el_size*(obj->num_el - idx));
66 bcopy(obj->array + (idx+1)*obj->el_size,
67 obj->array + idx*obj->el_size,
68 obj->el_size*(obj->num_el - idx));
74 obj->el_size, obj->array,
75 obj->el_size*(obj->num_el - 1));
[all …]
H A Ddyn_insert.c43 (obj->num_el-idx)*obj->el_size, obj->array,
44 obj->el_size*idx, obj->el_size*(idx+num));
49 memmove(obj->array + obj->el_size*(idx + num),
50 obj->array + obj->el_size*idx,
51 (obj->num_el-idx)*obj->el_size);
53 bcopy(obj->array + obj->el_size*idx,
54 obj->array + obj->el_size*(idx + num),
55 (obj->num_el-idx)*obj->el_size);
60 obj->el_size*num, els, obj->array, obj->el_size*idx);
63 memmove(obj->array + obj->el_size*idx, els, obj->el_size*num);
[all …]
H A Ddyn_create.c28 DynObjectP DynCreate(el_size, inc) in DynCreate() argument
29 int el_size, inc; in DynCreate()
42 obj->el_size = el_size;
59 obj1->el_size = obj->el_size;
66 obj1->array = (char *) malloc(obj1->el_size * obj1->size);
72 (size_t) (obj1->el_size * obj1->size));
83 obj->el_size * obj->size, obj->array);
84 memset(obj->array, 0, obj->el_size * obj->size);
H A Ddyn_put.c49 obj->array, obj->el_size*num);
51 return (DynPtr) obj->array + obj->el_size*num;
86 obj->el_size, el, obj->array, idx*obj->el_size);
92 memmove(obj->array + idx*obj->el_size, el, obj->el_size);
94 bcopy(el, obj->array + idx*obj->el_size, obj->el_size);
H A Ddyn_realloc.c62 new_size_in_bytes = obj->el_size*(obj->size + obj->inc*num_incs);
64 new_size_in_bytes = obj->el_size*num_incs;
69 new_size_in_bytes - obj->el_size*obj->size,
H A Ddyn.h38 int el_size, num_el, size, inc; member
59 DynObject DynCreate P((int el_size, int inc)), DynCopy P((DynObject obj));