Lines Matching refs:old
133 for (IndicatorNameInfo *old = info->leds; old != NULL;
134 old = (IndicatorNameInfo *) old->defs.next)
136 if (old->ndx == ndx)
137 return old;
145 for (IndicatorNameInfo *old = info->leds; old != NULL;
146 old = (IndicatorNameInfo *) old->defs.next)
148 if (old->name == name)
149 return old;
157 IndicatorNameInfo *old;
162 old = FindIndicatorByName(info, new->name);
163 if (old)
165 if (((old->defs.fileID == new->defs.fileID) && (warningLevel > 0))
170 if (old->ndx == new->ndx)
172 if (old->virtual != new->virtual)
175 old->virtual = new->virtual;
177 (old->virtual ? "virtual" : "real"),
178 (old->virtual ? "real" : "virtual"));
189 ACTION("Ignoring %d, using %d\n", old->ndx, new->ndx);
191 ACTION("Using %d, ignoring %d\n", old->ndx, new->ndx);
195 if (info->leds == old)
196 info->leds = (IndicatorNameInfo *) old->defs.next;
202 if (tmp->defs.next == (CommonInfo *) old)
204 tmp->defs.next = old->defs.next;
209 free(old);
213 old = FindIndicatorByIndex(info, new->ndx);
214 if (old)
216 if (((old->defs.fileID == new->defs.fileID) && (warningLevel > 0))
220 if ((old->name == new->name) && (old->virtual == new->virtual))
226 if (old->virtual)
237 ignoring = old->name;
241 using = old->name;
251 old->name = new->name;
252 old->virtual = new->virtual;
256 old = new;
260 WSGO("Couldn't allocate name for indicator %d\n", old->ndx);
264 new->name = old->name;
265 new->ndx = old->ndx;
266 new->virtual = old->virtual;
320 int old;
386 old = FindKeyByLong(info, lval);
387 if ((old != 0) && (old != kc))
391 info->names[old] = 0;
392 info->files[old] = 0;
393 info->has_alt_forms[old] = True;
397 ACTION("Using %d, ignoring %d\n", kc, old);
405 ACTION("Using %d, ignoring %d\n", old, kc);
413 info->has_alt_forms[old] = True;