Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 23 of 23) sorted by relevance

/bionic/libc/bionic/
D__memchr_chk.cpp33 extern "C" void* __memchr_chk(const void* s, int c, size_t n, size_t buf_size) { in __memchr_chk() argument
34 if (__predict_false(n > buf_size)) { in __memchr_chk()
D__memrchr_chk.cpp33 extern "C" void* __memrchr_chk(const void* s, int c, size_t n, size_t buf_size) { in __memrchr_chk() argument
34 if (__predict_false(n > buf_size)) { in __memrchr_chk()
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()
D__readlink_chk.cpp33 extern "C" ssize_t __readlink_chk(const char* path, char* buf, size_t size, size_t buf_size) { in __readlink_chk() argument
34 if (__predict_false(size > buf_size)) { in __readlink_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()
D__readlinkat_chk.cpp33 …C" ssize_t __readlinkat_chk(int dirfd, const char* path, char* buf, size_t size, size_t buf_size) { in __readlinkat_chk() argument
34 if (__predict_false(size > buf_size)) { in __readlinkat_chk()
D__pwrite_chk.cpp34 size_t buf_size) { in __pwrite_chk() argument
35 if (__predict_false(count > buf_size)) { 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()
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()
D__pwrite64_chk.cpp34 size_t buf_size) { in __pwrite64_chk() argument
35 if (__predict_false(count > buf_size)) { in __pwrite64_chk()
D__fread_chk.cpp35 FILE * __restrict stream, size_t buf_size) { in __fread_chk() argument
42 if (__predict_false(total > buf_size)) { in __fread_chk()
D__fwrite_chk.cpp35 FILE * __restrict stream, size_t buf_size) { in __fwrite_chk() argument
42 if (__predict_false(total > buf_size)) { in __fwrite_chk()
Dlibc_logging.cpp166 static void format_unsigned(char* buf, size_t buf_size, uint64_t value, int base, bool caps) { in format_unsigned() argument
168 char* end = buf + buf_size - 1; in format_unsigned()
202 static void format_integer(char* buf, size_t buf_size, uint64_t value, char conversion) { in format_integer() argument
216 buf_size -= 1; in format_integer()
219 format_unsigned(buf, buf_size, value, base, caps); in format_integer()
/bionic/tests/
Dlibgen_test.cpp44 char* buf, size_t buf_size, int expected_errno) { in TestBasename() argument
46 int rc = basename_r(in, buf, buf_size); in TestBasename()
55 char* buf, size_t buf_size, int expected_errno) { in TestDirname() argument
57 int rc = dirname_r(in, buf, buf_size); in TestDirname()
/bionic/libc/kernel/uapi/linux/
Drandom.h35 int buf_size; member
Dcciss_ioctl.h56 WORD buf_size; member
66 DWORD buf_size; member
Domap3isp.h86 __u32 buf_size; member
109 __u32 buf_size; member
146 __u32 buf_size; member
197 __u32 buf_size; member
Dblktrace_api.h141 __u32 buf_size; member
Dhdreg.h391 unsigned short buf_size; member
Dbtrfs.h295 __u64 buf_size; member
Dkvm.h70 __u32 buf_size; member
/bionic/libc/kernel/uapi/linux/hsi/
Dcs-protocol.h51 __u32 buf_size; member
64 __u32 buf_size; member
/bionic/linker/
Dlinker.cpp1549 static bool format_path(char* buf, size_t buf_size, const char* path, const char* name) { in format_path() argument
1550 int n = __libc_format_buffer(buf, buf_size, "%s/%s", path, name); in format_path()
1551 if (n < 0 || n >= static_cast<int>(buf_size)) { in format_path()