Searched refs:utf8buf (Results 1 - 2 of 2) sorted by relevance

/external/icu4c/test/cintltst/
H A Dspooftest.c401 char utf8buf[200]; local
405 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodLatin, -1, &status);
408 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
413 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, goodCyrl, -1, &status);
415 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
419 u_strToUTF8(utf8buf, sizeof(utf8buf), NULL, scMixed, -1, &status);
422 checkResults = uspoof_checkUTF8(sc, utf8buf,
[all...]
/external/v8/test/cctest/
H A Dtest-api.cc4761 char utf8buf[100]; local
4766 memset(utf8buf, 0x1, sizeof(utf8buf));
4767 len = str2->WriteUtf8(utf8buf, sizeof(utf8buf), &charlen);
4770 CHECK_EQ(0, strcmp(utf8buf, "abc\303\260\342\230\203"));
4772 memset(utf8buf, 0x1, sizeof(utf8buf));
4773 len = str2->WriteUtf8(utf8buf, 8, &charlen);
4776 CHECK_EQ(0, strncmp(utf8buf, "ab
[all...]

Completed in 75 milliseconds