/illumos-gate/usr/src/cmd/cdrw/ |
H A D | write_audio.c | 75 int i, nfiles; in write_audio() local 81 nfiles = argc - start_argc; in write_audio() 82 h_ptr = (bstreamhandle *)my_zalloc(nfiles * sizeof (bstreamhandle)); in write_audio() 84 for (i = 0; i < nfiles; i++) { in write_audio() 131 for (i = 0; i < nfiles; i++) { in write_audio() 133 if (simulation && (nfiles != 1)) { in write_audio() 139 for (i = 0; i < nfiles; i++) in write_audio()
|
/illumos-gate/usr/src/cmd/sgs/error/common/ |
H A D | errortouch.c | 63 #define FILEITERATE(fi, lb) for (fi = lb; fi <= nfiles; fi++) 70 int nfiles; in findfiles() local 78 nfiles = countfiles(errors); in findfiles() 80 files = Calloc(nfiles + 3, sizeof (Eptr*)); in findfiles() 81 touchedfiles = Calloc(nfiles+3, sizeof (boolean)); in findfiles() 113 *r_nfiles = nfiles; in findfiles() 124 int nfiles; in countfiles() local 125 nfiles = 0; in countfiles() 130 nfiles++; in countfiles() 135 return (nfiles); in countfiles() [all …]
|
H A D | errormain.c | 42 int nfiles = 0; variable 200 findfiles(nerrors, errors, &nfiles, &files); in main() 235 filenames(nfiles, files); in main() 237 if (touchfiles(nfiles, files, &ed_argc, &ed_argv) && edit_files) in main()
|
H A D | error.h | 203 extern int nfiles; 238 void filenames(int nfiles, Eptr **files); 241 boolean touchfiles(int nfiles, Eptr **files, int *r_edargc, char ***r_edargv);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | pclose.c | 83 static rlim_t nfiles = 0; variable 93 if (nfiles <= 0) { in mypopen() 95 nfiles = rl.rlim_max; in mypopen() 97 nfiles = NOFILES; in mypopen() 100 popen_pid = (pid_t *)malloc((unsigned)nfiles * in mypopen() 104 for (i = 0; i < nfiles; i++) in mypopen()
|
/illumos-gate/usr/src/ucbcmd/sed/ |
H A D | sed0.c | 46 int nfiles; variable 100 nfiles = 1; in main() 496 for(i = nfiles - 1; i >= 0; i--) in fcomp() 501 if(nfiles >= NWFILES) in fcomp() 505 if ((fname[nfiles] = malloc((unsigned)i)) == NULL) { in fcomp() 509 (void) strcpy(fname[nfiles], fnamebuf); in fcomp() 510 if((rep->r1.fcode = fopen(fname[nfiles], "w")) == NULL) { in fcomp() 512 perror(fname[nfiles]); in fcomp() 515 fcode[nfiles++] = rep->r1.fcode; in fcomp() 525 for(i = nfiles - 1; i >= 0; i--) in fcomp() [all …]
|
/illumos-gate/usr/src/test/smbclient-tests/config/ |
H A D | filemacro.prof | 37 nfiles = 20000; 47 nfiles = 20000; 57 nfiles = 20000; 67 nfiles = 20000;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | asppp2pppd | 1303 $nfiles = 0; 1308 $nfiles++; 1309 print "\t$nfiles. $file\n"; 1325 $nfiles++; 1326 print "\t$nfiles. $file\n"; 1335 $nfiles++; 1336 print "\t$nfiles. $file\n"; 1348 $nfiles++; 1350 print "\t$nfiles. $file\n"; 1386 die "Nothing to write back; I'm done.\n" if $nfiles == 0; [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/ |
H A D | rsend.kshlib | 395 nfiles=$1 400 for ((i=0; i<$nfiles; i=i+1)); do 407 echo Created $nfiles files of random sizes up to $maxsize bytes 420 nfiles=$1 425 for ((i=0; i<$nfiles; i=i+1)); do 428 echo Removed $nfiles files of random sizes up to $maxsize bytes 442 nfiles=$1 451 for ((i=0; i<$nfiles; i=i+1)); do 470 for i in {0..$nfiles}; do
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | xref.sh | 234 nfiles=`wc -l < xref.flg` 235 if [ "$nfiles" -eq 1 ]; then 238 msg="found $nfiles flg-related source files"
|
/illumos-gate/usr/src/cmd/ptools/pwait/ |
H A D | pwait.c | 84 int nfiles = count_my_files(); in main() local 86 if (rlim.rlim_cur < argc + nfiles + SLOP) { in main() 87 rlim.rlim_cur = argc + nfiles + SLOP; in main()
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_util.c | 64 int nfiles; variable 261 for (i = 0; i < nfiles; i++) in crash() 269 if (nfiles < NFILES) { in record_open() 270 outfiles[nfiles++] = file; in record_open()
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | pcache.c | 108 size_t nfiles; /* The number of filenames currently in files[] */ member 731 cm->nfiles = 0; in new_CacheMem() 791 cm->nfiles = 0; in rst_CacheMem() 927 if(mem->nfiles + 1 > mem->files_dim) { in pca_scan_dir() 943 mem->files[mem->nfiles++] = copy; in pca_scan_dir() 952 qsort(mem->files + mem->nfiles - nfile, nfile, sizeof(*mem->files), in pca_scan_dir() 1057 node->nfile = node->mem->nfiles; in pca_lookup_file() 1298 node->nfile = node->mem->nfiles; in CPL_MATCH_FN()
|
/illumos-gate/usr/src/cmd/checknr/ |
H A D | checknr.c | 149 static int nfiles; /* number of files to process */ variable 251 nfiles = argc - 1; 253 if (nfiles > 0) { 502 if (nfiles > 1) in pe()
|
/illumos-gate/usr/src/cmd/more/ |
H A D | more.c | 183 int nfiles; /* Number of files left to process */ variable 255 nfiles = argc; in main() 266 while (--nfiles > 0) { in main() 302 if (nfiles > 1) in main() 304 if (!no_intty && nfiles == 0) { in main() 357 while (fnum < nfiles) { in main() 373 else if (fnum < nfiles && !no_tty) { in main() 1226 if (fnum >= nfiles - 1) in colon() 1488 if (fnum + nskip > nfiles - 1) in skipf() 1489 nskip = nfiles - fnum - 1; in skipf()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop.c | 101 process_ocapfile(const char *arg, size_t *nfiles, off_t *limit) in process_ocapfile() argument 119 *nfiles = n; in process_ocapfile() 177 size_t nfiles = 0; in main() local 328 ocapfile = process_ocapfile(optarg, &nfiles, &limit); in main() 485 if (nfiles > 1) in main() 486 cap_open_wr_multi(ocapfile, nfiles, limit); in main()
|
H A D | snoop_capture.c | 636 cap_open_wr_multi(const char *prefix, size_t nfiles, off_t limit) in cap_open_wr_multi() argument 641 capfile_out.capfile_count = nfiles; in cap_open_wr_multi() 645 capfile_out.capfile_fd = malloc(nfiles * in cap_open_wr_multi() 653 for (i = 0; i < nfiles; i++) { in cap_open_wr_multi()
|
/illumos-gate/usr/src/cmd/abi/spectrans/parser/ |
H A D | frontend.c | 121 int nfiles, flen, findex, retval = 0, errors = 0; in dofiles() local 123 nfiles = T_info->ti_nfiles; in dofiles() 125 for (findex = 0; findex < nfiles; ++findex) { in dofiles()
|
/illumos-gate/usr/src/cmd/pg/ |
H A D | pg.c | 160 static short nfiles; variable 299 nfiles = argc - optind; in main() 321 if (nfiles > 1) in main() 324 if (nfiles == 0) { in main() 326 nfiles++; in main() 328 while (fnum < nfiles) { in main() 1098 if (fnum + nskip > nfiles - 1) { in skipf() 1099 nskip = (nfiles - 1) - fnum; in skipf()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | fio.c | 855 int fd, nfiles; in flist_fork() local 865 cfip->fi_nfiles = nfiles = flist_minsize(pfip); in flist_fork() 867 cfip->fi_list = nfiles == 0 ? NULL : in flist_fork() 868 kmem_zalloc(nfiles * sizeof (uf_entry_t), KM_SLEEP); in flist_fork() 870 for (fd = 0, pufp = pfip->fi_list, cufp = cfip->fi_list; fd < nfiles; in flist_fork() 1034 int nfiles; in ufalloc_file() local 1063 nfiles = fip->fi_nfiles; in ufalloc_file() 1065 flist_grow(MAX(start, nfiles)); in ufalloc_file()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 228 static int nfiles; variable 673 freemem(filenames, nfiles); in main() 674 nfiles = 0; in main() 697 freemem(filenames, nfiles); in main() 698 nfiles = 0; in main() 1253 if (nfiles != 1) { in main() 1258 if (nfiles == 0) in main() 1569 if (error || nfiles == 0) { in main() 1577 if (nfiles) { in main() 1579 qsort((char *)filenames, nfiles, in main() [all …]
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | run.c | 1887 int nfiles; variable 1892 nfiles = FOPEN_MAX; in stdinit() 1893 files = calloc(nfiles, sizeof (*files)); in stdinit() 1895 FATAL("can't allocate file memory for %u files", nfiles); in stdinit() 1915 for (i = 0; i < nfiles; i++) { in openfile() 1928 for (i = 0; i < nfiles; i++) { in openfile() 1932 if (i >= nfiles) { in openfile() 1934 int nnf = nfiles + FOPEN_MAX; in openfile() 1938 (void) memset(&nf[nfiles], 0, FOPEN_MAX * sizeof (*nf)); in openfile() 1939 nfiles = nnf; in openfile() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/ |
H A D | quot.c | 75 long nfiles; member 350 dp->nfiles++; in qacct() 448 (void) printf("%5ld\t", (*dp)->nfiles); in report()
|
/illumos-gate/usr/src/cmd/ls/ |
H A D | ls.c | 226 static int nfiles = 0; /* number of flist entries in current use */ variable 1163 nfiles = lp; in pdirectory() 1168 qsort(&flist[lp], (unsigned)(nfiles - lp), in pdirectory() 1172 for (j = nfiles - 1; j >= lp; j--) { in pdirectory() 1197 pem(&flist[lp], &flist[nfiles], lflg||sflg); in pdirectory() 1624 nfiles--; in rddir() 1808 if (nfiles >= maxfils) { in gstat() 1830 if (nfiles >= maxn) { in gstat() 1832 flist[nfiles++] = rep; in gstat() 1833 maxn = nfiles; in gstat() [all …]
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctcom.c | 90 nfiles; variable 269 nfiles++; in main() 272 if(nfiles==0) { in main()
|