Home
last modified time | relevance | path

Searched refs:nfile (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/cmd/acct/
H A Dacctmerg.c53 int nfile; /* index of last used in fl */ variable
106 if (++nfile >= NFILE) { in main()
110 if ((fl[nfile] = fopen(*argv, "r")) == NULL) { in main()
119 for (i = 0; i <= nfile; i++) in main()
125 for (i = 0; i <= nfile; i++) in main()
150 for (tp = tb; tp <= &tb[nfile]; tp++) { in getleast()
176 while (tp <= &tb[nfile]) in sumcurr()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dresolve.c560 Half nfile = ifl->ifl_ehdr->e_type; in sym_tworeals() local
567 if ((ofile == ET_REL) && (nfile == ET_REL) && (obind != STB_WEAK) && in sym_tworeals()
627 if ((sdp->sd_flags & FLG_SY_SOFOUND) && (nfile == ET_DYN)) { in sym_tworeals()
632 } else if ((nfile == ET_REL) && ((ofile == ET_DYN) || in sym_tworeals()
663 Half nfile = ifl->ifl_ehdr->e_type; in sym_realtent() local
681 if ((ofile == ET_REL) && (nfile == ET_REL) && (obind == nbind) && in sym_realtent()
699 } else if (ofile != nfile) { in sym_realtent()
711 if ((nfile == ET_DYN) && (ntype == STT_FUNC)) { in sym_realtent()
748 if (((ofile == ET_REL) && (nfile == ET_REL) && in sym_realtent()
792 if ((ofile == ET_REL) && (nfile == ET_DYN) && (otent == TRUE) && in sym_realtent()
[all …]
H A Dsupport.c177 const char *nfile = *ofile; in ld_sup_open() local
208 (*flp->fl_fptr)(&npath, &nfile, &nfd, _flags, &nelf, ref, off, in ld_sup_open()
222 if (nfile) in ld_sup_open()
223 *ofile = nfile; in ld_sup_open()
H A Dfiles.c3401 const char *nfile = ofile; in ld_process_open() local
3421 ld_sup_open(ofl, &npath, &nfile, fd, flags, &elf, NULL, 0, in ld_process_open()
3427 return (ld_process_ifl(npath, nfile, *fd, elf, flags, ofl, rej, in ld_process_open()
/titanic_41/usr/src/tools/scripts/
H A Dwebrev.sh3077 nfile=new/$DIR/$F
3080 cmp $ofile $nfile > /dev/null 2>&1
3104 diff -u /dev/null $nfile | sh -c "$cleanse_newfile" \
3106 elif [ ! -f "$nfile" ]; then
3110 diff -u $ofile $nfile > $WDIR/$DIR/$F.patch
3116 diff -u /dev/null $nfile | sh -c "$cleanse_newfile" \
3127 if [[ -f $ofile && -f $nfile && -z $mv_but_nodiff ]]; then
3128 ${CDIFFCMD:-diff -bt -C 5} $ofile $nfile > $WDIR/$DIR/$F.cdiff
3133 ${UDIFFCMD:-diff -bt -U 5} $ofile $nfile > $WDIR/$DIR/$F.udiff
3140 -t "$WNAME Wdiff $DIR/$F" $ofile $nfile > \
[all …]
/titanic_41/usr/src/cmd/sgs/ldd/common/
H A Dldd.c166 int nfile, var, error = 0; in main() local
342 nfile = argc - optind; in main()
375 if (elf_check(nfile, fname, cname, elf, fflag) != NULL) in main()
382 if (aout_check(nfile, fname, cname, var, fflag) != NULL) in main()
395 elf_check(int nfile, char *fname, char *cname, Elf *elf, int fflag) in elf_check() argument
574 return (run(nfile, cname, fname, (const char *)fname, class)); in elf_check()
576 return (run(nfile, cname, fname, conv_lddstub(class), class)); in elf_check()
580 aout_check(int nfile, char *fname, char *cname, int fd, int fflag) in aout_check() argument
616 return (run(nfile, cname, fname, conv_lddstub(ELFCLASS32), in aout_check()
620 return (run(nfile, cname, fname, (const char *)fname, in aout_check()
[all …]
/titanic_41/usr/src/lib/libtecla/common/
H A Dpcache.c127 int nfile; /* The number of filenames stored in 'files' */ member
562 fptr += node->nfile; in pca_scan_path()
838 node->nfile = 0; in add_PathNode()
855 int nfile = node->nfile = pca_scan_dir(pc, node->dir, node->mem); in add_PathNode() local
856 if(nfile < 1) { /* No files matched or an error occurred */ in add_PathNode()
858 return nfile < 0; in add_PathNode()
890 int nfile = 0; /* The number of filenames recorded */ in pca_scan_dir() local
949 nfile++; in pca_scan_dir()
954 qsort(mem->files + mem->nfiles - nfile, nfile, sizeof(*mem->files), in pca_scan_dir()
959 return nfile; in pca_scan_dir()
[all …]
H A Dexpand.c187 ef->result.nfile = 0; in new_ExpandFile()
464 if(ef->result.nfile < 1) { in ef_expand_file()
471 qsort(ef->result.files, ef->result.nfile, sizeof(ef->result.files[0]), in ef_expand_file()
613 if(ef->result.nfile + 1 > ef->files_dim) { in ef_record_pathname()
630 ef->result.files[ef->result.nfile++] = copy; in ef_record_pathname()
669 ef->result.nfile = 0; in ef_clear_files()
1279 if(write_fn && result && result->nfile>0) { in _ef_output_expansions()
1328 for(i=0; i<result->nfile; i++) { in ef_plan_listing()
1355 fmt->nline = (result->nfile + fmt->ncol - 1) / fmt->ncol; in ef_plan_listing()
1404 if(m < result->nfile) { in ef_format_line()
H A Dgetline.c5638 if(result->nfile == 0 || !result->exists) in KT_KEY_FN()
5652 for(i=0; i<result->nfile; i++) { in KT_KEY_FN()
5689 for(i=0,j=start_path - gl->line; i<result->nfile; i++) { in KT_KEY_FN()
5751 } else if(result->nfile == 0 || !result->exists) { in KT_KEY_FN()
6604 } else if(result->nfile == 0 || !result->exists) { in KT_KEY_FN()
6609 } else if(result->nfile > 1) { in KT_KEY_FN()
/titanic_41/usr/src/cmd/sgs/crle/common/
H A Dinspect.c387 char *nfile; in _enterfile() local
397 if ((nfile = malloc(size)) == NULL) in _enterfile()
399 (void) strcpy(nfile, file); in _enterfile()
401 nfile = (char *)file; in _enterfile()
403 fent->e_key = (Addr)nfile; in _enterfile()
435 (void) printf(MSG_INTL(MSG_DIA_FILE), fent->e_id, nfile); in _enterfile()
510 char rpath[PATH_MAX], *npath, *nfile; in enterfile() local
522 if (nfile = strrchr(npath, '/')) in enterfile()
523 nfile++; in enterfile()
525 nfile = npath; in enterfile()
[all …]
/titanic_41/usr/src/test/zfs-tests/cmd/mktree/
H A Dmktree.c46 static int nfile = 2; variable
70 nfile = atoi(optarg); in main()
76 if (nlevel < 0 || ndir < 0 || nfile < 0 || pbasedir == NULL) { in main()
120 for (f = 0; f < nfile; f++) { in mktree()
129 for (f = 0; f < nfile; f++) { in mktree()
/titanic_41/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"
/titanic_41/usr/src/cmd/grep/
H A Dgrep.c106 static int nfile; variable
193 nfile = argc - 1; in main()
332 if (Hflag || (nfile > 1 && !hflag)) in execute()
429 if (Hflag || (!hflag && ((nfile > 1) || in execute()
457 if (Hflag || (!hflag && (nfile > 1 || (rflag && outfn)))) { in succeed()
/titanic_41/usr/src/cmd/tcopy/
H A Dtcopy.c56 int nfile; /* used for ??? */ variable
175 if (nfile && filen > nfile)
/titanic_41/usr/src/cmd/modload/
H A Dplcysubr.c254 char *nfile; in delete_one_entry() local
292 nfile = mktemp(tfile); in delete_one_entry()
294 new = fopen(nfile, "w"); in delete_one_entry()
418 (void) unlink(nfile); in delete_one_entry()
420 } else if (rename(nfile, filename) != 0) { in delete_one_entry()
424 (void) unlink(nfile); in delete_one_entry()
429 (void) unlink(nfile); in delete_one_entry()
/titanic_41/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_aclmode_001_pos.ksh94 nfile=$basedir/nfile; ndir=$basedir/ndir
99 allnodes="$nfile $ndir"
507 log_must usr_exec $TOUCH $nfile
/titanic_41/usr/src/cmd/fgrep/
H A Dfgrep.c128 int nfile; variable
281 nfile = argc; in main()
438 if (Hflag || (nfile > 1 && !hflag)) in execute()
473 if (Hflag || (nfile > 1 && !hflag)) in execute()
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dfile.h45 int nfile; variable
/titanic_41/usr/src/cmd/egrep/
H A Degrep.y122 int nfile; variable
773 nfile = argc; in main()
823 if (Hflag || (nfile > 1 && !hflag)) in execute()
928 if (Hflag || (nfile > 1 && !hflag)) in execute()
960 if (Hflag || (nfile > 1 && !hflag)) in execute()
/titanic_41/usr/src/cmd/sgs/pvs/common/
H A Dpvs.c1010 int nfile, var; in main() local
1076 if ((nfile = argc - optind) == 0) { in main()
1230 if ((nfile > 1) && !oflag) in main()
/titanic_41/usr/src/lib/libtecla/
H A Dlibtecla.h187 int nfile; /* The number of files in files[] */ member
/titanic_41/usr/src/cmd/lp/lib/oam/
H A Dmsg.source526 "The LP print service could not read your request\nfile."
820 …"This is probably due to a full spooling\nfile system. If it is, clean out files\nto free up space…