/bionic/libc/include/bits/fortify/ |
H A D | unistd.h | 87 ssize_t pread(int fd, void* const __pass_object_size0 buf, size_t count, off_t offset) 89 __error_if_overflows_ssizet(count, pread) 90 __error_if_overflows_objectsize(count, __bos0(buf), pread) { 93 if (count == __BIONIC_FORTIFY_UNKNOWN_SIZE) { 94 return __PREAD_PREFIX(real)(fd, buf, count, offset); 97 return __PREAD_PREFIX(chk)(fd, buf, count, offset, bos); 101 ssize_t pread64(int fd, void* const __pass_object_size0 buf, size_t count, off64_t offset) 103 __error_if_overflows_ssizet(count, pread64) 104 __error_if_overflows_objectsize(count, __bos0(buf), pread64) { 108 return __pread64_real(fd, buf, count, offse 259 pread(int fd, void* buf, size_t count, off_t offset) argument 282 pread64(int fd, void* buf, size_t count, off64_t offset) argument 307 pwrite(int fd, const void* buf, size_t count, off_t offset) argument 330 pwrite64(int fd, const void* buf, size_t count, off64_t offset) argument 355 read(int fd, void* buf, size_t count) argument 380 write(int fd, const void* buf, size_t count) argument [all...] |
H A D | stdio.h | 96 size_t fread(void* const __pass_object_size0 buf, size_t size, size_t count, FILE* stream) 98 __clang_error_if(__unsafe_check_mul_overflow(size, count), 99 "in call to 'fread', size * count overflows") 100 __clang_error_if(__bos(buf) != __BIONIC_FORTIFY_UNKNOWN_SIZE && size * count > __bos(buf), 101 "in call to 'fread', size * count is too large for the given buffer") { 105 return __call_bypassing_fortify(fread)(buf, size, count, stream); 107 return __fread_chk(buf, size, count, stream, bos); 111 size_t fwrite(const void* const __pass_object_size0 buf, size_t size, size_t count, FILE* stream) 113 __clang_error_if(__unsafe_check_mul_overflow(size, count), 114 "in call to 'fwrite', size * count overflow 173 fread(void* buf, size_t size, size_t count, FILE* stream) argument 197 fwrite(const void* buf, size_t size, size_t count, FILE* stream) argument [all...] |
/bionic/tools/versioner/current/bits/fortify/ |
H A D | unistd.h | 87 ssize_t pread(int fd, void* const __pass_object_size0 buf, size_t count, off_t offset) 89 __error_if_overflows_ssizet(count, pread) 90 __error_if_overflows_objectsize(count, __bos0(buf), pread) { 93 if (count == __BIONIC_FORTIFY_UNKNOWN_SIZE) { 94 return __PREAD_PREFIX(real)(fd, buf, count, offset); 97 return __PREAD_PREFIX(chk)(fd, buf, count, offset, bos); 101 ssize_t pread64(int fd, void* const __pass_object_size0 buf, size_t count, off64_t offset) 103 __error_if_overflows_ssizet(count, pread64) 104 __error_if_overflows_objectsize(count, __bos0(buf), pread64) { 108 return __pread64_real(fd, buf, count, offse 259 pread(int fd, void* buf, size_t count, off_t offset) argument 282 pread64(int fd, void* buf, size_t count, off64_t offset) argument 307 pwrite(int fd, const void* buf, size_t count, off_t offset) argument 330 pwrite64(int fd, const void* buf, size_t count, off64_t offset) argument 355 read(int fd, void* buf, size_t count) argument 380 write(int fd, const void* buf, size_t count) argument [all...] |
H A D | stdio.h | 96 size_t fread(void* const __pass_object_size0 buf, size_t size, size_t count, FILE* stream) 98 __clang_error_if(__unsafe_check_mul_overflow(size, count), 99 "in call to 'fread', size * count overflows") 100 __clang_error_if(__bos(buf) != __BIONIC_FORTIFY_UNKNOWN_SIZE && size * count > __bos(buf), 101 "in call to 'fread', size * count is too large for the given buffer") { 105 return __call_bypassing_fortify(fread)(buf, size, count, stream); 107 return __fread_chk(buf, size, count, stream, bos); 111 size_t fwrite(const void* const __pass_object_size0 buf, size_t size, size_t count, FILE* stream) 113 __clang_error_if(__unsafe_check_mul_overflow(size, count), 114 "in call to 'fwrite', size * count overflow 173 fread(void* buf, size_t size, size_t count, FILE* stream) argument 197 fwrite(const void* buf, size_t size, size_t count, FILE* stream) argument [all...] |
/bionic/libc/bionic/ |
H A D | sched_cpualloc.c | 32 cpu_set_t* __sched_cpualloc(size_t count) argument 37 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count)); // NOLINT
|
H A D | sched_cpucount.c | 34 int count = 0; local 37 count += __builtin_popcountl(set->__bits[nn]); 40 return count;
|
H A D | getentropy.cpp | 40 ssize_t count = TEMP_FAILURE_RETRY(read(fd, static_cast<char*>(buffer) + collected, local 42 if (count == -1) { 46 collected += count; 64 long count = TEMP_FAILURE_RETRY(getrandom(static_cast<char*>(buffer) + collected, local 66 if (count == -1) { 75 collected += count;
|
H A D | fortify.cpp | 104 size_t __fread_chk(void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) { argument 106 if (__predict_false(__size_mul_overflow(size, count, &total))) { 108 return fread(buf, size, count, stream); 111 return fread(buf, size, count, stream); 114 size_t __fwrite_chk(const void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) { argument 116 if (__predict_false(__size_mul_overflow(size, count, &total))) { 118 return fwrite(buf, size, count, stream); 121 return fwrite(buf, size, count, stream); 142 extern "C" void* __memcpy_chk_fail(void* /*dst*/, const void* /*src*/, size_t count, size_t dst_len) { argument 143 __check_count("memcpy", "count", coun 155 __memset_chk_fail(void* , int , size_t count, size_t dst_len) argument 172 __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) argument 178 __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) argument 184 __pwrite64_chk(int fd, const void* buf, size_t count, off64_t offset, size_t buf_size) argument 191 __pwrite_chk(int fd, const void* buf, size_t count, off_t offset, size_t buf_size) argument 198 __read_chk(int fd, void* buf, size_t count, size_t buf_size) argument 445 __write_chk(int fd, const void* buf, size_t count, size_t buf_size) argument 483 __memcpy_chk(void* dst, const void* src, size_t count, size_t dst_len) argument [all...] |
/bionic/libc/arch-arm64/generic/bionic/ |
H A D | memset.S | 76 #define count x2 define 89 cmp count, dst 104 add dstend, dstin, count 106 cmp count, 96 108 cmp count, 16 113 tbz count, 3, 1f 118 1: tbz count, 2, 2f 122 2: cbz count, 3f 124 tbz count, 1, 3f 131 tbnz count, [all...] |
H A D | memmove.S | 40 #define count x2 define 60 lsl count, count, #2 66 add tmp1, src, count 73 add dst, dstin, count 74 add src, src, count 75 cmp count, #64 82 * bottom 6 bits of count to be accurate. */ 83 ands tmp1, count, #0x30 101 tbz count, # [all...] |
/bionic/libc/kernel/uapi/linux/netfilter/ |
H A D | xt_multiport.h | 30 __u8 count; member in struct:xt_multiport 35 __u8 count; member in struct:xt_multiport_v1
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/ |
H A D | xt_multiport.h | 30 __u8 count; member in struct:xt_multiport 35 __u8 count; member in struct:xt_multiport_v1
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/netfilter/ |
H A D | xt_multiport.h | 30 __u8 count; member in struct:xt_multiport 35 __u8 count; member in struct:xt_multiport_v1
|
/bionic/libc/arch-arm64/cortex-a53/bionic/ |
H A D | memmove.S | 65 #define count x2 define 77 #define E_l count 88 lsl count, count, #2 93 cmp count, 96 94 ccmp tmp1, count, 2, hi 98 add dstend, dstin, count 99 add srcend, src, count 109 sub count, count, tmp [all...] |
/bionic/libc/arch-arm64/denver64/bionic/ |
H A D | memset.S | 50 #define count x2 define 68 cmp count, dst_count 91 cmp count, #256 94 cmp count, #15 97 ands tmp1, count, #0xC0 112 ands tmp1, count, #0x30 125 and count, count, #15 126 add dst, dst, count 133 tbz count, # [all...] |
H A D | memcpy_base.S | 38 #define count x2 define 62 cmp count, #64 64 cmp count, #15 71 * bottom 6 bits of count to be accurate. */ 72 ands tmp1, count, #0x30 89 ands count, count, #15 91 add src, src, count 93 add dst, dst, count 101 tbz count, # [all...] |
/bionic/libc/kernel/android/uapi/linux/ |
H A D | keychord.h | 27 __u16 count; member in struct:input_keychord
|
/bionic/libc/kernel/uapi/linux/ |
H A D | ivtvfb.h | 26 int count; member in struct:ivtvfb_dma_frame
|
/bionic/libc/versioner-dependencies/common/kernel_android_uapi/linux/ |
H A D | keychord.h | 27 __u16 count; member in struct:input_keychord
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | ivtvfb.h | 26 int count; member in struct:ivtvfb_dma_frame
|
/bionic/tools/versioner/dependencies/common/kernel_android_uapi/linux/ |
H A D | keychord.h | 27 __u16 count; member in struct:input_keychord
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | ivtvfb.h | 26 int count; member in struct:ivtvfb_dma_frame
|
/bionic/libc/kernel/uapi/xen/ |
H A D | gntdev.h | 28 __u32 count; member in struct:ioctl_gntdev_map_grant_ref 36 __u32 count; member in struct:ioctl_gntdev_unmap_grant_ref 43 __u32 count; member in struct:ioctl_gntdev_get_offset_for_vaddr 48 __u32 count; member in struct:ioctl_gntdev_set_max_grants 71 unsigned int count; member in struct:ioctl_gntdev_grant_copy
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/xen/ |
H A D | gntdev.h | 28 __u32 count; member in struct:ioctl_gntdev_map_grant_ref 36 __u32 count; member in struct:ioctl_gntdev_unmap_grant_ref 43 __u32 count; member in struct:ioctl_gntdev_get_offset_for_vaddr 48 __u32 count; member in struct:ioctl_gntdev_set_max_grants 71 unsigned int count; member in struct:ioctl_gntdev_grant_copy
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/xen/ |
H A D | gntdev.h | 28 __u32 count; member in struct:ioctl_gntdev_map_grant_ref 36 __u32 count; member in struct:ioctl_gntdev_unmap_grant_ref 43 __u32 count; member in struct:ioctl_gntdev_get_offset_for_vaddr 48 __u32 count; member in struct:ioctl_gntdev_set_max_grants 71 unsigned int count; member in struct:ioctl_gntdev_grant_copy
|