Lines Matching refs:tmp
45 XkbDrawablePtr tmp)
50 *pfirst = *plast = tmp;
52 else if (tmp->priority >= (*plast)->priority) {
53 (*plast)->next = tmp;
54 *plast = tmp;
56 else if (tmp->priority < (*pfirst)->priority) {
57 tmp->next = (*pfirst);
58 (*pfirst) = tmp;
62 while ((old->next) && (old->next->priority <= tmp->priority)) {
65 tmp->next = old->next;
66 old->next = tmp;
74 XkbDrawablePtr first, last, tmp;
84 tmp = _XkbTypedCalloc(1, XkbDrawableRec);
85 if (!tmp) {
89 tmp->type = XkbDW_Section;
90 tmp->priority = section->priority;
91 tmp->u.section = section;
92 tmp->next = NULL;
93 _XkbAddDrawable(&first, &last, tmp);
97 tmp = _XkbTypedCalloc(1, XkbDrawableRec);
98 if (!tmp) {
102 tmp->type = XkbDW_Doodad;
103 tmp->priority = doodad->any.priority;
104 tmp->u.doodad = doodad;
105 tmp->next = NULL;
106 _XkbAddDrawable(&first, &last, tmp);
114 tmp = _XkbTypedCalloc(1, XkbDrawableRec);
115 if (!tmp) {
119 tmp->type = XkbDW_Doodad;
120 tmp->priority = doodad->any.priority;
121 tmp->u.doodad = doodad;
122 tmp->next = NULL;
123 _XkbAddDrawable(&first, &last, tmp);
132 XkbDrawablePtr tmp;
134 for (; draw != NULL; draw = tmp) {
135 tmp = draw->next;