Home
last modified time | relevance | path

Searched refs:supplied_size (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/bionic/
D__fgets_chk.cpp46 char* __fgets_chk(char* dest, int supplied_size, FILE* stream, in __fgets_chk() argument
48 if (supplied_size < 0) { in __fgets_chk()
52 if (((size_t) supplied_size) > dest_len_from_compiler) { in __fgets_chk()
56 return fgets(dest, supplied_size, stream); in __fgets_chk()
D__vsnprintf_chk.cpp47 extern "C" int __vsnprintf_chk(char* dest, size_t supplied_size, int /*flags*/, in __vsnprintf_chk() argument
49 if (__predict_false(supplied_size > dest_len_from_compiler)) { in __vsnprintf_chk()
53 return vsnprintf(dest, supplied_size, format, va); in __vsnprintf_chk()
67 extern "C" int __snprintf_chk(char* dest, size_t supplied_size, int flags, in __snprintf_chk() argument
71 int result = __vsnprintf_chk(dest, supplied_size, flags, dest_len_from_compiler, format, va); in __snprintf_chk()
D__strlcpy_chk.cpp48 size_t supplied_size, size_t dest_len_from_compiler) { in __strlcpy_chk() argument
49 if (__predict_false(supplied_size > dest_len_from_compiler)) { in __strlcpy_chk()
53 return strlcpy(dest, src, supplied_size); in __strlcpy_chk()
D__strlcat_chk.cpp48 size_t supplied_size, size_t dest_len_from_compiler) { in __strlcat_chk() argument
49 if (__predict_false(supplied_size > dest_len_from_compiler)) { in __strlcat_chk()
53 return strlcat(dest, src, supplied_size); in __strlcat_chk()