Lines Matching refs:mbrtoc16
65 ATF_REQUIRE(mbrtoc16(&c16, "", 1, NULL) == 0); in ATF_TC_BODY()
70 ATF_REQUIRE(mbrtoc16(&c16, "", 1, &s) == 0); in ATF_TC_BODY()
74 ATF_REQUIRE(mbrtoc16(NULL, 0, 0, NULL) == 0); in ATF_TC_BODY()
75 ATF_REQUIRE(mbrtoc16(&c16, "A", 1, NULL) == 1); in ATF_TC_BODY()
80 ATF_REQUIRE(mbrtoc16(&c16, "A", 1, &s) == 1); in ATF_TC_BODY()
86 ATF_REQUIRE(mbrtoc16(&c16, "", 0, &s) == (size_t)-2); in ATF_TC_BODY()
92 ATF_REQUIRE(mbrtoc16(&c16, "", 0, &s) == (size_t)-2); in ATF_TC_BODY()
97 ATF_REQUIRE(mbrtoc16(&c16, "AB", 2, &s) == 1); in ATF_TC_BODY()
99 ATF_REQUIRE(mbrtoc16(&c16, "C", 1, &s) == 1); in ATF_TC_BODY()
112 ATF_REQUIRE(mbrtoc16(&c16, "\xa4", 1, &s) == 1); in ATF_TC_BODY()
124 ATF_REQUIRE(mbrtoc16(&c16, "\xa4", 1, &s) == 1); in ATF_TC_BODY()
135 ATF_REQUIRE(mbrtoc16(NULL, 0, 0, NULL) == 0); in ATF_TC_BODY()
136 ATF_REQUIRE(mbrtoc16(&c16, "", 1, NULL) == 0); in ATF_TC_BODY()
141 ATF_REQUIRE(mbrtoc16(&c16, "", 1, &s) == 0); in ATF_TC_BODY()
145 ATF_REQUIRE(mbrtoc16(NULL, 0, 0, NULL) == 0); in ATF_TC_BODY()
146 ATF_REQUIRE(mbrtoc16(&c16, "A", 1, NULL) == 1); in ATF_TC_BODY()
151 ATF_REQUIRE(mbrtoc16(&c16, "A", 1, &s) == 1); in ATF_TC_BODY()
157 ATF_REQUIRE(mbrtoc16(&c16, "", 0, &s) == (size_t)-2); in ATF_TC_BODY()
163 ATF_REQUIRE(mbrtoc16(&c16, "\xc3", 1, &s) == (size_t)-2); in ATF_TC_BODY()
168 ATF_REQUIRE(mbrtoc16(&c16, "\xc3\x84", 2, &s) == 2); in ATF_TC_BODY()
174 ATF_REQUIRE(mbrtoc16(&c16, "\xc3", 1, &s) == (size_t)-2); in ATF_TC_BODY()
176 ATF_REQUIRE(mbrtoc16(&c16, "\xb7", 1, &s) == 1); in ATF_TC_BODY()
182 ATF_REQUIRE(mbrtoc16(&c16, "\xf0\x9f\x92\xa9", 4, &s) == 4); in ATF_TC_BODY()
184 ATF_REQUIRE(mbrtoc16(&c16, "", 0, &s) == (size_t)-3); in ATF_TC_BODY()
190 ATF_REQUIRE(mbrtoc16(&c16, "\xc3\xa9", 2, &s) == 2); in ATF_TC_BODY()
196 ATF_REQUIRE(mbrtoc16(&c16, "\x65\xcc\x81", 3, &s) == 1); in ATF_TC_BODY()
198 ATF_REQUIRE(mbrtoc16(&c16, "\xcc\x81", 2, &s) == 2); in ATF_TC_BODY()