/third_party/harfbuzz/test/api/ |
D | test-draw.c | 73 g_assert_cmpmem (s, 5, "54321", 5); in test_itoa() 79 g_assert_cmpmem (buf, len, "12345", 5); in test_itoa() 86 g_assert_cmpmem (buf, len, "3152", 4); in test_itoa() 93 g_assert_cmpmem (buf, len, "-6457", 5); in test_itoa() 198 g_assert_cmpmem (str, user_data.consumed, expected, sizeof (expected) - 1); in test_hb_draw_glyf() 212 g_assert_cmpmem (str, user_data.consumed, expected2, sizeof (expected2) - 1); in test_hb_draw_glyf() 228 g_assert_cmpmem (str, user_data.consumed, expected3, sizeof (expected3) - 1); in test_hb_draw_glyf() 250 g_assert_cmpmem (str, user_data.consumed, expected, sizeof (expected) - 1); in test_hb_draw_cff1() 275 g_assert_cmpmem (str, user_data.consumed, expected, sizeof (expected) - 1); in test_hb_draw_cff1_rline() 300 g_assert_cmpmem (str, user_data.consumed, expected, sizeof (expected) - 1); in test_hb_draw_cff2() [all …]
|
D | test-ot-meta.c | 62 g_assert_cmpmem (hb_blob_get_data (dlng, NULL), 8, "ar,de,fa", 8); in test_ot_meta_reference_entry() 72 g_assert_cmpmem (hb_blob_get_data (slng, NULL), 11, "ar,de,en,fa", 11); in test_ot_meta_reference_entry()
|
D | hb-test.h | 166 #ifndef g_assert_cmpmem 167 #define g_assert_cmpmem(m1, l1, m2, l2) g_assert_true (l1 == l2 && memcmp (m1, m2, l1) == 0) macro
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-draw.c | 73 g_assert_cmpmem (s, 5, "54321", 5); in test_itoa() 79 g_assert_cmpmem (buf, len, "12345", 5); in test_itoa() 86 g_assert_cmpmem (buf, len, "3152", 4); in test_itoa() 93 g_assert_cmpmem (buf, len, "-6457", 5); in test_itoa() 198 g_assert_cmpmem (str, user_data.consumed, expected, sizeof (expected) - 1); in test_hb_draw_glyf() 212 g_assert_cmpmem (str, user_data.consumed, expected2, sizeof (expected2) - 1); in test_hb_draw_glyf() 228 g_assert_cmpmem (str, user_data.consumed, expected3, sizeof (expected3) - 1); in test_hb_draw_glyf() 250 g_assert_cmpmem (str, user_data.consumed, expected, sizeof (expected) - 1); in test_hb_draw_cff1() 275 g_assert_cmpmem (str, user_data.consumed, expected, sizeof (expected) - 1); in test_hb_draw_cff1_rline() 300 g_assert_cmpmem (str, user_data.consumed, expected, sizeof (expected) - 1); in test_hb_draw_cff2() [all …]
|
D | test-ot-meta.c | 62 g_assert_cmpmem (hb_blob_get_data (dlng, NULL), 8, "ar,de,fa", 8); in test_ot_meta_reference_entry() 72 g_assert_cmpmem (hb_blob_get_data (slng, NULL), 11, "ar,de,en,fa", 11); in test_ot_meta_reference_entry()
|
D | hb-test.h | 166 #ifndef g_assert_cmpmem 167 #define g_assert_cmpmem(m1, l1, m2, l2) g_assert_true (l1 == l2 && memcmp (m1, m2, l1) == 0) macro
|
/third_party/glib/glib/tests/ |
D | bytes.c | 45 g_assert_cmpmem (data, 4, g_bytes_get_data (bytes, NULL), g_bytes_get_size (bytes)); in test_new() 98 g_assert_cmpmem (g_bytes_get_data (sub, NULL), g_bytes_get_size (sub), "wave", 4); in test_new_from_bytes() 276 g_assert_cmpmem (data, size, NYAN, N_NYAN); in test_to_data_transferred() 294 g_assert_cmpmem (data, size, NYAN, N_NYAN); in test_to_data_two_refs() 314 g_assert_cmpmem (data, size, NYAN, N_NYAN); in test_to_data_non_malloc() 331 g_assert_cmpmem (array->data, array->len, NYAN, N_NYAN); in test_to_array_transferred() 382 g_assert_cmpmem (array->data, array->len, NYAN, N_NYAN); in test_to_array_two_refs() 402 g_assert_cmpmem (array->data, array->len, NYAN, N_NYAN); in test_to_array_non_malloc()
|
D | base64.c | 60 g_assert_cmpmem (data, length, data2, decoded_len); in test_incremental() 94 g_assert_cmpmem (data, length, data2, len); in test_full() 300 g_assert_cmpmem (p->data, p->length, data2, len); in decode_and_compare() 314 g_assert_cmpmem (p->data, p->length, data2, len); in decode_inplace_and_compare() 402 g_assert_cmpmem (decoded, decoded_size, decoded_atonce, decoded_atonce_size); in test_base64_decode_smallblock()
|
D | string.c | 428 g_assert_cmpmem (string1->str, string1->len + 1, "fiddle\0xyzzy", 13); in test_string_nul_handling() 430 g_assert_cmpmem (string1->str, string1->len + 1, "fQEDiddle\0xyzzy", 16); in test_string_nul_handling() 432 g_assert_cmpmem (string1->str, string1->len + 1, "fiddle\0xyzzy", 13); in test_string_nul_handling() 493 g_assert_cmpmem (byte_data, byte_len, "foo-bar", 7); in test_string_to_bytes()
|
D | io-channel.c | 65 g_assert_cmpmem (line, line_length, test_data, 8); in test_read_line_embedded_nuls()
|
D | testing.c | 120 g_assert_cmpmem ("foo", 3, "foot", 4); in test_assertions_bad_cmpmem_len() 127 g_assert_cmpmem ("foo", 3, "fzz", 3); in test_assertions_bad_cmpmem_data() 134 g_assert_cmpmem (NULL, 3, NULL, 3); in test_assertions_bad_cmpmem_null() 193 g_assert_cmpmem ("foo", 3, "foot", 3); in test_assertions() 194 g_assert_cmpmem (NULL, 0, NULL, 0); in test_assertions() 195 g_assert_cmpmem (NULL, 0, "foot", 0); in test_assertions() 196 g_assert_cmpmem ("foo", 0, NULL, 0); in test_assertions()
|
D | checksum.c | 1057 g_assert_cmpmem (digest, len, digest2, len); in test_checksum_reset()
|
D | hmac.c | 409 g_assert_cmpmem (digest, hmac_len, t->result, digest_len); in test_hmac()
|
/third_party/glib/gio/tests/ |
D | converter-stream.c | 344 g_assert_cmpmem (converted1, n_written, converted2, total_read); in test_expander() 373 g_assert_cmpmem (g_memory_output_stream_get_data (G_MEMORY_OUTPUT_STREAM (mem_out)), in test_expander() 435 g_assert_cmpmem (unexpanded_data, n_read - 1, converted, total_read); in test_compressor() 463 g_assert_cmpmem (g_memory_output_stream_get_data (G_MEMORY_OUTPUT_STREAM (mem_out)), in test_compressor() 719 g_assert_cmpmem (orig, LEFTOVER_BUFSIZE, converted, total_read); in test_converter_leftover() 796 g_assert_cmpmem (data0, DATA_LENGTH * sizeof (guint32), in test_roundtrip() 1058 g_assert_cmpmem (unexpanded_data, n_read - 1, converted, total_read); in test_converter_pollable() 1095 g_assert_cmpmem (g_memory_output_stream_get_data (G_MEMORY_OUTPUT_STREAM (mem_out)), in test_converter_pollable()
|
D | readwrite.c | 52 g_assert_cmpmem (buffer, n_bytes, original_data, 20); in verify_iostream() 64 g_assert_cmpmem (buffer, n_bytes, original_data + strlen (original_data) - 10, 10); in verify_iostream() 121 g_assert_cmpmem (buffer, n_bytes, modified_data, 15); in verify_iostream()
|
D | unix-streams.c | 455 g_assert_cmpmem (data_write, sizeof data_write, data_read, sizeof data_read); in test_read_write() 524 g_assert_cmpmem (data_read, read, data_write, sizeof (data_write)); in test_write_wouldblock() 616 g_assert_cmpmem (data_read, read, data_write, sizeof (data_write)); in test_writev_wouldblock() 720 g_assert_cmpmem (data_read, bytes_read, data, bytes_written); in test_write_async_wouldblock() 817 g_assert_cmpmem (data_read, bytes_read, data, bytes_written); in test_writev_async_wouldblock()
|
D | win32-appinfo.c | 106 g_assert_cmpmem (string_cases[i].utf16, len, str, len); in test_utf16_strfuncs() 110 g_assert_cmpmem (string_cases[i].utf16, len, str, len); in test_utf16_strfuncs()
|
D | tls-interaction.c | 233 g_assert_cmpmem (value, len, "foo", 4); in test_interaction_ask_password_sync_success() 238 g_assert_cmpmem (value, len, "bar", 3); in test_interaction_ask_password_sync_success() 243 g_assert_cmpmem (value, len, "baa", 4); in test_interaction_ask_password_sync_success() 248 g_assert_cmpmem (value, len, "baz", 3); in test_interaction_ask_password_sync_success()
|
D | memory-output-stream.c | 341 g_assert_cmpmem (output_buffer, sizeof buffer, buffer, sizeof buffer); in test_writev() 386 g_assert_cmpmem (output_buffer, sizeof buffer, buffer, sizeof buffer); in test_writev_nonblocking()
|
D | async-close-output-stream.c | 106 g_assert_cmpmem (written, size, data->expected_output, data->expected_size); in compare_output()
|
D | socket-service.c | 426 g_assert_cmpmem (expected_data, sizeof expected_data, data->data, bytes_read); in read_read_write_async_cb()
|
D | gsubprocess.c | 462 g_assert_cmpmem (g_bytes_get_data (output_buf, NULL), in test_cat_utf8() 739 g_assert_cmpmem (stdout_data, stdout_len, "# hello world" LINEEND, 13 + strlen (LINEEND)); in on_communicate_complete() 841 g_assert_cmpmem (stdout_data, stdout_len, "# hello world" LINEEND, 13 + strlen (LINEEND)); in test_communicate()
|
D | file.c | 2299 g_assert_cmpmem (contents, length, expected_contents, expected_length); in test_writev_helper() 2417 g_assert_cmpmem (contents, length, NULL, 0); in test_writev_too_big_vectors() 2520 g_assert_cmpmem (contents, length, buffer, sizeof buffer); in test_writev_async() 2590 g_assert_cmpmem (contents, length, buffer, sizeof buffer); in test_writev_async_all()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/ |
D | hb-test.h | 166 #ifndef g_assert_cmpmem 167 #define g_assert_cmpmem(m1, l1, m2, l2) g_assert_true (l1 == l2 && memcmp (m1, m2, l1) == 0) macro
|
/third_party/glib/glib/ |
D | gtestutils.h | 80 #define g_assert_cmpmem(m1, l1, m2, l2) G_STMT_START {\ macro
|