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

123

/bionic/libc/string/
H A Dstrtotimeval.c43 int count; local
49 count = 0;
52 if ( ++count < 7 )
57 for ( ; count < 6; 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
50 uio.uio_resid = iov.iov_len = n = count * size;
60 return (count);
H A Dfread.c49 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 Dcpuacct.c36 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 Dlibc_init_common.c97 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 Datomics_x86.c49 int __futex_wake(volatile void *ftx, int count) argument
58 "d" (count)
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...]
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 Dsystem_properties.c94 if(n >= pa->count) {
104 unsigned count = pa->count; local
109 while(count--) {
/bionic/libc/kernel/arch-arm/asm/
H A Dsemaphore.h24 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 Dxt_multiport.h27 u_int8_t count; member in struct:xt_multiport
34 u_int8_t count; member in struct:xt_multiport_v1
H A Dxt_connbytes.h32 } count; member in struct:xt_connbytes_info
H A Dxt_statistic.h37 u_int32_t count; member in struct:xt_statistic_info::__anon319::__anon321
/bionic/libc/include/sys/
H A Dsendfile.h36 extern ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);
H A Datomics.h42 int __futex_wake(volatile void *ftx, int count);
/bionic/libc/kernel/common/linux/
H A Dkeychord.h25 __u16 count; member in struct:input_keychord
H A Dpercpu_counter.h22 s64 count; member in struct:percpu_counter
H A Dmutex.h24 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 Dproc_fs.h29 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 Dmachvec.h40 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 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/libc/include/
H A Dsha1.h20 uint32_t count[2]; member in struct:__anon35
H A Dsemaphore.h36 volatile unsigned int count; member in struct:__anon34
/bionic/libc/kernel/arch-x86/asm/
H A Dio_32.h26 #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 Dxdr.h37 __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

Completed in 527 milliseconds

123