Lines Matching refs:chgd
70 char const *chgd;
75 chgd = printf_format_fix(tests[i]);
76 test_assert_idx(chgd != tests[i], i);
77 insert = strstr(chgd, needle);
79 offs = insert - chgd;
80 test_assert_idx(memcmp(chgd, tests[i], offs) == 0, i);
81 test_assert_idx(memcmp(chgd+offs, needle, needlen) == 0, i);
82 test_assert_idx(strcmp(chgd+offs+needlen, tests[i]+offs+2) == 0, i);
84 chgd = printf_format_fix_get_len(tests[i], &len);
85 test_assert_idx(chgd != tests[i], i);
86 test_assert_idx(len == strlen(chgd), i);
87 insert = strstr(chgd, needle);
89 offs = insert - chgd;
90 test_assert_idx(memcmp(chgd, tests[i], offs) == 0, i);
91 test_assert_idx(memcmp(chgd+offs, needle, needlen) == 0, i);
92 test_assert_idx(memcmp(chgd+offs+needlen, tests[i]+offs+2, len-needlen-offs) == 0, i);