Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/krb5/dyn/
H A Ddyn_delete.c35 if (idx >= obj->num_el) {
38 obj->num_el);
42 if (idx == obj->num_el-1) {
57 obj->el_size*(obj->num_el - idx), obj->array,
63 obj->el_size*(obj->num_el - idx));
67 obj->el_size*(obj->num_el - idx));
74 obj->el_size*(obj->num_el - 1));
75 memset(obj->array + obj->el_size*(obj->num_el - 1), 0,
80 --obj->num_el;
H A Ddyn_insert.c27 if (idx < 0 || idx > obj->num_el) {
30 idx, obj->num_el);
43 (obj->num_el-idx)*obj->el_size, obj->array,
46 if ((ret = _DynResize(obj, obj->num_el + num)) != DYN_OK)
51 (obj->num_el-idx)*obj->el_size);
55 (obj->num_el-idx)*obj->el_size);
67 obj->num_el += num;
H A Ddyn_put.c40 if (num >= obj->num_el) {
43 obj->num_el);
60 ret = DynPut(obj, el, obj->num_el);
64 ++obj->num_el;
H A Ddyn_create.c43 obj->num_el = obj->size = 0;
60 obj1->num_el = obj->num_el;
H A Ddyn_size.c23 fprintf(stderr, "dyn: size: returning size %d.\n", obj->num_el);
25 return obj->num_el;
H A Ddyn.h38 int el_size, num_el, size, inc; member