Lines Matching defs:base
275 char* base;
308 sp[i].base = s;
315 while (i < n && !sp[i].base)
319 if (sp[i].base == v[i])
321 else if (sp[i].base == v[i] + 1)
325 *(sp[i].base - 1) = 0;
327 *(sp[i].base - 1) = '/';
329 k = sp[i].base - v[i];
338 if (sp[j].base && (sp[j].base - v[j]) == k && (!k || !memcmp(v[i], v[j], k)) && !memcmp(ep->d_name, sp[j].base, m) && (!sp[j].suff || (sp[j].suff - sp[j].base) < m || z && !strcmp(z, sp[j].suff)))
340 if (v[j] == sp[j].base)
343 t = sfprints("%-.*s%s", sp[j].base - v[j], v[j], ep->d_name);
350 sp[j].base = 0;
355 if (sp[j].base && (sp[j].base - v[j]) == k && (!k || !memcmp(v[i], v[j], k)))
356 sp[j].base = 0;