/freebsd/usr.bin/mkuzip/ |
H A D | mkuz_conveyor.c | 51 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() 81 cfp->handler->f_compress(c_ctx, iblk, oblk); 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() [all …]
|
H A D | mkuz_insize.c | 41 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 D | cf.c | 46 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 D | rmjob.c | 187 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 D | displayq.c | 381 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 D | common.c | 82 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 D | praliases.c | 65 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 D | svc_vc.c | 420 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/editmap/ |
H A D | editmap.c | 102 FILE *cfp; local 210 if ((cfp = fopen(cfile, "r")) == NULL) 216 while (fgets(buf, sizeof(buf), cfp) != NULL) 266 (void) fclose(cfp);
|
/freebsd/contrib/sendmail/mailstats/ |
H A D | mailstats.c | 56 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/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 87 static FILE *cfp; /* control file */ variable 386 if ((cfp = fopen(file, "r")) == NULL) { in printit() 443 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() 891 if ((cfp = fopen(file, "r")) == NULL) in sendit() 913 while (get_line(cfp)) { in sendit() 945 while ((i = get_line(cfp)) != 0) { in sendit() [all …]
|
/freebsd/contrib/sendmail/makemap/ |
H A D | makemap.c | 174 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 D | chat.c | 321 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 D | nfs_nfsdstate.c | 198 uint64_t first, uint64_t end, struct nfslockconflict *cfp, NFSPROC_T *p); 202 int oldflags, uint64_t first, uint64_t end, struct nfslockconflict *cfp, 1818 struct nfslock **new_lopp, struct nfslockconflict *cfp, in nfsrv_lockctrl() argument 1931 new_lop->lo_first, new_lop->lo_end, cfp, p); in nfsrv_lockctrl() 2425 if (cfp != NULL && ret == 0) { in nfsrv_lockctrl() 2426 cfp->cl_clientid.lval[0]=lop->lo_stp->ls_stateid.other[0]; in nfsrv_lockctrl() 2427 cfp->cl_clientid.lval[1]=lop->lo_stp->ls_stateid.other[1]; in nfsrv_lockctrl() 2428 cfp->cl_first = lop->lo_first; in nfsrv_lockctrl() 2429 cfp->cl_end = lop->lo_end; in nfsrv_lockctrl() 2430 cfp->cl_flags = lop->lo_flags; in nfsrv_lockctrl() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | IRInterpreter.cpp | 172 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 D | windows | 1254 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/c/cfp-cdrtfe.trid.xml 1256 !:mime text/x-cfp 1257 !:ext cfp
|
/freebsd/contrib/arm-optimized-routines/math/test/traces/ |
H A D | sincosf.txt | 1166 0x1.818cfp-11
|