Searched refs:count (Results 176 - 200 of 3927) sorted by relevance

1234567891011>>

/openbsd-current/lib/libc/softfloat/
H A Dtimesoftfloat.c62 static void reportTime( int32 count, long clocks ) argument
67 ( count / ( ( (float) clocks ) / CLOCKS_PER_SEC ) ) / 1000,
105 int32 count, i; local
108 count = 0;
116 count += minIterations;
120 for ( i = count; i; --i ) {
125 reportTime( count, endClock - startClock );
132 int32 count, i; local
135 count = 0;
143 count
161 int32 count, i; local
192 int32 count, i; local
260 int32 count, i; local
287 int32 count, i; local
316 int32 count, i; local
347 int32 count, i; local
391 int32 count, i; local
418 int32 count, i; local
445 int32 count, i; local
474 int32 count, i; local
505 int32 count, i; local
534 int32 count, i; local
561 int32 count, i; local
596 int32 count, i; local
642 int32 count, i; local
708 int32 count, i; local
735 int32 count, i; local
762 int32 count, i; local
791 int32 count, i; local
822 int32 count, i; local
851 int32 count, i; local
878 int32 count, i; local
913 int32 count, i; local
983 int32 count, i; local
1054 int32 count, i; local
1086 int32 count, i; local
1118 int32 count, i; local
1150 int32 count, i; local
1184 int32 count, i; local
1218 int32 count, i; local
1250 int32 count, i; local
1292 int32 count, i; local
1372 int32 count, i; local
1449 int32 count, i; local
1481 int32 count, i; local
1513 int32 count, i; local
1545 int32 count, i; local
1579 int32 count, i; local
1613 int32 count, i; local
1645 int32 count, i; local
1687 int32 count, i; local
1766 int32 count, i; local
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.martin/
H A Dnew1.C18 int count; variable
23 new_done = ctor_done = func_done = dtor_done = delete_done = count = 0;
35 ctor_done = ++count;
43 dtor_done = ++count;
51 new_done = ++count;
57 delete_done = ++count;
63 func_done = ++count;
/openbsd-current/regress/lib/libc/malloc/malloc0test/
H A Dmalloc0test.c65 long limit = 200000, count; local
85 fprintf(stderr, "Usage: %s [-s][-n <count>]\n",
94 for (count = 0; count < limit; count++) {
115 if (!silent && count % 100000 == 0 && count != 0)
116 fprintf(stderr, "count = %ld\n", count);
/openbsd-current/lib/libc/stdio/
H A Dfread.c43 fread(void *buf, size_t size, size_t count, FILE *fp) argument
53 if ((size >= MUL_NO_OVERFLOW || count >= MUL_NO_OVERFLOW) &&
54 size > 0 && SIZE_MAX / size < count) {
61 * ANSI and SUSv2 require a return value of 0 if size or count are 0.
63 if ((resid = count * size) == 0)
85 count = (total - resid) / size;
98 return (count);
117 return (count);
/openbsd-current/sys/lib/libkern/
H A Dsoftfloat-macros.h40 Shifts `a' right by the number of bits given in `count'. If any nonzero
42 the result by setting the least significant bit to 1. The value of `count'
43 can be arbitrarily large; in particular, if `count' is greater than 32, the
48 INLINE void shift32RightJamming( bits32 a, int16 count, bits32 *zPtr ) argument
52 if ( count == 0 ) {
55 else if ( count < 32 ) {
56 z = ( a>>count ) | ( ( a<<( ( - count ) & 31 ) ) != 0 );
67 Shifts `a' right by the number of bits given in `count'. If any nonzero
69 the result by setting the least significant bit to 1. The value of `count'
75 shift64RightJamming( bits64 a, int16 count, bits64 *zPtr ) argument
111 shift64ExtraRightJamming( bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) argument
151 shift128Right( bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) argument
187 shift128RightJamming( bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) argument
239 shift128ExtraRightJamming( bits64 a0, bits64 a1, bits64 a2, int16 count, bits64 *z0Ptr, bits64 *z1Ptr, bits64 *z2Ptr ) argument
298 shortShift128Left( bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) argument
322 shortShift192Left( bits64 a0, bits64 a1, bits64 a2, int16 count, bits64 *z0Ptr, bits64 *z1Ptr, bits64 *z2Ptr ) argument
[all...]
/openbsd-current/sys/arch/luna88k/include/
H A Dbus.h194 * u_intN_t *addr, size_t count);
196 * Read `count' 1, 2, 4, or 8 byte quantities from bus space
202 bus_addr_t offset, u_int8_t *dest, size_t count)
204 while ((int)--count >= 0)
210 bus_addr_t offset, u_int16_t *dest, size_t count)
212 while ((int)--count >= 0)
218 bus_addr_t offset, u_int32_t *dest, size_t count)
220 while ((int)--count >= 0)
255 * u_intN_t *addr, size_t count);
257 * Read `count'
201 bus_space_read_multi_1(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int8_t *dest, size_t count) argument
209 bus_space_read_multi_2(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int16_t *dest, size_t count) argument
217 bus_space_read_multi_4(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int32_t *dest, size_t count) argument
263 bus_space_read_region_1(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int8_t *dest, size_t count) argument
271 bus_space_read_region_2(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int16_t *dest, size_t count) argument
281 bus_space_read_region_4(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int32_t *dest, size_t count) argument
334 bus_space_write_multi_1(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int8_t *dest, size_t count) argument
342 bus_space_write_multi_2(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int16_t *dest, size_t count) argument
350 bus_space_write_multi_4(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int32_t *dest, size_t count) argument
394 bus_space_write_region_1(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int8_t *dest, size_t count) argument
402 bus_space_write_region_2(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int16_t *dest, size_t count) argument
412 bus_space_write_region_4(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int32_t *dest, size_t count) argument
436 bus_space_set_multi_1(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int8_t value, size_t count) argument
444 bus_space_set_multi_2(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int16_t value, size_t count) argument
452 bus_space_set_multi_4(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int32_t value, size_t count) argument
474 bus_space_set_region_1(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int8_t value, size_t count) argument
482 bus_space_set_region_2(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int16_t value, size_t count) argument
492 bus_space_set_region_4(bus_space_tag_t tag, bus_space_handle_t handle, bus_addr_t offset, u_int32_t value, size_t count) argument
[all...]
/openbsd-current/usr.bin/telnet/
H A Dring.c77 ring_init(Ring *ring, unsigned char *buffer, int count) argument
81 ring->size = count;
128 ring_supplied(Ring *ring, int count) argument
130 ring->supply = ring_increment(ring, ring->supply, count);
138 ring_consumed(Ring *ring, int count) argument
140 if (count == 0) /* don't update anything */
144 (ring_subtract(ring, ring->mark, ring->consume) < count)) {
147 ring->consume = ring_increment(ring, ring->consume, count);
234 ring_supply_data(Ring *ring, unsigned char *buffer, int count) argument
238 while (count) {
[all...]
/openbsd-current/lib/libcrypto/x509/
H A Dby_file.c116 int i, count = 0; local
131 PEM_R_NO_START_LINE) && (count > 0)) {
142 count++;
146 ret = count;
173 int i, count = 0; local
188 PEM_R_NO_START_LINE) && (count > 0)) {
199 count++;
203 ret = count;
231 int i, count = 0; local
250 count
[all...]
/openbsd-current/sys/kern/
H A Dkern_clock.c264 uint64_t count, i; local
272 count = clockrequest_advance_random(cr, statclock_min,
275 count = clockrequest_advance(cr, statclock_avg);
284 p->p_uticks += count;
286 spc->spc_cp_time[CP_NICE] += count;
288 spc->spc_cp_time[CP_USER] += count;
305 p->p_iticks += count;
307 CP_SPIN : CP_INTR] += count;
309 p->p_sticks += count;
311 CP_SPIN : CP_SYS] += count;
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/java/
H A Dboehm.c103 unsigned int count; local
112 count = offset * BITS_PER_UNIT / POINTER_SIZE;
115 *last_set_index = count;
124 set_bit (low, high, ubit - count - i - 1);
126 if (count >= ubit - 2)
130 use the count representation. We keep track of that in
147 unsigned int count, log2_size, ubit; local
196 fields. We represent the mark as a count of the fields,
202 count = 0;
209 set_bit (&low, &high, log2_size + count);
[all...]
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/
H A Dio_sel.t18 print "not " unless $sel->count == 4 && @handles == 4;
29 print "not " unless $sel->count == 2;
34 print "not " unless $sel->count == 0 && !defined($sel->bits);
38 print "not " unless $sel->count == 0 && !defined($sel->bits);
42 print "not " unless $sel->count == 0 && !defined($sel->bits);
105 print "not " unless $sel->count == 7;
109 print "not " unless $sel->count == 0 && !defined($sel->bits);
142 print "not " unless $sel->count == 2;
147 print "not " unless $sel->count == 1;
148 print "ok 26 - count() update
[all...]
/openbsd-current/gnu/usr.bin/perl/
H A Dgenerate_uudmap.c18 this is a count of bits for each U8 value 0..255.
69 format_mg_data(FILE *out, const void *thing, size_t count) { argument
79 if (!--count)
87 format_char_block(FILE *out, const void *thing, size_t count) { argument
91 while (count--) {
94 if (count) {
96 if (!(count & 15)) {
106 void (format_function)(FILE *out, const void *thing, size_t count),
107 const void *thing, size_t count,
122 format_function(out, thing, count);
105 output_to_file(const char *progname, const char *filename, void (format_function)(FILE *out, const void *thing, size_t count), const void *thing, size_t count, const char *header ) argument
[all...]
/openbsd-current/lib/libcurses/tty/
H A Dlib_twait.c128 for (n = 0; n < evl->count; ++n) {
179 int count; local
232 count = 0;
233 (void) count;
246 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count);
253 fds[count].fd = sp->_ifd;
254 fds[count].events = POLLIN;
255 count++;
259 fds[count].fd = fd;
260 fds[count]
[all...]
/openbsd-current/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_interrupt.c115 int count; local
117 count = kfifo_in(&node->ih_fifo, ih_ring_entry,
119 if (count != node->kfd->device_info.ih_ring_entry_size) {
122 count);
134 int count; local
136 count = kfifo_out(&node->ih_fifo, ih_ring_entry,
139 WARN_ON(count && count != node->kfd->device_info.ih_ring_entry_size);
141 return count == node->kfd->device_info.ih_ring_entry_size;
/openbsd-current/gnu/gcc/libgomp/config/posix95/
H A Dlock.c72 lock->count = 0;
92 lock->count++;
98 lock->count--;
100 if (lock->count == 0)
119 return ++lock->count;
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp16146.C7 myFoundation () { count = 0; };
11 void addRef () { ++count; }
12 void removeRef () { if (count > 0) --count; }
15 long count; member in class:myFoundation
/openbsd-current/lib/libcurses/base/
H A Dkeyok.c62 int count = 0; local
68 ch, &count, (size_t) 0)) != 0) {
72 count = 0;
81 ch, &count, (size_t) 0)) != 0) {
85 count = 0;
/openbsd-current/gnu/llvm/lldb/source/Utility/
H A DStringList.cpp114 size_t count = 0; local
115 for (count = 0; count < std::min(prefix.size(), arg.size()); ++count) {
116 if (prefix[count] != arg[count])
119 prefix = prefix.take_front(count);
166 size_t count = strcspn(p, k_newline_chars); local
167 if (count == 0) {
168 if (p[count]
[all...]
/openbsd-current/sys/dev/pci/drm/i915/
H A Di915_sysfs.c66 loff_t offset, size_t count)
77 count = round_down(count, sizeof(u32));
78 count = min_t(size_t, GEN7_L3LOG_SIZE - offset, count);
79 memset(buf, 0, count);
85 count);
88 return count;
94 loff_t offset, size_t count)
107 if (count < sizeo
64 i915_l3_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t count) argument
92 i915_l3_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t count) argument
162 error_state_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
198 error_state_write(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D990128-1.c7 int count = 0; variable
27 if (count != MAX+2)
48 count++;
/openbsd-current/gnu/usr.bin/perl/ext/XS-APItest/t/
H A DnewCONSTSUB.t76 our $count = 0;
79 ++$count;
85 --$count;
92 is($Counter::count, 0, 'No objects exist before we start');
96 is($Counter::count, 1, '1 object now exists');
101 is($Counter::count, 0, 'no objects remain');
/openbsd-current/lib/libc/stdlib/
H A Dheapsort.c45 #define SWAP(a, b, count, size, tmp) { \
46 count = size; \
51 } while (--count); \
55 #define COPY(a, b, count, size, tmp1, tmp2) { \
56 count = size; \
61 } while (--count); \
71 #define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \
82 SWAP(par, child, count, size, tmp); \
103 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \
111 COPY(par, child, count, siz
[all...]
/openbsd-current/regress/lib/libpthread/sleep/
H A Dsleep.c69 int count = sizeof thread/sizeof thread[0]; local
76 for(i = 0; i < count; i++)
80 for (i = 0; i < count; i++)
/openbsd-current/usr.sbin/smtpd/
H A Dtree.h27 size_t count; member in struct:tree
32 #define tree_init(t) do { SPLAY_INIT(&((t)->tree)); (t)->count = 0; } while(0)
34 #define tree_count(t) ((t)->count)
/openbsd-current/sys/dev/pci/drm/i915/selftests/
H A Di915_random.h52 unsigned int *i915_random_order(unsigned int count,
55 unsigned int count,
58 void i915_prandom_shuffle(void *arr, size_t elsz, size_t count,

Completed in 392 milliseconds

1234567891011>>