Lines Matching defs:str
4 #include "str.h"
5 #include "str-sanitize.h"
8 const char *str;
36 const char *str;
42 str = str_sanitize(tests[i].str, tests[i].max_len);
44 test_assert_idx(null_strcmp(str, tests[i].sanitized) == 0, i);
46 test_assert_idx(str == tests[i].str, i);
53 if (tests[i].str == NULL)
57 str_sanitize_append(str2, tests[i].str, tests[i].max_len);
63 test_assert_idx(strcmp(str_c(str2)+10, tests[i].str) == 0, i);