Home
last modified time | relevance | path

Searched refs:bos (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/include/
Dstring.h125 size_t bos = __bos(dest); in strncpy() local
126 if (__builtin_constant_p(n) && (n > bos)) { in strncpy()
129 return __builtin___strncpy_chk(dest, src, n, bos); in strncpy()
154 size_t bos = __bos(dest); in strlcpy() local
158 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) { in strlcpy()
164 if (__builtin_constant_p(size) && (size <= bos)) { in strlcpy()
170 if (__builtin_constant_p(size) && (size > bos)) { in strlcpy()
175 return __strlcpy_chk(dest, src, size, bos); in strlcpy()
186 size_t bos = __bos(dest); in strlcat() local
190 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) { in strlcat()
[all …]
Dstdio.h505 size_t bos = __bos(dest); in fgets() local
514 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) { in fgets()
520 if (__builtin_constant_p(size) && (size <= (int) bos)) { in fgets()
526 if (__builtin_constant_p(size) && (size > (int) bos)) { in fgets()
530 return __fgets_chk(dest, size, stream, bos); in fgets()