Home | History | Annotate | Download | only in api

Lines Matching defs:unicode

31 /* Unit tests for hb-unicode.h */
108 hb_codepoint_t unicode;
151 /* Unicode-5.1 character additions */
154 /* Unicode-5.2 character additions */
157 /* Unicode-6.0 character additions */
264 /* Unicode-5.2 character additions */
267 /* Unicode-6.0 character additions */
308 /* No new mirroring characters have been encoded in recent Unicode versions. */
361 /* Unicode-4.0 additions */
371 /* Unicode-4.1 additions */
380 /* Unicode-5.0 additions */
388 /* Unicode-5.1 additions */
405 /* Unicode-5.2 additions */
422 /* Unicode-6.0 additions */
427 /* Unicode-5.2 character additions */
436 hb_codepoint_t unicode,
443 hb_codepoint_t unicode);
496 g_test_message ("Test %s #%d: U+%04X", p->name, j, tests[j].unicode);
497 g_assert_cmphex (p->getter (uf, tests[j].unicode), ==, tests[j].value);
499 /* These tests are from Unicode 5.2 onward and older glib/ICU
503 g_test_message ("Test %s more #%d: U+%04X", p->name, j, tests[j].unicode);
504 if (p->getter (uf, tests[j].unicode) != tests[j].value) {
505 g_test_message ("Soft fail: Received %x, expected %x", p->getter (uf, tests[j].unicode), tests[j].value);
516 default_value (hb_codepoint_t _default_value, hb_codepoint_t unicode)
518 return _default_value == RETURNS_UNICODE_ITSELF ? unicode : _default_value;
533 g_test_message ("Test %s #%d: U+%04X", p->name, j, tests[j].unicode);
534 g_assert_cmphex (p->getter (uf, tests[j].unicode), ==, default_value (p->default_value, tests[j].unicode));
538 g_test_message ("Test %s more #%d: U+%04X", p->name, j, tests[j].unicode);
539 g_assert_cmphex (p->getter (uf, tests[j].unicode), ==, default_value (p->default_value, tests[j].unicode));