Home
last modified time | relevance | path

Searched refs:buf_len (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/bionic/
Dstrerror_r.cpp52 int strerror_r(int error_number, char* buf, size_t buf_len) { in strerror_r() argument
58 length = strlcpy(buf, error_name, buf_len); in strerror_r()
60 length = __libc_format_buffer(buf, buf_len, "Unknown error %d", error_number); in strerror_r()
62 if (length >= buf_len) { in strerror_r()
70 extern "C" char* __gnu_strerror_r(int error_number, char* buf, size_t buf_len) { in __gnu_strerror_r() argument
72 strerror_r(error_number, buf, buf_len); in __gnu_strerror_r()
76 extern "C" __LIBC_HIDDEN__ const char* __strsignal(int signal_number, char* buf, size_t buf_len) { in __strsignal() argument
87 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); in __strsignal()
88 if (length >= buf_len) { in __strsignal()
Dmntent.cpp43 mntent* getmntent_r(FILE* fp, struct mntent* e, char* buf, int buf_len) { in getmntent_r() argument
45 while (fgets(buf, buf_len, fp) != NULL) { in getmntent_r()
/bionic/libc/kernel/uapi/video/
Duvesafb.h54 int buf_len; member