Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 84) 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.S44 #define count x2 macro
70 lsl count, count, #2
76 add tmp1, src, count
83 add dst, dstin, count
84 add src, src, count
85 cmp count, #64
93 ands tmp1, count, #0x30
111 tbz count, #3, 1f
115 tbz count, #2, 1f
119 tbz count, #1, 1f
[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__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__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()
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()
Dsystem_properties_compat.c48 unsigned volatile count; member
74 unsigned count = pa->count; in __system_property_find_compat() local
84 while(count--) { in __system_property_find_compat()
126 for (i = 0; i < pa->count; i++) { in __system_property_foreach_compat()
/bionic/libc/include/
Dunistd.h261 ssize_t pread(int fd, void* buf, size_t count, off_t offset) { in pread() argument
265 if (__builtin_constant_p(count) && (count > SSIZE_MAX)) { in pread()
270 return __PREAD_PREFIX(real)(fd, buf, count, offset); in pread()
273 if (__builtin_constant_p(count) && (count > bos)) { in pread()
277 if (__builtin_constant_p(count) && (count <= bos)) { in pread()
278 return __PREAD_PREFIX(real)(fd, buf, count, offset); in pread()
282 return __PREAD_PREFIX(chk)(fd, buf, count, offset, bos); in pread()
286 ssize_t pread64(int fd, void* buf, size_t count, off64_t offset) { in pread64() argument
290 if (__builtin_constant_p(count) && (count > SSIZE_MAX)) { in pread64()
295 return __pread64_real(fd, buf, count, offset); in pread64()
[all …]
/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.h29 uint32_t count; member
39 uint32_t count; member
47 uint32_t count; member
54 uint32_t count; member
Dgntalloc.h26 uint32_t count; member
36 uint32_t count; member
/bionic/libc/private/
Dbionic_futex.h54 static inline int __futex_wake(volatile void* ftx, int count) { in __futex_wake() argument
55 return __futex(ftx, FUTEX_WAKE, count, NULL); in __futex_wake()
58 static inline int __futex_wake_ex(volatile void* ftx, bool shared, int count) { in __futex_wake_ex() argument
59 return __futex(ftx, shared ? FUTEX_WAKE : FUTEX_WAKE_PRIVATE, count, NULL); in __futex_wake_ex()
/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/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/benchmarks/
Dutils.cpp44 uint64_t count = static_cast<uint64_t>(value); in PrettyInt() local
48 count = static_cast<uint64_t>(-value); in PrettyInt()
71 if (count >= kUnitThresholds[i]) { in PrettyInt()
77 count / kAmountPerUnit[i], kUnitStrings[i]); in PrettyInt()
/bionic/libc/stdio/
Dfread.c44 fread(void *buf, size_t size, size_t count, FILE *fp) in fread() argument
49 if ((size >= MUL_NO_OVERFLOW || count >= MUL_NO_OVERFLOW) && in fread()
50 size > 0 && SIZE_MAX / size < count) { in fread()
56 const size_t desired_total = count * size; in fread()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_multiport.h32 __u8 count; member
39 __u8 count; member
/bionic/libc/kernel/uapi/drm/
Dsavage_drm.h96 unsigned int count; member
146 unsigned short count; member
156 unsigned short count; member
165 unsigned short count; member
/bionic/linker/
Dlinker_sleb128.h27 sleb128_decoder(const uint8_t* buffer, size_t count) in sleb128_decoder() argument
28 : current_(buffer), end_(buffer+count) { } in sleb128_decoder()

1234