Lines Matching refs:pnode
1195 COLOR_LIST *pnode; local
1201 pnode = palette.hash[hash_key];
1203 while (pnode != NULL) {
1204 if (pnode->rgb == rgb) {
1206 new_idx = idx = pnode->idx;
1215 palette.entry[new_idx].listNode = pnode;
1216 pnode->idx = new_idx;
1221 prev_pnode = pnode;
1222 pnode = pnode->next;
1240 pnode = &palette.list[paletteNumColors];
1242 prev_pnode->next = pnode;
1244 palette.hash[hash_key] = pnode;
1246 pnode->next = NULL;
1247 pnode->idx = idx;
1248 pnode->rgb = rgb;
1249 palette.entry[idx].listNode = pnode;
1303 COLOR_LIST *pnode; \
1315 pnode = palette.hash[HASH_FUNC##bpp(rgb)]; \
1316 while (pnode != NULL) { \
1317 if ((CARD##bpp)pnode->rgb == rgb) { \
1318 *buf++ = (CARD8)pnode->idx; \
1320 *buf++ = (CARD8)pnode->idx; \
1325 pnode = pnode->next; \