Home
last modified time | relevance | path

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

/bionic/libc/include/bits/fortify/
Dstrings.h34 __clang_error_if(__bos_unevaluated_lt(__bos0(dst), len), in __bionic_bcopy()
37 size_t bos = __bos0(dst); in __bionic_bcopy()
49 __clang_error_if(__bos_unevaluated_lt(__bos0(b), len), in __bionic_bzero()
52 size_t bos = __bos0(b); in __bionic_bzero()
Dsocket.h43 __clang_error_if(__bos_unevaluated_lt(__bos0(buf), len), in recvfrom()
46 size_t bos = __bos0(buf); in recvfrom()
58 __clang_error_if(__bos_unevaluated_lt(__bos0(buf), len), in sendto()
61 size_t bos = __bos0(buf); in sendto()
73 __clang_error_if(__bos_unevaluated_lt(__bos0(buf), len), in recv()
81 __clang_error_if(__bos_unevaluated_lt(__bos0(buf), len), in send()
Dunistd.h91 __error_if_overflows_objectsize(count, __bos0(buf), pread) { in pread()
93 size_t bos = __bos0(buf); in pread()
107 __error_if_overflows_objectsize(count, __bos0(buf), pread64) { in pread64()
109 size_t bos = __bos0(buf); in pread64()
123 __error_if_overflows_objectsize(count, __bos0(buf), pwrite) { in pwrite()
125 size_t bos = __bos0(buf); in pwrite()
139 __error_if_overflows_objectsize(count, __bos0(buf), pwrite64) { in pwrite64()
141 size_t bos = __bos0(buf); in pwrite64()
154 __error_if_overflows_objectsize(count, __bos0(buf), read) { in read()
156 size_t bos = __bos0(buf); in read()
[all …]
Dstdio.h91 __clang_error_if(__bos_unevaluated_lt(__bos0(buf), size * count), in fread()
94 size_t bos = __bos0(buf); in fread()
108 __clang_error_if(__bos_unevaluated_lt(__bos0(buf), size * count), in fwrite()
111 size_t bos = __bos0(buf); in fwrite()
Dstring.h48 return __builtin___memcpy_chk(dst, src, copy_amount, __bos0(dst)); in memcpy()
54 return __builtin___memmove_chk(dst, src, len, __bos0(dst)); in memmove()
63 __clang_error_if(__bos_unevaluated_lt(__bos0(dst), copy_amount), in mempcpy()
66 size_t bos_dst = __bos0(dst); in mempcpy()
126 return __builtin___memset_chk(s, c, n, __bos0(s)); in memset()
215 return __strlen_chk(s, __bos0(s)); in strlen()
/bionic/libc/include/sys/
Dcdefs.h275 # define __bos0(s) __bosn((s), 0) macro
/bionic/tests/
Dfortify_test.cpp932 __builtin___mempcpy_chk(buf2, input_str, input_str_size, __bos0(buf2)); in TEST()
937 void *fortify_ptr = __builtin___mempcpy_chk(buf1, input_str, input_str_size, __bos0(buf2)); in TEST()