Searched refs:el_size (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/lib/krb5/dyn/ |
H A D | dyn_delete.c | 46 memset(obj->array + idx*obj->el_size, 0, obj->el_size); 57 obj->el_size*(obj->num_el - idx), obj->array, 58 (idx+1)*obj->el_size, idx*obj->el_size); 61 memmove(obj->array + idx*obj->el_size, 62 obj->array + (idx+1)*obj->el_size, 63 obj->el_size*(obj->num_el - idx)); 65 bcopy(obj->array + (idx+1)*obj->el_size, 66 obj->array + idx*obj->el_size, 67 obj->el_size*(obj->num_el - idx)); 73 obj->el_size, obj->array, [all …]
|
H A D | dyn_insert.c | 43 (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 D | dyn_create.c | 28 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 D | dyn_put.c | 49 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 D | dyn_realloc.c | 62 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 D | dyn.h | 38 int el_size, num_el, size, inc; member 59 DynObject DynCreate P((int el_size, int inc)), DynCopy P((DynObject obj));
|