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;
415 checkResults = uspoof_check(sc, goodLatin, -1, NULL, &status);
417 TEST_ASSERT_EQ(USPOOF_CHAR_LIMIT | USPOOF_RESTRICTION_LEVEL, checkResults);
419 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status);
421 TEST_ASSERT_EQ(USPOOF_WHOLE_SCRIPT_CONFUSABLE, checkResults);
429 int32_t checkResults;
435 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
437 TEST_ASSERT_EQ(0, checkResults);
442 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
444 TEST_ASSERT_EQ(0, checkResults);
449 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
451 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_SINGLE_SCRIPT , checkResults);
460 int32_t checkResults;
462 checkResults
464 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
466 checkResults = uspoof_areConfusable(sc, goodGreek, -1, scLatin, -1, &status);
468 TEST_ASSERT_EQ(0, checkResults);
470 checkResults = uspoof_areConfusable(sc, lll_Latin_a, -1, lll_Latin_b, -1, &status);
472 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, checkResults);
480 int32_t checkResults;
488 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
490 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
495 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
497 TEST_ASSERT_EQ(0, checkResults);
502 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
504 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, checkResults);