Home | History | Annotate | Download | only in cintltst

Lines Matching defs:checkResults

124     int32_t     checkResults;
156 checkResults = uspoof_check(rsc, goodLatin, -1, NULL, &status);
158 TEST_ASSERT_EQ(0, checkResults);
196 int32_t checkResults;
219 checkResults = uspoof_check(sc2, goodLatin, -1, NULL, &status);
221 TEST_ASSERT_EQ(0, checkResults);
223 checkResults = uspoof_check(sc2, scMixed, -1, NULL, &status);
225 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT, checkResults);
283 int32_t checkResults = 0;
296 checkResults = uspoof_check(clone2, goodLatin, -1, NULL, &status);
298 TEST_ASSERT_EQ(0, checkResults);
300 checkResults = uspoof_check(clone2, scMixed, -1, NULL, &status);
302 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT, checkResults);
331 int32_t checkResults;
345 checkResults = uspoof_check(sc, scMixed, -1, NULL, &status);
347 TEST_ASSERT_EQ(0, checkResults);
356 int32_t checkResults;
376 checkResults = uspoof_check(sc, goodLatin, -1, NULL, &status);
378 TEST_ASSERT_EQ(0, checkResults);
380 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status);
382 TEST_ASSERT_EQ(USPOOF_CHAR_LIMIT, checkResults);
384 checkResults = uspoof_check(sc, goodCyrl, -1, NULL, &status);
386 TEST_ASSERT_EQ(0, checkResults);
392 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status);
394 TEST_ASSERT_EQ(0, checkResults);
403 int32_t checkResults;
425 checkResults = uspoof_check(sc, goodLatin, -1, NULL, &status);
427 TEST_ASSERT_EQ(USPOOF_CHAR_LIMIT | USPOOF_RESTRICTION_LEVEL, checkResults);
429 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status);
431 TEST_ASSERT_EQ(0, checkResults);
439 int32_t checkResults, checkResults2;
445 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
447 TEST_ASSERT_EQ(0, checkResults);
452 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
454 TEST_ASSERT_EQ(0, checkResults);
459 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status);
462 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT , checkResults);
464 TEST_ASSERT_EQ(checkResults , checkResults2);
519 int32_t checkResults;
521 checkResults = uspoof_areConfusable(sc, scLatin, -1, scMixed, -1, &status);
523 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
525 checkResults = uspoof_areConfusable(sc, goodGreek, -1, scLatin, -1, &status);
527 TEST_ASSERT_EQ(0, checkResults);
529 checkResults = uspoof_areConfusable(sc, lll_Latin_a, -1, lll_Latin_b, -1, &status);
531 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, checkResults);
539 int32_t checkResults;
547 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
549 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults);
554 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
556 TEST_ASSERT_EQ(0, checkResults);
561 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status);
563 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, checkResults);