Lines Matching +full:2 +full:-

29 	ASSERT_INT_EQ(len, -1);  in badarg()
43 if (wantlen == -2) in one()
48 wp = wantwidth == -2 ? NULL : &width; in one()
62 loc = setlocale(LC_CTYPE, "en_US.UTF-8"); in tests()
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()
76 one(1, "sz_ascii", "1234567890123456", -2, -2, 16, "123456789012345"); in tests()
77 one(1, "sz_esc", "123456789012\033", -2, -2, 16, "123456789012"); in tests()
78 one(1, "width_ascii", "123", 2, 2, -1, "12"); in tests()
79 one(1, "width_double", "a\343\201\201", 2, 1, -1, "a"); in tests()
89 one(0, "empty", "", 2, 0, 0, ""); in tests()
90 one(0, "ascii", "x", -2, -2, -2, "x"); in tests()
91 one(0, "newline", "a\nb", -2, -2, -2, "a\nb"); in tests()
92 one(0, "cr", "a\rb", -2, -2, -2, "a\rb"); in tests()
93 one(0, "tab", "a\tb", -2, -2, -2, "a\tb"); in tests()
94 one(0, "esc", "\033x", -2, -2, -2, "\\033x"); in tests()
95 one(0, "inv_badbyte", "\377x", -2, -2, -2, "\\377x"); in tests()
96 one(0, "inv_nocont", "\341x", -2, -2, -2, "\\341x"); in tests()
97 one(0, "inv_nolead", "a\200b", -2, -2, -2, "a\\200b"); in tests()
98 one(0, "sz_ascii", "1234567890123456", -2, -2, 16, "123456789012345"); in tests()
99 one(0, "sz_esc", "123456789012\033", -2, -2, 16, "123456789012"); in tests()
100 one(0, "width_ascii", "123", 2, 2, -1, "12"); in tests()
101 one(0, "width_double", "a\343\201\201", 2, 1, -1, "a"); in tests()
102 one(0, "double_fit", "a\343\201\201", 7, 5, -1, "a\\343"); in tests()