Searched refs:count (Results 1 - 25 of 172) sorted by relevance

1234567

/seL4-camkes-master/tools/riscv-pk/softfloat/
H A Ds_countLeadingZeros16.c47 uint_fast8_t count; local
49 count = 8;
51 count = 0;
54 count += softfloat_countLeadingZeros8[a];
55 return count;
H A Ds_countLeadingZeros64.c47 uint_fast8_t count; local
50 count = 0;
53 count = 32;
57 | From here, result is current count + count leading zeros of `a32'.
60 count += 16;
64 count += 8;
67 count += softfloat_countLeadingZeros8[a32>>24];
68 return count;
H A Ds_countLeadingZeros32.c47 uint_fast8_t count; local
49 count = 0;
51 count = 16;
55 count += 8;
58 count += softfloat_countLeadingZeros8[a>>24];
59 return count;
/seL4-camkes-master/projects/musllibc/src/unistd/
H A Dgetgroups.c4 int getgroups(int count, gid_t list[]) argument
6 return syscall(SYS_getgroups, count, list);
H A Dread.c5 ssize_t read(int fd, void *buf, size_t count) argument
7 return syscall_cp(SYS_read, fd, buf, count);
H A Dreadv.c5 ssize_t readv(int fd, const struct iovec *iov, int count) argument
7 return syscall_cp(SYS_readv, fd, iov, count);
H A Dwrite.c5 ssize_t write(int fd, const void *buf, size_t count) argument
7 return syscall_cp(SYS_write, fd, buf, count);
H A Dwritev.c5 ssize_t writev(int fd, const struct iovec *iov, int count) argument
7 return syscall_cp(SYS_writev, fd, iov, count);
/seL4-camkes-master/projects/musllibc/src/exit/
H A Dat_quick_exit.c7 static int count; variable
14 while (count > 0) {
15 func = funcs[--count];
24 if (count == 32) return -1;
26 funcs[count++] = func;
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/preprocessor/repetition/
H A Denum_params.hpp24 # define MSGPACK_PP_ENUM_PARAMS(count, param) MSGPACK_PP_REPEAT(count, MSGPACK_PP_ENUM_PARAMS_M, param)
26 # define MSGPACK_PP_ENUM_PARAMS(count, param) MSGPACK_PP_ENUM_PARAMS_I(count, param)
27 # define MSGPACK_PP_ENUM_PARAMS_I(count, param) MSGPACK_PP_REPEAT(count, MSGPACK_PP_ENUM_PARAMS_M, param)
35 # define MSGPACK_PP_ENUM_PARAMS_Z(z, count, param) MSGPACK_PP_REPEAT_ ## z(count, MSGPACK_PP_ENUM_PARAMS_M, param)
37 # define MSGPACK_PP_ENUM_PARAMS_Z(z, count, param) MSGPACK_PP_ENUM_PARAMS_Z_I(z, count, para
[all...]
H A Denum_trailing_params.hpp21 # define MSGPACK_PP_ENUM_TRAILING_PARAMS(count, param) MSGPACK_PP_REPEAT(count, MSGPACK_PP_ENUM_TRAILING_PARAMS_M, param)
23 # define MSGPACK_PP_ENUM_TRAILING_PARAMS(count, param) MSGPACK_PP_ENUM_TRAILING_PARAMS_I(count, param)
24 # define MSGPACK_PP_ENUM_TRAILING_PARAMS_I(count, param) MSGPACK_PP_REPEAT(count, MSGPACK_PP_ENUM_TRAILING_PARAMS_M, param)
32 # define MSGPACK_PP_ENUM_TRAILING_PARAMS_Z(z, count, param) MSGPACK_PP_REPEAT_ ## z(count, MSGPACK_PP_ENUM_TRAILING_PARAMS_M, param)
34 # define MSGPACK_PP_ENUM_TRAILING_PARAMS_Z(z, count, param) MSGPACK_PP_ENUM_TRAILING_PARAMS_Z_I(z, count, para
[all...]
H A Denum_params_with_defaults.hpp22 # define MSGPACK_PP_ENUM_PARAMS_WITH_DEFAULTS(count, param, def) MSGPACK_PP_ENUM_BINARY_PARAMS(count, param, = def)
H A Denum_shifted_params.hpp27 # define MSGPACK_PP_ENUM_SHIFTED_PARAMS(count, param) MSGPACK_PP_REPEAT(MSGPACK_PP_DEC(count), MSGPACK_PP_ENUM_SHIFTED_PARAMS_M, param)
29 # define MSGPACK_PP_ENUM_SHIFTED_PARAMS(count, param) MSGPACK_PP_ENUM_SHIFTED_PARAMS_I(count, param)
30 # define MSGPACK_PP_ENUM_SHIFTED_PARAMS_I(count, param) MSGPACK_PP_REPEAT(MSGPACK_PP_DEC(count), MSGPACK_PP_ENUM_SHIFTED_PARAMS_M, param)
38 # define MSGPACK_PP_ENUM_SHIFTED_PARAMS_Z(z, count, param) MSGPACK_PP_REPEAT_ ## z(MSGPACK_PP_DEC(count), MSGPACK_PP_ENUM_SHIFTED_PARAMS_M, param)
40 # define MSGPACK_PP_ENUM_SHIFTED_PARAMS_Z(z, count, param) MSGPACK_PP_ENUM_SHIFTED_PARAMS_Z_I(z, count, para
[all...]
H A Denum_binary_params.hpp25 # define MSGPACK_PP_ENUM_BINARY_PARAMS(count, p1, p2) MSGPACK_PP_REPEAT(count, MSGPACK_PP_ENUM_BINARY_PARAMS_M, (p1, p2))
27 # define MSGPACK_PP_ENUM_BINARY_PARAMS(count, p1, p2) MSGPACK_PP_ENUM_BINARY_PARAMS_I(count, p1, p2)
28 # define MSGPACK_PP_ENUM_BINARY_PARAMS_I(count, p1, p2) MSGPACK_PP_REPEAT(count, MSGPACK_PP_ENUM_BINARY_PARAMS_M, (p1, p2))
48 # define MSGPACK_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2) MSGPACK_PP_REPEAT_ ## z(count, MSGPACK_PP_ENUM_BINARY_PARAMS_M, (p1, p2))
50 # define MSGPACK_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2) MSGPACK_PP_ENUM_BINARY_PARAMS_Z_I(z, count, p
[all...]
/seL4-camkes-master/projects/musllibc/src/thread/
H A Dpthread_barrier_init.c3 int pthread_barrier_init(pthread_barrier_t *restrict b, const pthread_barrierattr_t *restrict a, unsigned count) argument
5 if (count-1 > INT_MAX-1) return EINVAL;
6 *b = (pthread_barrier_t){ ._b_limit = count-1 | (a?a->__attr:0) };
/seL4-camkes-master/projects/musllibc/src/linux/
H A Dsetgroups.c5 int setgroups(size_t count, const gid_t list[]) argument
7 return syscall(SYS_setgroups, count, list);
H A Dsendfile.c5 ssize_t sendfile(int out_fd, int in_fd, off_t *ofs, size_t count) argument
7 return syscall(SYS_sendfile, out_fd, in_fd, ofs, count);
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/preprocessor/list/
H A Drest_n.hpp26 # define MSGPACK_PP_LIST_REST_N(count, list) MSGPACK_PP_TUPLE_ELEM(2, 0, MSGPACK_PP_WHILE(MSGPACK_PP_LIST_REST_N_P, MSGPACK_PP_LIST_REST_N_O, (list, count)))
28 # define MSGPACK_PP_LIST_REST_N(count, list) MSGPACK_PP_LIST_REST_N_I(count, list)
29 # define MSGPACK_PP_LIST_REST_N_I(count, list) MSGPACK_PP_TUPLE_ELEM(2, 0, MSGPACK_PP_WHILE(MSGPACK_PP_LIST_REST_N_P, MSGPACK_PP_LIST_REST_N_O, (list, count)))
36 # define MSGPACK_PP_LIST_REST_N_P_I(list, count) count
43 # define MSGPACK_PP_LIST_REST_N_O_I(list, count) (MSGPACK_PP_LIST_REST(list), MSGPACK_PP_DEC(count))
[all...]
H A Dfirst_n.hpp28 # define MSGPACK_PP_LIST_FIRST_N(count, list) MSGPACK_PP_LIST_REVERSE(MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_WHILE(MSGPACK_PP_LIST_FIRST_N_P, MSGPACK_PP_LIST_FIRST_N_O, (count, list, MSGPACK_PP_NIL))))
30 # define MSGPACK_PP_LIST_FIRST_N(count, list) MSGPACK_PP_LIST_FIRST_N_I(count, list)
31 # define MSGPACK_PP_LIST_FIRST_N_I(count, list) MSGPACK_PP_LIST_REVERSE(MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_WHILE(MSGPACK_PP_LIST_FIRST_N_P, MSGPACK_PP_LIST_FIRST_N_O, (count, list, MSGPACK_PP_NIL))))
52 # define MSGPACK_PP_LIST_FIRST_N_D(d, count, list) MSGPACK_PP_LIST_REVERSE_D(d, MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_WHILE_ ## d(MSGPACK_PP_LIST_FIRST_N_P, MSGPACK_PP_LIST_FIRST_N_O, (count, list, MSGPACK_PP_NIL))))
54 # define MSGPACK_PP_LIST_FIRST_N_D(d, count, list) MSGPACK_PP_LIST_FIRST_N_D_I(d, count, lis
[all...]
/seL4-camkes-master/projects/camkes/apps/event-driven/components/Collector/src/
H A Dcollector.c11 static int count = 0; variable
15 count++;
17 if (count == MAX_COUNT) {
18 printf("Got %d events!\n", count);
/seL4-camkes-master/tools/rumprun/platform/xen/xen/include/mini-os/
H A Dsemaphore.h14 int count; member in struct:semaphore
22 signed long count; member in struct:rw_semaphore
29 .count = n, \
36 #define __DECLARE_SEMAPHORE_GENERIC(name,count) \
37 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count)
43 static inline void init_SEMAPHORE(struct semaphore *sem, int count) argument
45 sem->count = count;
56 if (sem->count > 0) {
58 sem->count
[all...]
/seL4-camkes-master/kernel/src/plat/pc99/machine/
H A Dpit.c29 uint16_t count; local
33 count = in8(PIT_CH0);
34 count |= (in8(PIT_CH0) << 8);
35 count_old = count;
37 while (count <= count_old) {
38 count_old = count;
40 count = in8(PIT_CH0);
41 count |= (in8(PIT_CH0) << 8);
/seL4-camkes-master/projects/musllibc/src/misc/
H A Dinitgroups.c8 int count = NGROUPS_MAX; local
9 if (getgrouplist(user, gid, groups, &count) < 0) return -1;
10 return setgroups(count, groups);
/seL4-camkes-master/kernel/src/machine/
H A Dprofiler.c25 /* Event count for each checkpoint value */
48 profiler_entries[i].count = 0;
55 unsigned int samples, i, count; local
57 printf("checkpoint count\n");
60 count = 0;
63 printf("%u %u\n", i, (unsigned int)profiler_entries[i].count);
64 samples += profiler_entries[i].count;
65 count++;
69 printf("%u checkpoints, %u sample(s)\n", count, samples);
81 profiler_entries[checkpoint].count
[all...]
/seL4-camkes-master/projects/util_libs/libplatsupport/src/
H A Dserial.c21 size_t count,
26 for (int i = 0; i < count; i++) {
31 return count;
37 size_t count,
42 for (int i = 0; i < count; i++) {
49 return count;
18 uart_write( ps_chardevice_t *d, const void *vdata, size_t count, chardev_callback_t rcb UNUSED, void *token UNUSED) argument
34 uart_read( ps_chardevice_t *d, void *vdata, size_t count, chardev_callback_t rcb UNUSED, void *token UNUSED) argument

Completed in 626 milliseconds

1234567