/dports/devel/gnulib/gnulib-20140202-stable/tests/ |
H A D | test-mbmemcasecmp.h | 33 ASSERT (my_casecmp (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_ascii() 41 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2)) < 0); in test_ascii() 43 ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1)) > 0); in test_ascii() 51 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2)) < 0); in test_ascii() 53 ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1)) > 0); in test_ascii() 84 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2)) == 0); in test_iso_8859_1() 86 ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1)) == 0); in test_iso_8859_1() 88 ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4)) == 0); in test_iso_8859_1() 90 ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3)) == 0); in test_iso_8859_1() 92 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3)) < 0); in test_iso_8859_1() [all …]
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/ |
H A D | test-mbmemcasecmp.h | 33 ASSERT (my_casecmp (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_ascii() 41 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2)) < 0); in test_ascii() 43 ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1)) > 0); in test_ascii() 51 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2)) < 0); in test_ascii() 53 ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1)) > 0); in test_ascii() 84 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2)) == 0); in test_iso_8859_1() 86 ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1)) == 0); in test_iso_8859_1() 88 ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4)) == 0); in test_iso_8859_1() 90 ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3)) == 0); in test_iso_8859_1() 92 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3)) < 0); in test_iso_8859_1() [all …]
|
/dports/devel/gnulib/gnulib-20140202-stable/tests/uninorm/ |
H A D | test-u8-nfkc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 104 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 105 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u8_nfkc() 111 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 112 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u8_nfkc() 119 ASSERT (check (input, SIZEOF (input), expected, SIZEOF (expected)) == 0); in test_u8_nfkc() 120 ASSERT (check (decomposed, SIZEOF (decomposed), expected, SIZEOF (expected)) == 0); in test_u8_nfkc() 258 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 259 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u8_nfkc() 265 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() [all …]
|
H A D | test-u16-nfkc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 104 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 105 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u16_nfkc() 111 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 112 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u16_nfkc() 119 ASSERT (check (input, SIZEOF (input), expected, SIZEOF (expected)) == 0); in test_u16_nfkc() 120 ASSERT (check (decomposed, SIZEOF (decomposed), expected, SIZEOF (expected)) == 0); in test_u16_nfkc() 256 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 257 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u16_nfkc() 263 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() [all …]
|
H A D | test-u32-nfkc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 104 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 105 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u32_nfkc() 111 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 112 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u32_nfkc() 119 ASSERT (check (input, SIZEOF (input), expected, SIZEOF (expected)) == 0); in test_u32_nfkc() 120 ASSERT (check (decomposed, SIZEOF (decomposed), expected, SIZEOF (expected)) == 0); in test_u32_nfkc() 256 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 257 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u32_nfkc() 263 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() [all …]
|
H A D | test-u16-nfc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfc() 126 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfc() 131 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfc() 136 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfc() 141 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfc() 146 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfc() 151 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfc() 156 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfc() 161 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfc() 166 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfc() [all …]
|
H A D | test-u32-nfc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfc() 126 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfc() 131 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfc() 136 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfc() 141 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfc() 146 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfc() 151 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfc() 156 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfc() 161 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfc() 166 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfc() [all …]
|
/dports/devel/libunistring/libunistring-0.9.10/tests/uninorm/ |
H A D | test-u16-nfkc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 104 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 105 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u16_nfkc() 111 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 112 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u16_nfkc() 119 ASSERT (check (input, SIZEOF (input), expected, SIZEOF (expected)) == 0); in test_u16_nfkc() 120 ASSERT (check (decomposed, SIZEOF (decomposed), expected, SIZEOF (expected)) == 0); in test_u16_nfkc() 256 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 257 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u16_nfkc() 263 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() [all …]
|
H A D | test-u32-nfkc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 104 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 105 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u32_nfkc() 111 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 112 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u32_nfkc() 119 ASSERT (check (input, SIZEOF (input), expected, SIZEOF (expected)) == 0); in test_u32_nfkc() 120 ASSERT (check (decomposed, SIZEOF (decomposed), expected, SIZEOF (expected)) == 0); in test_u32_nfkc() 256 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 257 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u32_nfkc() 263 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() [all …]
|
H A D | test-u8-nfkc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 104 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 105 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u8_nfkc() 111 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 112 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u8_nfkc() 119 ASSERT (check (input, SIZEOF (input), expected, SIZEOF (expected)) == 0); in test_u8_nfkc() 120 ASSERT (check (decomposed, SIZEOF (decomposed), expected, SIZEOF (expected)) == 0); in test_u8_nfkc() 258 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 259 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u8_nfkc() 265 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() [all …]
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/uninorm/ |
H A D | test-u16-nfkc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 104 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 105 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u16_nfkc() 111 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 112 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u16_nfkc() 119 ASSERT (check (input, SIZEOF (input), expected, SIZEOF (expected)) == 0); in test_u16_nfkc() 120 ASSERT (check (decomposed, SIZEOF (decomposed), expected, SIZEOF (expected)) == 0); in test_u16_nfkc() 256 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() 257 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u16_nfkc() 263 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u16_nfkc() [all …]
|
H A D | test-u32-nfkc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 104 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 105 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u32_nfkc() 111 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 112 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u32_nfkc() 119 ASSERT (check (input, SIZEOF (input), expected, SIZEOF (expected)) == 0); in test_u32_nfkc() 120 ASSERT (check (decomposed, SIZEOF (decomposed), expected, SIZEOF (expected)) == 0); in test_u32_nfkc() 256 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() 257 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u32_nfkc() 263 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u32_nfkc() [all …]
|
H A D | test-u8-nfkc.c | 98 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 104 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 105 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u8_nfkc() 111 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 112 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u8_nfkc() 119 ASSERT (check (input, SIZEOF (input), expected, SIZEOF (expected)) == 0); in test_u8_nfkc() 120 ASSERT (check (decomposed, SIZEOF (decomposed), expected, SIZEOF (expected)) == 0); in test_u8_nfkc() 258 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() 259 ASSERT (check (decomposed, SIZEOF (decomposed), input, SIZEOF (input)) == 0); in test_u8_nfkc() 265 ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0); in test_u8_nfkc() [all …]
|
/dports/devel/gnulib/gnulib-20140202-stable/tests/unicase/ |
H A D | test-ulc-casecmp.c | 41 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 44 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 47 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 50 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 72 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_iso_8859_1() 192 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_utf_8() 198 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_utf_8() 204 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_utf_8() 218 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_utf_8() 224 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_utf_8() [all …]
|
H A D | test-u32-casecmp.c | 42 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 45 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 48 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 51 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 139 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 145 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 151 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 165 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 171 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 182 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() [all …]
|
H A D | test-u8-casecmp.c | 42 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 45 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 48 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 51 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 145 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 151 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 157 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 171 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 177 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 188 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() [all …]
|
H A D | test-u16-casecmp.c | 42 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 45 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 48 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 51 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 139 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 145 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 151 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 165 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 171 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 182 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() [all …]
|
/dports/devel/libunistring/libunistring-0.9.10/tests/unicase/ |
H A D | test-ulc-casecmp.c | 41 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 44 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 47 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 50 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 72 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_iso_8859_1() 192 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_utf_8() 198 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_utf_8() 204 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_utf_8() 218 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_utf_8() 224 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_utf_8() [all …]
|
H A D | test-u16-casecmp.c | 42 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 45 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 48 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 51 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 139 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 145 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 151 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 165 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 171 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 182 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() [all …]
|
H A D | test-u32-casecmp.c | 42 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 45 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 48 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 51 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 139 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 145 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 151 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 165 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 171 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 182 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() [all …]
|
H A D | test-u8-casecmp.c | 42 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 45 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 48 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 51 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 145 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 151 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 157 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 171 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 177 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 188 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() [all …]
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/unicase/ |
H A D | test-ulc-casecmp.c | 41 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 44 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 47 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 50 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_iso_8859_1() 72 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_iso_8859_1() 192 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_utf_8() 198 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_utf_8() 204 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_utf_8() 218 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_utf_8() 224 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_utf_8() [all …]
|
H A D | test-u8-casecmp.c | 42 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 45 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 48 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 51 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 145 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 151 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 157 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 171 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 177 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 188 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() [all …]
|
H A D | test-u16-casecmp.c | 42 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 45 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 48 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 51 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 139 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 145 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 151 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 165 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 171 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 182 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() [all …]
|
H A D | test-u32-casecmp.c | 42 …ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 45 …ASSERT (my_casecmp (input2, SIZEOF (input2), input1, SIZEOF (input1), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 48 …ASSERT (my_casecmp (input3, SIZEOF (input3), input4, SIZEOF (input4), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 51 …ASSERT (my_casecmp (input4, SIZEOF (input4), input3, SIZEOF (input3), NULL, UNINORM_NFD, &cmp) == … in test_nonascii() 139 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 145 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 151 ASSERT (my_casecmp (input2, SIZEOF (input2), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 165 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() 171 ASSERT (my_casecmp (input1, SIZEOF (input1), input3, SIZEOF (input3), NULL, NULL, &cmp) == 0); in test_nonascii() 182 ASSERT (my_casecmp (input1, SIZEOF (input1), input2, SIZEOF (input2), NULL, NULL, &cmp) == 0); in test_nonascii() [all …]
|