Home
last modified time | relevance | path

Searched refs:cwdlen (Results 1 – 3 of 3) sorted by relevance

/netbsd/external/bsd/libarchive/dist/tar/test/
H A Dtest_copy.c64 size_t cwdlen; in compute_loop_max() local
68 cwdlen = strlen(buf); in compute_loop_max()
72 LOOP_MAX = MAX_PATH - (int)cwdlen - 12 - 4 - 1; in compute_loop_max()
82 size_t cwdlen; in compute_loop_max()
87 cwdlen = ((wcwdlen > pcwdlen) ? wcwdlen : pcwdlen); in compute_loop_max()
89 LOOP_MAX = PATH_MAX - (int)cwdlen - 12 - 4 - 4; in compute_loop_max()
/netbsd/bin/csh/
H A Ddir.c384 size_t cwdlen; in dgoto() local
388 if ((cwdlen = (size_t)(p - dcwd->di_name - 1)) == 1) /* root */ in dgoto()
389 cwdlen = 0; in dgoto()
392 dp = xmalloc((size_t)(cwdlen + (size_t)(p - cp) + 1) * sizeof(Char)); in dgoto()
395 if (cwdlen) in dgoto()
403 dp += cwdlen; in dgoto()
/netbsd/usr.bin/make/
H A Dmeta.c1074 static size_t cwdlen = 0; in meta_oodate() local
1124 if (cwdlen == 0) { in meta_oodate()
1127 cwdlen = strlen(cwd); in meta_oodate()
1363 if (strncmp(p, cwd, cwdlen) == 0) in meta_oodate()
1459 strncmp(p, cwd, cwdlen) != 0) { in meta_oodate()