Home | History | Annotate | Download | only in cintltst

Lines Matching refs:checkResults

186         int32_t         checkResults;
209 checkResults = uspoof_check(sc2, goodLatin, -1, NULL, &status);
211 TEST_ASSERT_EQ(0, checkResults);
213 checkResults = uspoof_check(sc2, scMixed, -1, NULL, &status);
215 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT | USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
273 int32_t checkResults = 0;
286 checkResults = uspoof_check(clone2, goodLatin, -1, NULL, &status);
288 TEST_ASSERT_EQ(0, checkResults);
290 checkResults = uspoof_check(clone2, scMixed, -1, NULL, &status);
292 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT | USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
321 int32_t checkResults;
335 checkResults = uspoof_check(sc, scMixed, -1, NULL, &status);
337 TEST_ASSERT_EQ(0, checkResults);
346 int32_t checkResults;
366 checkResults = uspoof_check(sc, goodLatin, -1, NULL, &status);
368 TEST_ASSERT_EQ(0, checkResults);
370 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status);
372 TEST_ASSERT_EQ(USPOOF_CHAR_LIMIT, checkResults);
374 checkResults = uspoof_check(sc, goodCyrl, -1, NULL, &status);
376 TEST_ASSERT_EQ(0, checkResults);
382 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status);
384 TEST_ASSERT_EQ(0, checkResults);
393 int32_t checkResults;
412 checkResults = uspoof_check(sc, goodLatin, -1, NULL, &status);
414 TEST_ASSERT_EQ(USPOOF_CHAR_LIMIT, checkResults);
416 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status);
418 TEST_ASSERT_EQ(USPOOF_WHOLE_SCRIPT_CONFUSABLE, checkResults);
426 int32_t checkResults;
432 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
434 TEST_ASSERT_EQ(0, checkResults);
439 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
441 TEST_ASSERT_EQ(0, checkResults);
446 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
448 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_SINGLE_SCRIPT , checkResults);
457 int32_t checkResults;
459 checkResults = uspoof_areConfusable(sc, scLatin, -1, scMixed, -1, &status);
461 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
463 checkResults = uspoof_areConfusable(sc, goodGreek, -1, scLatin, -1, &status);
465 TEST_ASSERT_EQ(0, checkResults);
467 checkResults = uspoof_areConfusable(sc, lll_Latin_a, -1, lll_Latin_b, -1, &status);
469 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, checkResults);
477 int32_t checkResults;
485 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
487 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
492 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
494 TEST_ASSERT_EQ(0, checkResults);
499 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
501 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, checkResults);