Home
last modified time | relevance | path

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

/freebsd-14.2/usr.bin/mkuzip/
H A Dmkuz_conveyor.c52 struct mkuz_cfg *cfp; member
59 struct mkuz_cfg *cfp; in cworker() local
65 cfp = cwp->cfp; in cworker()
68 c_ctx = cfp->handler->f_init(&cfp->comp_level); in cworker()
76 if (cfp->no_zcomp == 0 && in cworker()
81 oblk = mkuz_blk_ctor(cfp->cbound_blksz); in cworker()
83 if (cfp->en_dedup != 0) { in cworker()
105 mkuz_conveyor_ctor(struct mkuz_cfg *cfp) in mkuz_conveyor_ctor() argument
112 (sizeof(pthread_t) * cfp->nworkers)); in mkuz_conveyor_ctor()
117 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-14.2/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-14.2/usr.sbin/lpr/common_source/
H A Drmjob.c193 FILE *cfp; in process() local
198 if ((cfp = fopen(file, "r")) == NULL) in process()
201 while (get_line(cfp)) { in process()
209 (void) fclose(cfp); in process()
235 FILE *cfp; in chk() local
251 if ((cfp = fopen(file, "r")) == NULL) in chk()
254 while (get_line(cfp)) { in chk()
258 (void) fclose(cfp); in chk()
H A Ddisplayq.c387 FILE *cfp; in inform() local
394 if ((cfp = fopen(cf, "r")) == NULL) in inform()
418 while (get_line(cfp)) { in inform()
422 fclose(cfp); in inform()
464 fclose(cfp); in inform()
H A Dcommon.c88 get_line(FILE *cfp) in get_line() argument
94 while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) { in get_line()
/freebsd-14.2/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-14.2/lib/libc/rpc/
H A Dsvc_vc.c424 struct cf_rendezvous *cfp; in svc_vc_rendezvous_control() local
426 cfp = (struct cf_rendezvous *)xprt->xp_p1; in svc_vc_rendezvous_control()
427 if (cfp == NULL) in svc_vc_rendezvous_control()
431 *(int *)in = cfp->maxrec; in svc_vc_rendezvous_control()
434 cfp->maxrec = *(int *)in; in svc_vc_rendezvous_control()
456 struct cf_conn *cfp; in read_vc() local
463 cfp = (struct cf_conn *)xprt->xp_p1; in read_vc()
465 if (cfp->nonblock) { in read_vc()
474 gettimeofday(&cfp->last_recv_time, NULL); in read_vc()
496 gettimeofday(&cfp->last_recv_time, NULL); in read_vc()
/freebsd-14.2/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-14.2/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-14.2/usr.sbin/lpr/lpd/
H A Dprintjob.c455 while (get_line(cfp)) in printit()
559 (void) fclose(cfp); in printit()
579 fseek(cfp, 0L, 0); in printit()
580 while (get_line(cfp)) in printit()
600 (void) fclose(cfp); in printit()
925 while (get_line(cfp)) { in sendit()
968 (void) fclose(cfp); in sendit()
979 (void) fclose(cfp); in sendit()
985 fseek(cfp, 0L, 0); in sendit()
986 while (get_line(cfp)) in sendit()
[all …]
/freebsd-14.2/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-14.2/usr.bin/chat/
H A Dchat.c322 FILE *cfp; in do_file() local
324 cfp = fopen (chatfile, "r"); in do_file()
325 if (cfp == NULL) in do_file()
331 while (fgets(buf, STR_LEN, cfp) != NULL) { in do_file()
379 fclose (cfp); in do_file()
/freebsd-14.2/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c2420 if (cfp != NULL && ret == 0) { in nfsrv_lockctrl()
2424 cfp->cl_end = lop->lo_end; in nfsrv_lockctrl()
2428 cfp->cl_ownerlen); in nfsrv_lockctrl()
6012 end, cfp, p); in nfsrv_locallock()
6116 if (cfp != NULL) { in nfsrv_dolocal()
6117 cfp->cl_clientid.lval[0] = 0; in nfsrv_dolocal()
6118 cfp->cl_clientid.lval[1] = 0; in nfsrv_dolocal()
6119 cfp->cl_first = 0; in nfsrv_dolocal()
6120 cfp->cl_end = NFS64BITSSET; in nfsrv_dolocal()
6121 cfp->cl_flags = NFSLCK_WRITE; in nfsrv_dolocal()
[all …]
/freebsd-14.2/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-14.2/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-14.2/contrib/arm-optimized-routines/math/test/traces/
H A Dsincosf.txt1166 0x1.818cfp-11