Lines Matching refs:xaw
396 bcmp_x_cache(register _Xconst void *pixmap, register _Xconst void *xaw)
398 return (int)((long)pixmap - (long)((*(XawPixmap **)xaw)->pixmap));
433 _XawFindCache(XawCache *xaw,
438 if (!xaw->num_elems)
442 cache = (XawCache **)bsearch(screen, xaw->elems,
443 xaw->num_elems, sizeof(XtPointer),
470 _XawGetCache(XawCache *xaw, Screen *screen, Colormap colormap, int depth)
474 cache = _XawFindCache(xaw, screen, colormap, depth, FIND_ALL);
479 XawCache *s_cache = _XawFindCache(xaw,
484 if (!xaw->num_elems)
486 xaw->num_elems = 1;
487 xaw->elems = (XtPointer*)XtMalloc(sizeof(XtPointer));
491 ++xaw->num_elems;
492 xaw->elems = (XtPointer*)
493 XtRealloc((char *)xaw->elems,
494 (Cardinal)(sizeof(XtPointer) * (size_t)xaw->num_elems));
499 xaw->elems[xaw->num_elems - 1] = (XtPointer)pcache;
500 s_cache = (XawCache *)xaw->elems[xaw->num_elems - 1];
501 if (xaw->num_elems > 1)
502 qsort(xaw->elems, xaw->num_elems, sizeof(XtPointer), qcmp_long);
505 c_cache = _XawFindCache(xaw,
532 d_cache = _XawFindCache(xaw,