Searched defs:count (Results 1 - 25 of 81) sorted by relevance

1234

/bionic/libc/bionic/
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 D__pread64_chk.cpp33 extern "C" ssize_t __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) { argument
34 if (__predict_false(count > buf_size)) {
38 if (__predict_false(count > SSIZE_MAX)) {
39 __fortify_chk_fail("pread64: count > SSIZE_MAX", 0);
42 return pread64(fd, buf, count, offset);
H A D__pread_chk.cpp33 extern "C" ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { argument
34 if (__predict_false(count > buf_size)) {
38 if (__predict_false(count > SSIZE_MAX)) {
39 __fortify_chk_fail("pread: count > SSIZE_MAX", 0);
42 return pread(fd, buf, count, offset);
H A D__pwrite64_chk.cpp33 extern "C" ssize_t __pwrite64_chk(int fd, const void* buf, size_t count, off64_t offset, argument
35 if (__predict_false(count > buf_size)) {
39 if (__predict_false(count > SSIZE_MAX)) {
40 __fortify_chk_fail("pwrite64: count > SSIZE_MAX", 0);
43 return pwrite64(fd, buf, count, offset);
H A D__pwrite_chk.cpp33 extern "C" ssize_t __pwrite_chk(int fd, const void* buf, size_t count, off_t offset, argument
35 if (__predict_false(count > buf_size)) {
39 if (__predict_false(count > SSIZE_MAX)) {
40 __fortify_chk_fail("pwrite: count > SSIZE_MAX", 0);
43 return pwrite(fd, buf, count, offset);
H A D__read_chk.cpp33 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__write_chk.cpp33 extern "C" ssize_t __write_chk(int fd, const 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("write: count > SSIZE_MAX", 0);
42 return write(fd, buf, count);
H A Dsched_cpucount.c34 int count = 0; local
37 count += __builtin_popcountl(set->__bits[nn]);
40 return count;
H A D__fread_chk.cpp34 extern "C" size_t __fread_chk(void * __restrict buf, size_t size, size_t count, argument
37 if (__predict_false(__size_mul_overflow(size, count, &total))) {
39 return fread(buf, size, count, stream);
46 return fread(buf, size, count, stream);
H A D__fwrite_chk.cpp34 extern "C" size_t __fwrite_chk(const void * __restrict buf, size_t size, size_t count, argument
37 if (__predict_false(__size_mul_overflow(size, count, &total))) {
39 return fwrite(buf, size, count, stream);
46 return fwrite(buf, size, count, stream);
/bionic/libc/include/
H A Dsemaphore.h39 unsigned int count; member in struct:__anon66
/bionic/libc/kernel/uapi/linux/
H A Divtvfb.h27 int count; member in struct:ivtvfb_dma_frame
H A Dkeychord.h27 __u16 count; member in struct:input_keychord
H A Datm_nicstar.h36 int count; member in struct:pool_levels
/bionic/libc/upstream-netbsd/android/include/sys/
H A Dsha1.h20 uint32_t count[2]; member in struct:__anon1014
/bionic/tests/
H A Dsys_sendfile_test.cpp33 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/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) 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);
/bionic/libc/arch-arm64/denver64/bionic/
H A Dmemset.S50 #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...]
/bionic/libc/arch-arm64/generic/bionic/
H A Dmemset.S49 #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 Dmemcpy_base.S37 #define count x2 define
56 cmp count, #64
58 cmp count, #15
65 * bottom 6 bits of count to be accurate. */
66 ands tmp1, count, #0x30
83 ands count, count, #15
85 add src, src, count
87 add dst, dst, count
95 tbz count, #
[all...]
/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/libc/kernel/uapi/linux/netfilter/
H A Dxt_connbytes.h40 } count; member in struct:xt_connbytes_info
H A Dxt_multiport.h32 __u8 count; member in struct:xt_multiport
39 __u8 count; member in struct:xt_multiport_v1
/bionic/libc/stdio/
H A Dfread.c44 fread(void *buf, size_t size, size_t count, FILE *fp) argument
49 if ((size >= MUL_NO_OVERFLOW || count >= MUL_NO_OVERFLOW) &&
50 size > 0 && SIZE_MAX / size < count) {
56 const size_t desired_total = count * size;
60 * ANSI and SUSv2 require a return value of 0 if size or count are 0.
/bionic/linker/
H A Dlinker_sleb128.h27 sleb128_decoder(const uint8_t* buffer, size_t count) argument
28 : current_(buffer), end_(buffer+count) { }

Completed in 480 milliseconds

1234