Home
last modified time | relevance | path

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

/bionic/libc/include/
Dpoll.h54 __enable_if(__bos(fds) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
55 __bos(fds) < sizeof(*fds) * fd_count,
62 size_t bos_fds = __bos(fds); in poll()
74 __enable_if(__bos(fds) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
75 __bos(fds) < sizeof(*fds) * fd_count,
82 size_t bos_fds = __bos(fds); in ppoll()
100 if (__bos(fds) != __BIONIC_FORTIFY_UNKNOWN_SIZE) { in poll()
102 return __poll_chk(fds, fd_count, timeout, __bos(fds)); in poll()
103 } else if (__bos(fds) / sizeof(*fds) < fd_count) { in poll()
113 if (__bos(fds) != __BIONIC_FORTIFY_UNKNOWN_SIZE) { in ppoll()
[all …]
Dstring.h187 return __builtin___stpcpy_chk(dst, src, __bos(dst)); in stpcpy()
195 return __builtin___strcpy_chk(dst, src, __bos(dst)); in strcpy()
201 return __builtin___strcat_chk(dst, src, __bos(dst)); in strcat()
207 return __builtin___strncat_chk(dst, src, n, __bos(dst)); in strncat()
253 size_t bos = __bos(s); in memchr()
265 size_t bos = __bos(s); in memrchr()
280 size_t bos_dst = __bos(dst); in stpncpy()
281 size_t bos_src = __bos(src); in stpncpy()
295 size_t bos_dst = __bos(dst); in strncpy()
296 size_t bos_src = __bos(src); in strncpy()
[all …]
Dstdio.h274 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); in vsnprintf()
280 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap); in vsprintf()
293 __enable_if(__bos(dest) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
294 __bos(dest) < __builtin_strlen(format),
304 int result = __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, va); in snprintf()
311 __enable_if(__bos(dest) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
312 __bos(dest) < __builtin_strlen(format),
322 int result = __builtin___vsprintf_chk(dest, 0, __bos(dest), format, va); in sprintf()
339 __enable_if(__bos(buf) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
340 size * count > __bos(buf), "size * count is too large")
[all …]
Dstdlib.h179 __enable_if(__bos(resolved) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
180 __bos(resolved) < __PATH_MAX, __realpath_buf_too_small_str)
194 size_t bos = __bos(resolved); in realpath()
Dunistd.h294 __error_if_overflows_objectsize(size, __bos(buf));
299 size_t bos = __bos(buf); in getcwd()
460 __error_if_overflows_objectsize(size, __bos(buf));
465 size_t bos = __bos(buf); in readlink()
483 __error_if_overflows_objectsize(size, __bos(buf));
489 size_t bos = __bos(buf); in readlinkat()
531 size_t bos = __bos(buf); in getcwd()
694 size_t bos = __bos(buf); in readlink()
717 size_t bos = __bos(buf); in readlinkat()
/bionic/libc/include/sys/
Dselect.h66 #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set))
67 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set))
68 #define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set))
Dcdefs.h273 # define __bos(s) __bosn((s), __bos_level) macro
Dsocket.h343 __enable_if(__bos(buf) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
344 __bos(buf) < len, "selected when the buffer is too small")