Home
last modified time | relevance | path

Searched refs:count (Results 76 – 100 of 4251) sorted by relevance

12345678910>>...171

/freebsd/usr.bin/locate/locate/
H A Dfastfind.c46 int count, longest_path; in statistic() local
60 count += getwf(fp) - OFFSET; in statistic()
64 count += c - OFFSET; in statistic()
66 if (count < 0 || count >= LOCATE_PATH_MAX) { in statistic()
147 int count, found, globflag; local
196 found = count = 0;
219 count += getwf(fp) - OFFSET;
222 count += c - OFFSET;
225 if (count < 0 || count >= LOCATE_PATH_MAX)
229 p = path + count;
[all …]
/freebsd/sys/dev/ata/
H A Data-all.h320 u_int32_t count; member
511 #define ATA_INSW(res, offset, addr, count) \ argument
513 #define ATA_INSW_STRM(res, offset, addr, count) \ argument
515 #define ATA_INSL(res, offset, addr, count) \ argument
517 #define ATA_INSL_STRM(res, offset, addr, count) \ argument
527 #define ATA_OUTSW(res, offset, addr, count) \ argument
531 #define ATA_OUTSL(res, offset, addr, count) \ argument
548 #define ATA_IDX_INSW(ch, idx, addr, count) \ argument
554 #define ATA_IDX_INSL(ch, idx, addr, count) \ argument
572 #define ATA_IDX_OUTSW(ch, idx, addr, count) \ argument
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Doverflow.h277 #define flex_array_size(p, member, count) \ argument
278 __builtin_choose_expr(__is_constexpr(count), \
293 #define struct_size(p, member, count) \ argument
294 __builtin_choose_expr(__is_constexpr(count), \
295 sizeof(*(p)) + flex_array_size(p, member, count), \
311 #define struct_size_t(type, member, count) \ argument
312 struct_size((type *)NULL, member, count)
325 _Static_assert(__builtin_constant_p(count), \
328 u8 bytes[struct_size_t(type, member, count)]; \
346 #define DEFINE_FLEX(type, name, member, count) \ argument
[all …]
/freebsd/lib/libc/stdio/
H A Dfwrite.c49 fwrite_unlocked(const void * __restrict buf, size_t size, size_t count, in fwrite_unlocked() argument
59 if ((count == 0) || (size == 0)) in fwrite_unlocked()
68 if (((count | size) > 0xFFFF) && in fwrite_unlocked()
69 (count > SIZE_MAX / size)) { in fwrite_unlocked()
75 n = count * size; in fwrite_unlocked()
89 count = (n - uio.uio_resid) / size; in fwrite_unlocked()
90 return (count); in fwrite_unlocked()
94 fwrite(const void * __restrict buf, size_t size, size_t count, in fwrite() argument
100 n = fwrite_unlocked(buf, size, count, fp); in fwrite()
H A Dfread.c49 fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) in fread() argument
54 ret = __fread(buf, size, count, fp); in fread()
60 __fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) in __fread() argument
70 if ((count == 0) || (size == 0)) in __fread()
79 if (((count | size) > 0xFFFF) && in __fread()
80 (count > SIZE_MAX / size)) { in __fread()
90 resid = count * size; in __fread()
110 count = (total - resid) / size; in __fread()
122 return (count); in __fread()
141 return (count); in __fread()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_arm64_md.c61 int count; in pmc_save_kernel_callchain() local
76 for (count = 1; count < maxsamples; count++) { in pmc_save_kernel_callchain()
84 return (count); in pmc_save_kernel_callchain()
92 int count; in pmc_save_user_callchain() local
109 for (count = 1; count < maxsamples; count++) { in pmc_save_user_callchain()
128 return (count); in pmc_save_user_callchain()
H A Dhwpmc_arm.c78 int count; in pmc_save_kernel_callchain() local
93 for (count = 1; count < maxsamples; count++) { in pmc_save_kernel_callchain()
113 return (count); in pmc_save_kernel_callchain()
121 int count; in pmc_save_user_callchain() local
138 for (count = 1; count < maxsamples; count++) { in pmc_save_user_callchain()
157 return (count); in pmc_save_user_callchain()
/freebsd/sys/tests/fib_lookup/
H A Dfib_lookup.c172 count++; in run_test_inet_one_pass()
175 return (count); in run_test_inet_one_pass()
183 int count = 0; in run_test_inet() local
188 if (count == 0) in run_test_inet()
237 count++; in run_test_inet6_one_pass()
240 return (count); in run_test_inet6_one_pass()
248 int count = 0; in run_test_inet6() local
253 if (count == 0) in run_test_inet6()
378 count++; in run_test_inet_one_pass_random()
389 int count = 0; in run_test_inet_random() local
[all …]
/freebsd/libexec/rc/rc.d/
H A Dnetwait30 local ip rc count output link wait_if got_if any_error
46 count=1
49 while [ ${count} -le ${netwait_if_timeout} ]; do
62 count=$((count+1))
87 count=1
88 while [ ${count} -le ${netwait_timeout} ]; do
99 count=$((count+1))
/freebsd/contrib/ncurses/
H A Dmk-hdr.awk52 count = 0
77 data[count] = $1
78 count = count + 1
82 if ( count > 0 )
91 for (i = 0; i < count - 1; ++i) {
94 printf " %s\n", data[count - 1]
96 for (i = 0; i < count; ++i) {
107 for (i = 0; i < count; ++i) {
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStringList.cpp114 size_t count = 0; in LongestCommonPrefix() local
115 for (count = 0; count < std::min(prefix.size(), arg.size()); ++count) { in LongestCommonPrefix()
116 if (prefix[count] != arg[count]) in LongestCommonPrefix()
119 prefix = prefix.take_front(count); in LongestCommonPrefix()
167 if (count == 0) { in SplitIntoLines()
168 if (p[count] == '\r' || p[count] == '\n') in SplitIntoLines()
173 if (p + count > end) in SplitIntoLines()
174 count = end - p; in SplitIntoLines()
177 if (p[count] == '\r' && p[count + 1] == '\n') in SplitIntoLines()
179 count++; // Skip the newline character in SplitIntoLines()
[all …]
/freebsd/tests/sys/netinet6/
H A Dlpm6.sh98 count=20
99 valid_message="${count} packets transmitted, ${count} packets received"
105 if [ ${pkt_0} -le ${count} ]; then
106 echo "LPM failure: 1: ${pkt_0} (should be ${count}) 2: ${pkt_1}"
114 if [ ${pkt_1} -le ${count} ]; then
115 echo "LPM failure: 1: ${pkt_0} 2: ${pkt_1} (should be ${count})"
161 count=20
162 valid_message="${count} packets transmitted, ${count} packets received"
168 if [ ${pkt_1} -le ${count} ]; then
169 echo "LPM failure: 1: ${pkt_0} 2: ${pkt_1} (should be ${count})"
[all …]
/freebsd/contrib/cortex-strings/src/aarch64/
H A Dmemcpy.S63 #define count x2 macro
79 #define E_h count
107 cmp count, 16
109 cmp count, 96
113 sub tmp1, count, 1
130 cmp count, 8
139 tbz count, 2, 1f
149 cbz count, 2f
187 add count, count, tmp1 /* Count is now 16 too large. */
193 subs count, count, 128 + 16 /* Test and readjust count. */
[all …]
H A Dmemmove.S71 #define count x2 macro
83 #define E_l count
94 cmp count, 96
95 ccmp tmp1, count, 2, hi
99 add dstend, dstin, count
100 add srcend, src, count
110 sub count, count, tmp1
117 subs count, count, 128
129 subs count, count, 64
/freebsd/contrib/netbsd-tests/lib/libpthread_dbg/
H A Dt_threads.c140 int count = 0; in ATF_TC_BODY() local
168 count, MAX_THREADS + 1); in ATF_TC_BODY()
210 int count = 0; in ATF_TC_BODY() local
238 count, MAX_THREADS + 1); in ATF_TC_BODY()
283 int count = 0; in ATF_TC_BODY() local
315 count, MAX_THREADS + 1); in ATF_TC_BODY()
364 int count = 0; in ATF_TC_BODY() local
437 int count = 0; in ATF_TC_BODY() local
511 int count = 0; in ATF_TC_BODY() local
585 int count = 0; in ATF_TC_BODY() local
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Ddebugfs.c77 return count; in iwl_dbgfs_force_ctkill_write()
99 ? : count; in iwl_dbgfs_tx_flush_write()
208 return count; in iwl_dbgfs_sram_write()
275 return count; in iwl_dbgfs_set_nic_temperature_write()
468 return count; in iwl_dbgfs_amsdu_len_write()
674 return count; in iwl_dbgfs_bt_tx_prio_write()
1254 return count; in iwl_dbgfs_fw_restart_write()
1268 return count; in iwl_dbgfs_fw_nmi_write()
1315 return count; in iwl_dbgfs_scan_ant_rxchain_write()
1576 return count; in iwl_dbgfs_fw_dbg_collect_write()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/no_space/
H A Denospc_ganging.ksh41 count=512
43 log_must dd if=/dev/urandom of=$TESTDIR/data bs=$bs count=$count
50 log_must dd if=$TESTDIR/data of=$mntpnt/file bs=$bs count=$count
52 log_must dd if=$mntpnt/file of=$TESTDIR/out bs=$bs count=$count
74 log_must dd if=$TESTDIR/data of=$mntpnt/file bs=$bs count=$count
76 log_must dd if=$mntpnt/file of=$TESTDIR/out bs=$bs count=$count
/freebsd/contrib/sendmail/src/
H A Dbf.c356 count = nbytes;
398 while (count < nbytes)
401 buf + count,
411 count += retval;
416 bfp->bf_offset += count;
417 return count;
517 if (count < 0)
528 count = nbytes;
602 while (count < nbytes)
612 count += retval;
[all …]
/freebsd/lib/libc/softfloat/bits64/
H A Dsoftfloat-macros47 if ( count == 0 ) {
51 z = ( a>>count ) | ( ( a<<( ( - count ) & 31 ) ) != 0 );
78 z = ( a>>count ) | ( ( a<<( ( - count ) & 63 ) ) != 0 );
138 of `count' can be arbitrarily large; in particular, if `count' is greater
159 z1 = ( count < 128 ) ? ( a0>>( count & 63 ) ) : 0;
236 int16 count,
297 ( count == 0 ) ? a0 : ( a0<<count ) | ( a1>>( ( - count ) & 63 ) );
315 int16 count,
324 z2 = a2<<count;
325 z1 = a1<<count;
[all …]
/freebsd/sys/dev/ipmi/
H A Dipmi_ssif.c76 u_char *cp, block, count, offset; in ssif_polled_request() local
183 count = SMBUS_DATA_SIZE; in ssif_polled_request()
215 if (count < 3) { in ssif_polled_request()
238 dump_buffer(dev, "READ_SINGLE", ssif_buf, count); in ssif_polled_request()
240 len = count - 3; in ssif_polled_request()
254 len = count - 5; in ssif_polled_request()
259 count = SMBUS_DATA_SIZE; in ssif_polled_request()
279 if (ssif_buf[0] != 0xff && count < SMBUS_DATA_SIZE) { in ssif_polled_request()
282 count); in ssif_polled_request()
293 min(req->ir_replybuflen - len, count - 1)); in ssif_polled_request()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Ddebug.c593 if (*ppos != 0 || count >= sizeof(buf) || count == 0) in ath10k_write_simulate_fw_crash()
640 ret = count; in ath10k_write_simulate_fw_crash()
777 ret = count; in ath10k_reg_value_write()
804 if (!count) in ath10k_mem_value_read()
836 ret = count; in ath10k_mem_value_read()
856 if (!count) in ath10k_mem_value_write()
887 ret = count; in ath10k_mem_value_write()
982 ret = count; in ath10k_write_htt_stats_mask()
1043 res = count; in ath10k_write_htt_max_amsdu_ampdu()
1113 ret = count; in ath10k_write_fw_dbglog()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bclone/
H A Dbclone_corner_cases.kshlib35 dd if=$file bs=$HALFRECORDSIZE count=1 2>/dev/null | sha256digest
42 dd if=$file bs=$HALFRECORDSIZE count=1 skip=1 2>/dev/null | sha256digest
59 log_must dd if=/dev/urandom of="$ORIG0" bs=$RECORDSIZE count=1
60 log_must dd if=/dev/urandom of="$ORIG1" bs=$RECORDSIZE count=1
61 log_must dd if=/dev/urandom of="$ORIG2" bs=$RECORDSIZE count=1
166 count=1 conv=notrunc 2>/dev/null
171 count=1 conv=notrunc 2>/dev/null
212 typeset -i count=0
218 typeset -r total_count=$(bclone_corner_cases_test count)
254 count=$((count+1))
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h31 uptr count; member
35 count = 1; in init()
46 CHECK_LT(count, kSize); in push_back()
47 batch[count++] = ptr; in push_back()
52 return count + from->count <= kSize; in can_merge()
56 CHECK_LE(count + from->count, kSize); in merge()
60 batch[count + i] = from->batch[i]; in merge()
61 count += from->count; in merge()
64 from->count = 0; in merge()
185 for (uptr i = 0, count = b->count; i < count; i++) { in DoRecycle() local
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.neglquant.d.out3 value ------------- Distribution ------------- count
9 value ------------- Distribution ------------- count
15 value ------------- Distribution ------------- count
22 value ------------- Distribution ------------- count
29 value ------------- Distribution ------------- count
42 value ------------- Distribution ------------- count
54 value ------------- Distribution ------------- count
H A Dtst.negquant.d.out3 value ------------- Distribution ------------- count
9 value ------------- Distribution ------------- count
15 value ------------- Distribution ------------- count
23 value ------------- Distribution ------------- count
30 value ------------- Distribution ------------- count
39 value ------------- Distribution ------------- count
48 value ------------- Distribution ------------- count

12345678910>>...171