Searched refs:nlinks (Results 1 - 19 of 19) sorted by relevance

/freebsd-10.2-release/contrib/libarchive/cpio/test/
H A Dtest_option_c.c56 nlinks(const char *p) function
204 assertEqualInt(nlinks("dir"), from_octal(e + 36, 6)); /* Nlink */
H A Dtest.h175 #define assertFileNLinks(pathname, nlinks) \
176 assertion_file_nlinks(__FILE__, __LINE__, pathname, nlinks)
H A Dtest_format_newc.c73 nlinks(const char *p) function
257 assertEqualInt(nlinks("dir"), from_hex(e + 38, 8)); /* nlinks */
H A Dmain.c1342 const char *pathname, int nlinks)
1350 if (r != 0 && bhfi.nNumberOfLinks == (DWORD)nlinks)
1353 pathname, bhfi.nNumberOfLinks, nlinks);
1362 if (r == 0 && (int)st.st_nlink == nlinks)
1365 pathname, st.st_nlink, nlinks);
1341 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument
/freebsd-10.2-release/lib/libc/gen/
H A Dfts-compat.c649 int cderrno, descend, len, level, maxlen, nlinks, oflag, saved_errno, local
682 nlinks = 0;
687 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2);
689 nlinks = -1;
692 nlinks = -1;
697 (void)printf("nlinks == %d (cur: %d)\n", nlinks, cur->fts_nlink);
717 if (nlinks || type == BREAD) {
719 if (nlinks && type == BREAD)
813 if (nlinks) {
[all...]
H A Dfts.c635 long nlinks; /* has to be signed because -1 is a magic value */ local
667 nlinks = 0;
672 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2);
674 nlinks = -1;
677 nlinks = -1;
682 (void)printf("nlinks == %d (cur: %d)\n", nlinks, cur->fts_nlink);
702 if (nlinks || type == BREAD) {
704 if (nlinks && type == BREAD)
783 if (nlinks) {
[all...]
/freebsd-10.2-release/contrib/libarchive/tar/test/
H A Dtest.h177 #define assertFileNLinks(pathname, nlinks) \
178 assertion_file_nlinks(__FILE__, __LINE__, pathname, nlinks)
H A Dmain.c1343 const char *pathname, int nlinks)
1351 if (r != 0 && bhfi.nNumberOfLinks == (DWORD)nlinks)
1354 pathname, bhfi.nNumberOfLinks, nlinks);
1363 if (r == 0 && (int)st.st_nlink == nlinks)
1366 pathname, st.st_nlink, nlinks);
1342 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument
/freebsd-10.2-release/contrib/libarchive/libarchive/test/
H A Dtest.h175 #define assertFileNLinks(pathname, nlinks) \
176 assertion_file_nlinks(__FILE__, __LINE__, pathname, nlinks)
H A Dmain.c1341 const char *pathname, int nlinks)
1349 if (r != 0 && bhfi.nNumberOfLinks == (DWORD)nlinks)
1352 pathname, bhfi.nNumberOfLinks, nlinks);
1361 if (r == 0 && (int)st.st_nlink == nlinks)
1364 pathname, st.st_nlink, nlinks);
1340 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument
/freebsd-10.2-release/usr.sbin/ppp/
H A Dmp.c671 int thislink, nlinks, nopenlinks, sendasip; local
676 thislink = nlinks = nopenlinks = 0;
685 nlinks++;
698 for (dl = fdl; nlinks > 0; dl = dl->next, nlinks--, thislink++) {
787 nlinks--;
H A Dbundle.c455 int result, nlinks; local
462 for (nlinks = 0, dl = bundle->links; dl; dl = dl->next)
463 nlinks++;
465 if (nlinks) {
472 ifqueue = nlinks > bundle->cfg.ifqueue ? nlinks : bundle->cfg.ifqueue;
/freebsd-10.2-release/lib/libstand/
H A Dufs.c505 int nlinks = 0; local
625 ++nlinks > MAXSYMLINKS) {
H A Dnfs.c456 int nlinks = 0; local
579 || ++nlinks > MAXSYMLINKS) {
1098 int nlinks = 0; local
1227 || ++nlinks > MAXSYMLINKS) {
H A Dext2fs.c340 int nlinks = 0; local
487 ++nlinks > MAXSYMLINKS) {
H A Dnandfs.c637 int nlinks = 0, counter, len, link_len, nameidx; local
718 if (++nlinks > MAXSYMLINKS) {
/freebsd-10.2-release/usr.bin/find/
H A Dfunction.c1081 char *nlinks; local
1084 nlinks = nextarg(option, argvp);
1088 new->l_data = (nlink_t)find_parsenum(new, option->name, nlinks, NULL);
/freebsd-10.2-release/contrib/tzcode/zic/
H A Dzic.c277 static int nlinks; variable
596 for (i = 0; i < nlinks; ++i) {
600 for (j = 0; j < nlinks; ++j)
1229 (int) ((nlinks + 1) * sizeof *links));
1230 links[nlinks++] = l;
/freebsd-10.2-release/contrib/libarchive/libarchive/
H A Darchive_read_support_format_iso9660.c287 int nlinks; member in struct:file_info
1269 archive_entry_set_nlink(entry, file->nlinks);
1375 /* Overwrite nlinks by proper link number which is
1949 file->nlinks = 1;/* Reset nlink. we'll calculate it later. */
2149 * 8 bytes for nlinks,
2159 file->nlinks
2873 * so much so that each nlinks of files in cache_file
2878 file->nlinks = count;

Completed in 228 milliseconds