/freebsd/contrib/unbound/compat/ |
H A D | snprintf.c | 841 #define DOTEST(bufsz, result, retval, ...) do { \ macro 867 DOTEST(1024, "hello", 5, "hello"); in main() 868 DOTEST(1024, "h", 1, "h"); in main() 872 DOTEST(3, "he", 5, "hello"); in main() 873 DOTEST(1, "", 7, "%d", 7823089); in main() 876 DOTEST(1024, "0", 1, "%d", 0); in main() 877 DOTEST(1024, "1", 1, "%d", 1); in main() 878 DOTEST(1024, "9", 1, "%d", 9); in main() 879 DOTEST(1024, "15", 2, "%d", 15); in main() 880 DOTEST(1024, "ab15cd", 6, "ab%dcd", 15); in main() [all …]
|
/freebsd/contrib/ldns/compat/ |
H A D | snprintf.c | 837 #define DOTEST(bufsz, result, retval, ...) do { \ macro 863 DOTEST(1024, "hello", 5, "hello"); in main() 864 DOTEST(1024, "h", 1, "h"); in main() 868 DOTEST(3, "he", 5, "hello"); in main() 869 DOTEST(1, "", 7, "%d", 7823089); in main() 872 DOTEST(1024, "0", 1, "%d", 0); in main() 873 DOTEST(1024, "1", 1, "%d", 1); in main() 874 DOTEST(1024, "9", 1, "%d", 9); in main() 875 DOTEST(1024, "15", 2, "%d", 15); in main() 876 DOTEST(1024, "ab15cd", 6, "ab%dcd", 15); in main() [all …]
|
/freebsd/contrib/arm-optimized-routines/string/bench/ |
H A D | memcpy.c | 26 #define DOTEST(STR,TESTFN) \ macro 259 DOTEST ("Random memcpy (bytes/ns):\n", memcpy_random); in main() 260 DOTEST ("Medium memcpy aligned (bytes/ns):\n", memcpy_medium_aligned); in main() 261 DOTEST ("Medium memcpy unaligned (bytes/ns):\n", memcpy_medium_unaligned); in main() 262 DOTEST ("Large memcpy (bytes/ns):\n", memcpy_large); in main() 263 DOTEST ("Forwards memmove unaligned (bytes/ns):\n", memmove_forward_unaligned); in main() 264 DOTEST ("Backwards memmove unaligned (bytes/ns):\n", memmove_backward_unaligned); in main()
|
H A D | strlen.c | 26 #define DOTEST(STR,TESTFN) \ macro 219 DOTEST ("Random strlen (bytes/ns):\n", strlen_random); in main() 220 DOTEST ("Small aligned strlen (bytes/ns):\n", strlen_small_aligned); in main() 221 DOTEST ("Small unaligned strlen (bytes/ns):\n", strlen_small_unaligned); in main() 222 DOTEST ("Medium strlen (bytes/ns):\n", strlen_medium); in main()
|
H A D | memset.c | 25 #define DOTEST(STR,TESTFN) \ macro 186 DOTEST ("Random memset (bytes/ns):\n", memset_random); in main() 187 DOTEST ("Medium memset (bytes/ns):\n", memset_medium); in main() 188 DOTEST ("Large memset (bytes/ns):\n", memset_large); in main()
|