Lines Matching refs:lc

231   XawDLClass *lc, *xlibc;
293 lc = cname[0] ? XawGetDisplayListClass(cname) : xlibc;
294 if (!lc)
307 lc = xlibc;
312 if ((info = _XawFindDLInfo(lc, fname)) == NULL)
378 /* verify if data is already created for lc */
381 if (dlist->data[i]->dlclass == lc)
390 data->dlclass = lc;
391 if (lc->data_init)
392 data->data = lc->data_init(lc->name, screen, colormap, depth);
411 if (lc->args_init)
413 proc->args = lc->args_init(fname, proc->params, &proc->num_params,
1572 XawDLClass *lc;
1580 lc = XawCreateDisplayListClass(xlib,
1586 (void)XawDeclareDisplayListProc(lc, dl_init[i].name, dl_init[i].proc);
2127 Bool XawDeclareDisplayListProc(XawDLClass *lc, String name,
2132 if (!lc || !proc || !name || name[0] == '\0')
2135 if (_XawFindDLInfo(lc, name) != NULL)
2147 if (!lc->num_infos)
2149 lc->num_infos = 1;
2150 lc->infos = (XawDLInfo **)XtMalloc(sizeof(XawDLInfo*));
2154 ++lc->num_infos;
2155 lc->infos = (XawDLInfo **)
2156 XtRealloc((char *)lc->infos, (Cardinal)(sizeof(XawDLInfo*) * (size_t)lc->num_infos));
2158 lc->infos[lc->num_infos - 1] = info;
2160 if (lc->num_infos > 1)
2161 qsort(lc->infos, lc->num_infos, sizeof(XawDLInfo*), qcmp_dlist_info);
2174 _XawFindDLInfo(XawDLClass *lc, String name)
2178 if (!lc->infos)
2181 info = (XawDLInfo **)bsearch(name, lc->infos, lc->num_infos,
2207 XawDLClass *lc;
2212 lc = (XawDLClass *)XtMalloc(sizeof(XawDLClass));
2213 lc->name = XtNewString(name);
2214 lc->infos = NULL;
2215 lc->num_infos = 0;
2216 lc->args_init = args_init;
2217 lc->args_destructor = args_destructor;
2218 lc->data_init = data_init;
2219 lc->data_destructor = data_destructor;
2232 classes[num_classes - 1] = lc;
2237 return (lc);
2250 XawDLClass **lc;
2255 lc = (XawDLClass **)bsearch(name, &classes[0], num_classes,
2258 return (lc ? *lc : NULL);