Searched refs:utf8buf (Results 1 – 2 of 2) sorted by relevance
/external/icu4c/test/cintltst/ |
D | spooftest.c | 425 char utf8buf[200]; in TestUSpoofCAPI() local 429 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodLatin, -1, &status); in TestUSpoofCAPI() 432 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status); in TestUSpoofCAPI() 437 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodCyrl, -1, &status); in TestUSpoofCAPI() 439 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status); in TestUSpoofCAPI() 443 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, scMixed, -1, &status); in TestUSpoofCAPI() 446 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status); in TestUSpoofCAPI()
|
/external/v8/test/cctest/ |
D | test-api.cc | 5566 char utf8buf[0xd800 * 3]; in THREADED_TEST() local 5571 memset(utf8buf, 0x1, 1000); in THREADED_TEST() 5572 len = str2->WriteUtf8(utf8buf, sizeof(utf8buf), &charlen); in THREADED_TEST() 5575 CHECK_EQ(0, strcmp(utf8buf, "abc\303\260\342\230\203")); in THREADED_TEST() 5577 memset(utf8buf, 0x1, 1000); in THREADED_TEST() 5578 len = str2->WriteUtf8(utf8buf, 8, &charlen); in THREADED_TEST() 5581 CHECK_EQ(0, strncmp(utf8buf, "abc\303\260\342\230\203\1", 9)); in THREADED_TEST() 5583 memset(utf8buf, 0x1, 1000); in THREADED_TEST() 5584 len = str2->WriteUtf8(utf8buf, 7, &charlen); in THREADED_TEST() 5587 CHECK_EQ(0, strncmp(utf8buf, "abc\303\260\1", 5)); in THREADED_TEST() [all …]
|