Home
last modified time | relevance | path

Searched refs:buffer_size (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/bionic/
Dgetentropy.cpp36 static int getentropy_urandom(void* buffer, size_t buffer_size, int saved_errno) { in getentropy_urandom() argument
41 while (collected < buffer_size) { in getentropy_urandom()
43 buffer_size - collected)); in getentropy_urandom()
52 int getentropy(void* buffer, size_t buffer_size) { in getentropy() argument
53 if (buffer_size > 256) { in getentropy()
61 while (collected < buffer_size) { in getentropy()
63 buffer_size - collected, GRND_NONBLOCK)); in getentropy()
71 return getentropy_urandom(buffer, buffer_size, saved_errno); in getentropy()
Dlibgen.cpp39 static int __basename_r(const char* path, char* buffer, size_t buffer_size) { in __basename_r() argument
78 if (len > static_cast<int>(buffer_size) - 1) { in __basename_r()
79 len = buffer_size - 1; in __basename_r()
92 __LIBC32_LEGACY_PUBLIC__ int basename_r(const char* path, char* buffer, size_t buffer_size) { in basename_r() argument
93 return __basename_r(path, buffer, buffer_size); in basename_r()
96 static int __dirname_r(const char* path, char* buffer, size_t buffer_size) { in __dirname_r() argument
142 if (len > static_cast<int>(buffer_size) - 1) { in __dirname_r()
143 len = buffer_size - 1; in __dirname_r()
156 __LIBC32_LEGACY_PUBLIC__ int dirname_r(const char* path, char* buffer, size_t buffer_size) { in dirname_r() argument
157 return __dirname_r(path, buffer, buffer_size); in dirname_r()
/bionic/libdl/
Dlibdl.cpp29 void __loader_android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size);
62 void __loader_android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size);
81 void android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size) { in android_get_LD_LIBRARY_PATH() argument
82 __loader_android_get_LD_LIBRARY_PATH(buffer, buffer_size); in android_get_LD_LIBRARY_PATH()
Dlibdl_android.cpp28 void __loader_android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size);
64 void android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size) { in android_get_LD_LIBRARY_PATH() argument
65 __loader_android_get_LD_LIBRARY_PATH(buffer, buffer_size); in android_get_LD_LIBRARY_PATH()
/bionic/libc/async_safe/include/async_safe/
Dlog.h68 int async_safe_format_buffer_va_list(char* buffer, size_t buffer_size, const char* format, va_list …
/bionic/linker/
Ddlfcn.cpp64 void __loader_android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size) __LINKER_PUBLIC__;
126 void __loader_android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size) { in __loader_android_get_LD_LIBRARY_PATH() argument
128 do_android_get_LD_LIBRARY_PATH(buffer, buffer_size); in __loader_android_get_LD_LIBRARY_PATH()
Dlinker.cpp2056 void do_android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size) { in do_android_get_LD_LIBRARY_PATH() argument
2071 if (buffer_size < required_size) { in do_android_get_LD_LIBRARY_PATH()
2073 "buffer len %zu, required len %zu", buffer_size, required_size); in do_android_get_LD_LIBRARY_PATH()
/bionic/libc/async_safe/
Dasync_safe_log.cpp454 int async_safe_format_buffer_va_list(char* buffer, size_t buffer_size, const char* format, in async_safe_format_buffer_va_list() argument
456 BufferOutputStream os(buffer, buffer_size); in async_safe_format_buffer_va_list()
461 int async_safe_format_buffer(char* buffer, size_t buffer_size, const char* format, ...) { in async_safe_format_buffer() argument
464 int buffer_len = async_safe_format_buffer_va_list(buffer, buffer_size, format, args); in async_safe_format_buffer()
/bionic/libc/kernel/uapi/linux/
Dfpga-dfl.h67 __u32 buffer_size; member
Domapfb.h143 size_t buffer_size; member
Ddcbnl.h66 __u32 buffer_size[DCBX_MAX_BUFFERS]; member
/bionic/libc/kernel/uapi/sound/
Demu10k1.h315 unsigned int buffer_size; member
Dasound.h605 size_t buffer_size; member
/bionic/libc/kernel/uapi/drm/
Dvmwgfx_drm.h282 __u32 buffer_size; member
Dhabanalabs_accel.h1152 __u64 buffer_size; member
1158 __u64 buffer_size; member