Lines Matching refs:obj1
51 DynObjectP obj1; local
53 obj1 = (DynObjectP) malloc(sizeof(DynObjectRecP));
54 if (obj1 == NULL)
57 obj1->el_size = obj->el_size;
58 obj1->num_el = obj->num_el;
59 obj1->size = obj->size;
60 obj1->inc = obj->inc;
61 obj1->debug = obj->debug;
62 obj1->paranoid = obj->paranoid;
63 obj1->initzero = obj->initzero;
64 obj1->array = (char *) malloc(obj1->el_size * obj1->size);
65 if (obj1->array == NULL) {
66 free(obj1);
69 memcpy(obj->array, obj1->array,
70 (size_t) (obj1->el_size * obj1->size));
72 return obj1;