| /freebsd/sys/contrib/zstd/zlibWrapper/examples/ |
| H A D | fitblk.c | 103 local int recompress(z_streamp inf, z_streamp def) in recompress() argument 112 inf->avail_out = RAWLEN; in recompress() 113 inf->next_out = raw; in recompress() 114 …al_in=%d avail_out=%d total_out=%d\n", (int)inf->avail_in, (int)inf->total_in, (int)inf->avail_out… in recompress() 115 ret = inflate(inf, Z_NO_FLUSH); in recompress() 116 …al_in=%d avail_out=%d total_out=%d\n", (int)inf->avail_in, (int)inf->total_in, (int)inf->avail_out… in recompress() 123 def->avail_in = RAWLEN - inf->avail_out; in recompress() 125 if (inf->avail_out != 0) in recompress() 146 z_stream def, inf; /* zlib deflate and inflate states */ in main() local 197 inf.zalloc = Z_NULL; in main() [all …]
|
| H A D | fitblk_original.c | 96 local int recompress(z_streamp inf, z_streamp def) in recompress() argument 104 inf->avail_out = RAWLEN; in recompress() 105 inf->next_out = raw; in recompress() 106 ret = inflate(inf, Z_NO_FLUSH); in recompress() 113 def->avail_in = RAWLEN - inf->avail_out; in recompress() 115 if (inf->avail_out != 0) in recompress() 134 z_stream def, inf; /* zlib deflate and inflate states */ in main() local 180 inf.zalloc = Z_NULL; in main() 181 inf.zfree = Z_NULL; in main() 182 inf.opaque = Z_NULL; in main() [all …]
|
| H A D | zwrapbench.c | 452 z_stream inf; in BMK_benchMem() local 456 inf.zalloc = Z_NULL; in BMK_benchMem() 457 inf.zfree = Z_NULL; in BMK_benchMem() 458 inf.opaque = Z_NULL; in BMK_benchMem() 459 ret = inflateInit(&inf); in BMK_benchMem() 464 if (ZWRAP_isUsingZSTDdecompression(&inf)) in BMK_benchMem() 465 …ret = ZWRAP_inflateReset_keepDict(&inf); /* reuse dictionary to make decompression faster; inflate… in BMK_benchMem() 467 ret = inflateReset(&inf); in BMK_benchMem() 469 inf.next_in = (z_const z_Bytef*) blockTable[blockNb].cPtr; in BMK_benchMem() 470 inf.avail_in = (uInt)blockTable[blockNb].cSize; in BMK_benchMem() [all …]
|
| /freebsd/bin/ps/ |
| H A D | ps.c | 812 addelem_gid(struct listinfo *inf, const char *elem) in addelem_gid() argument 821 xo_warnx("Invalid (zero-length) %s name", inf->lname); in addelem_gid() 823 xo_warnx("%s name too long: %s", inf->lname, elem); in addelem_gid() 848 xo_warnx("No %s %s '%s'", inf->lname, nameorID, elem); in addelem_gid() 852 if (inf->count >= inf->maxcount) in addelem_gid() 853 expand_list(inf); in addelem_gid() 854 inf->l.gids[(inf->count)++] = grp->gr_gid; in addelem_gid() 859 addelem_jid(struct listinfo *inf, const char *elem) in addelem_jid() argument 871 xo_warnx("Invalid %s: %s", inf->lname, elem); in addelem_jid() 876 if (inf->count >= inf->maxcount) in addelem_jid() [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/aarch64/sve/ |
| H A D | hypotf.c | 43 TEST_INTERVAL2 (SV_NAME_F2 (hypot), 0, inf, 0, inf, 10000) 44 TEST_INTERVAL2 (SV_NAME_F2 (hypot), 0, inf, -0, -inf, 10000) 45 TEST_INTERVAL2 (SV_NAME_F2 (hypot), -0, -inf, 0, inf, 10000) 46 TEST_INTERVAL2 (SV_NAME_F2 (hypot), -0, -inf, -0, -inf, 10000)
|
| H A D | hypot.c | 49 TEST_INTERVAL2 (SV_NAME_D2 (hypot), 0, inf, 0, inf, 10000) 50 TEST_INTERVAL2 (SV_NAME_D2 (hypot), 0, inf, -0, -inf, 10000) 51 TEST_INTERVAL2 (SV_NAME_D2 (hypot), -0, -inf, 0, inf, 10000) 52 TEST_INTERVAL2 (SV_NAME_D2 (hypot), -0, -inf, -0, -inf, 10000)
|
| H A D | pow.c | 452 SV_POW_INTERVAL2 (0, SHL52 (SmallPowX), 0, inf, 40000) 453 SV_POW_INTERVAL2 (SHL52 (SmallPowX), SHL52 (BigPowX), 0, inf, 40000) 454 SV_POW_INTERVAL2 (SHL52 (BigPowX), inf, 0, inf, 40000) 455 SV_POW_INTERVAL2 (0, inf, 0, SHL52 (SmallPowY), 40000) 456 SV_POW_INTERVAL2 (0, inf, SHL52 (SmallPowY), SHL52 (BigPowY), 40000) 457 SV_POW_INTERVAL2 (0, inf, SHL52 (BigPowY), inf, 40000) 458 SV_POW_INTERVAL2 (0, inf, 0, inf, 1000) 472 SV_POW_INTERVAL2 (inf, inf, 0.5, 0.5, 1) 473 SV_POW_INTERVAL2 (inf, inf, 1.0, 1.0, 1) 474 SV_POW_INTERVAL2 (inf, inf, 2.0, 2.0, 1) [all …]
|
| /freebsd/usr.sbin/rpcbind/ |
| H A D | rpcb_stat.c | 54 static rpcb_stat_byvers inf; variable 82 inf[rtype].info[proc]++; in rpcbs_procinfo() 90 inf[rtype].setinfo++; in rpcbs_set() 98 inf[rtype].unsetinfo++; in rpcbs_unset() 110 for (al = inf[rtype].addrinfo; al; al = al->next) { in rpcbs_getaddr() 141 al->next = inf[rtype].addrinfo; in rpcbs_getaddr() 142 inf[rtype].addrinfo = al; in rpcbs_getaddr() 154 for (rl = inf[rtype].rmtinfo; rl; rl = rl->next) { in rpcbs_rmtcall() 193 rl->next = inf[rtype].rmtinfo; in rpcbs_rmtcall() 194 inf[rtype].rmtinfo = rl; in rpcbs_rmtcall() [all …]
|
| /freebsd/usr.bin/pr/ |
| H A D | pr.c | 177 FILE *inf; in onecol() local 216 while ((inf = nxtfile(argc, argv, &fname, ohbuf, 0)) != NULL) { in onecol() 221 if (inskip(inf, pgnm, lines)) in onecol() 247 if ((cnt = inln(inf,lbuf,LBUF,&cps,0,&mor)) < 0) in onecol() 294 if (inf != stdin) in onecol() 295 (void)fclose(inf); in onecol() 338 FILE *inf; in vertcol() local 417 while ((inf = nxtfile(argc, argv, &fname, ohbuf, 0)) != NULL) { in vertcol() 422 if (inskip(inf, pgnm, lines)) in vertcol() 474 cnt = inln(inf,ptbf,colwd,&cps,1,&mor); in vertcol() [all …]
|
| /freebsd/sys/contrib/zlib/test/ |
| H A D | infcover.c | 284 local void inf(char *hex, char *what, unsigned step, int win, unsigned len, in inf() function 367 inf("63 0", "force window allocation", 0, -15, 1, Z_OK); in cover_support() 368 inf("63 18 5", "force window replacement", 0, -8, 259, Z_OK); in cover_support() 369 inf("63 18 68 30 d0 0 0", "force split window update", 4, -8, 259, Z_OK); in cover_support() 370 inf("3 0", "use fixed blocks", 0, -15, 1, Z_STREAM_END); in cover_support() 371 inf("", "bad window size", 0, 1, 0, Z_STREAM_ERROR); in cover_support() 399 inf("1f 8b 0 0", "bad gzip method", 0, 31, 0, Z_DATA_ERROR); in cover_wrap() 400 inf("1f 8b 8 80", "bad gzip flags", 0, 31, 0, Z_DATA_ERROR); in cover_wrap() 401 inf("77 85", "bad zlib method", 0, 15, 0, Z_DATA_ERROR); in cover_wrap() 402 inf("8 99", "set window size from header", 0, 0, 0, Z_OK); in cover_wrap() [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/test/ |
| H A D | runulp.sh | 69 check -q -f -e 0 _ZGVsMxvv_powi 0 inf x 0 1000 100000 70 check -q -f -e 0 _ZGVsMxvv_powi -0 -inf x 0 1000 100000 71 check -q -f -e 0 _ZGVsMxvv_powi 0 inf x -0 -1000 100000 72 check -q -f -e 0 _ZGVsMxvv_powi -0 -inf x -0 -1000 100000 75 check -q -f -e 0 _ZGVsMxvv_powk 0 inf x 0 1000 100000 76 check -q -f -e 0 _ZGVsMxvv_powk -0 -inf x 0 1000 100000 77 check -q -f -e 0 _ZGVsMxvv_powk 0 inf x -0 -1000 100000 78 check -q -f -e 0 _ZGVsMxvv_powk -0 -inf x -0 -1000 100000
|
| /freebsd/tools/tools/cd2dvd/ |
| H A D | cd2dvd.sh | 85 if [ ! -f ${_mnt}/cdrom.inf ] 90 cdvol=`grep "^CD_VOLUME.*" ${_mnt}/cdrom.inf | sed "s/CD_VOLUME[[:space:]]*=[[:space:]]*//"` 96 cdver=`grep "^CD_VERSION.*" ${_mnt}/cdrom.inf | sed "s/CD_VERSION[[:space:]]*=[[:space:]]*//"` 255 mv "${tmpdirout}"/cdrom.inf "${tmpdirout}"/cdrom.inf~ || exit 1 256 …${tmpdirout}"/cdrom.inf~ | sed "s/^\(CD_VOLUME[[:space:]]\{0,\}=[[:space:]]\{0,\}\)[[:digit:]]\{1,… 257 rm "${tmpdirout}"/cdrom.inf~ || exit 1
|
| /freebsd/sys/dev/aac/ |
| H A D | aac_cam.c | 71 struct aac_sim *inf; member 119 if (camsc == NULL || camsc->inf == NULL || in aac_cam_rescan() 120 camsc->inf->BusNumber != channel) in aac_cam_rescan() 181 sc = camsc->inf->aac_sc; in aac_cam_detach() 182 camsc->inf->aac_cam = NULL; in aac_cam_detach() 208 struct aac_sim *inf; in aac_cam_attach() local 213 inf = (struct aac_sim *)device_get_ivars(dev); in aac_cam_attach() 214 camsc->inf = inf; in aac_cam_attach() 215 camsc->inf->aac_cam = camsc; in aac_cam_attach() 217 devq = cam_simq_alloc(inf->TargetsPerBus); in aac_cam_attach() [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/ |
| H A D | hypot.c | 92 TEST_INTERVAL2 (V_NAME_D2 (hypot), 0, inf, 0, inf, 10000) 93 TEST_INTERVAL2 (V_NAME_D2 (hypot), 0, inf, -0, -inf, 10000) 94 TEST_INTERVAL2 (V_NAME_D2 (hypot), -0, -inf, 0, inf, 10000) 95 TEST_INTERVAL2 (V_NAME_D2 (hypot), -0, -inf, -0, -inf, 10000)
|
| H A D | hypotf.c | 93 TEST_INTERVAL2 (V_NAME_F2 (hypot), 0, inf, 0, inf, 10000) 94 TEST_INTERVAL2 (V_NAME_F2 (hypot), 0, inf, -0, -inf, 10000) 95 TEST_INTERVAL2 (V_NAME_F2 (hypot), -0, -inf, 0, inf, 10000) 96 TEST_INTERVAL2 (V_NAME_F2 (hypot), -0, -inf, -0, -inf, 10000)
|
| H A D | pow.c | 22 uint64x2_t inf; member 35 .inf = V2 (0x7ff0000000000000), 199 uint64x2_t iay = vandq_u64 (viy, d->inf); in V_NAME_D2() 214 uint64x2_t iax = vandq_u64 (vix, d->inf); in V_NAME_D2() 215 uint64x2_t specialx = vcgeq_u64 (iax, d->inf); in V_NAME_D2() 216 uint64x2_t specialy = vcgeq_u64 (iay, d->inf); in V_NAME_D2() 261 V_POW_INTERVAL2 (0, SHL52 (SmallPowX), 0, inf, 40000) 262 V_POW_INTERVAL2 (SHL52 (SmallPowX), SHL52 (BigPowX), 0, inf, 40000) 263 V_POW_INTERVAL2 (SHL52 (BigPowX), inf, 0, inf, 40000) 264 V_POW_INTERVAL2 (0, inf, 0, SHL52 (SmallPowY), 40000) [all …]
|
| H A D | log1p.c | 18 uint64x2_t inf, minus_one; member 20 .inf = V2 (0x7ff0000000000000), 46 = vorrq_u64 (vcgeq_u64 (ia, d->inf), vcgeq_u64 (ix, d->minus_one)); in V_NAME_D1() 60 TEST_INTERVAL (V_NAME_D1 (log1p), 1, inf, 40000) 61 TEST_INTERVAL (V_NAME_D1 (log1p), -1.0, -inf, 500)
|
| /freebsd/contrib/one-true-awk/bugs-fixed/ |
| H A D | inf-nan-torture.ok | 1 1 -inf -inf 16 16 +inf +inf
|
| /freebsd/usr.bin/ctags/ |
| H A D | yacc.c | 75 (void)ungetc(c, inf); in y_entries() 81 (void)ungetc(c, inf); in y_entries() 107 (void)ungetc(c, inf); in y_entries() 127 lineftell = ftell(inf); in toss_yysec() 132 lineftell = ftell(inf); in toss_yysec()
|
| H A D | C.c | 60 lineftell = ftell(inf); in c_entries() 121 (void)ungetc(c, inf); in c_entries() 199 (void)ungetc(c, inf); in c_entries() 322 (void)ungetc(c, inf); in func_entry() 333 (void)ungetc(c, inf); in func_entry() 357 (void)ungetc(c, inf); in hash_entry() 448 (void)ungetc(c, inf); in str_entry() 544 (void)ungetc(c, inf); in skip_key()
|
| /freebsd/crypto/openssl/crypto/dso/ |
| H A D | dso_dl.c | 243 struct shl_descriptor inf; in dl_pathbyaddr() local 256 for (i = -1; shl_get_r(i, &inf) == 0; i++) { in dl_pathbyaddr() 257 …if (((size_t)addr >= inf.tstart && (size_t)addr < inf.tend) || ((size_t)addr >= inf.dstart && (siz… in dl_pathbyaddr() 258 len = (int)strlen(inf.filename); in dl_pathbyaddr() 263 memcpy(path, inf.filename, len); in dl_pathbyaddr()
|
| /freebsd/contrib/diff/src/ |
| H A D | context.c | 50 struct file_data *inf, in print_context_label() argument 59 struct tm const *tm = localtime (&inf->stat.st_mtime); in print_context_label() 60 long nsec = TIMESPEC_NS (inf->stat.st_mtim); in print_context_label() 63 time_t sec = inf->stat.st_mtime; in print_context_label() 64 verify (info_preserved, sizeof inf->stat.st_mtime <= sizeof sec); in print_context_label() 67 fprintf (outfile, "%s %s\t%s\n", mark, inf->name, buf); in print_context_label() 74 print_context_header (struct file_data inf[], bool unidiff) in print_context_header() argument 78 print_context_label ("---", &inf[0], file_label[0]); in print_context_header() 79 print_context_label ("+++", &inf[1], file_label[1]); in print_context_header() 83 print_context_label ("***", &inf[0], file_label[0]); in print_context_header() [all …]
|
| /freebsd/crypto/krb5/src/lib/crypto/builtin/aes/ |
| H A D | aescrypt.c | 107 …if(cx->inf.b[0] != 10 * AES_BLOCK_SIZE && cx->inf.b[0] != 12 * AES_BLOCK_SIZE && cx->inf.b[0] != 1… 115 switch(cx->inf.b[0]) 142 for(rnd = 0; rnd < (cx->inf.b[0] >> 5) - 1ul; ++rnd) 153 for(rnd = 0; rnd < (cx->inf.b[0] >> 4) - 1ul; ++rnd) 239 …if(cx->inf.b[0] != 10 * AES_BLOCK_SIZE && cx->inf.b[0] != 12 * AES_BLOCK_SIZE && cx->inf.b[0] != 1… 242 kp = cx->ks + (key_ofs ? (cx->inf.b[0] >> 2) : 0); 247 kp = cx->ks + (key_ofs ? 0 : (cx->inf.b[0] >> 2)); 248 switch(cx->inf.b[0]) 273 for(rnd = 0; rnd < (cx->inf.b[0] >> 5) - 1ul; ++rnd) 284 for(rnd = 0; rnd < (cx->inf.b[0] >> 4) - 1ul; ++rnd)
|
| /freebsd/sys/dev/aacraid/ |
| H A D | aacraid_cam.c | 94 struct aac_sim *inf; member 176 if (camsc == NULL || camsc->inf == NULL || in aac_cam_rescan() 177 camsc->inf->BusNumber != channel) in aac_cam_rescan() 230 if (!camsc->inf) in aac_cam_probe() 232 fwprintf(camsc->inf->aac_sc, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, ""); in aac_cam_probe() 243 if (!camsc->inf) in aac_cam_detach() 245 sc = camsc->inf->aac_sc; in aac_cam_detach() 247 camsc->inf->aac_cam = NULL; in aac_cam_detach() 273 struct aac_sim *inf; in aac_cam_attach() local 276 inf = (struct aac_sim *)device_get_ivars(dev); in aac_cam_attach() [all …]
|
| /freebsd/usr.bin/rpcinfo/ |
| H A D | rpcinfo.c | 977 rpcb_stat_byvers inf; local 1016 memset((char *)&inf, 0, sizeof (rpcb_stat_byvers)); 1018 (xdrproc_t) xdr_rpcb_stat_byvers, (char *)&inf, minutetimeout) 1029 sprintf(fieldbuf, "%d/", inf[RPCBVERS_2_STAT].setinfo); 1033 inf[RPCBVERS_2_STAT].unsetinfo); 1037 for (pa = inf[RPCBVERS_2_STAT].addrinfo; pa; 1044 for (pr = inf[RPCBVERS_2_STAT].rmtinfo; pr; 1052 sprintf(cp, "%d", inf[RPCBVERS_2_STAT].info[i]); 1064 if (inf[RPCBVERS_2_STAT].info[PMAPPROC_CALLIT]) { 1066 print_rmtcallstat(RPCBVERS_2_STAT, &inf[RPCBVERS_2_STAT]); [all …]
|