Home | History | Annotate | Download | only in api

Lines Matching refs:aa

661   hb_unicode_funcs_t *uf, *aa;
665 aa = hb_unicode_funcs_create (uf);
669 hb_unicode_funcs_set_script_func (aa, a_is_for_arabic_get_script,
672 g_assert_cmphex (hb_unicode_script (aa, 'a'), ==, HB_SCRIPT_ARABIC);
673 g_assert_cmphex (hb_unicode_script (aa, 'b'), ==, HB_SCRIPT_UNKNOWN);
676 hb_unicode_funcs_destroy (aa);
683 hb_unicode_funcs_t *uf, *aa;
686 aa = hb_unicode_funcs_create (uf);
688 hb_unicode_funcs_set_script_func (aa, a_is_for_arabic_get_script,
691 g_assert_cmphex (hb_unicode_script (aa, 'a'), ==, HB_SCRIPT_ARABIC);
692 g_assert_cmphex (hb_unicode_script (aa, 'b'), ==, HB_SCRIPT_LATIN);
695 hb_unicode_funcs_destroy (aa);
702 hb_unicode_funcs_t *uf, *aa;
709 aa = hb_unicode_funcs_create (uf);
713 /* make sure the 'uf' didn't get freed, since 'aa' holds a ref */
716 hb_unicode_funcs_set_script_func (aa, a_is_for_arabic_get_script,
719 g_assert_cmphex (hb_unicode_script (aa, 'a'), ==, HB_SCRIPT_ARABIC);
720 g_assert_cmphex (hb_unicode_script (aa, 'b'), ==, HB_SCRIPT_LATIN);
721 g_assert_cmphex (hb_unicode_script (aa, '0'), ==, HB_SCRIPT_UNKNOWN);
724 hb_unicode_funcs_destroy (aa);