/bionic/libc/bionic/ |
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_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 | sched_cpucount.c | 34 int count = 0; local 37 count += __builtin_popcountl(set->__bits[nn]); 40 return 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 | 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/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...] |
H A D | memcpy.S | 40 #define count x2 define 66 cmp count, #64 68 cmp count, #15 75 * bottom 6 bits of count to be accurate. */ 76 ands tmp1, count, #0x30 93 ands count, count, #15 95 add src, src, count 97 add dst, dst, count 105 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 | memmove.S | 44 #define count x2 define 70 lsl count, count, #2 76 add tmp1, src, count 83 add dst, dstin, count 84 add src, src, count 85 cmp count, #64 92 * bottom 6 bits of count to be accurate. */ 93 ands tmp1, count, #0x30 111 tbz count, # [all...] |
H A D | memcpy.S | 39 #define count x2 define 60 cmp count, #64 62 cmp count, #15 69 * bottom 6 bits of count to be accurate. */ 70 ands tmp1, count, #0x30 87 ands count, count, #15 89 add src, src, count 91 add dst, dst, count 99 tbz count, # [all...] |
/bionic/libc/arch-arm64/generic-neon/bionic/ |
H A D | memcpy.S | 39 #define count x2 define 65 cmp count, #64 67 cmp count, #15 74 * bottom 6 bits of count to be accurate. */ 75 ands tmp1, count, #0x30 92 ands count, count, #15 94 add src, src, count 96 add dst, dst, count 104 tbz count, # [all...] |
/bionic/libc/include/sys/ |
H A D | sendfile.h | 37 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count); 38 extern ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count);
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
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_connbytes.h | 40 } count; member in struct:xt_connbytes_info
|
/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);
|
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) 87 return (count);
|
/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
|
/bionic/libc/kernel/uapi/xen/ |
H A D | gntdev.h | 29 uint32_t count; member in struct:ioctl_gntdev_map_grant_ref 39 uint32_t count; member in struct:ioctl_gntdev_unmap_grant_ref 47 uint32_t count; member in struct:ioctl_gntdev_get_offset_for_vaddr 54 uint32_t count; member in struct:ioctl_gntdev_set_max_grants
|
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
|
/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/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/upstream-netbsd/android/include/sys/ |
H A D | sha1.h | 20 uint32_t count[2]; member in struct:__anon891
|
/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);
|
/bionic/libc/include/ |
H A D | unistd.h | 203 __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...] |