Home
last modified time | relevance | path

Searched refs:cfp (Results 1 – 17 of 17) sorted by relevance

/freebsd/usr.bin/mkuzip/
H A Dmkuz_conveyor.c51 struct mkuz_cfg *cfp; member
58 struct mkuz_cfg *cfp; in cworker() local
64 cfp = cwp->cfp; in cworker()
67 c_ctx = cfp->handler->f_init(&cfp->comp_level); in cworker()
75 if (cfp->no_zcomp == 0 && in cworker()
80 oblk = mkuz_blk_ctor(cfp->cbound_blksz); in cworker()
82 if (cfp->en_dedup != 0) { in cworker()
104 mkuz_conveyor_ctor(struct mkuz_cfg *cfp) in mkuz_conveyor_ctor() argument
111 (sizeof(pthread_t) * cfp->nworkers)); in mkuz_conveyor_ctor()
116 for (i = 0; i < cfp->nworkers; i++) { in mkuz_conveyor_ctor()
[all …]
H A Dmkuz_insize.c41 mkuz_get_insize(struct mkuz_cfg *cfp) in mkuz_get_insize() argument
48 if (fstat(cfp->fdr, &sb) != 0) { in mkuz_get_insize()
49 warn("fstat(%s)", cfp->iname); in mkuz_get_insize()
53 if (fstatfs(cfp->fdr, &statfsbuf) != 0) { in mkuz_get_insize()
54 warn("fstatfs(%s)", cfp->iname); in mkuz_get_insize()
70 if (ioctl(cfp->fdr, DIOCGMEDIASIZE, &ms) < 0) { in mkuz_get_insize()
77 cfp->iname); in mkuz_get_insize()
/freebsd/contrib/sendmail/libsm/
H A Dcf.c46 SM_FILE_T *cfp; variable
54 cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, path, SM_IO_RDONLY, NULL);
55 if (cfp == NULL)
58 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0)
91 if (sm_io_error(cfp))
95 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
99 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
/freebsd/usr.sbin/lpr/common_source/
H A Drmjob.c187 FILE *cfp; in process() local
192 if ((cfp = fopen(file, "r")) == NULL) in process()
195 while (get_line(cfp)) { in process()
203 (void) fclose(cfp); in process()
229 FILE *cfp; in chk() local
245 if ((cfp = fopen(file, "r")) == NULL) in chk()
248 while (get_line(cfp)) { in chk()
252 (void) fclose(cfp); in chk()
H A Ddisplayq.c381 FILE *cfp; in inform() local
388 if ((cfp = fopen(cf, "r")) == NULL) in inform()
412 while (get_line(cfp)) { in inform()
416 fclose(cfp); in inform()
458 fclose(cfp); in inform()
H A Dcommon.c82 get_line(FILE *cfp) in get_line() argument
88 while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) { in get_line()
/freebsd/contrib/sendmail/praliases/
H A Dpraliases.c65 SM_FILE_T *cfp; local
121 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
130 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0)
165 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
230 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
/freebsd/lib/libc/rpc/
H A Dsvc_vc.c420 struct cf_rendezvous *cfp; in svc_vc_rendezvous_control() local
422 cfp = (struct cf_rendezvous *)xprt->xp_p1; in svc_vc_rendezvous_control()
423 if (cfp == NULL) in svc_vc_rendezvous_control()
427 *(int *)in = cfp->maxrec; in svc_vc_rendezvous_control()
430 cfp->maxrec = *(int *)in; in svc_vc_rendezvous_control()
452 struct cf_conn *cfp; in read_vc() local
459 cfp = (struct cf_conn *)xprt->xp_p1; in read_vc()
461 if (cfp->nonblock) { in read_vc()
470 gettimeofday(&cfp->last_recv_time, NULL); in read_vc()
492 gettimeofday(&cfp->last_recv_time, NULL); in read_vc()
/freebsd/contrib/sendmail/mailstats/
H A Dmailstats.c56 SM_FILE_T *cfp; variable
122 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
137 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0)
212 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
/freebsd/contrib/sendmail/editmap/
H A Deditmap.c102 FILE *cfp; local
210 if ((cfp = fopen(cfile, "r")) == NULL)
216 while (fgets(buf, sizeof(buf), cfp) != NULL)
266 (void) fclose(cfp);
/freebsd/usr.sbin/lpr/lpd/
H A Dprintjob.c443 while (get_line(cfp)) in printit()
547 (void) fclose(cfp); in printit()
567 fseek(cfp, 0L, 0); in printit()
568 while (get_line(cfp)) in printit()
588 (void) fclose(cfp); in printit()
913 while (get_line(cfp)) { in sendit()
956 (void) fclose(cfp); in sendit()
967 (void) fclose(cfp); in sendit()
973 fseek(cfp, 0L, 0); in sendit()
974 while (get_line(cfp)) in sendit()
[all …]
/freebsd/contrib/sendmail/makemap/
H A Dmakemap.c174 SM_FILE_T *cfp; local
180 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile,
209 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0)
331 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
/freebsd/usr.bin/chat/
H A Dchat.c321 FILE *cfp; in do_file() local
323 cfp = fopen (chatfile, "r"); in do_file()
324 if (cfp == NULL) in do_file()
330 while (fgets(buf, STR_LEN, cfp) != NULL) { in do_file()
378 fclose (cfp); in do_file()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c2409 if (cfp != NULL && ret == 0) { in nfsrv_lockctrl()
2413 cfp->cl_end = lop->lo_end; in nfsrv_lockctrl()
2417 cfp->cl_ownerlen); in nfsrv_lockctrl()
6014 end, cfp, p); in nfsrv_locallock()
6118 if (cfp != NULL) { in nfsrv_dolocal()
6119 cfp->cl_clientid.lval[0] = 0; in nfsrv_dolocal()
6120 cfp->cl_clientid.lval[1] = 0; in nfsrv_dolocal()
6121 cfp->cl_first = 0; in nfsrv_dolocal()
6122 cfp->cl_end = NFS64BITSSET; in nfsrv_dolocal()
6123 cfp->cl_flags = NFSLCK_WRITE; in nfsrv_dolocal()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp172 if (auto *cfp = dyn_cast<ConstantFP>(constant)) { in EvaluateValue() local
173 if (cfp->getType()->isDoubleTy()) in EvaluateValue()
174 scalar = cfp->getValueAPF().convertToDouble(); in EvaluateValue()
175 else if (cfp->getType()->isFloatTy()) in EvaluateValue()
176 scalar = cfp->getValueAPF().convertToFloat(); in EvaluateValue()
/freebsd/contrib/file/magic/Magdir/
H A Dwindows1179 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/c/cfp-cdrtfe.trid.xml
1181 !:mime text/x-cfp
1182 !:ext cfp
/freebsd/contrib/arm-optimized-routines/math/test/traces/
H A Dsincosf.txt1166 0x1.818cfp-11