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

/bionic/libc/bionic/
H A D__memchr_chk.cpp33 extern "C" void* __memchr_chk(const void* s, int c, size_t n, size_t buf_size) { argument
34 if (__predict_false(n > buf_size)) {
H A D__memrchr_chk.cpp33 extern "C" void* __memrchr_chk(const void* s, int c, size_t n, size_t buf_size) { argument
34 if (__predict_false(n > buf_size)) {
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)) {
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)) {
H A D__pwrite64_chk.cpp34 size_t buf_size) {
35 if (__predict_false(count > buf_size)) {
33 __pwrite64_chk(int fd, const void* buf, size_t count, off64_t offset, size_t buf_size) argument
H A D__pwrite_chk.cpp34 size_t buf_size) {
35 if (__predict_false(count > buf_size)) {
33 __pwrite_chk(int fd, const void* buf, size_t count, off_t offset, size_t buf_size) argument
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)) {
H A D__readlink_chk.cpp33 extern "C" ssize_t __readlink_chk(const char* path, char* buf, size_t size, size_t buf_size) { argument
34 if (__predict_false(size > buf_size)) {
H A D__readlinkat_chk.cpp33 extern "C" ssize_t __readlinkat_chk(int dirfd, const char* path, char* buf, size_t size, size_t buf_size) { argument
34 if (__predict_false(size > buf_size)) {
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)) {
H A D__fread_chk.cpp35 FILE * __restrict stream, size_t buf_size) {
42 if (__predict_false(total > buf_size)) {
34 __fread_chk(void * __restrict buf, size_t size, size_t count, FILE * __restrict stream, size_t buf_size) argument
H A D__fwrite_chk.cpp35 FILE * __restrict stream, size_t buf_size) {
42 if (__predict_false(total > buf_size)) {
34 __fwrite_chk(const void * __restrict buf, size_t size, size_t count, FILE * __restrict stream, size_t buf_size) argument
H A Dlibc_logging.cpp164 // Writes number 'value' in base 'base' into buffer 'buf' of size 'buf_size' bytes.
165 // Assumes that buf_size > 0.
166 static void format_unsigned(char* buf, size_t buf_size, uint64_t value, int base, bool caps) { argument
168 char* end = buf + buf_size - 1;
202 static void format_integer(char* buf, size_t buf_size, uint64_t value, char conversion) { argument
216 buf_size -= 1;
219 format_unsigned(buf, buf_size, value, base, caps);
/bionic/libc/kernel/uapi/linux/
H A Drandom.h35 int buf_size; member in struct:rand_pool_info
H A Dcciss_ioctl.h56 WORD buf_size; member in struct:_IOCTL_Command_struct
66 DWORD buf_size; member in struct:_BIG_IOCTL_Command_struct
H A Domap3isp.h86 __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 Dblktrace_api.h141 __u32 buf_size; member in struct:blk_user_trace_setup
H A Dhdreg.h391 unsigned short buf_size; member in struct:hd_driveid
H A Dbtrfs.h295 __u64 buf_size; member in struct:btrfs_ioctl_search_args_v2
H A Dkvm.h70 __u32 buf_size; member in struct:kvm_user_trace_setup
/bionic/tests/
H A Dlibgen_test.cpp44 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 Dcs-protocol.h51 __u32 buf_size; member in struct:cs_buffer_config
64 __u32 buf_size; member in struct:cs_mmap_config_block
/bionic/linker/
H A Dlinker.cpp1549 static bool format_path(char* buf, size_t buf_size, const char* path, const char* name) {
1550 int n = __libc_format_buffer(buf, buf_size, "%s/%s", path, name);
1551 if (n < 0 || n >= static_cast<int>(buf_size)) {

Completed in 1402 milliseconds