/bionic/libc/bionic/ |
H A D | pthread_setname_np.cpp | 51 int pthread_getname_np(pthread_t t, char* buf, size_t buf_size) { argument 54 if (buf_size < MAX_TASK_COMM_LEN) return ERANGE; 65 ssize_t n = TEMP_FAILURE_RETRY(read(fd, buf, buf_size)); 77 if (n == static_cast<ssize_t>(buf_size)) return ERANGE;
|
H A D | fortify.cpp | 108 FILE* __restrict stream, size_t buf_size) { 114 __check_buffer_access("fread", "write into", total, buf_size); 119 FILE* __restrict stream, size_t buf_size) { 125 __check_buffer_access("fwrite", "read from", total, buf_size); 177 ssize_t __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) { argument 179 __check_buffer_access("pread64", "write into", count, buf_size); 183 ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { argument 185 __check_buffer_access("pread", "write into", count, buf_size); 190 size_t buf_size) { 192 __check_buffer_access("pwrite64", "read from", count, buf_size); 107 __fread_chk(void* __restrict buf, size_t size, size_t count, FILE* __restrict stream, size_t buf_size) argument 118 __fwrite_chk(const void* __restrict buf, size_t size, size_t count, FILE* __restrict stream, size_t buf_size) argument 189 __pwrite64_chk(int fd, const void* buf, size_t count, off64_t offset, size_t buf_size) argument 196 __pwrite_chk(int fd, const void* buf, size_t count, off_t offset, size_t buf_size) argument 203 __read_chk(int fd, void* buf, size_t count, size_t buf_size) argument 209 __readlinkat_chk(int dirfd, const char* path, char* buf, size_t size, size_t buf_size) argument 215 __readlink_chk(const char* path, char* buf, size_t size, size_t buf_size) argument 221 __recvfrom_chk(int socket, void* buf, size_t len, size_t buf_size, int flags, sockaddr* src_addr, socklen_t* addrlen) argument 455 __write_chk(int fd, const void* buf, size_t count, size_t buf_size) argument [all...] |
H A D | libc_logging.cpp | 160 // Writes number 'value' in base 'base' into buffer 'buf' of size 'buf_size' bytes. 161 // Assumes that buf_size > 0. 162 static void format_unsigned(char* buf, size_t buf_size, uint64_t value, int base, bool caps) { argument 164 char* end = buf + buf_size - 1; 198 static void format_integer(char* buf, size_t buf_size, uint64_t value, char conversion) { argument 212 buf_size -= 1; 215 format_unsigned(buf, buf_size, value, base, caps);
|
/bionic/libc/kernel/uapi/linux/ |
H A D | random.h | 35 int buf_size; member in struct:rand_pool_info
|
H A D | cciss_ioctl.h | 56 WORD buf_size; member in struct:_IOCTL_Command_struct 66 DWORD buf_size; member in struct:_BIG_IOCTL_Command_struct
|
H A D | omap3isp.h | 86 __u32 buf_size; member in struct:omap3isp_h3a_aewb_config 109 __u32 buf_size; member in struct:omap3isp_stat_data 146 __u32 buf_size; member in struct:omap3isp_hist_config 197 __u32 buf_size; member in struct:omap3isp_h3a_af_config
|
H A D | blktrace_api.h | 141 __u32 buf_size; member in struct:blk_user_trace_setup
|
H A D | hdreg.h | 391 unsigned short buf_size; member in struct:hd_driveid
|
H A D | btrfs.h | 347 __u64 buf_size; member in struct:btrfs_ioctl_search_args_v2
|
H A D | kvm.h | 70 __u32 buf_size; member in struct:kvm_user_trace_setup
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | random.h | 35 int buf_size; member in struct:rand_pool_info
|
H A D | cciss_ioctl.h | 56 WORD buf_size; member in struct:_IOCTL_Command_struct 66 DWORD buf_size; member in struct:_BIG_IOCTL_Command_struct
|
H A D | omap3isp.h | 86 __u32 buf_size; member in struct:omap3isp_h3a_aewb_config 109 __u32 buf_size; member in struct:omap3isp_stat_data 146 __u32 buf_size; member in struct:omap3isp_hist_config 197 __u32 buf_size; member in struct:omap3isp_h3a_af_config
|
H A D | blktrace_api.h | 141 __u32 buf_size; member in struct:blk_user_trace_setup
|
H A D | hdreg.h | 391 unsigned short buf_size; member in struct:hd_driveid
|
H A D | btrfs.h | 347 __u64 buf_size; member in struct:btrfs_ioctl_search_args_v2
|
H A D | kvm.h | 70 __u32 buf_size; member in struct:kvm_user_trace_setup
|
/bionic/tests/ |
H A D | libgen_test.cpp | 44 char* buf, size_t buf_size, int expected_errno) { 46 int rc = basename_r(in, buf, buf_size); 55 char* buf, size_t buf_size, int expected_errno) { 57 int rc = dirname_r(in, buf, buf_size); 43 TestBasename(const char* in, const char* expected_out, int expected_rc, char* buf, size_t buf_size, int expected_errno) argument 54 TestDirname(const char* in, const char* expected_out, int expected_rc, char* buf, size_t buf_size, int expected_errno) argument
|
/bionic/libc/kernel/uapi/linux/hsi/ |
H A D | cs-protocol.h | 51 __u32 buf_size; member in struct:cs_buffer_config 64 __u32 buf_size; member in struct:cs_mmap_config_block
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/hsi/ |
H A D | cs-protocol.h | 51 __u32 buf_size; member in struct:cs_buffer_config 64 __u32 buf_size; member in struct:cs_mmap_config_block
|
/bionic/libc/kernel/uapi/rdma/ |
H A D | vmw_pvrdma-abi.h | 129 __u32 buf_size; member in struct:pvrdma_create_cq 140 __u32 buf_size; member in struct:pvrdma_resize_cq
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/rdma/ |
H A D | vmw_pvrdma-abi.h | 129 __u32 buf_size; member in struct:pvrdma_create_cq 140 __u32 buf_size; member in struct:pvrdma_resize_cq
|
/bionic/linker/ |
H A D | linker.cpp | 995 static bool format_path(char* buf, size_t buf_size, const char* path, const char* name) { argument 996 int n = __libc_format_buffer(buf, buf_size, "%s/%s", path, name); 997 if (n < 0 || n >= static_cast<int>(buf_size)) {
|