Searched refs:RSIZE_MAX (Results 1 - 6 of 6) sorted by relevance
/freebsd-11-stable/sys/sys/ |
H A D | stdint.h | 71 #ifndef RSIZE_MAX 72 #define RSIZE_MAX (SIZE_MAX >> 1) macro
|
/freebsd-11-stable/lib/libc/string/ |
H A D | memset_s.c | 50 } else if (smax > RSIZE_MAX) { 51 __throw_constraint_handler_s("memset_s : smax > RSIZE_MAX", 53 } else if (n > RSIZE_MAX) { 54 __throw_constraint_handler_s("memset_s : n > RSIZE_MAX", ret);
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | gets_s.c | 89 } else if (n > RSIZE_MAX) { 90 __throw_constraint_handler_s("gets_s : n > RSIZE_MAX",
|
/freebsd-11-stable/lib/libc/tests/string/ |
H A D | memset_s_test.c | 59 assert(memset_s(&b, RSIZE_MAX + 1, 1, 1) != 0); 88 assert(memset_s(&b, 1, 1, RSIZE_MAX + 1) != 0); 138 assert(memset_s(&b, RSIZE_MAX + 1, 1, 1) != 0); 140 assert(strcmp(m, "memset_s : smax > RSIZE_MAX") == 0); 154 assert(strcmp(m, "memset_s : smax > RSIZE_MAX") == 0); 166 assert(memset_s(&b, 1, 1, RSIZE_MAX + 1) != 0); 168 assert(strcmp(m, "memset_s : n > RSIZE_MAX") == 0); 182 assert(strcmp(m, "memset_s : n > RSIZE_MAX") == 0);
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | gets_s_test.c | 95 ATF_CHECK_MSG(gets_s(&b, RSIZE_MAX + 1) == NULL, 96 "gets_s() n > RSIZE_MAX"); 117 ATF_CHECK_MSG(gets_s(&b, RSIZE_MAX + 1) == NULL, "gets_s() n > RSIZE_MAX"); 119 ATF_CHECK_MSG(strcmp(message, "gets_s : n > RSIZE_MAX") == 0, "gets_s(): incorrect error message");
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | stdint.h | 655 /* ISO9899:2011 7.20 (C11 Annex K): Define RSIZE_MAX if __STDC_WANT_LIB_EXT1__ 658 #define RSIZE_MAX (SIZE_MAX >> 1) macro
|
Completed in 113 milliseconds