Home | History | Annotate | Download | only in cintltst

Lines Matching refs:checkResults

181         int32_t         checkResults;
204 checkResults = uspoof_check(sc2, goodLatin, -1, NULL, &status);
206 TEST_ASSERT_EQ(0, checkResults);
208 checkResults = uspoof_check(sc2, scMixed, -1, NULL, &status);
210 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT | USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
268 int32_t checkResults = 0;
281 checkResults = uspoof_check(clone2, goodLatin, -1, NULL, &status);
283 TEST_ASSERT_EQ(0, checkResults);
285 checkResults = uspoof_check(clone2, scMixed, -1, NULL, &status);
287 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT | USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
297 int32_t checkResults;
311 checkResults = uspoof_check(sc, scMixed, -1, NULL, &status);
313 TEST_ASSERT_EQ(0, checkResults);
322 int32_t checkResults;
342 checkResults = uspoof_check(sc, goodLatin, -1, NULL, &status);
344 TEST_ASSERT_EQ(0, checkResults);
346 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status);
348 TEST_ASSERT_EQ(USPOOF_CHAR_LIMIT, checkResults);
350 checkResults = uspoof_check(sc, goodCyrl, -1, NULL, &status);
352 TEST_ASSERT_EQ(0, checkResults);
358 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status);
360 TEST_ASSERT_EQ(0, checkResults);
369 int32_t checkResults;
388 checkResults = uspoof_check(sc, goodLatin, -1, NULL, &status);
390 TEST_ASSERT_EQ(USPOOF_CHAR_LIMIT, checkResults);
392 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status);
394 TEST_ASSERT_EQ(USPOOF_WHOLE_SCRIPT_CONFUSABLE, checkResults);
402 int32_t checkResults;
408 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
410 TEST_ASSERT_EQ(0, checkResults);
415 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
417 TEST_ASSERT_EQ(0, checkResults);
422 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
424 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_SINGLE_SCRIPT , checkResults);
433 int32_t checkResults;
435 checkResults = uspoof_areConfusable(sc, scLatin, -1, scMixed, -1, &status);
437 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
439 checkResults = uspoof_areConfusable(sc, goodGreek, -1, scLatin, -1, &status);
441 TEST_ASSERT_EQ(0, checkResults);
443 checkResults = uspoof_areConfusable(sc, lll_Latin_a, -1, lll_Latin_b, -1, &status);
445 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, checkResults);
453 int32_t checkResults;
461 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
463 checkResults);
468 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
470 TEST_ASSERT_EQ(0, checkResults);
475 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
477 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, checkResults);