Home
last modified time | relevance | path

Searched refs:count (Results 51 – 75 of 3611) sorted by relevance

12345678910>>...145

/freebsd/contrib/libfido2/src/
H A Dnfc.c113 (uint16_t)count)) == NULL || in fido_nfc_tx()
131 len = count; in fido_nfc_tx()
153 if (count != sizeof(*attr)) { in rx_init()
183 return (int)count; in rx_init()
193 apdu[4] = count; in tx_get_response()
239 const size_t bufsiz = count; in rx_msg()
258 if (bufsiz - count > INT_MAX) { in rx_msg()
263 return (int)(bufsiz - count); in rx_msg()
282 return rx_init(d, buf, count, ms); in fido_nfc_rx()
284 return rx_cbor(d, buf, count, ms); in fido_nfc_rx()
[all …]
/freebsd/usr.sbin/cron/lib/
H A Denv.c53 int count, i; in env_copy() local
56 for (count = 0; envp[count] != NULL; count++) in env_copy()
63 for (i = 0; i < count; i++) in env_copy()
71 p[count] = NULL; in env_copy()
79 int count, found; in env_set() local
88 for (count = 0; envp[count] != NULL; count++) { in env_set()
89 if (!strcmp_until(envp[count], envstr, '=')) in env_set()
90 found = count; in env_set()
92 count++; /* for the NULL */ in env_set()
122 p[count] = p[count-1]; in env_set()
[all …]
/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.c136 if (offset->count >= count) { in get_file_offset()
137 offset->count -= count; in get_file_offset()
162 offset->count = count; in put_file_offset()
171 offset->count += offset_nxt->count; in put_file_offset()
179 offset_prv->count += offset->count; in put_file_offset()
322 count--; in gntdev_find_grefs()
445 count = arg->count; in gntdev_dealloc_gref()
453 count--; in gntdev_dealloc_gref()
550 if (gmap != NULL && gmap->count == count) in gntdev_find_gmap()
650 gmap->count = arg->count; in gntdev_map_grant_ref()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/llquantize/
H A Dtst.bases.d.out3 value ------------- Distribution ------------- count
15 value ------------- Distribution ------------- count
28 value ------------- Distribution ------------- count
39 value ------------- Distribution ------------- count
68 value ------------- Distribution ------------- count
92 value ------------- Distribution ------------- count
109 value ------------- Distribution ------------- count
135 value ------------- Distribution ------------- count
156 value ------------- Distribution ------------- count
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/multiaggs/
H A Dtst.zero.d.out5 value ------------- Distribution ------------- count
11 value ------------- Distribution ------------- count
17 value ------------- Distribution ------------- count
23 value ------------- Distribution ------------- count
28 value ------------- Distribution ------------- count
34 value ------------- Distribution ------------- count
39 value ------------- Distribution ------------- count
45 value ------------- Distribution ------------- count
50 value ------------- Distribution ------------- count
/freebsd/sys/arm64/arm64/
H A Dmemcpy.S20 #define count x2 macro
39 #define G_l count
62 cmp count, 128
64 cmp count, 32
68 cmp count, 16
115 cmp count, 64
158 add count, count, tmp1 /* Count is now 16 too large. */
176 subs count, count, 64
203 sub count, count, tmp1
210 subs count, count, 128
[all …]
/freebsd/contrib/arm-optimized-routines/string/aarch64/
H A Dmemcpy.S18 #define count x2 macro
37 #define G_l count
63 cmp count, 128
65 cmp count, 32
69 cmp count, 16
116 cmp count, 64
159 add count, count, tmp1 /* Count is now 16 too large. */
177 subs count, count, 64
204 sub count, count, tmp1
211 subs count, count, 128
[all …]
/freebsd/sys/contrib/ck/include/spinlock/
H A Danderson.h49 unsigned int count; member
60 unsigned int count) in ck_spinlock_anderson_init() argument
66 for (i = 1; i < count; i++) { in ck_spinlock_anderson_init()
72 lock->count = count; in ck_spinlock_anderson_init()
73 lock->mask = count - 1; in ck_spinlock_anderson_init()
81 if (count & (count - 1)) in ck_spinlock_anderson_init()
82 lock->wrap = (UINT_MAX % count) + 1; in ck_spinlock_anderson_init()
107 unsigned int count = lock->count; in ck_spinlock_anderson_lock() local
125 position %= count; in ck_spinlock_anderson_lock()
161 position = (slot->position + 1) % lock->count; in ck_spinlock_anderson_unlock()
/freebsd/crypto/openssl/apps/
H A Dspeed.c651 for (count = 0; COND(c[algindex][testnum]); count++) in EVP_Cipher_loop()
718 for (count = 0; COND(c[D_RAND][testnum]); count++) in RAND_bytes_loop()
837 for (count = 0; COND(rsa_c[testnum][0]); count++) { in RSA_sign_loop()
859 for (count = 0; COND(rsa_c[testnum][1]); count++) { in RSA_verify_loop()
881 for (count = 0; COND(ffdh_c[testnum][0]); count++) { in FFDH_derive_key_loop()
901 for (count = 0; COND(dsa_c[testnum][0]); count++) { in DSA_sign_loop()
923 for (count = 0; COND(dsa_c[testnum][1]); count++) { in DSA_verify_loop()
991 for (count = 0; COND(ecdh_c[testnum][0]); count++) in ECDH_EVP_derive_key_loop()
1067 for (count = 0; COND(sm2_c[testnum][0]); count++) { in SM2_sign_loop()
1102 for (count = 0; COND(sm2_c[testnum][1]); count++) { in SM2_verify_loop()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_sa.c271 int count = 0; in zfs_sa_set_xattr() local
280 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_DXATTR(zfsvfs), in zfs_sa_set_xattr()
282 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), in zfs_sa_set_xattr()
284 VERIFY0(sa_bulk_update(zp->z_sa_hdl, bulk, count, tx)); in zfs_sa_set_xattr()
310 int count = 0; in zfs_sa_upgrade() local
361 if (sa_bulk_lookup_locked(hdl, bulk, count) != 0) in zfs_sa_upgrade()
374 count = 0; in zfs_sa_upgrade()
379 SA_ADD_BULK_ATTR(sa_attrs, count, SA_ZPL_GEN(zfsvfs), in zfs_sa_upgrade()
383 SA_ADD_BULK_ATTR(sa_attrs, count, SA_ZPL_PARENT(zfsvfs), in zfs_sa_upgrade()
415 SA_ADD_BULK_ATTR(sa_attrs, count, SA_ZPL_XATTR(zfsvfs), in zfs_sa_upgrade()
[all …]
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_console.c161 size_t count, l; in dpaa2_cons_read_bs() local
164 count = 0; in dpaa2_cons_read_bs()
169 count += l; in dpaa2_cons_read_bs()
177 count += l; in dpaa2_cons_read_bs()
184 count += l; in dpaa2_cons_read_bs()
191 count += l; in dpaa2_cons_read_bs()
196 count += len; in dpaa2_cons_read_bs()
199 return (count); in dpaa2_cons_read_bs()
295 len -= count; in dpaa2_cons_read()
310 count = len; in dpaa2_cons_read()
[all …]
/freebsd/tests/sys/netinet/
H A Dlpm.sh85 count=20
86 valid_message="${count} packets transmitted, ${count} packets received"
92 if [ ${pkt_1} -le ${count} ]; then
93 echo "LPM failure: 1: ${pkt_0} 2: ${pkt_1} (should be ${count})"
101 if [ ${pkt_0} -le ${count} ]; then
102 echo "LPM failure: 1: ${pkt_0} (should be ${count}) 2: ${pkt_1}"
144 count=20
145 valid_message="${count} packets transmitted, ${count} packets received"
151 if [ ${pkt_0} -le ${count} ]; then
160 if [ ${pkt_1} -le ${count} ]; then
[all …]
/freebsd/sys/dev/isci/scil/
H A Dscic_sds_unsolicited_frame_control.c86 (uf_control->address_table.count < uf_control->buffers.count) in scic_sds_unsolicited_frame_control_set_address_table_count()
90 uf_control->address_table.count <<= 1; in scic_sds_unsolicited_frame_control_set_address_table_count()
198 used_uf_buffer_bytes = uf_control->buffers.count in scic_sds_unsolicited_frame_control_construct()
201 - uf_control->buffers.count; in scic_sds_unsolicited_frame_control_construct()
202 used_uf_header_entries = uf_control->buffers.count; in scic_sds_unsolicited_frame_control_construct()
280 if (frame_index < uf_control->address_table.count) in scic_sds_unsolicited_frame_control_get_header()
308 if (frame_index < uf_control->address_table.count) in scic_sds_unsolicited_frame_control_get_buffer()
363 ASSERT(frame_get < uf_control->address_table.count); in scic_sds_unsolicited_frame_control_release_frame()
365 if (frame_index < uf_control->address_table.count) in scic_sds_unsolicited_frame_control_release_frame()
383 uf_control->address_table.count - 1, in scic_sds_unsolicited_frame_control_release_frame()
[all …]
/freebsd/contrib/ncurses/ncurses/widechar/
H A Dlib_inwstr.c48 int count = 0; in NCURSES_EXPORT() local
61 while (count < n && !done && count != ERR) { in NCURSES_EXPORT()
70 if (count + 1 > n) { in NCURSES_EXPORT()
73 count = ERR; /* error if we store nothing */ in NCURSES_EXPORT()
75 count = last; /* only store complete chars */ in NCURSES_EXPORT()
79 wstr[count++] = wch; in NCURSES_EXPORT()
82 last = count; in NCURSES_EXPORT()
88 if (count > 0) { in NCURSES_EXPORT()
89 wstr[count] = '\0'; in NCURSES_EXPORT()
93 returnCode(count); in NCURSES_EXPORT()
H A Dwidechars.c45 int count; in _nc_mbtowc() local
54 count = 0; in _nc_mbtowc()
56 count = MultiByteToWideChar(CP_UTF8, in _nc_mbtowc()
62 TR(TRACE_BITS, ("...try %d:%d", try, count)); in _nc_mbtowc()
63 if (count > 0) { in _nc_mbtowc()
67 if (count < 1 || count > 2) { in _nc_mbtowc()
72 count = MultiByteToWideChar(CP_UTF8, in _nc_mbtowc()
96 int count; in _nc_mblen() local
100 count = _nc_mbtowc(&temp, s, n); in _nc_mblen()
101 if (count == 1) { in _nc_mblen()
/freebsd/tests/sys/geom/class/eli/
H A Dsetkey_test.sh18 atf_check dd if=/dev/random of=rnd bs=512 count=${sectors} status=none
19 hash1=`dd if=rnd bs=512 count=${sectors} status=none | md5`
21 atf_check dd if=/dev/random of=keyfile1 bs=512 count=16 status=none
22 atf_check dd if=/dev/random of=keyfile2 bs=512 count=16 status=none
23 atf_check dd if=/dev/random of=keyfile3 bs=512 count=16 status=none
24 atf_check dd if=/dev/random of=keyfile4 bs=512 count=16 status=none
25 atf_check dd if=/dev/random of=keyfile5 bs=512 count=16 status=none
31 dd if=rnd of=/dev/${md}.eli bs=512 count=${sectors} status=none
109 hash1=`dd if=rnd bs=512 count=${sectors} status=none | md5`
111 atf_check dd if=/dev/random of=pass1 bs=512 count=1 status=none
[all …]
/freebsd/sys/dev/hwreset/
H A Dhwreset_array.c50 int count; member
58 for (i = 0; i < rsts->count; i++) { in hwreset_array_assert()
72 for (i = 0; i < rsts->count; i++) { in hwreset_array_deassert()
86 for (i = 0; i < rsts->count; i++) { in hwreset_array_release()
99 int count, i, rv; in hwreset_array_get_ofw() local
110 &count); in hwreset_array_get_ofw()
116 resets->rst_array = mallocarray(count, sizeof(hwreset_t), M_HWRESET, in hwreset_array_get_ofw()
119 for (i = 0; i < count; i++) { in hwreset_array_get_ofw()
127 count = i; in hwreset_array_get_ofw()
128 for (i = 0; i < count; i++) { in hwreset_array_get_ofw()
[all …]
/freebsd/contrib/dialog/samples/
H A Dshortlist7 count=$1
9 count=10
12 while test $count != 0
14 echo "** $count -- `date`"
17 count=`expr $count - 1 2>/dev/null`
18 test -z "$count" && count=0
/freebsd/contrib/bearssl/src/hash/
H A Dmd5sha1.c34 cc->count = 0; in br_md5sha1_init()
45 ptr = (size_t)cc->count & 63; in br_md5sha1_update()
57 cc->count += (uint64_t)clen; in br_md5sha1_update()
75 uint64_t count; in br_md5sha1_out() local
77 count = cc->count; in br_md5sha1_out()
78 ptr = (size_t)count & 63; in br_md5sha1_out()
91 count <<= 3; in br_md5sha1_out()
92 br_enc64le(buf + 56, count); in br_md5sha1_out()
94 br_enc64be(buf + 56, count); in br_md5sha1_out()
110 return cc->count; in br_md5sha1_state()
[all …]
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dring.c87 ring->size = count; in ring_init()
140 ring_supplied(Ring *ring, int count) in ring_supplied() argument
150 ring_consumed(Ring *ring, int count) in ring_consumed() argument
152 if (count == 0) /* don't update anything */ in ring_consumed()
161 ring->clearto <= ring->consume + count) in ring_consumed()
260 while (count) { in ring_supply_data()
261 i = min(count, ring_empty_consecutive(ring)); in ring_supply_data()
264 count -= i; in ring_supply_data()
279 while (count) { in ring_consume_data()
280 i = min(count, ring_full_consecutive(ring)); in ring_consume_data()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mv_files/
H A Drandom_creation.ksh13 count=0
16 log_fail "error creating ${i} after ${count} files"
18 count=$((count+1))
33 count=0
36 log_fail "error creating ${i} after ${count} files"
38 count=$((count+1))
39 [ "${count}" -eq "${RC_PASS2}" ] && break
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.aggpackbanner.ksh.out3 key min .------------------------------------------. max | count
12 key min .------------------------------------------. max | count
21 key min .------------------------------------------. max | count
30 key min .------------------------------------------. max | count
39 key min .------------------------------------------. max | count
49 key min .------------------------------------------. max | count
58 key min .------------------------------------------. max | count
67 key min .------------------------------------------. max | count
76 key min .------------------------------------------. max | count
86 key min .------------------------------------------. max | count
[all …]
/freebsd/libexec/rc/rc.d/
H A Dgeli62 count=1
63 while [ ${count} -le ${geli_tries} ]; do
68 echo "Attach failed; attempt ${count} of ${geli_tries}."
69 count=$((count+1))
90 count=1
91 while [ ${count} -le ${geli_tries} ]; do
96 echo "Attach failed; attempt ${count} of ${geli_tries}."
97 count=$((count+1))
/freebsd/libexec/tftpd/
H A Dtftp-file.c63 for (i = 0; i < count; i++) { in convert_from_net()
129 while (i < count) { in convert_to_net()
159 if (i > count) { in convert_to_net()
167 if (i < count) { in convert_to_net()
171 return count; in convert_to_net()
194 write_file(char *buffer, int count) in write_file() argument
198 return fwrite(buffer, 1, count, file); in write_file()
200 return convert_from_net(buffer, count); in write_file()
248 read_file(char *buffer, int count) in read_file() argument
252 return fread(buffer, 1, count, file); in read_file()
[all …]
/freebsd/sys/dev/ixl/
H A Dixl.h272 #define IXL_SET_IPACKETS(vsi, count) (vsi)->ipackets = (count) argument
273 #define IXL_SET_IERRORS(vsi, count) (vsi)->ierrors = (count) argument
274 #define IXL_SET_OPACKETS(vsi, count) (vsi)->opackets = (count) argument
275 #define IXL_SET_OERRORS(vsi, count) (vsi)->oerrors = (count) argument
277 #define IXL_SET_IBYTES(vsi, count) (vsi)->ibytes = (count) argument
278 #define IXL_SET_OBYTES(vsi, count) (vsi)->obytes = (count) argument
279 #define IXL_SET_IMCASTS(vsi, count) (vsi)->imcasts = (count) argument
280 #define IXL_SET_OMCASTS(vsi, count) (vsi)->omcasts = (count) argument
281 #define IXL_SET_IQDROPS(vsi, count) (vsi)->iqdrops = (count) argument
282 #define IXL_SET_OQDROPS(vsi, count) (vsi)->oqdrops = (count) argument
[all …]

12345678910>>...145