Home
last modified time | relevance | path

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

/bionic/libc/include/bits/fortify/
Dpoll.h43 __clang_error_if(__bos(fds) != __BIONIC_FORTIFY_UNKNOWN_SIZE && in poll()
44 __bos(fds) < sizeof(*fds) * fd_count, in poll()
46 size_t bos_fds = __bos(fds); in poll()
57 __clang_error_if(__bos(fds) != __BIONIC_FORTIFY_UNKNOWN_SIZE && in ppoll()
58 __bos(fds) < sizeof(*fds) * fd_count, in ppoll()
60 size_t bos_fds = __bos(fds); in ppoll()
72 __clang_error_if(__bos(fds) != __BIONIC_FORTIFY_UNKNOWN_SIZE && in ppoll64()
73 __bos(fds) < sizeof(*fds) * fd_count, in ppoll64()
75 size_t bos_fds = __bos(fds); in ppoll64()
Dstdio.h43 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); in vsnprintf()
48 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap); in vsprintf()
60 __enable_if(__bos(dest) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
61 __bos(dest) < __builtin_strlen(format),
70 int result = __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, va); in snprintf()
78 __enable_if(__bos(dest) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
79 __bos(dest) < __builtin_strlen(format),
87 int result = __builtin___vsprintf_chk(dest, 0, __bos(dest), format, va); in sprintf()
99 __clang_error_if(__bos(buf) != __BIONIC_FORTIFY_UNKNOWN_SIZE && size * count > __bos(buf), in fread()
114 __clang_error_if(__bos(buf) != __BIONIC_FORTIFY_UNKNOWN_SIZE && size * count > __bos(buf), in fwrite()
[all …]
Dstring.h65 __clang_error_if(__bos(dst) != __BIONIC_FORTIFY_UNKNOWN_SIZE && in stpcpy()
66 __bos(dst) <= __builtin_strlen(src), in stpcpy()
68 return __builtin___stpcpy_chk(dst, src, __bos(dst)); in stpcpy()
76 __clang_error_if(__bos(dst) != __BIONIC_FORTIFY_UNKNOWN_SIZE && in strcpy()
77 __bos(dst) <= __builtin_strlen(src), in strcpy()
79 return __builtin___strcpy_chk(dst, src, __bos(dst)); in strcpy()
84 return __builtin___strcat_chk(dst, src, __bos(dst)); in strcat()
89 return __builtin___strncat_chk(dst, src, n, __bos(dst)); in strncat()
106 size_t bos = __bos(s); in memchr()
117 size_t bos = __bos(s); in __memrchr_fortify()
[all …]
Dstdlib.h41 __clang_error_if(__bos(resolved) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
42 __bos(resolved) < __PATH_MAX, __realpath_buf_too_small_str)
Dunistd.h73 __error_if_overflows_objectsize(size, __bos(buf), getcwd) { in getcwd()
74 size_t bos = __bos(buf); in getcwd()
181 __error_if_overflows_objectsize(size, __bos(buf), readlink) { in readlink()
182 size_t bos = __bos(buf); in readlink()
195 __error_if_overflows_objectsize(size, __bos(buf), readlinkat) { in readlinkat()
196 size_t bos = __bos(buf); in readlinkat()
Dsocket.h47 __clang_error_if(__bos(buf) != __BIONIC_FORTIFY_UNKNOWN_SIZE && __bos(buf) < len, in recvfrom()
/bionic/libc/include/sys/
Dselect.h72 #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set))
73 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set))
74 #define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set))
Dcdefs.h259 #define __bos(s) __bosn((s), __bos_level) macro