/bionic/libc/string/ |
D | strtotimeval.c | 43 int count; in strtotimeval() local 49 count = 0; in strtotimeval() 52 if ( ++count < 7 ) in strtotimeval() 57 for ( ; count < 6; count++ ) in strtotimeval()
|
/bionic/libc/bionic/ |
D | cpuacct.c | 36 int count; in cpuacct_add() local 40 count = snprintf(buf, sizeof(buf), "/acct/uid/%d/tasks", uid); in cpuacct_add() 44 buf[count - sizeof("tasks")] = 0; in cpuacct_add() 49 buf[count - sizeof("tasks")] = '/'; in cpuacct_add()
|
D | sched_cpucount.c | 34 int count = 0; in __sched_cpucount() local 37 count += __builtin_popcount(set->__bits[nn]); in __sched_cpucount() 39 return count; in __sched_cpucount()
|
D | libc_init_common.c | 97 int count; in __libc_fini() local 110 for (count = 0; fini_array[count] != NULL; count++); in __libc_fini() 113 while (count > 0) { in __libc_fini() 114 void (*func)() = (void (*)) fini_array[--count]; in __libc_fini()
|
D | semaphore.c | 87 #define SEM_GET_SHARED(sem) ((sem)->count & SEMCOUNT_SHARED_MASK) 103 sem->count = SEMCOUNT_FROM_VALUE(value); in sem_init() 105 sem->count |= SEMCOUNT_SHARED_MASK; in sem_init() 113 int count; in sem_destroy() local 119 count = SEMCOUNT_TO_VALUE(sem->count); in sem_destroy() 120 if (count < 0) { in sem_destroy() 124 sem->count = 0; in sem_destroy() 258 if (__sem_dec(&sem->count) > 0) in sem_wait() 261 __futex_wait_ex(&sem->count, shared, shared|SEMCOUNT_MINUS_ONE, NULL); in sem_wait() 281 if (__sem_trydec(&sem->count) > 0) { in sem_timedwait() [all …]
|
D | sched_cpualloc.c | 32 cpu_set_t* __sched_cpualloc(size_t count) in __sched_cpualloc() argument 34 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count)); in __sched_cpualloc()
|
D | ssp.c | 71 int count; in __stack_chk_fail() local 80 if ((count = readlink("/proc/self/exe", path, sizeof(path) - 1)) == -1) { in __stack_chk_fail() 83 path[count] = '\0'; in __stack_chk_fail()
|
D | atomics_x86.c | 49 int __futex_wake(volatile void *ftx, int count) in __futex_wake() argument 58 "d" (count) in __futex_wake()
|
/bionic/libc/kernel/arch-arm/asm/ |
D | semaphore.h | 24 atomic_t count; member 29 #define __SEMAPHORE_INIT(name, cnt) { .count = ATOMIC_INIT(cnt), .wait = __WAIT_QUEUE_HEAD_INI… 31 #define __DECLARE_SEMAPHORE_GENERIC(name,count) struct semaphore name = __SEMAPHORE_INIT(name,cou… argument
|
/bionic/libc/kernel/arch-sh/asm/ |
D | machvec.h | 40 void (*mv_insb)(unsigned long, void *dst, unsigned long count); 41 void (*mv_insw)(unsigned long, void *dst, unsigned long count); 42 void (*mv_insl)(unsigned long, void *dst, unsigned long count); 43 void (*mv_outsb)(unsigned long, const void *src, unsigned long count); 44 void (*mv_outsw)(unsigned long, const void *src, unsigned long count); 45 void (*mv_outsl)(unsigned long, const void *src, unsigned long count);
|
/bionic/libc/stdio/ |
D | fwrite.c | 43 fwrite(const void *buf, size_t size, size_t count, FILE *fp) in fwrite() argument 51 uio.uio_resid = iov.iov_len = n = count * size; in fwrite() 64 return (count); in fwrite()
|
D | fread.c | 48 fread(void *buf, size_t size, size_t count, FILE *fp) in fread() argument 60 if ((resid = count * size) == 0) in fread() 151 return (count); in fread() 174 return (count); in fread()
|
/bionic/libc/netbsd/net/ |
D | getservent.c | 56 int nn,count; in getservent_r() local 71 count = q[0]; /* get aliascount */ in getservent_r() 74 total += (count+1)*sizeof(char*); in getservent_r() 75 for (nn = 0; nn < count; nn++) { in getservent_r() 88 p2 += (count+1)*sizeof(char*); in getservent_r() 106 for (nn = 0; nn < count; nn++) { in getservent_r()
|
/bionic/libc/kernel/common/linux/netfilter/ |
D | xt_multiport.h | 27 u_int8_t count; member 34 u_int8_t count; member
|
D | xt_connbytes.h | 32 } count; member
|
/bionic/libc/kernel/common/linux/nfsd/ |
D | xdr.h | 37 __u32 count; member 90 __u32 count; member 110 unsigned long count; member 115 int count; member
|
/bionic/libc/kernel/arch-x86/asm/ |
D | io_32.h | 26 …count) { __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port)); } stati…
|
/bionic/libc/kernel/common/linux/ |
D | proc_fs.h | 29 int count, int *eof, void *data); 31 unsigned long count, void *data); 51 atomic_t count; member
|
D | percpu_counter.h | 22 s64 count; member
|
D | mutex.h | 24 atomic_t count; member 40 #define __MUTEX_INITIALIZER(lockname) { .count = ATOMIC_INIT(1) , .wait_lock = SPIN_LOCK_UNLOCK…
|
D | keychord.h | 25 __u16 count; member
|
/bionic/libc/include/sys/ |
D | sendfile.h | 36 extern ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);
|
D | atomics.h | 42 int __futex_wake(volatile void *ftx, int count);
|
/bionic/libc/unistd/ |
D | sysconf.c | 368 int count = 0; in __get_nproc_conf() local 375 count += 1; in __get_nproc_conf() 377 return (count < 1) ? 1 : count; in __get_nproc_conf() 386 int count = 0; in __get_nproc_onln() local 393 count += 1; in __get_nproc_onln() 395 return (count < 1) ? 1 : count; in __get_nproc_onln()
|
/bionic/libc/include/ |
D | sha1.h | 20 uint32_t count[2]; member
|