Home
last modified time | relevance | path

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

/bionic/libc/include/bits/fortify/
Dstring.h83 __clang_error_if(__bos_unevaluated_le(__bos(dst), __builtin_strlen(src)), in stpcpy()
86 return __builtin___stpcpy_chk(dst, src, __bos(dst)); in stpcpy()
96 __clang_error_if(__bos_unevaluated_le(__bos(dst), __builtin_strlen(src)), in strcpy()
99 return __builtin___strcpy_chk(dst, src, __bos(dst)); in strcpy()
108 __clang_error_if(__bos_unevaluated_le(__bos(dst), __builtin_strlen(src)), in strcat()
111 return __builtin___strcat_chk(dst, src, __bos(dst)); in strcat()
123 return __builtin___strncat_chk(dst, src, n, __bos(dst)); in strncat()
143 size_t bos = __bos(s); in memchr()
154 size_t bos = __bos(s); in __memrchr_fortify()
170 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()
60 __clang_error_if(__bos_unevaluated_lt(__bos(fds), sizeof(*fds) * fd_count), in ppoll()
63 size_t bos_fds = __bos(fds); in ppoll()
76 __clang_error_if(__bos_unevaluated_lt(__bos(fds), sizeof(*fds) * fd_count), in ppoll64()
79 size_t bos_fds = __bos(fds); in ppoll64()
Dstdio.h45 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); in vsnprintf()
50 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap); in vsprintf()
57 __enable_if(__bos_unevaluated_lt(__bos(dest), __builtin_strlen(format)),
66 int result = __builtin___vsprintf_chk(dest, 0, __bos(dest), format, va); in sprintf()
78 int result = __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, va); in snprintf()
127 __clang_error_if(__bos_unevaluated_lt(__bos(dest), size), in fgets()
130 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()
199 __error_if_overflows_objectsize(size, __bos(buf), readlinkat) { in readlinkat()
201 size_t bos = __bos(buf); in readlinkat()
Dstdlib.h40 __clang_error_if(__bos_unevaluated_lt(__bos(resolved), __PATH_MAX),
/bionic/libc/include/sys/
Dselect.h83 #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set))
85 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set))
87 #define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set))
Dcdefs.h250 #define __bos(s) __bosn((s), __bos_level) macro