|
ReactOS 0.4.17-dev-966-gf06eace
|
Go to the source code of this file.
Macros | |
| #define | STATIC_STRLEN(arr) (sizeof(arr) - 1) |
| #define | success(from, fromstr, to, tostr) test(from, fromstr, STATIC_STRLEN(fromstr), to, tostr, STATIC_STRLEN(tostr), 0, BUFSIZ, __LINE__) |
| #define | einval(from, fromstr, to, tostr) test(from, fromstr, STATIC_STRLEN(fromstr), to, tostr, STATIC_STRLEN(tostr), EINVAL, BUFSIZ, __LINE__) |
| #define | eilseq(from, fromstr, to, tostr) test(from, fromstr, STATIC_STRLEN(fromstr), to, tostr, STATIC_STRLEN(tostr), EILSEQ, BUFSIZ, __LINE__) |
| #define | e2big(from, fromstr, to, tostr, bufsize) test(from, fromstr, STATIC_STRLEN(fromstr), to, tostr, STATIC_STRLEN(tostr), E2BIG, bufsize, __LINE__) |
Functions | |
| const char * | tohex (const char *str, int size) |
| const char * | errstr (int errcode) |
| int | check_enc (const char *encname, int codepage) |
| void | test (const char *from, const char *fromstr, int fromsize, const char *to, const char *tostr, int tosize, int errcode, int bufsize, int line) |
| int | main (int argc, char **argv) |
| #define e2big | ( | from, | |
| fromstr, | |||
| to, | |||
| tostr, | |||
| bufsize | |||
| ) | test(from, fromstr, STATIC_STRLEN(fromstr), to, tostr, STATIC_STRLEN(tostr), E2BIG, bufsize, __LINE__) |
Definition at line 161 of file win_iconv_test.c.
| #define eilseq | ( | from, | |
| fromstr, | |||
| to, | |||
| tostr | |||
| ) | test(from, fromstr, STATIC_STRLEN(fromstr), to, tostr, STATIC_STRLEN(tostr), EILSEQ, BUFSIZ, __LINE__) |
Definition at line 160 of file win_iconv_test.c.
| #define einval | ( | from, | |
| fromstr, | |||
| to, | |||
| tostr | |||
| ) | test(from, fromstr, STATIC_STRLEN(fromstr), to, tostr, STATIC_STRLEN(tostr), EINVAL, BUFSIZ, __LINE__) |
Definition at line 159 of file win_iconv_test.c.
Definition at line 156 of file win_iconv_test.c.
| #define success | ( | from, | |
| fromstr, | |||
| to, | |||
| tostr | |||
| ) | test(from, fromstr, STATIC_STRLEN(fromstr), to, tostr, STATIC_STRLEN(tostr), 0, BUFSIZ, __LINE__) |
Definition at line 158 of file win_iconv_test.c.
Definition at line 67 of file win_iconv_test.c.
Referenced by main().
Definition at line 27 of file win_iconv_test.c.
Referenced by csp_hostaddr(), error(), gl_error(), pagesetup_common(), test(), test_FunnyChars(), test_setdir(), test_ValidPathA(), and warning().
Definition at line 164 of file win_iconv_test.c.
| void test | ( | const char * | from, |
| const char * | fromstr, | ||
| int | fromsize, | ||
| const char * | to, | ||
| const char * | tostr, | ||
| int | tosize, | ||
| int | errcode, | ||
| int | bufsize, | ||
| int | line | ||
| ) |
Definition at line 90 of file win_iconv_test.c.
Definition at line 15 of file win_iconv_test.c.
Referenced by test().