Home
last modified time | relevance | path

Searched refs:bound (Results 1 – 25 of 209) sorted by relevance

123456789

/freebsd-14.2/sys/contrib/pcg-c/include/
H A Dpcg_variants.h912 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-14.2/sys/kern/
H A Dsubr_prng.c57 pcg64u_boundedrand_r(pcg64u_random_t *state64, uint64_t bound) in pcg64u_boundedrand_r() argument
59 uint64_t threshold = -bound % bound; in pcg64u_boundedrand_r()
63 return (r % bound); in pcg64u_boundedrand_r()
99 prng32_bounded(uint32_t bound) in prng32_bounded() argument
104 r = pcg32u_boundedrand_r(DPCPU_PTR(pcpu_prng32_state), bound); in prng32_bounded()
121 prng64_bounded(uint64_t bound) in prng64_bounded() argument
126 r = pcg64u_boundedrand_r(DPCPU_PTR(pcpu_prng64_state), bound); in prng64_bounded()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7603/
H A Ddebugfs.c76 int bound[3], i, range; in mt7603_ampdu_stat_show() local
79 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt7603_ampdu_stat_show()
80 bound[i] = MT_AGG_ASRCR_RANGE(range, i) + 1; in mt7603_ampdu_stat_show()
82 seq_printf(file, "Length: %8d | ", bound[0]); in mt7603_ampdu_stat_show()
83 for (i = 0; i < ARRAY_SIZE(bound) - 1; i++) in mt7603_ampdu_stat_show()
85 bound[i], bound[i + 1]); in mt7603_ampdu_stat_show()
87 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt7603_ampdu_stat_show()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/
H A Dmt792x_debugfs.c11 int bound[15], range[4], i; in mt792x_ampdu_stat_read_phy() local
22 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt792x_ampdu_stat_read_phy()
23 bound[i] = MT_MIB_ARNCR_RANGE(range[i / 4], i % 4) + 1; in mt792x_ampdu_stat_read_phy()
27 seq_printf(file, "Length: %8d | ", bound[0]); in mt792x_ampdu_stat_read_phy()
28 for (i = 0; i < ARRAY_SIZE(bound) - 1; i++) in mt792x_ampdu_stat_read_phy()
29 seq_printf(file, "%3d %3d | ", bound[i] + 1, bound[i + 1]); in mt792x_ampdu_stat_read_phy()
32 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt792x_ampdu_stat_read_phy()
/freebsd-14.2/crypto/openssl/crypto/asn1/
H A Dasn_mime.c243 char bound[33], c; in SMIME_write_ASN1_ex() local
263 c = bound[i] & 0xf; in SMIME_write_ASN1_ex()
268 bound[i] = c; in SMIME_write_ASN1_ex()
270 bound[32] = 0; in SMIME_write_ASN1_ex()
277 bound, mime_eol, mime_eol); in SMIME_write_ASN1_ex()
281 BIO_printf(bio, "------%s%s", bound, mime_eol); in SMIME_write_ASN1_ex()
294 BIO_printf(bio, "%s------%s--%s%s", mime_eol, bound, in SMIME_write_ASN1_ex()
619 blen = strlen(bound); in multi_split()
628 state = mime_bound_check(linebuf, len, bound, blen); in multi_split()
989 blen = strlen(bound); in mime_bound_check()
[all …]
/freebsd-14.2/contrib/xz/src/liblzma/rangecoder/
H A Drange_encoder.h219 const uint32_t bound = prob * (rc->range in rc_encode() local
221 rc->low += bound; in rc_encode()
222 rc->range -= bound; in rc_encode()
306 const uint32_t bound = prob * (range in rc_encode_dummy() local
308 low += bound; in rc_encode_dummy()
309 range -= bound; in rc_encode_dummy()
/freebsd-14.2/sys/dev/drm2/
H A Ddrm_agpsupport.c223 entry->bound = 0; in drm_agp_alloc()
287 if (!entry->bound) in drm_agp_unbind()
291 entry->bound = 0; in drm_agp_unbind()
328 if (entry->bound) in drm_agp_bind()
333 entry->bound = dev->agp->base + (page << PAGE_SHIFT); in drm_agp_bind()
335 dev->agp->base, entry->bound); in drm_agp_bind()
371 if (entry->bound) in drm_agp_free()
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localtcp.ksh60 bound=5000
61 while [ $tcpport -lt $bound ]; do
65 if [ $tcpport -eq $bound ]; then
H A Dtst.ipv4localsctp.ksh60 bound=5000
79 while [ $sctpport -lt $bound ]; do
83 if [ $sctpport -eq $bound ]; then
H A Dtst.localsctpstate.ksh63 bound=5000
82 while [ $sctpport -lt $bound ]; do
86 if [ $sctpport -eq $bound ]; then
H A Dtst.localtcpstate.ksh64 bound=5000
65 while [ $tcpport -lt $bound ]; do
69 if [ $tcpport -eq $bound ]; then
/freebsd-14.2/sys/sys/
H A Dprng.h13 __uint32_t prng32_bounded(__uint32_t bound);
15 __uint64_t prng64_bounded(__uint64_t bound);
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7615/
H A Ddebugfs.c281 int bound[7], i, range; in mt7615_ampdu_stat_read_phy() local
288 bound[i] = MT_AGG_ASRCR_RANGE(range, i) + 1; in mt7615_ampdu_stat_read_phy()
292 bound[i + 4] = MT_AGG_ASRCR_RANGE(range, i) + 1; in mt7615_ampdu_stat_read_phy()
296 seq_printf(file, "Length: %8d | ", bound[0]); in mt7615_ampdu_stat_read_phy()
297 for (i = 0; i < ARRAY_SIZE(bound) - 1; i++) in mt7615_ampdu_stat_read_phy()
299 bound[i], bound[i + 1]); in mt7615_ampdu_stat_read_phy()
302 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt7615_ampdu_stat_read_phy()
/freebsd-14.2/contrib/netbsd-tests/lib/libc/regex/
H A Dsplit.c227 int bound; in print() local
229 bound = (nf > nfp) ? nfp : nf; in print()
231 for (fn = 0; fn < bound; fn++) in print()
/freebsd-14.2/lib/libc/regex/grot/
H A Dsplit.c196 int bound; in print() local
198 bound = (nf > nfp) ? nfp : nf; in print()
200 for (fn = 0; fn < bound; fn++) in print()
/freebsd-14.2/contrib/ntp/sntp/libevent/
H A Dhttp.c3553 if (bound == NULL) in evhttp_bind_socket()
3578 if (bound != NULL) { in evhttp_bind_socket_with_handle()
3581 return (bound); in evhttp_bind_socket_with_handle()
3592 if (bound == NULL) in evhttp_accept_socket()
3624 if (!bound) { in evhttp_accept_socket_with_handle()
3628 return (bound); in evhttp_accept_socket_with_handle()
3637 if (bound == NULL) in evhttp_bind_listener()
3644 return bound; in evhttp_bind_listener()
3656 return bound->listener; in evhttp_bound_socket_get_listener()
3664 mm_free(bound); in evhttp_del_accept_socket()
[all …]
/freebsd-14.2/contrib/libevent/
H A Dhttp.c3553 if (bound == NULL) in evhttp_bind_socket()
3578 if (bound != NULL) { in evhttp_bind_socket_with_handle()
3581 return (bound); in evhttp_bind_socket_with_handle()
3592 if (bound == NULL) in evhttp_accept_socket()
3624 if (!bound) { in evhttp_accept_socket_with_handle()
3628 return (bound); in evhttp_accept_socket_with_handle()
3637 if (bound == NULL) in evhttp_bind_listener()
3644 return bound; in evhttp_bind_listener()
3656 return bound->listener; in evhttp_bound_socket_get_listener()
3664 mm_free(bound); in evhttp_del_accept_socket()
[all …]
/freebsd-14.2/sys/dev/iommu/
H A Diommu_gas.c158 iommu_gaddr_t bound, delta, free_down; in iommu_gas_augment_entry() local
161 bound = entry->start; in iommu_gas_augment_entry()
163 free_down = MAX(child->free_down, bound - child->last); in iommu_gas_augment_entry()
164 bound = child->first; in iommu_gas_augment_entry()
166 delta = bound - entry->first; in iommu_gas_augment_entry()
167 entry->first = bound; in iommu_gas_augment_entry()
168 bound = entry->end; in iommu_gas_augment_entry()
171 free_down = MAX(free_down, child->first - bound); in iommu_gas_augment_entry()
172 bound = child->last; in iommu_gas_augment_entry()
174 delta += entry->last - bound; in iommu_gas_augment_entry()
[all …]
/freebsd-14.2/crypto/openssl/apps/
H A DCA.pl.in95 my ($infile, $outfile, $bound) = @_;
101 $found = 1 if /^-----BEGIN.*$bound/;
103 $found = 2, last if /^-----END.*$bound/;
/freebsd-14.2/lib/libkvm/
H A Dkvm_private.c244 uint32_t bound; in popcount_bytes() local
248 bound = MIN(bitN, roundup2(bit0, BITS_IN(*addr))); in popcount_bytes()
249 count += __bitcount64(bitmask_range(*addr, bit0, bound)); in popcount_bytes()
250 res -= (bound - bit0); in popcount_bytes()
255 bound = MIN(res, BITS_IN(*addr)); in popcount_bytes()
256 count += __bitcount64(bitmask_range(*addr, 0, bound)); in popcount_bytes()
257 res -= bound; in popcount_bytes()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7996/
H A Ddebugfs.c448 int bound[15], range[8], i; in mt7996_ampdu_stat_read_phy() local
455 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt7996_ampdu_stat_read_phy()
456 bound[i] = MT_MIB_ARNCR_RANGE(range[i / 2], i % 2) + 1; in mt7996_ampdu_stat_read_phy()
461 seq_printf(file, "Length: %8d | ", bound[0]); in mt7996_ampdu_stat_read_phy()
462 for (i = 0; i < ARRAY_SIZE(bound) - 1; i++) in mt7996_ampdu_stat_read_phy()
464 bound[i] + 1, bound[i + 1]); in mt7996_ampdu_stat_read_phy()
467 for (i = 0; i < ARRAY_SIZE(bound); i++) in mt7996_ampdu_stat_read_phy()
/freebsd-14.2/contrib/bc/src/
H A Drand.c518 bc_rand_bounded(BcRNG* r, BcRand bound) in bc_rand_bounded() argument
524 threshold = (0 - bound) % bound; in bc_rand_bounded()
532 return rand % bound; in bc_rand_bounded()
/freebsd-14.2/usr.bin/gzip/
H A Dunlz.c197 const uint32_t bound = (rd->range >> BIT_MODEL_TOTAL_BITS) * *bm; in lz_rd_decode_bit() local
199 if(rd->code < bound) { in lz_rd_decode_bit()
200 rd->range = bound; in lz_rd_decode_bit()
205 rd->range -= bound; in lz_rd_decode_bit()
206 rd->code -= bound; in lz_rd_decode_bit()
/freebsd-14.2/sys/rpc/
H A Drpc_generic.c703 int error, bound; in __rpc_sockisbound() local
713 bound = (((struct sockaddr_in *) sa)->sin_port != 0); in __rpc_sockisbound()
717 bound = (((struct sockaddr_in6 *) sa)->sin6_port != 0); in __rpc_sockisbound()
722 bound = (((struct sockaddr_un *) sa)->sun_path[0] != '\0'); in __rpc_sockisbound()
725 bound = FALSE; in __rpc_sockisbound()
731 return bound; in __rpc_sockisbound()
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/include/
H A Dmath.shlib122 # can accept as the upper bound.
124 # $1 lower bound
125 # $2 upper bound

123456789