Home
last modified time | relevance | path

Searched refs:g_assert_cmpmem (Results 1 – 25 of 209) sorted by relevance

123456789

/dports/print/harfbuzz-hb-view/harfbuzz-3.4.0/test/api/
H A Dtest-draw.c73 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 …]
H A Dtest-ot-meta.c62 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()
/dports/print/harfbuzz/harfbuzz-3.4.0/test/api/
H A Dtest-draw.c73 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 …]
H A Dtest-ot-meta.c62 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()
/dports/print/harfbuzz-icu/harfbuzz-3.4.0/test/api/
H A Dtest-draw.c73 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 …]
H A Dtest-ot-meta.c62 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()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/harfbuzz-ng/src/test/api/
H A Dtest-draw.c73 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 …]
H A Dtest-ot-meta.c62 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()
/dports/devel/glib20/glib-2.70.4/glib/tests/
H A Dbytes.c45 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()
332 g_assert_cmpmem (data, size, NYAN, N_NYAN); in test_to_data_different_free_func()
355 g_assert_cmpmem (array->data, array->len, NYAN, N_NYAN); in test_to_array_transferred()
406 g_assert_cmpmem (array->data, array->len, NYAN, N_NYAN); in test_to_array_two_refs()
426 g_assert_cmpmem (array->data, array->len, NYAN, N_NYAN); in test_to_array_non_malloc()
H A Dbase64.c60 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()
/dports/security/gcr/gcr-3.40.0/gck/
H A Dtest-gck-attributes.c48 g_assert_cmpmem (attr.value, attr.length, ATTR_DATA, N_ATTR_DATA); in test_init_memory()
82 g_assert_cmpmem (attr.value, attr.length, &ck_date, sizeof (CK_DATE)); in test_init_date()
148 g_assert_cmpmem (attr->value, attr->length, ATTR_DATA, N_ATTR_DATA); in test_new_memory()
364 g_assert_cmpmem (attr->value, attr->length, "Hello", 5); in test_build_data()
368 g_assert_cmpmem (attr->value, attr->length, ATTR_DATA, N_ATTR_DATA); in test_build_data()
373 g_assert_cmpmem (attr->value, attr->length, ATTR_DATA, N_ATTR_DATA); in test_build_data()
409 g_assert_cmpmem (attr->value, attr->length, "password", 8); in test_build_data_secure()
431 g_assert_cmpmem (attr->value, attr->length, ATTR_DATA, N_ATTR_DATA); in test_build_take()
475 g_assert_cmpmem (attr->value, attr->length, "password", 8); in test_build_take_secure()
740 g_assert_cmpmem (attr->value, attr->length, in test_build_string()
[all …]
/dports/devel/libspice-server/spice-0.15.0/subprojects/spice-common/tests/
H A Dtest-marshallers.c120 g_assert_cmpmem(msg->txt1, 5, "data", 5); in test_zerolen1()
125 g_assert_cmpmem(msg->txt2, 5, "foo!", 5); in test_zerolen1()
127 g_assert_cmpmem(msg->txt3, 5, "neko", 5); in test_zerolen1()
129 g_assert_cmpmem(msg->txt4, 4, "bar", 4); in test_zerolen1()
/dports/emulators/qemu5/qemu-5.2.0/tests/qtest/
H A Dtpm-util.c108 g_assert_cmpmem(buffer, sizeof(tpm_startup_resp), in tpm_util_startup()
128 g_assert_cmpmem(buffer, sizeof(tpm_pcrextend_resp), in tpm_util_pcrextend()
144 g_assert_cmpmem(buffer, 13, exp_resp, 13); in tpm_util_pcrread()
145 g_assert_cmpmem(&buffer[14], exp_resp_size - 14, in tpm_util_pcrread()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/tests/qtest/
H A Dtpm-util.c108 g_assert_cmpmem(buffer, sizeof(tpm_startup_resp), in tpm_util_startup()
128 g_assert_cmpmem(buffer, sizeof(tpm_pcrextend_resp), in tpm_util_pcrextend()
144 g_assert_cmpmem(buffer, 13, exp_resp, 13); in tpm_util_pcrread()
145 g_assert_cmpmem(&buffer[14], exp_resp_size - 14, in tpm_util_pcrread()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tests/qtest/
H A Dtpm-util.c108 g_assert_cmpmem(buffer, sizeof(tpm_startup_resp), in tpm_util_startup()
128 g_assert_cmpmem(buffer, sizeof(tpm_pcrextend_resp), in tpm_util_pcrextend()
144 g_assert_cmpmem(buffer, 13, exp_resp, 13); in tpm_util_pcrread()
145 g_assert_cmpmem(&buffer[14], exp_resp_size - 14, in tpm_util_pcrread()
H A Daspeed_hace-test.c137 g_assert_cmpmem(digest, sizeof(digest), in test_md5()
170 g_assert_cmpmem(digest, sizeof(digest), in test_sha256()
203 g_assert_cmpmem(digest, sizeof(digest), in test_sha512()
254 g_assert_cmpmem(digest, sizeof(digest), in test_sha256_sg()
305 g_assert_cmpmem(digest, sizeof(digest), in test_sha512_sg()
/dports/emulators/qemu/qemu-6.2.0/tests/qtest/
H A Dtpm-util.c108 g_assert_cmpmem(buffer, sizeof(tpm_startup_resp), in tpm_util_startup()
128 g_assert_cmpmem(buffer, sizeof(tpm_pcrextend_resp), in tpm_util_pcrextend()
144 g_assert_cmpmem(buffer, 13, exp_resp, 13); in tpm_util_pcrread()
145 g_assert_cmpmem(&buffer[14], exp_resp_size - 14, in tpm_util_pcrread()
H A Daspeed_hace-test.c137 g_assert_cmpmem(digest, sizeof(digest), in test_md5()
170 g_assert_cmpmem(digest, sizeof(digest), in test_sha256()
203 g_assert_cmpmem(digest, sizeof(digest), in test_sha512()
254 g_assert_cmpmem(digest, sizeof(digest), in test_sha256_sg()
305 g_assert_cmpmem(digest, sizeof(digest), in test_sha512_sg()
/dports/emulators/qemu60/qemu-6.0.0/tests/qtest/
H A Dtpm-util.c108 g_assert_cmpmem(buffer, sizeof(tpm_startup_resp), in tpm_util_startup()
128 g_assert_cmpmem(buffer, sizeof(tpm_pcrextend_resp), in tpm_util_pcrextend()
144 g_assert_cmpmem(buffer, 13, exp_resp, 13); in tpm_util_pcrread()
145 g_assert_cmpmem(&buffer[14], exp_resp_size - 14, in tpm_util_pcrread()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/include/
H A Dglib-compat.h97 #ifndef g_assert_cmpmem
98 #define g_assert_cmpmem(m1, l1, m2, l2) \ macro
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/harfbuzz/test/api/
H A Dtest-ot-meta.c62 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()
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/harfbuzz-sys-0.3.4/harfbuzz/test/api/
H A Dtest-ot-meta.c62 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()
/dports/security/gnome-keyring/gnome-keyring-40.0/daemon/ssh-agent/
H A Dtest-gkd-ssh-agent-interaction.c113 g_assert_cmpmem ("password", 8, value, length); in test_ask_password_no_login()
145 g_assert_cmpmem ("password", 8, value, length); in test_ask_password_login()
180 g_assert_cmpmem ("", 0, value, length); in test_ask_password_cancel()
/dports/emulators/qemu42/qemu-4.2.1/tests/
H A Dtpm-util.c111 g_assert_cmpmem(buffer, sizeof(tpm_startup_resp), in tpm_util_startup()
131 g_assert_cmpmem(buffer, sizeof(tpm_pcrextend_resp), in tpm_util_pcrextend()
145 g_assert_cmpmem(buffer, exp_resp_size, exp_resp, exp_resp_size); in tpm_util_pcrread()
/dports/emulators/qemu-utils/qemu-4.2.1/tests/
H A Dtpm-util.c111 g_assert_cmpmem(buffer, sizeof(tpm_startup_resp), in tpm_util_startup()
131 g_assert_cmpmem(buffer, sizeof(tpm_pcrextend_resp), in tpm_util_pcrextend()
145 g_assert_cmpmem(buffer, exp_resp_size, exp_resp, exp_resp_size); in tpm_util_pcrread()

123456789