Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 91) sorted by relevance

1234

/bionic/libc/arch-arm64/denver64/bionic/
Dmemset.S50 #define count x2 macro
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, #2, 1f
125 tbz count, #1, 1f
[all …]
Dmemcpy_base.S38 #define count x2 macro
62 cmp count, #64
64 cmp count, #15
72 ands tmp1, count, #0x30
89 ands count, count, #15
91 add src, src, count
93 add dst, dst, count
101 tbz count, #3, 1f
105 tbz count, #2, 1f
109 tbz count, #1, 1f
[all …]
/bionic/libc/arch-arm64/generic/bionic/
Dmemset.S49 #define count x1 macro
51 #define count x2 macro
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, #2, 1f
116 tbz count, #1, 1f
[all …]
Dmemcpy_base.S37 #define count x2 macro
56 cmp count, #64
58 cmp count, #15
66 ands tmp1, count, #0x30
83 ands count, count, #15
85 add src, src, count
87 add dst, dst, count
95 tbz count, #3, 1f
99 tbz count, #2, 1f
103 tbz count, #1, 1f
[all …]
Dmemmove.S40 #define count x2 macro
60 lsl count, count, #2
66 add tmp1, src, count
73 add dst, dstin, count
74 add src, src, count
75 cmp count, #64
83 ands tmp1, count, #0x30
101 tbz count, #3, 1f
105 tbz count, #2, 1f
109 tbz count, #1, 1f
[all …]
/bionic/libc/include/
Dunistd.h335 ssize_t pread(int fd, void* buf, size_t count, off_t offset) { in pread() argument
339 if (__builtin_constant_p(count) && (count > SSIZE_MAX)) { in pread()
344 return __PREAD_PREFIX(real)(fd, buf, count, offset); in pread()
347 if (__builtin_constant_p(count) && (count > bos)) { in pread()
351 if (__builtin_constant_p(count) && (count <= bos)) { in pread()
352 return __PREAD_PREFIX(real)(fd, buf, count, offset); in pread()
356 return __PREAD_PREFIX(chk)(fd, buf, count, offset, bos); in pread()
360 ssize_t pread64(int fd, void* buf, size_t count, off64_t offset) { in pread64() argument
364 if (__builtin_constant_p(count) && (count > SSIZE_MAX)) { in pread64()
369 return __pread64_real(fd, buf, count, offset); in pread64()
[all …]
/bionic/libc/bionic/
D__read_chk.cpp33 extern "C" ssize_t __read_chk(int fd, void* buf, size_t count, size_t buf_size) { in __read_chk() argument
34 if (__predict_false(count > buf_size)) { in __read_chk()
38 if (__predict_false(count > SSIZE_MAX)) { in __read_chk()
42 return read(fd, buf, count); in __read_chk()
D__write_chk.cpp33 extern "C" ssize_t __write_chk(int fd, const void* buf, size_t count, size_t buf_size) { in __write_chk() argument
34 if (__predict_false(count > buf_size)) { in __write_chk()
38 if (__predict_false(count > SSIZE_MAX)) { in __write_chk()
42 return write(fd, buf, count); in __write_chk()
D__pwrite_chk.cpp33 extern "C" ssize_t __pwrite_chk(int fd, const void* buf, size_t count, off_t offset, in __pwrite_chk() argument
35 if (__predict_false(count > buf_size)) { in __pwrite_chk()
39 if (__predict_false(count > SSIZE_MAX)) { in __pwrite_chk()
43 return pwrite(fd, buf, count, offset); in __pwrite_chk()
D__pread64_chk.cpp33 extern "C" ssize_t __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) { in __pread64_chk() argument
34 if (__predict_false(count > buf_size)) { in __pread64_chk()
38 if (__predict_false(count > SSIZE_MAX)) { in __pread64_chk()
42 return pread64(fd, buf, count, offset); in __pread64_chk()
D__pread_chk.cpp33 extern "C" ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { in __pread_chk() argument
34 if (__predict_false(count > buf_size)) { in __pread_chk()
38 if (__predict_false(count > SSIZE_MAX)) { in __pread_chk()
42 return pread(fd, buf, count, offset); in __pread_chk()
D__pwrite64_chk.cpp33 extern "C" ssize_t __pwrite64_chk(int fd, const void* buf, size_t count, off64_t offset, in __pwrite64_chk() argument
35 if (__predict_false(count > buf_size)) { in __pwrite64_chk()
39 if (__predict_false(count > SSIZE_MAX)) { in __pwrite64_chk()
43 return pwrite64(fd, buf, count, offset); in __pwrite64_chk()
D__fread_chk.cpp34 extern "C" size_t __fread_chk(void * __restrict buf, size_t size, size_t count, in __fread_chk() argument
37 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fread_chk()
39 return fread(buf, size, count, stream); in __fread_chk()
46 return fread(buf, size, count, stream); in __fread_chk()
D__fwrite_chk.cpp34 extern "C" size_t __fwrite_chk(const void * __restrict buf, size_t size, size_t count, in __fwrite_chk() argument
37 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fwrite_chk()
39 return fwrite(buf, size, count, stream); in __fwrite_chk()
46 return fwrite(buf, size, count, stream); in __fwrite_chk()
Dsched_cpucount.c34 int count = 0; in __sched_cpucount() local
37 count += __builtin_popcountl(set->__bits[nn]); in __sched_cpucount()
40 return count; in __sched_cpucount()
Dsched_cpualloc.c32 cpu_set_t* __sched_cpualloc(size_t count) in __sched_cpualloc() argument
34 return (cpu_set_t*) malloc(CPU_ALLOC_SIZE(count)); in __sched_cpualloc()
Dlegacy_32_bit_support.cpp87 ssize_t preadv(int fd, const struct iovec* ios, int count, off_t offset) { in preadv() argument
88 return __preadv64(fd, ios, count, offset, 0); in preadv()
90 ssize_t preadv64(int fd, const struct iovec* ios, int count, off64_t offset) { in preadv64() argument
91 return __preadv64(fd, ios, count, offset, offset >> 32); in preadv64()
93 ssize_t pwritev(int fd, const struct iovec* ios, int count, off_t offset) { in pwritev() argument
94 return __pwritev64(fd, ios, count, offset, 0); in pwritev()
96 ssize_t pwritev64(int fd, const struct iovec* ios, int count, off64_t offset) { in pwritev64() argument
97 return __pwritev64(fd, ios, count, offset, offset >> 32); in pwritev64()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfwrite.c48 fwrite(const void *buf, size_t size, size_t count, FILE *fp) in fwrite() argument
58 if ((size >= MUL_NO_OVERFLOW || count >= MUL_NO_OVERFLOW) && in fwrite()
59 size > 0 && SIZE_MAX / size < count) { in fwrite()
68 if ((n = count * size) == 0) in fwrite()
86 return (count); in fwrite()
/bionic/libc/include/sys/
Dsendfile.h38 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) __RENAME(sendfile64);
40 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count);
42 extern ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count);
/bionic/libc/kernel/uapi/xen/
Dgntdev.h30 __u32 count; member
40 __u32 count; member
49 __u32 count; member
55 __u32 count; member
/bionic/tests/
Dstack_unwinding_test.cpp64 int count = 0; in unwind_one_frame_deeper() local
65 _Unwind_Backtrace(FrameCounter, &count); in unwind_one_frame_deeper()
66 return count; in unwind_one_frame_deeper()
70 int count = 0; in TEST() local
71 _Unwind_Backtrace(FrameCounter, &count); in TEST()
73 ASSERT_EQ(count + 1, deeper_count); in TEST()
Dsys_sendfile_test.cpp33 size_t count = 2; in TEST() local
34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); in TEST()
52 size_t count = 2; in TEST() local
53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); in TEST()
/bionic/libc/private/
Dbionic_futex.h56 static inline int __futex_wake(volatile void* ftx, int count) { in __futex_wake() argument
57 return __futex(ftx, FUTEX_WAKE, count, NULL, 0); in __futex_wake()
60 static inline int __futex_wake_ex(volatile void* ftx, bool shared, int count) { in __futex_wake_ex() argument
61 return __futex(ftx, shared ? FUTEX_WAKE : FUTEX_WAKE_PRIVATE, count, NULL, 0); in __futex_wake_ex()
/bionic/libc/dns/net/
Dgetservent.c57 int nn,count; in getservent_r() local
72 count = q[0]; /* get aliascount */ in getservent_r()
75 total += (count+1)*sizeof(char*); in getservent_r()
76 for (nn = 0; nn < count; nn++) { in getservent_r()
89 p2 += (count+1)*sizeof(char*); in getservent_r()
107 for (nn = 0; nn < count; nn++) { in getservent_r()
/bionic/libc/malloc_debug/tests/
Dproperty_fake.cpp27 if (g_properties.count(name) != 0) { in property_set()
35 if (g_properties.count(key) == 0) { in property_get()
48 if (g_properties.count(key) == 0) { in __system_property_get()

1234