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

/opensolaris-onvv-gate/usr/src/cmd/acct/
H A Dacctmerg.c53 int nfile; /* index of last used in fl */ variable
106 if (++nfile >= NFILE) {
110 if ((fl[nfile] = fopen(*argv, "r")) == NULL) {
119 for (i = 0; i <= nfile; i++)
125 for (i = 0; i <= nfile; i++)
150 for (tp = tb; tp <= &tb[nfile]; tp++) {
176 while (tp <= &tb[nfile])
/opensolaris-onvv-gate/usr/src/cmd/sgs/libld/common/
H A Dresolve.c560 Half nfile = ifl->ifl_ehdr->e_type; local
567 if ((ofile == ET_REL) && (nfile == ET_REL) && (obind != STB_WEAK) &&
627 if ((sdp->sd_flags & FLG_SY_SOFOUND) && (nfile == ET_DYN)) {
632 } else if ((nfile == ET_REL) && ((ofile == ET_DYN) ||
663 Half nfile = ifl->ifl_ehdr->e_type; local
681 if ((ofile == ET_REL) && (nfile == ET_REL) && (obind == nbind) &&
699 } else if (ofile != nfile) {
711 if ((nfile == ET_DYN) && (ntype == STT_FUNC)) {
748 if (((ofile == ET_REL) && (nfile == ET_REL) &&
792 if ((ofile == ET_REL) && (nfile
837 Half nfile = ifl->ifl_ehdr->e_type; local
1089 Half vis = 0, nfile = ifl->ifl_ehdr->e_type; local
[all...]
H A Dsupport.c177 const char *nfile = *ofile; local
208 (*flp->fl_fptr)(&npath, &nfile, &nfd, _flags, &nelf, ref, off,
222 if (nfile)
223 *ofile = nfile;
H A Dfiles.c3382 const char *nfile = ofile; local
3402 ld_sup_open(ofl, &npath, &nfile, fd, flags, &elf, NULL, 0,
3408 return (ld_process_ifl(npath, nfile, *fd, elf, flags, ofl, rej,
/opensolaris-onvv-gate/usr/src/cmd/sgs/ldd/common/
H A Dldd.c166 int nfile, var, error = 0; local
342 nfile = argc - optind;
375 if (elf_check(nfile, fname, cname, elf, fflag) != NULL)
382 if (aout_check(nfile, fname, cname, var, fflag) != NULL)
395 elf_check(int nfile, char *fname, char *cname, Elf *elf, int fflag) argument
574 return (run(nfile, cname, fname, (const char *)fname, class));
576 return (run(nfile, cname, fname, conv_lddstub(class), class));
580 aout_check(int nfile, char *fname, char *cname, int fd, int fflag) argument
616 return (run(nfile, cname, fname, conv_lddstub(ELFCLASS32),
620 return (run(nfile, cnam
631 run(int nfile, char *cname, char *fname, const char *ename, int class) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/libbc/inc/include/sys/
H A Dfile.h45 int nfile; variable
/opensolaris-onvv-gate/usr/src/cmd/ipf/svc/
H A Dipfilter82 for nfile in $NAT_FILES $IPNATCONF; do
83 if [ -r ${nfile} ]; then
84 ipnat -f ${nfile}
86 echo "$0: load of ${nfile} failed"
/opensolaris-onvv-gate/usr/src/cmd/grep/
H A Dgrep.c92 static int nfile; variable
158 nfile = argc - 1;
232 if (nfile > 1 && !hflag && file)
328 if (nfile > 1 && !hflag && file)
353 if (nfile > 1 && !hflag)
/opensolaris-onvv-gate/usr/src/cmd/tcopy/
H A Dtcopy.c56 int nfile; /* used for ??? */ variable
175 if (nfile && filen > nfile)
/opensolaris-onvv-gate/usr/src/lib/libtecla/common/
H A Dpcache.c127 int nfile; /* The number of filenames stored in 'files' */ member in struct:PathNode
562 fptr += node->nfile;
838 node->nfile = 0;
855 int nfile = node->nfile = pca_scan_dir(pc, node->dir, node->mem); local
856 if(nfile < 1) { /* No files matched or an error occurred */
858 return nfile < 0;
890 int nfile = 0; /* The number of filenames recorded */ local
949 nfile++;
954 qsort(mem->files + mem->nfiles - nfile, nfil
[all...]
H A Dexpand.c187 ef->result.nfile = 0;
464 if(ef->result.nfile < 1) {
471 qsort(ef->result.files, ef->result.nfile, sizeof(ef->result.files[0]),
613 if(ef->result.nfile + 1 > ef->files_dim) {
630 ef->result.files[ef->result.nfile++] = copy;
669 ef->result.nfile = 0;
1279 if(write_fn && result && result->nfile>0) {
1328 for(i=0; i<result->nfile; i++) {
1355 fmt->nline = (result->nfile + fmt->ncol - 1) / fmt->ncol;
1404 if(m < result->nfile) {
[all...]
H A Dgetline.c5638 if(result->nfile == 0 || !result->exists)
5652 for(i=0; i<result->nfile; i++) {
5689 for(i=0,j=start_path - gl->line; i<result->nfile; i++) {
5751 } else if(result->nfile == 0 || !result->exists) {
6604 } else if(result->nfile == 0 || !result->exists) {
6609 } else if(result->nfile > 1) {
/opensolaris-onvv-gate/usr/src/cmd/sgs/crle/common/
H A Dinspect.c387 char *nfile; local
397 if ((nfile = malloc(size)) == NULL)
399 (void) strcpy(nfile, file);
401 nfile = (char *)file;
403 fent->e_key = (Addr)nfile;
435 (void) printf(MSG_INTL(MSG_DIA_FILE), fent->e_id, nfile); local
510 char rpath[PATH_MAX], *npath, *nfile; local
522 if (nfile = strrchr(npath, '/'))
523 nfile++;
525 nfile
[all...]
/opensolaris-onvv-gate/usr/src/tools/scripts/
H A Dwebrev.sh3046 nfile=new/$DIR/$F
3049 cmp $ofile $nfile > /dev/null 2>&1
3076 diff -u /dev/null $nfile | sh -c "$cleanse_newfile" \
3078 elif [ ! -f "$nfile" ]; then
3082 diff -u $ofile $nfile > $WDIR/$DIR/$F.patch
3088 diff -u /dev/null $nfile | sh -c "$cleanse_newfile" \
3100 if [[ -f $ofile && -f $nfile && -z $mv_but_nodiff ]]; then
3102 ${CDIFFCMD:-diff -bt -C 5} $ofile $nfile > $WDIR/$DIR/$F.cdiff
3107 ${UDIFFCMD:-diff -bt -U 5} $ofile $nfile > $WDIR/$DIR/$F.udiff
3115 -t "$WNAME Wdiff $DIR/$F" $ofile $nfile > \
[all...]
/opensolaris-onvv-gate/usr/src/cmd/modload/
H A Dplcysubr.c254 char *nfile; local
292 nfile = mktemp(tfile);
294 new = fopen(nfile, "w");
418 (void) unlink(nfile);
420 } else if (rename(nfile, filename) != 0) {
424 (void) unlink(nfile);
429 (void) unlink(nfile);
/opensolaris-onvv-gate/usr/src/cmd/fgrep/
H A Dfgrep.c125 int nfile; variable
272 nfile = argc;
427 if (nfile > 1 && !hflag)
462 if ((nfile > 1) && !hflag)
/opensolaris-onvv-gate/usr/src/cmd/egrep/
H A Degrep.y119 int nfile;
761 nfile = argc;
811 if (nfile>1 && !hflag)
916 if (nfile > 1 && !hflag)
948 if (nfile > 1 && !hflag)
/opensolaris-onvv-gate/usr/src/lib/libtecla/
H A Dlibtecla.h185 /* In this case the single entry in 'nfile' may not */
187 int nfile; /* The number of files in files[] */ member in struct:__anon4455
188 char **files; /* An array of 'nfile' filenames. */
/opensolaris-onvv-gate/usr/src/cmd/sgs/pvs/common/
H A Dpvs.c1010 int nfile, var; local
1076 if ((nfile = argc - optind) == 0) {
1223 if ((nfile > 1) && !oflag)

Completed in 295 milliseconds