/bionic/libc/string/ |
H A D | strtotimeval.c | 43 int count; local 49 count = 0; 52 if ( ++count < 7 ) 57 for ( ; count < 6; count++ )
|
/bionic/libc/stdio/ |
H A D | fwrite.c | 39 * 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 50 uio.uio_resid = iov.iov_len = n = count * size; 60 return (count);
|
H A D | fread.c | 49 fread(void *buf, size_t size, size_t count, FILE *fp) argument 57 * The ANSI standard requires a return value of 0 for a count 61 if ((resid = count * size) == 0) 136 return (count); 157 return (count);
|
/bionic/libc/bionic/ |
H A D | cpuacct.c | 36 int count; local 40 count = snprintf(buf, sizeof(buf), "/acct/uid/%d/tasks", uid); 44 buf[count - sizeof("tasks")] = 0; 49 buf[count - sizeof("tasks")] = '/';
|
H A D | libc_init_common.c | 97 int count; local 110 for (count = 0; fini_array[count] != NULL; count++); 113 while (count > 0) { 114 void (*func)() = (void (*)) fini_array[--count];
|
H A D | atomics_x86.c | 49 int __futex_wake(volatile void *ftx, int count) argument 58 "d" (count)
|
H A D | semaphore.c | 71 /* 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...] |
H A D | ssp.c | 71 int count; local 80 if ((count = readlink("/proc/self/exe", path, sizeof(path) - 1)) == -1) { 83 path[count] = '\0';
|
H A D | system_properties.c | 94 if(n >= pa->count) { 104 unsigned count = pa->count; local 109 while(count--) {
|
/bionic/libc/kernel/arch-arm/asm/ |
H A D | semaphore.h | 24 atomic_t count; member in struct:semaphore 29 #define __SEMAPHORE_INIT(name, cnt) { .count = ATOMIC_INIT(cnt), .wait = __WAIT_QUEUE_HEAD_INITIALIZER((name).wait), } 31 #define __DECLARE_SEMAPHORE_GENERIC(name,count) struct semaphore name = __SEMAPHORE_INIT(name,count)
|
/bionic/libc/kernel/common/linux/netfilter/ |
H A D | xt_multiport.h | 27 u_int8_t count; member in struct:xt_multiport 34 u_int8_t count; member in struct:xt_multiport_v1
|
H A D | xt_connbytes.h | 32 } count; member in struct:xt_connbytes_info
|
H A D | xt_statistic.h | 37 u_int32_t count; member in struct:xt_statistic_info::__anon319::__anon321
|
/bionic/libc/include/sys/ |
H A D | sendfile.h | 36 extern ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);
|
H A D | atomics.h | 42 int __futex_wake(volatile void *ftx, int count);
|
/bionic/libc/kernel/common/linux/ |
H A D | keychord.h | 25 __u16 count; member in struct:input_keychord
|
H A D | percpu_counter.h | 22 s64 count; member in struct:percpu_counter
|
H A D | mutex.h | 24 atomic_t count; member in struct:mutex 40 #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 D | proc_fs.h | 29 int count, int *eof, void *data); 31 unsigned long count, void *data); 51 atomic_t count; member in struct:proc_dir_entry
|
/bionic/libc/kernel/arch-sh/asm/ |
H A 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/netbsd/net/ |
H A D | getservent.c | 56 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/libc/include/ |
H A D | sha1.h | 20 uint32_t count[2]; member in struct:__anon35
|
H A D | semaphore.h | 36 volatile unsigned int count; member in struct:__anon34
|
/bionic/libc/kernel/arch-x86/asm/ |
H A D | io_32.h | 26 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type value = in##bwl##_local(port); slow_down_io(); return value; } __BUILDIO(bwl,bw,type) static inline void out##bwl##_p(unsigned type value, int port) { out##bwl(value, port); slow_down_io(); } static inline unsigned type in##bwl##_p(int port) { unsigned type value = in##bwl(port); slow_down_io(); return value; } static inline void outs##bwl(int port, const void *addr, unsigned long count) { __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port)); } static inline void ins##bwl(int port, void *addr, unsigned long count) { __asm__ __volatile__("rep; ins" #bwl : "+D"(addr), "+c"(count) : "d"(port)); }
|
/bionic/libc/kernel/common/linux/nfsd/ |
H A D | xdr.h | 37 __u32 count; member in struct:nfsd_readargs 90 __u32 count; member in struct:nfsd_readdirargs 110 unsigned long count; member in struct:nfsd_readres 115 int count; member in struct:nfsd_readdirres
|