Home
last modified time | relevance | path

Searched refs:locname (Results 1 – 2 of 2) sorted by relevance

/haiku/src/tests/system/libroot/posix/
H A Dtst-wcrtomb.c26 static int check_ascii(const char *locname);
51 check_ascii(const char *locname) in check_ascii() argument
56 printf("Testing locale \"%s\":\n", locname); in check_ascii()
68 printf("%s: '\\x%x': encoding error\n", locname, (int) wc); in check_ascii()
71 printf("%s: '\\x%x': 0 returned\n", locname, (int) wc); in check_ascii()
74 printf("%s: '\\x%x': not 1 returned\n", locname, (int) wc); in check_ascii()
77 printf("%s: L'\\x%x': buf[0] != '\\x%x'\n", locname, (int) wc, in check_ascii()
H A Dtst-mbrtowc.c29 static int check_ascii(const char *locname);
180 check_ascii(const char *locname) in check_ascii() argument
185 printf("Testing locale \"%s\":\n", locname); in check_ascii()
200 printf("%s: '\\x%x': encoding error\n", locname, c); in check_ascii()
203 printf("%s: '\\x%x': incomplete character\n", locname, c); in check_ascii()
206 printf("%s: '\\x%x': 0 returned\n", locname, c); in check_ascii()
209 printf("%s: '\\x%x': not 0 returned\n", locname, c); in check_ascii()
212 printf("%s: '\\x%x': not 1 returned\n", locname, c); in check_ascii()
215 printf("%s: '\\x%x' != wc != L'\\x%x'\n", locname, c, wc); in check_ascii()