Lines Matching refs:num
17 int DynInsert(obj, idx, els_in, num) in DynInsert() argument
20 int idx, num;
32 if (num < 1) {
35 num);
42 obj->el_size*idx, obj->el_size*(idx+num));
44 if ((ret = _DynResize(obj, obj->num_el + num)) != DYN_OK)
47 memmove(obj->array + obj->el_size*(idx + num),
52 obj->array + obj->el_size*(idx + num),
58 obj->el_size*num, els, obj->array, obj->el_size*idx);
61 memmove(obj->array + obj->el_size*idx, els, obj->el_size*num);
63 bcopy(els, obj->array + obj->el_size*idx, obj->el_size*num);
65 obj->num_el += num;