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

/freebsd-12-stable/contrib/ncurses/
H A Dmk-1st.awk142 nlinks = 0;
143 links[nlinks++] = end_name;
146 links[nlinks++] = abi_name;
147 links[nlinks++] = rel_name;
149 links[nlinks++] = abi_name;
153 links[nlinks++] = abi_name;
154 links[nlinks++] = lib_name;
156 links[nlinks++] = lib_name;
159 for (j = 0; j < nlinks; ++j) {
/freebsd-12-stable/contrib/libarchive/cpio/test/
H A Dtest_option_c.c56 nlinks(const char *p) function
200 assertEqualInt(nlinks("dir"), from_octal(e + 36, 6)); /* Nlink */
H A Dtest_format_newc.c74 nlinks(const char *p) function
284 assertEqualInt(nlinks("dir"), from_hex(e + 38, 8)); /* nlinks */
/freebsd-12-stable/lib/libc/gen/
H A Dfts-compat.c637 int cderrno, descend, len, level, maxlen, nlinks, oflag, saved_errno, local
670 nlinks = 0;
675 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2);
677 nlinks = -1;
680 nlinks = -1;
685 (void)printf("nlinks == %d (cur: %d)\n", nlinks, cur->fts_nlink);
705 if (nlinks || type == BREAD) {
707 if (nlinks && type == BREAD)
802 if (nlinks) {
[all...]
H A Dfts-compat11.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)
784 if (nlinks) {
[all...]
H A Dfts.c632 long nlinks; /* has to be signed because -1 is a magic value */ local
664 nlinks = 0;
669 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2);
671 nlinks = -1;
674 nlinks = -1;
679 (void)printf("nlinks == %d (cur: %d)\n", nlinks, cur->fts_nlink);
699 if (nlinks || type == BREAD) {
701 if (nlinks && type == BREAD)
780 if (nlinks) {
[all...]
/freebsd-12-stable/usr.sbin/ppp/
H A Dmp.c673 int thislink, nlinks, nopenlinks, sendasip; local
678 thislink = nlinks = nopenlinks = 0;
687 nlinks++;
700 for (dl = fdl; nlinks > 0; dl = dl->next, nlinks--, thislink++) {
789 nlinks--;
H A Dbundle.c457 int result, nlinks; local
464 for (nlinks = 0, dl = bundle->links; dl; dl = dl->next)
465 nlinks++;
467 if (nlinks) {
474 ifqueue = nlinks > bundle->cfg.ifqueue ? nlinks : bundle->cfg.ifqueue;
/freebsd-12-stable/contrib/libarchive/test_utils/
H A Dtest_common.h228 #define assertFileNLinks(pathname, nlinks) \
229 assertion_file_nlinks(__FILE__, __LINE__, pathname, nlinks)
H A Dtest_main.c1599 const char *pathname, int nlinks)
1607 if (r != 0 && bhfi.nNumberOfLinks == (DWORD)nlinks)
1610 pathname, (intmax_t)bhfi.nNumberOfLinks, nlinks);
1619 if (r == 0 && (int)st.st_nlink == nlinks)
1622 pathname, (intmax_t)st.st_nlink, nlinks);
1598 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument
/freebsd-12-stable/stand/libsa/
H A Dufs.c510 int nlinks = 0; local
610 ++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) {
H A Dnfs.c479 int nlinks = 0; local
603 || ++nlinks > MAXSYMLINKS) {
/freebsd-12-stable/usr.bin/find/
H A Dfunction.c1109 char *nlinks; local
1112 nlinks = nextarg(option, argvp);
1116 new->l_data = (nlink_t)find_parsenum(new, option->name, nlinks, NULL);
/freebsd-12-stable/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-12-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_iso9660.c287 int nlinks; member in struct:file_info
1280 archive_entry_set_nlink(entry, file->nlinks);
1386 /* Overwrite nlinks by proper link number which is
1971 file->nlinks = 1;/* Reset nlink. we'll calculate it later. */
2176 * 8 bytes for nlinks,
2186 file->nlinks
2908 * so much so that each nlinks of files in cache_file
2913 file->nlinks = count;
/freebsd-12-stable/contrib/libarchive/libarchive/test/
H A Dmain.c1456 const char *pathname, int nlinks)
1464 if (r != 0 && bhfi.nNumberOfLinks == (DWORD)nlinks)
1467 pathname, bhfi.nNumberOfLinks, nlinks);
1476 if (r == 0 && (int)st.st_nlink == nlinks)
1479 pathname, st.st_nlink, nlinks);
1455 assertion_file_nlinks(const char *file, int line, const char *pathname, int nlinks) argument

Completed in 250 milliseconds