/external/harfbuzz_ng/test/api/ |
test-version.c | 45 g_assert (0 == strcmp (HB_VERSION_STRING, s)); 47 g_assert (0 == strcmp (HB_VERSION_STRING, hb_version_string ())); 49 g_assert (HB_VERSION_ATLEAST (major, minor, micro)); 51 g_assert (HB_VERSION_ATLEAST (major-1, minor, micro)); 53 g_assert (HB_VERSION_ATLEAST (major, minor-1, micro)); 55 g_assert (HB_VERSION_ATLEAST (major, minor, micro-1)); 56 g_assert (!HB_VERSION_ATLEAST (major+1, minor, micro)); 57 g_assert (!HB_VERSION_ATLEAST (major, minor+1, micro)); 58 g_assert (!HB_VERSION_ATLEAST (major, minor, micro+1)); 59 g_assert (!HB_VERSION_ATLEAST (major, minor, micro+1)) [all...] |
test-common.c | 57 g_assert (HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_LTR)); 58 g_assert (HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_RTL)); 59 g_assert (!HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_TTB)); 60 g_assert (!HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_BTT)); 61 g_assert (!HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_INVALID)); 63 g_assert (!HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_LTR)); 64 g_assert (!HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_RTL)); 65 g_assert (HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_TTB)); 66 g_assert (HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_BTT)); 67 g_assert (!HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_INVALID)) [all...] |
test-set.c | 39 g_assert (!hb_set_has (s, 13)); 40 g_assert (!hb_set_next (s, &next)); 42 g_assert (hb_set_is_empty (s)); 52 g_assert (hb_set_next (s, &next)); 74 g_assert (hb_set_has (s, 13)); 81 g_assert (!hb_set_has (s, 13)); 86 g_assert (hb_set_has (s, 13)); 93 g_assert (!hb_set_has (s, 13)); 108 g_assert (!hb_set_is_equal (s, o)); 110 g_assert (hb_set_is_equal (s, o)) [all...] |
test-object.c | 198 g_assert (!data->freed); 207 g_assert (!data->freed); 222 g_assert (NULL == t->klass->get_user_data (t->object, &t->key)); 245 g_assert (obj); 247 g_assert (obj == o->reference (obj)); 251 g_assert (!o->is_immutable (obj)); 253 g_assert (o->set_user_data (obj, &key[0], &data[0], free_up0, TRUE)); 254 g_assert (o->get_user_data (obj, &key[0]) == &data[0]); 258 g_assert (o->is_immutable (obj)); 262 g_assert (o->set_user_data (obj, &key[1], &data[1], free_up1, TRUE)) [all...] |
test-font.c | 38 g_assert (hb_face_get_empty ()); 39 g_assert (hb_face_get_empty () == hb_face_create (hb_blob_get_empty (), 0)); 40 g_assert (hb_face_get_empty () == hb_face_create (NULL, 0)); 42 g_assert (hb_face_reference_table (hb_face_get_empty (), HB_TAG ('h','e','a','d')) == hb_blob_get_empty ()); 57 g_assert (hb_face_reference_table (face, HB_TAG ('h','e','a','d')) == hb_blob_get_empty ()); 70 g_assert (!*freed); 94 g_assert (!freed); 96 g_assert (hb_face_reference_table (face, HB_TAG ('h','e','a','d')) == hb_blob_get_empty ()); 99 g_assert (blob != hb_blob_get_empty ()); 103 g_assert (0 == memcmp (data, test_data, sizeof (test_data))) [all...] |
test-blob.c | 53 g_assert (hb_blob_is_immutable (hb_blob_get_empty ())); 54 g_assert (hb_blob_get_empty () != NULL); 55 g_assert (hb_blob_get_empty () == hb_blob_create (NULL, 0, HB_MEMORY_MODE_READONLY, NULL, NULL)); 58 g_assert (blob == hb_blob_get_empty ()); 64 g_assert (data == NULL); 67 g_assert (data == NULL); 71 g_assert (data_writable == NULL); 74 g_assert (data_writable == NULL); 126 g_assert (pagesize != (uintptr_t) -1); 175 g_assert (data != (char *) -1) [all...] |
test-unicode.c | 58 g_assert (data->value == MAGIC0 || data->value == MAGIC1); 59 g_assert (!data->freed); 70 g_assert (hb_unicode_funcs_get_parent (ufuncs) != NULL); 72 g_assert (!data->freed); 87 g_assert (hb_unicode_funcs_get_parent (ufuncs) != NULL); 89 g_assert (!data->freed); 486 g_assert (hb_unicode_funcs_is_immutable (uf)); 487 g_assert (hb_unicode_funcs_get_parent (uf)); 549 g_assert (!hb_unicode_funcs_is_immutable (uf)); 560 g_assert (uf) [all...] |
test-buffer.c | 109 g_assert (hb_buffer_get_unicode_funcs (b) == hb_unicode_funcs_get_default ()); 110 g_assert (hb_buffer_get_direction (b) == HB_DIRECTION_INVALID); 111 g_assert (hb_buffer_get_script (b) == HB_SCRIPT_INVALID); 112 g_assert (hb_buffer_get_language (b) == NULL); 113 g_assert (hb_buffer_get_flags (b) == HB_BUFFER_FLAG_DEFAULT); 120 g_assert (hb_buffer_get_unicode_funcs (b) == ufuncs); 123 g_assert (hb_buffer_get_direction (b) == HB_DIRECTION_RTL); 126 g_assert (hb_buffer_get_script (b) == HB_SCRIPT_ARABIC); 129 g_assert (hb_buffer_get_language (b) == hb_language_from_string ("Fa", -1)); 132 g_assert (hb_buffer_get_flags (b) == HB_BUFFER_FLAG_BOT) [all...] |
test-ot-tag.c | 151 g_assert (lang == hb_ot_tag_to_language (tag)); 173 g_assert (lang == hb_ot_tag_to_language (tag));
|
test-shape.c | 151 g_assert (!strcmp (shapers[i - 1], "fallback"));
|
hb-test.h | 136 g_assert (0 == strncmp (path, "test_", 5));
|
/external/qemu/qom/ |
object.c | 96 g_assert(info->name != NULL); 154 g_assert(type->parent_type != NULL); 249 g_assert(parent->class_size <= ti->class_size); 318 g_assert(type != NULL); 321 g_assert(type->instance_size >= sizeof(Object)); 322 g_assert(type->abstract == false); 323 g_assert(size >= type->instance_size); 414 g_assert(obj->ref == 0); 424 g_assert(type != NULL); 706 g_assert(obj->ref > 0) [all...] |
/external/qemu/distrib/mini-glib/include/ |
glib.h | 65 #define g_assert(condition) do { \ macro
|
/external/harfbuzz_ng/util/ |
helper-cairo.cc | 480 g_assert (hb_glyph[i].cluster > hb_glyph[i+1].cluster); 495 g_assert (hb_glyph[i].cluster > hb_glyph[i-1].cluster);
|
/external/qemu/util/ |
cutils.c | 484 g_assert(n <= 0x3fff);
|