| /freebsd-13.1/sys/contrib/pcg-c/include/ |
| H A D | pcg_variants.h | 912 uint32_t threshold = -bound % bound; in pcg_oneseq_64_xsh_rs_32_boundedrand_r() 933 uint64_t threshold = -bound % bound; in pcg_oneseq_128_xsh_rs_64_boundedrand_r() 988 uint32_t threshold = -bound % bound; in pcg_unique_64_xsh_rs_32_boundedrand_r() 1009 uint64_t threshold = -bound % bound; in pcg_unique_128_xsh_rs_64_boundedrand_r() 1069 uint32_t threshold = -bound % bound; in pcg_setseq_64_xsh_rs_32_boundedrand_r() 1091 uint64_t threshold = -bound % bound; in pcg_setseq_128_xsh_rs_64_boundedrand_r() 1146 uint32_t threshold = -bound % bound; in pcg_mcg_64_xsh_rs_32_boundedrand_r() 1166 uint64_t threshold = -bound % bound; in pcg_mcg_128_xsh_rs_64_boundedrand_r() 1223 uint32_t threshold = -bound % bound; in pcg_oneseq_64_xsh_rr_32_boundedrand_r() 1244 uint64_t threshold = -bound % bound; in pcg_oneseq_128_xsh_rr_64_boundedrand_r() [all …]
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_prng.c | 59 pcg64u_boundedrand_r(pcg64u_random_t *state64, uint64_t bound) in pcg64u_boundedrand_r() argument 61 uint64_t threshold = -bound % bound; in pcg64u_boundedrand_r() 65 return (r % bound); in pcg64u_boundedrand_r() 101 prng32_bounded(uint32_t bound) in prng32_bounded() argument 106 r = pcg32u_boundedrand_r(DPCPU_PTR(pcpu_prng32_state), bound); in prng32_bounded() 123 prng64_bounded(uint64_t bound) in prng64_bounded() argument 128 r = pcg64u_boundedrand_r(DPCPU_PTR(pcpu_prng64_state), bound); in prng64_bounded()
|
| H A D | subr_pidctrl.c | 39 pidctrl_init(struct pidctrl *pc, int interval, int setpoint, int bound, in pidctrl_init() argument 46 pc->pc_bound = bound * setpoint * Kid; in pidctrl_init()
|
| /freebsd-13.1/crypto/openssl/crypto/asn1/ |
| H A D | asn_mime.c | 234 char bound[33], c; in SMIME_write_ASN1() local 250 if (RAND_bytes((unsigned char *)bound, 32) <= 0) in SMIME_write_ASN1() 253 c = bound[i] & 0xf; in SMIME_write_ASN1() 258 bound[i] = c; in SMIME_write_ASN1() 260 bound[32] = 0; in SMIME_write_ASN1() 267 bound, mime_eol, mime_eol); in SMIME_write_ASN1() 271 BIO_printf(bio, "------%s%s", bound, mime_eol); in SMIME_write_ASN1() 284 BIO_printf(bio, "%s------%s--%s%s", mime_eol, bound, in SMIME_write_ASN1() 578 blen = strlen(bound); in multi_split() 937 blen = strlen(bound); in mime_bound_check() [all …]
|
| /freebsd-13.1/sys/dev/drm2/ |
| H A D | drm_agpsupport.c | 225 entry->bound = 0; in drm_agp_alloc() 289 if (!entry->bound) in drm_agp_unbind() 293 entry->bound = 0; in drm_agp_unbind() 330 if (entry->bound) in drm_agp_bind() 335 entry->bound = dev->agp->base + (page << PAGE_SHIFT); in drm_agp_bind() 337 dev->agp->base, entry->bound); in drm_agp_bind() 373 if (entry->bound) in drm_agp_free()
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/ |
| H A D | tst.ipv4localtcp.ksh | 60 bound=5000 61 while [ $tcpport -lt $bound ]; do 65 if [ $tcpport -eq $bound ]; then
|
| H A D | tst.ipv4localsctp.ksh | 60 bound=5000 79 while [ $sctpport -lt $bound ]; do 83 if [ $sctpport -eq $bound ]; then
|
| H A D | tst.localsctpstate.ksh | 63 bound=5000 82 while [ $sctpport -lt $bound ]; do 86 if [ $sctpport -eq $bound ]; then
|
| H A D | tst.localtcpstate.ksh | 64 bound=5000 65 while [ $tcpport -lt $bound ]; do 69 if [ $tcpport -eq $bound ]; then
|
| /freebsd-13.1/sys/sys/ |
| H A D | prng.h | 15 __uint32_t prng32_bounded(__uint32_t bound); 17 __uint64_t prng64_bounded(__uint64_t bound);
|
| H A D | pidctrl.h | 94 int bound, int Kpd, int Kid, int Kdd);
|
| /freebsd-13.1/contrib/xz/src/liblzma/rangecoder/ |
| H A D | range_encoder.h | 177 const uint32_t bound = prob * (rc->range in rc_encode() local 179 rc->low += bound; in rc_encode() 180 rc->range -= bound; in rc_encode()
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/ |
| H A D | http.c | 3347 if (bound == NULL) in evhttp_bind_socket() 3369 if (bound != NULL) { in evhttp_bind_socket_with_handle() 3372 return (bound); in evhttp_bind_socket_with_handle() 3383 if (bound == NULL) in evhttp_accept_socket() 3415 if (!bound) { in evhttp_accept_socket_with_handle() 3419 return (bound); in evhttp_accept_socket_with_handle() 3428 if (bound == NULL) in evhttp_bind_listener() 3435 return bound; in evhttp_bind_listener() 3447 return bound->listener; in evhttp_bound_socket_get_listener() 3455 mm_free(bound); in evhttp_del_accept_socket() [all …]
|
| /freebsd-13.1/lib/libc/regex/grot/ |
| H A D | split.c | 199 int bound; in print() local 201 bound = (nf > nfp) ? nfp : nf; in print() 203 for (fn = 0; fn < bound; fn++) in print()
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/regex/ |
| H A D | split.c | 227 int bound; in print() local 229 bound = (nf > nfp) ? nfp : nf; in print() 231 for (fn = 0; fn < bound; fn++) in print()
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | http.c | 3496 if (bound == NULL) in evhttp_bind_socket() 3518 if (bound != NULL) { in evhttp_bind_socket_with_handle() 3521 return (bound); in evhttp_bind_socket_with_handle() 3532 if (bound == NULL) in evhttp_accept_socket() 3564 if (!bound) { in evhttp_accept_socket_with_handle() 3568 return (bound); in evhttp_accept_socket_with_handle() 3577 if (bound == NULL) in evhttp_bind_listener() 3584 return bound; in evhttp_bind_listener() 3596 return bound->listener; in evhttp_bound_socket_get_listener() 3604 mm_free(bound); in evhttp_del_accept_socket() [all …]
|
| /freebsd-13.1/crypto/openssl/apps/ |
| H A D | CA.pl.in | 89 my ($infile, $outfile, $bound) = @_; 95 $found = 1 if /^-----BEGIN.*$bound/; 97 $found = 2, last if /^-----END.*$bound/;
|
| /freebsd-13.1/lib/libipsec/ |
| H A D | ipsec_dump_policy.c | 178 ipsec_dump_ipsecrequest(buf, len, xisr, bound) in ipsec_dump_ipsecrequest() argument 182 size_t bound; /* boundary */ 187 if (xisr->sadb_x_ipsecrequest_len > bound) {
|
| /freebsd-13.1/lib/libkvm/ |
| H A D | kvm_private.c | 246 uint32_t bound; in popcount_bytes() local 250 bound = MIN(bitN, roundup2(bit0, BITS_IN(*addr))); in popcount_bytes() 251 count += __bitcount64(bitmask_range(*addr, bit0, bound)); in popcount_bytes() 252 res -= (bound - bit0); in popcount_bytes() 257 bound = MIN(res, BITS_IN(*addr)); in popcount_bytes() 258 count += __bitcount64(bitmask_range(*addr, 0, bound)); in popcount_bytes() 259 res -= bound; in popcount_bytes()
|
| /freebsd-13.1/contrib/bc/src/ |
| H A D | rand.c | 481 BcRand bc_rand_bounded(BcRNG *r, BcRand bound) { in bc_rand_bounded() argument 484 BcRand rand, threshold = (0 - bound) % bound; in bc_rand_bounded() 490 return rand % bound; in bc_rand_bounded()
|
| /freebsd-13.1/usr.bin/gzip/ |
| H A D | unlz.c | 199 const uint32_t bound = (rd->range >> BIT_MODEL_TOTAL_BITS) * *bm; in lz_rd_decode_bit() local 201 if(rd->code < bound) { in lz_rd_decode_bit() 202 rd->range = bound; in lz_rd_decode_bit() 207 rd->range -= bound; in lz_rd_decode_bit() 208 rd->code -= bound; in lz_rd_decode_bit()
|
| /freebsd-13.1/sys/rpc/ |
| H A D | rpc_generic.c | 708 int error, bound; in __rpc_sockisbound() local 718 bound = (((struct sockaddr_in *) sa)->sin_port != 0); in __rpc_sockisbound() 722 bound = (((struct sockaddr_in6 *) sa)->sin6_port != 0); in __rpc_sockisbound() 727 bound = (((struct sockaddr_un *) sa)->sun_path[0] != '\0'); in __rpc_sockisbound() 730 bound = FALSE; in __rpc_sockisbound() 736 return bound; in __rpc_sockisbound()
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/include/ |
| H A D | math.shlib | 129 # can accept as the upper bound. 131 # $1 lower bound 132 # $2 upper bound
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_umem_odp.c | 625 u64 bound) in ib_umem_odp_unmap_dma_pages() argument 632 bound = min_t(u64, bound, ib_umem_end(umem)); in ib_umem_odp_unmap_dma_pages() 639 for (addr = virt; addr < bound; addr += (u64)umem->page_size) { in ib_umem_odp_unmap_dma_pages()
|
| /freebsd-13.1/sys/contrib/openzfs/config/ |
| H A D | kernel-bio_max_segs.m4 | 3 dnl # which will handle the logic of setting the upper-bound to a
|