Home
last modified time | relevance | path

Searched refs:__DIAGNOSE_BOS0 (Results 1 – 10 of 10) sorted by relevance

/third_party/musl/porting/linux/user/include/fortify/
Dsocket.h39 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), len), in recvfrom()
43 size_t bos = __DIAGNOSE_BOS0(buf); in recvfrom()
56 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), len), in sendto()
60 size_t bos = __DIAGNOSE_BOS0(buf); in sendto()
72 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), len), in recv()
76 size_t bos = __DIAGNOSE_BOS0(buf); in recv()
88 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), len), in send()
92 size_t bos = __DIAGNOSE_BOS0(buf); in send()
Dunistd.h75 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), pread) in pread()
78 size_t bos = __DIAGNOSE_BOS0(buf); in pread()
91 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), pwrite) in pwrite()
94 size_t bos = __DIAGNOSE_BOS0(buf); in pwrite()
107 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), read) in read()
110 size_t bos = __DIAGNOSE_BOS0(buf); in read()
123 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), write) in write()
126 size_t bos = __DIAGNOSE_BOS0(buf); in write()
Dstdio.h45 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), size * count), in fread()
49 size_t bos = __DIAGNOSE_BOS0(buf); in fread()
64 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), size * count), in fwrite()
68 size_t bos = __DIAGNOSE_BOS0(buf); in fwrite()
Dstring.h75 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(dest), copy_amount), in mempcpy()
79 return __builtin___mempcpy_chk(dest, src, copy_amount, __DIAGNOSE_BOS0(dest)); in mempcpy()
134 return __builtin___memcpy_chk(dest, src, copy_amount, __DIAGNOSE_BOS0(dest)); in memcpy()
172 return __builtin___memset_chk(s, c, n, __DIAGNOSE_BOS0(s)); in memset()
239 return __strlen_chk(s, __DIAGNOSE_BOS0(s)); in strlen()
Dfortify.h71 #define __DIAGNOSE_BOS0(s) __DIAGNOSE_BOSN((s), 0) macro
/third_party/musl/ndk_musl_include/fortify/
Dsocket.h39 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), len), in recvfrom()
43 size_t bos = __DIAGNOSE_BOS0(buf); in recvfrom()
56 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), len), in sendto()
60 size_t bos = __DIAGNOSE_BOS0(buf); in sendto()
72 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), len), in recv()
76 size_t bos = __DIAGNOSE_BOS0(buf); in recv()
88 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), len), in send()
92 size_t bos = __DIAGNOSE_BOS0(buf); in send()
Dunistd.h75 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), pread) in pread()
78 size_t bos = __DIAGNOSE_BOS0(buf); in pread()
91 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), pwrite) in pwrite()
94 size_t bos = __DIAGNOSE_BOS0(buf); in pwrite()
107 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), read) in read()
110 size_t bos = __DIAGNOSE_BOS0(buf); in read()
123 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(count, __DIAGNOSE_BOS0(buf), write) in write()
126 size_t bos = __DIAGNOSE_BOS0(buf); in write()
Dstdio.h45 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), size * count), in fread()
49 size_t bos = __DIAGNOSE_BOS0(buf); in fread()
64 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(buf), size * count), in fwrite()
68 size_t bos = __DIAGNOSE_BOS0(buf); in fwrite()
Dstring.h75 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LT(__DIAGNOSE_BOS0(dest), copy_amount), in mempcpy()
79 return __builtin___mempcpy_chk(dest, src, copy_amount, __DIAGNOSE_BOS0(dest)); in mempcpy()
134 return __builtin___memcpy_chk(dest, src, copy_amount, __DIAGNOSE_BOS0(dest)); in memcpy()
172 return __builtin___memset_chk(s, c, n, __DIAGNOSE_BOS0(s)); in memset()
239 return __strlen_chk(s, __DIAGNOSE_BOS0(s)); in strlen()
Dfortify.h71 #define __DIAGNOSE_BOS0(s) __DIAGNOSE_BOSN((s), 0) macro