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

123456

/bionic/libc/bionic/
H A D__memcpy_chk.cpp36 extern "C" void* __memcpy_chk(void* dst, const void* src, size_t count, size_t dst_len) { argument
37 __check_count("memcpy", "count", count);
38 __check_buffer_access("memcpy", "write into", count, dst_len);
39 return memcpy(dst, src, count);
H A Dsched_cpualloc.c32 cpu_set_t* __sched_cpualloc(size_t count) argument
34 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count));
H A Dsched_cpucount.c34 int count = 0; local
37 count += __builtin_popcountl(set->__bits[nn]);
40 return count;
H A Dfortify.cpp107 size_t __fread_chk(void* __restrict buf, size_t size, size_t count, argument
110 if (__predict_false(__size_mul_overflow(size, count, &total))) {
112 return fread(buf, size, count, stream);
115 return fread(buf, size, count, stream);
118 size_t __fwrite_chk(const void* __restrict buf, size_t size, size_t count, argument
121 if (__predict_false(__size_mul_overflow(size, count, &total))) {
123 return fwrite(buf, size, count, stream);
126 return fwrite(buf, size, count, stream);
147 extern "C" void* __memcpy_chk_fail(void* /*dst*/, const void* /*src*/, size_t count, size_t dst_len) { argument
148 __check_count("memcpy", "count", coun
160 __memset_chk_fail(void* , int , size_t count, size_t dst_len) argument
177 __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) argument
183 __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) argument
189 __pwrite64_chk(int fd, const void* buf, size_t count, off64_t offset, size_t buf_size) argument
196 __pwrite_chk(int fd, const void* buf, size_t count, off_t offset, size_t buf_size) argument
203 __read_chk(int fd, void* buf, size_t count, size_t buf_size) argument
455 __write_chk(int fd, const void* buf, size_t count, size_t buf_size) argument
[all...]
/bionic/libc/arch-arm64/generic/bionic/
H A Dmemset.S76 #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 Dmemmove.S40 #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/include/sys/
H A Dsendfile.h38 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) __RENAME(sendfile64)
41 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count);
43 ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count) __INTRODUCED_IN(21);
/bionic/tools/versioner/current/sys/
H A Dsendfile.h38 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) __RENAME(sendfile64)
41 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count);
43 ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count) __INTRODUCED_IN(21);
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_multiport.h32 __u8 count; member in struct:xt_multiport
39 __u8 count; member in struct:xt_multiport_v1
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/
H A Dxt_multiport.h32 __u8 count; member in struct:xt_multiport
39 __u8 count; member in struct:xt_multiport_v1
/bionic/libc/arch-arm64/cortex-a53/bionic/
H A Dmemmove.S65 #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 Dmemset.S50 #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 Dmemcpy_base.S38 #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/upstream-openbsd/lib/libc/stdio/
H A Dfwrite.c44 * 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) __overloadable
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/include/
H A Dunistd.h316 ssize_t pread(int fd, void* buf, size_t count, off_t offset) __overloadable
317 __error_if_overflows_ssizet(count);
320 ssize_t pread(int fd, void* buf, size_t count, off_t offset) __overloadable
321 __enable_if_no_overflow_ssizet(count)
322 __error_if_overflows_objectsize(count, __bos0(buf));
325 ssize_t pread(int fd, void* const __pass_object_size0 buf, size_t count,
329 if (count == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
330 return __PREAD_PREFIX(real)(fd, buf, count, offset);
333 return __PREAD_PREFIX(chk)(fd, buf, count, offset, bos);
337 ssize_t pread64(int fd, void* buf, size_t count, off64_
551 pread(int fd, void* buf, size_t count, off_t offset) argument
574 pread64(int fd, void* buf, size_t count, off64_t offset) argument
599 pwrite(int fd, const void* buf, size_t count, off_t offset) argument
622 pwrite64(int fd, const void* buf, size_t count, off64_t offset) argument
647 read(int fd, void* buf, size_t count) argument
672 write(int fd, const void* buf, size_t count) argument
[all...]
/bionic/tools/versioner/current/
H A Dunistd.h316 ssize_t pread(int fd, void* buf, size_t count, off_t offset) __overloadable
317 __error_if_overflows_ssizet(count);
320 ssize_t pread(int fd, void* buf, size_t count, off_t offset) __overloadable
321 __enable_if_no_overflow_ssizet(count)
322 __error_if_overflows_objectsize(count, __bos0(buf));
325 ssize_t pread(int fd, void* const __pass_object_size0 buf, size_t count,
329 if (count == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
330 return __PREAD_PREFIX(real)(fd, buf, count, offset);
333 return __PREAD_PREFIX(chk)(fd, buf, count, offset, bos);
337 ssize_t pread64(int fd, void* buf, size_t count, off64_
551 pread(int fd, void* buf, size_t count, off_t offset) argument
574 pread64(int fd, void* buf, size_t count, off64_t offset) argument
599 pwrite(int fd, const void* buf, size_t count, off_t offset) argument
622 pwrite64(int fd, const void* buf, size_t count, off64_t offset) argument
647 read(int fd, void* buf, size_t count) argument
672 write(int fd, const void* buf, size_t count) argument
[all...]
/bionic/libc/kernel/android/uapi/linux/
H A Dkeychord.h27 __u16 count; member in struct:input_keychord
/bionic/libc/kernel/uapi/linux/
H A Divtvfb.h27 int count; member in struct:ivtvfb_dma_frame
/bionic/libc/versioner-dependencies/common/kernel_android_uapi/linux/
H A Dkeychord.h27 __u16 count; member in struct:input_keychord
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Divtvfb.h27 int count; member in struct:ivtvfb_dma_frame
/bionic/libc/kernel/uapi/xen/
H A Dgntdev.h30 __u32 count; member in struct:ioctl_gntdev_map_grant_ref
40 __u32 count; member in struct:ioctl_gntdev_unmap_grant_ref
49 __u32 count; member in struct:ioctl_gntdev_get_offset_for_vaddr
55 __u32 count; member in struct:ioctl_gntdev_set_max_grants
84 unsigned int count; member in struct:ioctl_gntdev_grant_copy
H A Dgntalloc.h27 __u32 count; member in struct:ioctl_gntalloc_alloc_gref
37 __u32 count; member in struct:ioctl_gntalloc_dealloc_gref
/bionic/libc/versioner-dependencies/common/kernel_uapi/xen/
H A Dgntdev.h30 __u32 count; member in struct:ioctl_gntdev_map_grant_ref
40 __u32 count; member in struct:ioctl_gntdev_unmap_grant_ref
49 __u32 count; member in struct:ioctl_gntdev_get_offset_for_vaddr
55 __u32 count; member in struct:ioctl_gntdev_set_max_grants
84 unsigned int count; member in struct:ioctl_gntdev_grant_copy
/bionic/libc/dns/net/
H A Dgetservent.c57 int nn,count; local
72 count = q[0]; /* get aliascount */
75 total += (count+1)*sizeof(char*);
76 for (nn = 0; nn < count; nn++) {
89 p2 += (count+1)*sizeof(char*);
107 for (nn = 0; nn < count; nn++) {
/bionic/tests/
H A Dstack_unwinding_test.cpp64 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);

Completed in 5966 milliseconds

123456