Home
last modified time | relevance | path

Searched refs:__bos (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/include/bits/fortify/
Dstring.h79 __clang_error_if(__bos_unevaluated_le(__bos(dst), __builtin_strlen(src)), in stpcpy()
82 return __builtin___stpcpy_chk(dst, src, __bos(dst)); in stpcpy()
91 __clang_error_if(__bos_unevaluated_le(__bos(dst), __builtin_strlen(src)), in strcpy()
94 return __builtin___strcpy_chk(dst, src, __bos(dst)); in strcpy()
103 __clang_error_if(__bos_unevaluated_le(__bos(dst), __builtin_strlen(src)), in strcat()
106 return __builtin___strcat_chk(dst, src, __bos(dst)); in strcat()
116 return __builtin___strncat_chk(dst, src, n, __bos(dst)); in strncat()
135 size_t bos = __bos(s); in memchr()
146 size_t bos = __bos(s); in __memrchr_fortify()
161 size_t bos_dst = __bos(dst); in stpncpy()
[all …]
Dpoll.h45 __clang_error_if(__bos_unevaluated_lt(__bos(fds), sizeof(*fds) * fd_count), in poll()
48 size_t bos_fds = __bos(fds); in poll()
61 __clang_error_if(__bos_unevaluated_lt(__bos(fds), sizeof(*fds) * fd_count), in ppoll()
64 size_t bos_fds = __bos(fds); in ppoll()
78 __clang_error_if(__bos_unevaluated_lt(__bos(fds), sizeof(*fds) * fd_count), in ppoll64()
81 size_t bos_fds = __bos(fds); in ppoll64()
Dstdio.h44 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); in vsnprintf()
49 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap); in vsprintf()
56 __enable_if(__bos_unevaluated_lt(__bos(dest), __builtin_strlen(format)),
65 int result = __builtin___vsprintf_chk(dest, 0, __bos(dest), format, va); in sprintf()
76 int result = __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, va); in snprintf()
125 __clang_error_if(__bos_unevaluated_lt(__bos(dest), size), in fgets()
128 size_t bos = __bos(dest); in fgets()
Dunistd.h75 __error_if_overflows_objectsize(size, __bos(buf), getcwd) { in getcwd()
77 size_t bos = __bos(buf); in getcwd()
184 __error_if_overflows_objectsize(size, __bos(buf), readlink) { in readlink()
186 size_t bos = __bos(buf); in readlink()
200 __error_if_overflows_objectsize(size, __bos(buf), readlinkat) { in readlinkat()
202 size_t bos = __bos(buf); in readlinkat()
Dstdlib.h40 __clang_error_if(__bos_unevaluated_lt(__bos(resolved), __PATH_MAX),
/bionic/libc/include/sys/
Dselect.h85 #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set))
87 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set))
89 #define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set))
Dcdefs.h265 #define __bos(s) __bosn((s), __bos_level) macro