/bionic/libc/bionic/ |
D | fortify.cpp | 101 size_t __fread_chk(void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) { in __fread_chk() argument 107 __check_buffer_access("fread", "write into", total, buf_size); in __fread_chk() 111 size_t __fwrite_chk(const void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) { in __fwrite_chk() argument 117 __check_buffer_access("fwrite", "read from", total, buf_size); in __fwrite_chk() 175 ssize_t __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) { in __pread64_chk() argument 177 __check_buffer_access("pread64", "write into", count, buf_size); in __pread64_chk() 181 ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { in __pread_chk() argument 183 __check_buffer_access("pread", "write into", count, buf_size); in __pread_chk() 188 size_t buf_size) { in __pwrite64_chk() argument 190 __check_buffer_access("pwrite64", "read from", count, buf_size); in __pwrite64_chk() [all …]
|
D | pthread_setname_np.cpp | 54 int pthread_getname_np(pthread_t t, char* buf, size_t buf_size) { in pthread_getname_np() argument 57 if (buf_size < MAX_TASK_COMM_LEN) return ERANGE; in pthread_getname_np() 68 ssize_t n = TEMP_FAILURE_RETRY(read(fd, buf, buf_size)); in pthread_getname_np() 80 if (n == static_cast<ssize_t>(buf_size)) return ERANGE; in pthread_getname_np()
|
/bionic/tests/ |
D | libgen_test.cpp | 44 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/hsi/ |
D | cs-protocol.h | 45 __u32 buf_size; member 55 __u32 buf_size; member
|
/bionic/libc/kernel/uapi/linux/ |
D | cciss_ioctl.h | 49 WORD buf_size; member 57 DWORD buf_size; member
|
D | omap3isp.h | 74 __u32 buf_size; member 92 __struct_group(, frame,, __u32 buf_size; 123 __u32 buf_size; member 164 __u32 buf_size; member
|
D | random.h | 33 int buf_size; member
|
D | pfrut.h | 64 __u32 buf_size; member
|
D | blktrace_api.h | 119 __u32 buf_size; member
|
D | hdreg.h | 317 unsigned short buf_size; member
|
D | btrfs.h | 311 __u64 buf_size; member
|
D | kvm.h | 61 __u32 buf_size; member
|
/bionic/libc/kernel/uapi/rdma/ |
D | vmw_pvrdma-abi.h | 117 __u32 buf_size; member 126 __u32 buf_size; member 131 __u32 buf_size; member
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 170 static void format_unsigned(char* buf, size_t buf_size, uint64_t value, int base, bool caps) { in format_unsigned() argument 172 char* end = buf + buf_size - 1; in format_unsigned() 206 static void format_integer(char* buf, size_t buf_size, uint64_t value, char conversion) { in format_integer() argument 220 buf_size -= 1; in format_integer() 223 format_unsigned(buf, buf_size, value, base, caps); in format_integer()
|
/bionic/docs/ |
D | EINTR.md | 62 n = read(fd, buf, buf_size); // BAD! 63 n = TEMP_FAILURE_RETRY(read(fd, buf, buf_size)); // GOOD!
|
/bionic/linker/ |
D | linker.cpp | 985 static bool format_path(char* buf, size_t buf_size, const char* path, const char* name) { in format_path() argument 986 int n = async_safe_format_buffer(buf, buf_size, "%s/%s", path, name); in format_path() 987 if (n < 0 || n >= static_cast<int>(buf_size)) { in format_path()
|