Home
last modified time | relevance | path

Searched refs:bos (Results 1 - 4 of 4) sorted by relevance

/interface/sdk_c/third_party/musl/ndk_musl_include/fortify/
H A Dunistd.h62 size_t bos = __DIAGNOSE_BOS(buf); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() local
64 if (!__DIAGNOSE_BOS_TRIVIALLY_GE(bos, size)) { in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
65 return __getcwd_chk(buf, size, bos); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
78 size_t bos = __DIAGNOSE_BOS0(buf); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() local
80 if (!__DIAGNOSE_BOS_TRIVIALLY_GE_NO_OVERFLOW(bos, count)) { in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
81 return __DIAGNOSE_PREAD_PREFIX(chk)(fd, buf, count, offset, bos); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
94 size_t bos = __DIAGNOSE_BOS0(buf); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() local
96 if (!__DIAGNOSE_BOS_TRIVIALLY_GE_NO_OVERFLOW(bos, count)) { in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
97 return __DIAGNOSE_PWRITE_PREFIX(chk)(fd, buf, count, offset, bos); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
110 size_t bos in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() local
126 size_t bos = __DIAGNOSE_BOS0(buf); __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() local
142 size_t bos = __DIAGNOSE_BOS(buf); __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() local
158 size_t bos = __DIAGNOSE_BOS(buf); __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE() local
[all...]
H A Dsocket.h43 size_t bos = __DIAGNOSE_BOS0(buf); variable
45 if (!__DIAGNOSE_BOS_TRIVIALLY_GE(bos, len)) {
46 return __recvfrom_chk(fd, buf, len, bos, flags, src_addr, addr_len);
60 size_t bos = __DIAGNOSE_BOS0(buf); variable
62 if (!__DIAGNOSE_BOS_TRIVIALLY_GE(bos, len)) {
63 return __sendto_chk(fd, buf, len, bos, flags, dest_addr, addr_len);
76 size_t bos = __DIAGNOSE_BOS0(buf); variable
78 if (!__DIAGNOSE_BOS_TRIVIALLY_GE(bos, len)) {
79 return __recv_chk(socket, buf, len, bos, flags);
92 size_t bos variable
[all...]
H A Dstdio.h49 size_t bos = __DIAGNOSE_BOS0(buf); variable
51 if (!__DIAGNOSE_BOS_TRIVIALLY_GE_MUL(bos, size, count)) {
52 return __fread_chk(buf, size, count, stream, bos);
68 size_t bos = __DIAGNOSE_BOS0(buf); variable
70 if (!__DIAGNOSE_BOS_TRIVIALLY_GE_MUL(bos, size, count)) {
71 return __fwrite_chk(buf, size, count, stream, bos);
85 size_t bos = __DIAGNOSE_BOS(dest); in __DIAGNOSE_ERROR_IF()
87 if (!__DIAGNOSE_BOS_DYNAMIC_CHECK_IMPL_AND(bos, >=, (size_t)size, size >= 0)) { in __DIAGNOSE_ERROR_IF()
88 return __fgets_chk(dest, size, stream, bos); in __DIAGNOSE_ERROR_IF()
99 size_t bos variable
[all...]
H A Dstring.h183 size_t bos = __DIAGNOSE_BOS(s); variable
184 if (__DIAGNOSE_BOS_TRIVIALLY_GE(bos, n)) {
187 return __memchr_chk(s, c, n, bos);
198 size_t bos = __DIAGNOSE_BOS(s); variable
199 if (__DIAGNOSE_BOS_TRIVIALLY_GE(bos, n)) {
202 return __memrchr_chk(s, c, n, bos);
211 size_t bos = __DIAGNOSE_BOS(s); variable
213 if (bos != __DIAGNOSE_FORTIFY_UNKNOWN_SIZE) {
214 return __strchr_chk(s, c, bos);
225 size_t bos variable
[all...]

Completed in 6 milliseconds