Searched refs:count (Results 151 - 175 of 4386) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/lldb/bindings/interface/
H A DSBInstructionListExtensions.i19 count = len(self)
20 if -count <= key < count:
21 key %= count
/freebsd-current/contrib/capsicum-test/
H A Doverhead.cc12 double RepeatSyscall(int count, int nr, long arg1, long arg2, long arg3) { argument
14 for (int ii = 0; ii < count; ii++) {
23 double CompareSyscall(EntryFn entry_fn, int count, int nr, argument
25 double bare = RepeatSyscall(count, nr, arg1, arg2, arg3);
27 double capmode = RepeatSyscall(count, nr, arg1, arg2, arg3);
29 count, bare, capmode, 100.0*capmode/bare);
/freebsd-current/contrib/wpa/src/ap/
H A Dp2p_hostapd.c33 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start, argument
36 wpa_printf(MSG_DEBUG, "P2P: Set NoA parameters: count=%u start=%d "
37 "duration=%d", count, start, duration);
39 if (count == 0) {
45 if (count != 255) {
48 return hostapd_driver_set_noa(hapd, count, start, duration);
58 return hostapd_driver_set_noa(hapd, count, start, duration);
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContextMach_x86_64.cpp26 mach_msg_type_number_t count = GPRWordCount; local
27 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count);
32 mach_msg_type_number_t count = FPUWordCount; local
33 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count);
38 mach_msg_type_number_t count = EXCWordCount; local
39 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count);
H A DRegisterContextMach_i386.cpp25 mach_msg_type_number_t count = GPRWordCount; local
26 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count);
30 mach_msg_type_number_t count = FPUWordCount; local
31 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count);
35 mach_msg_type_number_t count = EXCWordCount; local
36 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count);
/freebsd-current/contrib/arm-optimized-routines/string/aarch64/
H A Dmemcpy-sve.S22 #define count x2 define
58 cmp count, 128
61 cmp count, vlen, lsl 1
64 whilelo p0.b, xzr, count
65 whilelo p1.b, vlen, count
74 add srcend, src, count
75 add dstend, dstin, count
78 cmp count, 64
87 cmp count, 96
99 add srcend, src, count
[all...]
/freebsd-current/sys/dev/drm2/
H A Ddrm_linux_list_sort.c58 int count, i; local
60 count = 0;
62 count++;
63 ar = malloc(sizeof(struct list_head *) * count, M_TEMP, M_WAITOK);
69 qsort_r(ar, count, sizeof(struct list_head *), drm_le_cmp, &thunk);
71 for (i = 0; i < count; i++)
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Doverflow.h270 * @count: Number of elements in the array.
272 * Calculates size of a flexible array of @count number of @member
277 #define flex_array_size(p, member, count) \
278 __builtin_choose_expr(__is_constexpr(count), \
279 (count) * sizeof(*(p)->member) + __must_be_array((p)->member), \
280 size_mul(count, sizeof(*(p)->member) + __must_be_array((p)->member)))
286 * @count: Number of elements in the array.
289 * array of @count number of @member elements.
293 #define struct_size(p, member, count) \
294 __builtin_choose_expr(__is_constexpr(count), \
[all...]
H A Dkfifo.h42 size_t count; \
50 (_kf)->count; \
55 ((_kf)->count == 0) ? true : false; \
60 ((_kf)->count == (_kf)->total) ? true : false; \
72 (_kf)->count++; \
90 (_kf)->count--; \
119 (_kf)->total = (_kf)->count = (_kf)->first = (_kf)->last = 0; \
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dhist.c29 unsigned HIST_count_simple(unsigned* count, unsigned* maxSymbolValuePtr, argument
37 memset(count, 0, (maxSymbolValue+1) * sizeof(*count));
42 count[*ip++]++;
45 while (!count[maxSymbolValue]) maxSymbolValue--;
50 if (count[s] > largestCount) largestCount = count[s];
67 unsigned* count, unsigned* maxSymbolValuePtr,
85 memset(count, 0, maxSymbolValue + 1);
130 count[
66 HIST_count_parallel_wksp( unsigned* count, unsigned* maxSymbolValuePtr, const void* source, size_t sourceSize, HIST_checkInput_e check, U32* const workSpace) argument
144 HIST_countFast_wksp(unsigned* count, unsigned* maxSymbolValuePtr, const void* source, size_t sourceSize, void* workSpace, size_t workSpaceSize) argument
156 HIST_countFast(unsigned* count, unsigned* maxSymbolValuePtr, const void* source, size_t sourceSize) argument
166 HIST_count_wksp(unsigned* count, unsigned* maxSymbolValuePtr, const void* source, size_t sourceSize, void* workSpace, size_t workSpaceSize) argument
178 HIST_count(unsigned* count, unsigned* maxSymbolValuePtr, const void* src, size_t srcSize) argument
[all...]
/freebsd-current/tests/sys/geom/class/eli/
H A Dintegrity_test.sh16 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=1 status=none
20 atf_check dd if=backing_file of=sector bs=512 count=1 \
22 atf_check dd if=sector of=backing_file bs=512 count=1 seek=1 \
26 dd if=/dev/${md}.eli of=/dev/null bs=${secsize} count=1
29 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=2 status=none
30 atf_check dd if=/dev/${md}.eli of=/dev/null bs=${secsize} count=2 \
38 atf_check dd if=backing_file bs=512 count=$(( ${usecsize} / 512 )) \
40 atf_check dd of=backing_file bs=512 count=$(( ${usecsize} / 512 )) \
43 dd if=/dev/${md}.eli of=/dev/null bs=${secsize} count=$ns
59 atf_check dd if=/dev/random of=keyfile bs=512 count
[all...]
/freebsd-current/contrib/tcsh/
H A Dtc.printf.c69 int sign = 0, count = 0; local
77 count++;
178 count++;
182 count++;
187 count++;
249 count++;
256 count++;
264 count++;
279 count++;
287 count
370 int count; local
386 int count; local
403 int count; local
463 int count; local
[all...]
/freebsd-current/contrib/dialog/
H A Dargv.c64 size_t count = 0; local
73 result[count] = param;
75 ++count;
110 result[count] = param;
112 ++count;
125 if (count) {
126 result = dlg_calloc(char *, count + 1);
159 dlg_eat_argv(int *argcp, char ***argvp, int start, int count) argument
163 *argcp -= count;
165 (*argvp)[k] = (*argvp)[k + count];
[all...]
/freebsd-current/usr.sbin/spray/
H A Dspray.c64 u_int count = 0; local
72 count = atoi(optarg);
108 * The default value of count is the number of packets required
111 if (!count) {
112 count = 100000 / length;
143 printf ("sending %u packets of length %d to %s ...", count, length,
147 for (i = 0; i < count; i++) {
169 if (host_stats.counter != count) {
170 int packets_dropped = count - host_stats.counter;
174 100.0 * packets_dropped / count );
[all...]
/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_arm.c78 int count; local
93 for (count = 1; count < maxsamples; count++) {
113 return (count);
121 int count; local
138 for (count = 1; count < maxsamples; count++) {
157 return (count);
[all...]
/freebsd-current/tests/sys/geom/class/raid3/
H A D12_test.sh15 dd if=/dev/random of=/dev/${us0} count=$nblocks1 >/dev/null 2>&1
16 dd if=/dev/random of=/dev/${us1} count=$nblocks1 >/dev/null 2>&1
17 dd if=/dev/random of=/dev/${us2} count=$nblocks1 >/dev/null 2>&1
25 dd if=/dev/random of=/dev/${us1} count=$nblocks2 >/dev/null 2>&1
31 dd if=/dev/raid3/${name} of=/dev/null bs=1k count=$nblocks3 >/dev/null 2>&1
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c73 zfs_file_write_impl(zfs_file_t *fp, const void *buf, size_t count, loff_t *off) argument
76 return (kernel_write(fp, buf, count, off));
84 rc = vfs_write(fp, (__force const char __user __user *)buf, count, off);
98 * count - # of bytes to write
99 * resid - pointer to count of unwritten bytes (if short write)
104 zfs_file_write(zfs_file_t *fp, const void *buf, size_t count, ssize_t *resid) argument
109 rc = zfs_file_write_impl(fp, buf, count, &off);
116 *resid = count - rc;
117 } else if (rc != count) {
129 * count
136 zfs_file_pwrite(zfs_file_t *fp, const void *buf, size_t count, loff_t off, ssize_t *resid) argument
155 zfs_file_read_impl(zfs_file_t *fp, void *buf, size_t count, loff_t *off) argument
185 zfs_file_read(zfs_file_t *fp, void *buf, size_t count, ssize_t *resid) argument
217 zfs_file_pread(zfs_file_t *fp, void *buf, size_t count, loff_t off, ssize_t *resid) argument
[all...]
/freebsd-current/libexec/tftpd/
H A Dtftp-file.c54 convert_from_net(char *buffer, size_t count) argument
63 for (i = 0; i < count; i++) {
106 convert_to_net(char *buffer, size_t count, int init) argument
129 while (i < count) {
135 in = fread(convbuffer, 1, count, file);
159 if (i > count) {
167 if (i < count) {
171 return count;
194 write_file(char *buffer, int count) argument
198 return fwrite(buffer, 1, count, fil
248 read_file(char *buffer, int count) argument
[all...]
/freebsd-current/lib/libc/softfloat/
H A Dtimesoftfloat.c61 static void reportTime( int32 count, long clocks ) argument
66 ( count / ( ( (float) clocks ) / CLOCKS_PER_SEC ) ) / 1000,
104 int32 count, i; local
107 count = 0;
115 count += minIterations;
119 for ( i = count; i; --i ) {
124 reportTime( count, endClock - startClock );
131 int32 count, i; local
134 count = 0;
142 count
160 int32 count, i; local
191 int32 count, i; local
259 int32 count, i; local
286 int32 count, i; local
315 int32 count, i; local
346 int32 count, i; local
390 int32 count, i; local
417 int32 count, i; local
444 int32 count, i; local
473 int32 count, i; local
504 int32 count, i; local
533 int32 count, i; local
560 int32 count, i; local
595 int32 count, i; local
641 int32 count, i; local
707 int32 count, i; local
734 int32 count, i; local
761 int32 count, i; local
790 int32 count, i; local
821 int32 count, i; local
850 int32 count, i; local
877 int32 count, i; local
912 int32 count, i; local
982 int32 count, i; local
1053 int32 count, i; local
1085 int32 count, i; local
1117 int32 count, i; local
1149 int32 count, i; local
1183 int32 count, i; local
1217 int32 count, i; local
1249 int32 count, i; local
1291 int32 count, i; local
1371 int32 count, i; local
1448 int32 count, i; local
1480 int32 count, i; local
1512 int32 count, i; local
1544 int32 count, i; local
1578 int32 count, i; local
1612 int32 count, i; local
1644 int32 count, i; local
1686 int32 count, i; local
1765 int32 count, i; local
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dblacklist.c44 * Returns: Current blacklist count on success, -1 on failure
47 * blacklist count if the BSSID was already listed. It should be called when
65 e->count++;
66 wpa_printf(MSG_DEBUG, "BSSID " MACSTR " blacklist count "
68 MAC2STR(bssid), e->count);
69 return e->count;
76 e->count = 1;
82 return e->count;
131 if (e->count > max_count)
132 max_count = e->count;
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mv_files/
H A Dmv_files_common.kshlib71 typeset -i count
75 count=1
77 count=$MVNUMFILES+1
80 while (( count <= $2 ))
82 cp /etc/passwd $1/file_$count \
92 (( count = count + 1 ))
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_missing_001_pos.ksh133 typeset -i count=0
138 (( count = count + 1 ))
142 'mirror') (( count == $GROUP_NUM )) && \
145 'raidz') (( count > 1 )) && \
152 log_note "Testing import by name; ${count} removed."
155 log_note "Testing import by GUID; ${count} removed."
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_environment.cpp246 int count = 0; // Number of used elements in vars array. local
279 KMP_DEBUG_ASSERT(count < delimiters + 1);
280 vars[count].name = name;
281 vars[count].value = value;
282 ++count;
291 block->count = count;
312 int count = 0; // Number of used elements in vars array.
325 count = 0;
330 ++count;
[all...]
/freebsd-current/contrib/ncurses/ncurses/tty/
H A Dlib_twait.c126 for (n = 0; n < evl->count; ++n) {
177 int count;
230 count = 0;
231 (void) count;
244 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count);
251 fds[count].fd = sp->_ifd;
252 fds[count].events = POLLIN;
253 count++;
257 fds[count].fd = fd;
258 fds[count]
172 int count; local
[all...]
/freebsd-current/sys/kern/
H A Dsubr_blist.c131 int *count, int maxcount);
132 static daddr_t blst_meta_alloc(blmeta_t *scan, daddr_t cursor, int *count,
134 static void blst_leaf_free(blmeta_t *scan, daddr_t relblk, int count);
135 static void blst_meta_free(blmeta_t *scan, daddr_t freeBlk, daddr_t count,
138 blist_t dest, daddr_t count);
139 static daddr_t blst_leaf_fill(blmeta_t *scan, daddr_t blk, int count);
140 static daddr_t blst_meta_fill(blmeta_t *scan, daddr_t allocBlk, daddr_t count,
175 * Provide a mask with count bits set, starting as position n.
178 bitrange(int n, int count) argument
182 ((u_daddr_t)-1 >> (BLIST_RADIX - (n + count))));
263 blist_alloc(blist_t bl, int *count, int maxcount) argument
308 blist_free(blist_t bl, daddr_t blkno, daddr_t count) argument
325 blist_fill(blist_t bl, daddr_t blkno, daddr_t count) argument
345 blist_resize(blist_t *pbl, daddr_t count, int freenew, int flags) argument
587 blst_next_leaf_alloc(blmeta_t *scan, daddr_t start, int count, int maxcount) argument
669 blst_leaf_alloc(blmeta_t *scan, daddr_t blk, int *count, int maxcount) argument
771 blst_meta_alloc(blmeta_t *scan, daddr_t cursor, int *count, int maxcount, u_daddr_t radix) argument
839 blst_leaf_free(blmeta_t *scan, daddr_t blk, int count) argument
867 blst_meta_free(blmeta_t *scan, daddr_t freeBlk, daddr_t count, u_daddr_t radix) argument
911 blst_copy(blmeta_t *scan, daddr_t blk, daddr_t radix, blist_t dest, daddr_t count) argument
967 blst_leaf_fill(blmeta_t *scan, daddr_t blk, int count) argument
990 blst_meta_fill(blmeta_t *scan, daddr_t allocBlk, daddr_t count, u_daddr_t radix) argument
1104 int count = 0, maxcount = 0; local
[all...]

Completed in 176 milliseconds

1234567891011>>