Lines Matching refs:new_res
361 register XrmResourceList *new_res;
375 /* Allocate and initialize new_res with superclass resource pointers */
377 new_res = XtMallocArray(new_num_res, (Cardinal) sizeof(XrmResourceList));
379 memcpy(new_res, super_res, super_num_res * sizeof(XrmResourceList));
381 /* Put pointers to class resource entries into new_res */
387 if (class_res[i].xrm_offset == new_res[j]->xrm_offset) {
396 if (class_res[i].xrm_size != new_res[j]->xrm_size) {
399 class_res[i].xrm_size = new_res[j]->xrm_size;
401 new_res[j] = &(class_res[i]);
407 /* Not an overlap, add an entry to new_res */
408 new_res[new_next++] = &(class_res[i]);
413 *class_resp = (XtResourceList) new_res;