Lines Matching refs:base
238 register char* base;
263 base = ent->fts_name;
270 while (*base == '.' && *(base + 1) == '/')
271 for (base += 2; *base == '/'; base++);
272 if (*base == '.' && !*(base + 1))
274 else if (*base)
275 state->presiz -= base - ent->fts_name;
276 base = ent->fts_name + len;
277 while (base > ent->fts_name && *(base - 1) == '/')
278 base--;
279 while (base > ent->fts_name && *(base - 1) != '/')
280 base--;
281 len -= base - ent->fts_name;
288 base = ent->fts_path + state->presiz + 1;
296 if (state->hierarchy && ent->fts_level == 0 && strchr(base, '/'))
299 memcpy(s, base, len);
330 memcpy(state->path + state->postsiz, base, len);
370 memcpy(state->path + state->postsiz, base, len);
413 memcpy(state->path + state->postsiz, base, len);