/titanic_41/usr/src/cmd/cdrw/ |
H A D | write_audio.c | 77 int i, nfiles; in write_audio() local 83 nfiles = argc - start_argc; in write_audio() 84 h_ptr = (bstreamhandle *)my_zalloc(nfiles * sizeof (bstreamhandle)); in write_audio() 86 for (i = 0; i < nfiles; i++) { in write_audio() 133 for (i = 0; i < nfiles; i++) { in write_audio() 135 if (simulation && (nfiles != 1)) { in write_audio() 141 for (i = 0; i < nfiles; i++) in write_audio()
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | popen.c | 27 static int nfiles; variable 38 if (nfiles <= 0) 39 nfiles = getdtablesize(); 41 popen_pid = (int *)malloc(nfiles * sizeof *popen_pid); 44 for (pid = 0; pid < nfiles; pid++) 56 for (poptr = popen_pid; poptr < popen_pid+nfiles; poptr++) {
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | pclose.c | 85 static rlim_t nfiles = 0; variable 95 if (nfiles <= 0) { in mypopen() 97 nfiles = rl.rlim_max; in mypopen() 99 nfiles = NOFILES; in mypopen() 102 popen_pid = (pid_t *)malloc((unsigned)nfiles * in mypopen() 106 for (i = 0; i < nfiles; i++) in mypopen()
|
/titanic_41/usr/src/cmd/sgs/error/common/ |
H A D | errortouch.c | 64 #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 | 207 extern int nfiles; 242 void filenames(int nfiles, Eptr **files); 245 boolean touchfiles(int nfiles, Eptr **files, int *r_edargc, char ***r_edargv);
|
/titanic_41/usr/src/lib/libbc/libc/stdio/common/ |
H A D | findiop.c | 90 int nfiles; in _f_morefiles() local 92 nfiles = getdtablesize(); in _f_morefiles() 94 iobglue = (FILE **)calloc(nfiles, sizeof *iobglue); in _f_morefiles() 98 if((_smbuf = (unsigned char (*)[_SBFSIZ])malloc(nfiles * sizeof *_smbuf)) == NULL) { in _f_morefiles() 104 endglue = iobglue + nfiles; in _f_morefiles()
|
/titanic_41/usr/src/ucbcmd/sed/ |
H A D | sed0.c | 45 int nfiles; variable 101 nfiles = 1; in main() 497 for(i = nfiles - 1; i >= 0; i--) in fcomp() 502 if(nfiles >= NWFILES) in fcomp() 506 if ((fname[nfiles] = malloc((unsigned)i)) == NULL) { in fcomp() 510 (void) strcpy(fname[nfiles], fnamebuf); in fcomp() 511 if((rep->r1.fcode = fopen(fname[nfiles], "w")) == NULL) { in fcomp() 513 perror(fname[nfiles]); in fcomp() 516 fcode[nfiles++] = rep->r1.fcode; in fcomp() 526 for(i = nfiles - 1; i >= 0; i--) in fcomp() [all …]
|
/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | input.c | 255 int nfiles = 0, err = 0; in count_archive() local 265 nfiles++; in count_archive() 274 return (nfiles); in count_archive() 280 int nfiles = 0, err = 0; in count_files() local 308 nfiles += rc; in count_files() 311 nfiles++; in count_files() 325 debug(2, "Found %d files in %d input files\n", nfiles, n); in count_files() 327 return (nfiles); in count_files()
|
/titanic_41/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 …]
|
/titanic_41/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()
|
/titanic_41/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"
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/rsend/ |
H A D | rsend.kshlib | 388 nfiles=$1 393 for ((i=0; i<$nfiles; i=i+1)); do 400 $ECHO Created $nfiles files of random sizes up to $maxsize bytes 413 nfiles=$1 418 for ((i=0; i<$nfiles; i=i+1)); do 421 $ECHO Removed $nfiles files of random sizes up to $maxsize bytes
|
/titanic_41/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()
|
/titanic_41/usr/src/lib/libtecla/common/ |
H A D | pcache.c | 110 size_t nfiles; /* The number of filenames currently in files[] */ member 733 cm->nfiles = 0; in new_CacheMem() 793 cm->nfiles = 0; in rst_CacheMem() 929 if(mem->nfiles + 1 > mem->files_dim) { in pca_scan_dir() 945 mem->files[mem->nfiles++] = copy; in pca_scan_dir() 954 qsort(mem->files + mem->nfiles - nfile, nfile, sizeof(*mem->files), in pca_scan_dir() 1059 node->nfile = node->mem->nfiles; in pca_lookup_file() 1300 node->nfile = node->mem->nfiles; in CPL_MATCH_FN()
|
/titanic_41/usr/src/cmd/checknr/ |
H A D | checknr.c | 147 static int nfiles; /* number of files to process */ variable 249 nfiles = argc - 1; 251 if (nfiles > 0) { 500 if (nfiles > 1) in pe()
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/tnf/tnfdump/ |
H A D | main.c | 95 scanargs(int argc, char **argv, int *nfiles, char ***files) in scanargs() argument 116 *nfiles = argc - optind; in scanargs() 117 if (*nfiles <= 0) { in scanargs()
|
/titanic_41/usr/src/cmd/abi/spectrans/parser/ |
H A D | frontend.c | 123 int nfiles, flen, findex, retval = 0, errors = 0; in dofiles() local 125 nfiles = T_info->ti_nfiles; in dofiles() 127 for (findex = 0; findex < nfiles; ++findex) { in dofiles()
|
/titanic_41/usr/src/cmd/pg/ |
H A D | pg.c | 158 static short nfiles; variable 297 nfiles = argc - optind; in main() 319 if (nfiles > 1) in main() 322 if (nfiles == 0) { in main() 324 nfiles++; in main() 326 while (fnum < nfiles) { in main() 1104 if (fnum + nskip > nfiles - 1) { 1105 nskip = (nfiles - 1) - fnum;
|
/titanic_41/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 238 static int nfiles; variable 683 freemem(filenames, nfiles); in main() 684 nfiles = 0; in main() 707 freemem(filenames, nfiles); in main() 708 nfiles = 0; in main() 1263 if (nfiles != 1) { in main() 1268 if (nfiles == 0) in main() 1579 if (error || nfiles == 0) { in main() 1587 if (nfiles) { in main() 1589 qsort((char *)filenames, nfiles, in main() [all …]
|
/titanic_41/usr/src/cmd/fs.d/ufs/quot/ |
H A D | quot.c | 77 long nfiles; member 352 dp->nfiles++; in qacct() 450 (void) printf("%5ld\t", (*dp)->nfiles); in report()
|
/titanic_41/usr/src/cmd/ls/ |
H A D | ls.c | 230 static int nfiles = 0; /* number of flist entries in current use */ variable 1169 nfiles = lp; in pdirectory() 1174 qsort(&flist[lp], (unsigned)(nfiles - lp), in pdirectory() 1178 for (j = nfiles - 1; j >= lp; j--) { in pdirectory() 1203 pem(&flist[lp], &flist[nfiles], lflg||sflg); in pdirectory() 1602 nfiles--; in rddir() 1786 if (nfiles >= maxfils) { in gstat() 1808 if (nfiles >= maxn) { in gstat() 1810 flist[nfiles++] = rep; in gstat() 1811 maxn = nfiles; in gstat() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | fio.c | 842 int fd, nfiles; in flist_fork() local 852 cfip->fi_nfiles = nfiles = flist_minsize(pfip); in flist_fork() 854 cfip->fi_list = kmem_zalloc(nfiles * sizeof (uf_entry_t), KM_SLEEP); in flist_fork() 856 for (fd = 0, pufp = pfip->fi_list, cufp = cfip->fi_list; fd < nfiles; in flist_fork() 990 int nfiles; in ufalloc_file() local 1019 nfiles = fip->fi_nfiles; in ufalloc_file() 1021 flist_grow(MAX(start, nfiles)); in ufalloc_file()
|
/titanic_41/usr/src/cmd/acct/ |
H A D | acctcom.c | 93 nfiles; variable 272 nfiles++; in main() 275 if(nfiles==0) { in main()
|