/bionic/libc/bionic/ |
H A D | sched_cpualloc.c | 32 cpu_set_t* __sched_cpualloc(size_t count) argument 34 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count));
|
H A D | __read_chk.cpp | 33 extern "C" ssize_t __read_chk(int fd, void* buf, size_t count, size_t buf_size) { argument 34 if (__predict_false(count > buf_size)) { 38 if (__predict_false(count > SSIZE_MAX)) { 39 __fortify_chk_fail("read: count > SSIZE_MAX", 0); 42 return read(fd, buf, count);
|
H A D | sched_cpucount.c | 34 int count = 0; local 37 count += __builtin_popcountl(set->__bits[nn]); 40 return count;
|
H A D | libc_init_common.cpp | 144 int count = 0; local 145 while (fini_array[count] != NULL) { 146 ++count; 150 while (count > 0) { 151 void (*func)() = (void (*)()) fini_array[--count];
|
H A D | pty.cpp | 92 ssize_t count = readlink(path, buf, len); local 93 if (count == -1) { 96 if (static_cast<size_t>(count) == len) { 100 buf[count] = '\0';
|
/bionic/libc/include/ |
H A D | semaphore.h | 36 volatile unsigned int count; member in struct:__anon55
|
H A D | unistd.h | 202 __errordecl(__read_count_toobig_error, "read called with count > SSIZE_MAX"); 208 ssize_t read(int fd, void* buf, size_t count) { argument 212 if (__builtin_constant_p(count) && (count > SSIZE_MAX)) { 217 return __read_real(fd, buf, count); 220 if (__builtin_constant_p(count) && (count > bos)) { 224 if (__builtin_constant_p(count) && (count <= bos)) { 225 return __read_real(fd, buf, count); [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | ivtvfb.h | 27 int count; member in struct:ivtvfb_dma_frame
|
H A D | keychord.h | 27 __u16 count; member in struct:input_keychord
|
H A D | atm_nicstar.h | 39 int count; member in struct:pool_levels
|
/bionic/libc/upstream-netbsd/android/include/sys/ |
H A D | sha1.h | 20 uint32_t count[2]; member in struct:__anon892
|
/bionic/tests/ |
H A D | sys_sendfile_test.cpp | 33 size_t count = 2; local 34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); 52 size_t count = 2; local 53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count);
|
H A D | stack_unwinding_test.cpp | 64 int count = 0; local 65 _Unwind_Backtrace(FrameCounter, &count); 66 return count; 70 int count = 0; local 71 _Unwind_Backtrace(FrameCounter, &count); 73 ASSERT_EQ(count + 1, deeper_count);
|
/bionic/libc/stdio/ |
H A D | fread.c | 43 fread(void *buf, size_t size, size_t count, FILE *fp) argument 53 if ((size >= MUL_NO_OVERFLOW || count >= MUL_NO_OVERFLOW) && 54 size > 0 && SIZE_MAX / size < count) { 61 * ANSI and SUSv2 require a return value of 0 if size or count are 0. 63 if ((resid = count * size) == 0) 103 return (count);
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | fwrite.c | 44 * Write `count' objects (each size `size') from memory to the given file. 48 fwrite(const void *buf, size_t size, size_t count, FILE *fp) argument 58 if ((size >= MUL_NO_OVERFLOW || count >= MUL_NO_OVERFLOW) && 59 size > 0 && SIZE_MAX / size < count) { 66 * ANSI and SUSv2 require a return value of 0 if size or count are 0. 68 if ((n = count * size) == 0) 86 return (count);
|
/bionic/libc/arch-arm64/denver64/bionic/ |
H A D | memset.S | 50 #define count x2 define 77 cmp count, #256 80 cmp count, #15 83 ands tmp1, count, #0xC0 98 ands tmp1, count, #0x30 111 and count, count, #15 112 add dst, dst, count 119 tbz count, #3, 1f 122 tbz count, # [all...] |
/bionic/libc/arch-arm64/generic/bionic/ |
H A D | memset.S | 49 #define count x1 define 51 #define count x2 define 83 cmp count, #64 86 cmp count, #15 89 ands tmp1, count, #0x30 102 and count, count, #15 103 add dst, dst, count 110 tbz count, #3, 1f 113 tbz count, # [all...] |
H A D | memcpy_base.S | 37 #define count x2 define 56 cmp count, #64 58 cmp count, #15 65 * bottom 6 bits of count to be accurate. */ 66 ands tmp1, count, #0x30 83 ands count, count, #15 85 add src, src, count 87 add dst, dst, count 95 tbz count, # [all...] |
/bionic/libc/dns/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/kernel/uapi/linux/netfilter/ |
H A D | xt_connbytes.h | 40 } count; member in struct:xt_connbytes_info
|
H A D | xt_multiport.h | 32 __u8 count; member in struct:xt_multiport 39 __u8 count; member in struct:xt_multiport_v1
|
H A D | xt_statistic.h | 49 __u32 count; member in struct:xt_statistic_info::__anon545::__anon547
|
/bionic/libc/private/ |
H A D | bionic_futex.h | 53 static inline int __futex_wake(volatile void* ftx, int count) { argument 54 return __futex(ftx, FUTEX_WAKE, count, NULL); 57 static inline int __futex_wake_ex(volatile void* ftx, bool shared, int count) { argument 58 return __futex(ftx, shared ? FUTEX_WAKE : FUTEX_WAKE_PRIVATE, count, NULL);
|
/bionic/libc/arch-arm/bionic/ |
H A D | memcpy.a9.S | 87 #define count r2 define 154 cmp count, #64 161 and tmp1, count, #0x38 179 tst count, #4 185 and tmp1, count, #0x3c 231 lsls count, count, #31 259 sub count, count, tmp2, lsr #29 269 subs tmp2, count, #6 [all...] |
/bionic/libc/kernel/uapi/xen/ |
H A D | gntalloc.h | 26 uint32_t count; member in struct:ioctl_gntalloc_alloc_gref 36 uint32_t count; member in struct:ioctl_gntalloc_dealloc_gref
|