Searched defs:count (Results 1 - 25 of 53) sorted by relevance

123

/bionic/libc/include/
H A Dsemaphore.h36 volatile unsigned int count; member in struct:__anon42
H A Dsha1.h20 uint32_t count[2]; member in struct:__anon43
/bionic/libc/kernel/common/linux/
H A Dpercpu_counter.h29 s64 count; member in struct:percpu_counter
H A Dkeychord.h27 __u16 count; member in struct:input_keychord
H A Dmutex.h29 atomic_t count; member in struct:mutex
44 #define __MUTEX_INITIALIZER(lockname) { .count = ATOMIC_INIT(1) , .wait_lock = SPIN_LOCK_UNLOCKED , .wait_list = LIST_HEAD_INIT(lockname.wait_list) __DEBUG_MUTEX_INITIALIZER(lockname) __DEP_MAP_MUTEX_INITIALIZER(lockname) }
H A Dfile.h49 atomic_t count; member in struct:files_struct
/bionic/libc/bionic/
H A Dsched_cpualloc.c32 cpu_set_t* __sched_cpualloc(size_t count) argument
34 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count));
H A Dcpuacct.c37 int count; local
43 count = snprintf(buf, sizeof(buf), "/acct/uid/%d/tasks", uid);
47 buf[count - sizeof("tasks")] = 0;
52 buf[count - sizeof("tasks")] = '/';
H A Dsched_cpucount.c34 int count = 0; local
37 count += __builtin_popcount(set->__bits[nn]);
39 return count;
H A Dmalloc_debug_stacktrace.cpp36 size_t count; member in struct:stack_crawl_state_t
50 if (state->count) {
55 state->count--;
68 state.count = max_entries;
71 return max_entries - state.count;
H A Dssp.c71 int count; local
80 if ((count = readlink("/proc/self/exe", path, sizeof(path) - 1)) == -1) {
83 path[count] = '\0';
H A Dlibc_init_common.c116 int count; local
129 for (count = 0; fini_array[count] != NULL; count++);
132 while (count > 0) {
133 void (*func)() = (void (*)) fini_array[--count];
H A Dmalloc_debug_common.h60 size_t count; member in struct:HashTable
H A Dsemaphore.c71 /* convert a value into the corresponding sem->count bit pattern */
74 /* convert a sem->count bit pattern into the corresponding signed value */
77 /* the value +1 as a sem->count bit-pattern. */
80 /* the value -1 as a sem->count bit-pattern. */
87 #define SEM_GET_SHARED(sem) ((sem)->count & SEMCOUNT_SHARED_MASK)
103 sem->count = SEMCOUNT_FROM_VALUE(value);
105 sem->count |= SEMCOUNT_SHARED_MASK;
113 int count; local
119 count = SEMCOUNT_TO_VALUE(sem->count);
[all...]
/bionic/libc/kernel/arch-arm/asm/
H A Dsemaphore.h30 atomic_t count; member in struct:semaphore
35 #define __SEMAPHORE_INIT(name, cnt) { .count = ATOMIC_INIT(cnt), .wait = __WAIT_QUEUE_HEAD_INITIALIZER((name).wait), }
36 #define __DECLARE_SEMAPHORE_GENERIC(name,count) struct semaphore name = __SEMAPHORE_INIT(name,count)
/bionic/libc/stdio/
H A Dfwrite.c39 * Write `count' objects (each size `size') from memory to the given file.
43 fwrite(const void *buf, size_t size, size_t count, FILE *fp) argument
51 uio.uio_resid = iov.iov_len = n = count * size;
64 return (count);
H A Dfread.c48 fread(void *buf, size_t size, size_t count, FILE *fp) argument
56 * The ANSI standard requires a return value of 0 for a count
60 if ((resid = count * size) == 0)
151 return (count);
174 return (count);
/bionic/libc/string/
H A Dstrtotimeval.c43 int count; local
49 count = 0;
52 if ( ++count < 7 )
57 for ( ; count < 6; count++ )
/bionic/libc/kernel/common/linux/netfilter/
H A Dxt_connbytes.h40 } count; member in struct:xt_connbytes_info
H A Dxt_multiport.h34 u_int8_t count; member in struct:xt_multiport
41 u_int8_t count; member in struct:xt_multiport_v1
H A Dxt_statistic.h46 u_int32_t count; member in struct:xt_statistic_info::__anon396::__anon398
/bionic/libc/netbsd/net/
H A Dgetservent.c56 int nn,count; local
71 count = q[0]; /* get aliascount */
74 total += (count+1)*sizeof(char*);
75 for (nn = 0; nn < count; nn++) {
88 p2 += (count+1)*sizeof(char*);
106 for (nn = 0; nn < count; nn++) {
/bionic/linker/
H A Dlinker_environ.c198 int count; local
199 for (count = 0; unsec_vars[count] != NULL; count++) {
200 linker_env_unset(unsec_vars[count]);
/bionic/libc/include/sys/
H A D_system_properties.h52 unsigned volatile count; member in struct:prop_area
82 ** - prop_area.count will never decrease in value
/bionic/libc/netbsd/nameser/
H A Dns_parse.c79 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { argument
82 for (; count > 0; count--) {

Completed in 1898 milliseconds

123