| H A D | tests.c | 36 one(int utf8, const char *name, const char *mbs, int width, in one() function 67 one(1, "empty", "", 2, 0, 0, ""); in tests() 68 one(1, "ascii", "x", -2, -2, -2, "x"); in tests() 69 one(1, "newline", "a\nb", -2, -2, -2, "a\nb"); in tests() 70 one(1, "cr", "a\rb", -2, -2, -2, "a\rb"); in tests() 71 one(1, "tab", "a\tb", -2, -2, -2, "a\tb"); in tests() 72 one(1, "esc", "\033x", -2, -2, -2, "\\033x"); in tests() 73 one(1, "inv_badbyte", "\377x", -2, -2, -2, "\\377x"); in tests() 74 one(1, "inv_nocont", "\341x", -2, -2, -2, "\\341x"); in tests() 75 one(1, "inv_nolead", "a\200b", -2, -2, -2, "a\\200b"); in tests() [all …]
|