Searched refs:count (Results 51 - 75 of 3879) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/bearssl/src/int/
H A Di15_rshift.c29 br_i15_rshift(uint16_t *x, int count) argument
38 r = x[1] >> count;
43 x[u - 1] = ((w << (15 - count)) | r) & 0x7FFF;
44 r = w >> count;
H A Di31_rshift.c29 br_i31_rshift(uint32_t *x, int count) argument
38 r = x[1] >> count;
43 x[u - 1] = ((w << (31 - count)) | r) & 0x7FFFFFFF;
44 r = w >> count;
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.count3.d31 * Test multiple count() calls.
48 @counts1[execname] = count();
49 @counts2[execname, arg0] = count();
H A Dtst.forms.d42 @a = count();
44 @c[0] = count();
/freebsd-13-stable/contrib/ldns/
H A Dduration.c201 size_t count = 0; local
204 count++;
207 return count;
219 size_t count = 2; local
227 count = count + 1 + digits_in_number(duration->years);
230 count = count + 1 + digits_in_number(duration->months);
233 count = count
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.rw.d41 @[rw_read_held((struct rwlock *)&`unp_global_rwlock)] = count();
42 @[rw_read_held((struct rwlock *)rand())] = count();
48 @[rw_write_held((struct rwlock *)&`unp_global_rwlock)] = count();
49 @[rw_write_held((struct rwlock *)rand())] = count();
55 @[rw_iswriter((struct rwlock *)&`unp_global_rwlock)] = count();
56 @[rw_iswriter((struct rwlock *)rand())] = count();
/freebsd-13-stable/sys/contrib/zstd/lib/compress/
H A Dhist.h23 * Provides the precise count of each byte within a table 'count'.
24 * 'count' is a table of unsigned int, of minimum size (*maxSymbolValuePtr+1).
26 * @return : count of the most frequent symbol (which isn't identified).
30 size_t HIST_count(unsigned* count, unsigned* maxSymbolValuePtr,
46 size_t HIST_count_wksp(unsigned* count, unsigned* maxSymbolValuePtr,
54 size_t HIST_countFast(unsigned* count, unsigned* maxSymbolValuePtr,
62 size_t HIST_countFast_wksp(unsigned* count, unsigned* maxSymbolValuePtr,
71 * @return : count of the most frequent symbol.
74 unsigned HIST_count_simple(unsigned* count, unsigne
[all...]
/freebsd-13-stable/bin/uuidgen/
H A Duuidgen.c43 (void)fprintf(stderr, "usage: uuidgen [-1] [-n count] [-o filename]\n");
53 int ch, count, i, iterate, status; local
55 count = -1; /* no count yet */
64 if (count > 0)
66 count = strtol(optarg, &p, 10);
67 if (*p != 0 || count < 1)
92 if (count == -1)
93 count = 1;
95 store = (uuid_t*)malloc(sizeof(uuid_t) * count);
[all...]
/freebsd-13-stable/contrib/ncurses/ncurses/widechar/
H A Dlib_inwstr.c48 int count = 0; local
61 while (count < n && !done && count != ERR) {
70 if (count + 1 > n) {
73 count = ERR; /* error if we store nothing */
75 count = last; /* only store complete chars */
79 wstr[count++] = wch;
82 last = count;
88 if (count > 0) {
89 wstr[count]
[all...]
H A Dwidechars.c45 int count; local
52 * in the initial count and in the conversion.
54 count = 0;
56 count = MultiByteToWideChar(CP_UTF8,
62 TR(TRACE_BITS, ("...try %d:%d", try, count));
63 if (count > 0) {
67 if (count < 1 || count > 2) {
72 count = MultiByteToWideChar(CP_UTF8,
96 int count; local
[all...]
/freebsd-13-stable/usr.sbin/cron/lib/
H A Denv.c55 register int count, i; local
58 for (count = 0; envp[count] != NULL; count++)
60 p = (char **) malloc((count+1) * sizeof(char *)); /* 1 for the NULL */
65 for (i = 0; i < count; i++)
73 p[count] = NULL;
83 register int count, found; local
88 * count the number of elements, including the null pointer;
92 for (count
[all...]
/freebsd-13-stable/libexec/rc/rc.d/
H A Dgeli64 count=1
65 while [ ${count} -le ${geli_tries} ]; do
70 echo "Attach failed; attempt ${count} of ${geli_tries}."
71 count=$((count+1))
92 count=1
93 while [ ${count} -le ${geli_tries} ]; do
98 echo "Attach failed; attempt ${count} of ${geli_tries}."
99 count=$((count
[all...]
H A Dnetwait32 local ip rc count output link wait_if got_if any_error
48 count=1
51 while [ ${count} -le ${netwait_if_timeout} ]; do
64 count=$((count+1))
89 count=1
90 while [ ${count} -le ${netwait_timeout} ]; do
101 count=$((count+1))
/freebsd-13-stable/contrib/xz/src/liblzma/common/
H A Dindex.h48 index_size_unpadded(lzma_vli count, lzma_vli index_list_size) argument
51 return 1 + lzma_vli_size(count) + index_list_size + 4;
57 index_size(lzma_vli count, lzma_vli index_list_size) argument
59 return vli_ceil4(index_size_unpadded(count, index_list_size));
66 lzma_vli count, lzma_vli index_list_size)
69 + index_size(count, index_list_size)
65 index_stream_size(lzma_vli blocks_size, lzma_vli count, lzma_vli index_list_size) argument
/freebsd-13-stable/stand/kshim/
H A Dbsd_busspace.c51 bus_size_t offset, uint8_t *datap, bus_size_t count)
53 while (count--) {
60 bus_size_t offset, uint16_t *datap, bus_size_t count)
62 while (count--) {
69 bus_size_t offset, uint32_t *datap, bus_size_t count)
73 while (count--) {
80 bus_size_t offset, uint8_t *datap, bus_size_t count)
82 while (count--) {
91 bus_size_t offset, uint16_t *datap, bus_size_t count)
93 while (count
50 bus_space_read_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count) argument
59 bus_space_read_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint16_t *datap, bus_size_t count) argument
68 bus_space_read_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count) argument
79 bus_space_write_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count) argument
90 bus_space_write_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint16_t *datap, bus_size_t count) argument
101 bus_space_write_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count) argument
151 bus_space_read_region_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count) argument
163 bus_space_write_region_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count) argument
175 bus_space_read_region_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count) argument
197 bus_space_write_region_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count) argument
[all...]
/freebsd-13-stable/contrib/cortex-strings/src/aarch64/
H A Dmemset.S65 #define count x2 define
88 add dstend, dstin, count
90 cmp count, 96
92 cmp count, 16
97 tbz count, 3, 1f
102 1: tbz count, 2, 2f
106 2: cbz count, 3f
108 tbz count, 1, 3f
115 tbnz count, 6, L(set96)
117 tbz count,
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/
H A Dzpool_events.kshlib27 typeset -i count
31 count=$(zpool events -H | wc -l)
32 if [[ $count -ge $eventnum ]]; then
/freebsd-13-stable/lib/libc/stdio/
H A Dfwrite.c51 * Write `count' objects (each size `size') from memory to the given file.
55 fwrite_unlocked(const void * __restrict buf, size_t size, size_t count, argument
63 * ANSI and SUSv2 require a return value of 0 if size or count are 0.
65 if ((count == 0) || (size == 0))
70 * at least one of {count, size} is at least 2^16, since if both
74 if (((count | size) > 0xFFFF) &&
75 (count > SIZE_MAX / size)) {
81 n = count * size;
95 count = (n - uio.uio_resid) / size;
96 return (count);
100 fwrite(const void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) argument
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/grammar/
H A Dtst.stmts.d49 @a = count();
51 @c[x] = count();
/freebsd-13-stable/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dvdev_os.h31 uint64_t *count);
/freebsd-13-stable/contrib/mandoc/
H A Dmandoc_xr.h24 int count; member in struct:mandoc_xr
/freebsd-13-stable/contrib/ntp/lib/isc/
H A Dmutexblock.c28 isc_mutexblock_init(isc_mutex_t *block, unsigned int count) { argument
32 for (i = 0; i < count; i++) {
47 isc_mutexblock_destroy(isc_mutex_t *block, unsigned int count) { argument
51 for (i = 0; i < count; i++) {
/freebsd-13-stable/stand/i386/libi386/
H A Dpread.c63 int count, got; local
65 count = (rsize < BUFSIZE ? rsize : BUFSIZE);
67 got = read(fd, buf, count);
76 if (got < count)
/freebsd-13-stable/usr.sbin/fwcontrol/
H A Dfwmethods.h7 typedef void (fwmethod)(int dev_fd, const char *filename, char ich, int count);
/freebsd-13-stable/sys/dev/mlx5/mlx5_lib/
H A Dmlx5_gid.c46 dev->roce.reserved_gids.count = 0;
53 dev->roce.reserved_gids.count = 0;
57 int mlx5_core_reserve_gids(struct mlx5_core_dev *dev, unsigned int count) argument
63 if (dev->roce.reserved_gids.start < count) {
65 count);
68 if (dev->roce.reserved_gids.count + count > MLX5_MAX_RESERVED_GIDS) {
69 mlx5_core_warn(dev, "Unable to reserve %d more GIDs\n", count);
73 dev->roce.reserved_gids.start -= count;
74 dev->roce.reserved_gids.count
81 mlx5_core_unreserve_gids(struct mlx5_core_dev *dev, unsigned int count) argument
[all...]

Completed in 328 milliseconds

1234567891011>>