Searched refs:reported_len (Results 1 – 1 of 1) sorted by relevance
/third_party/glib/glib/tests/ |
D | fileutils.c | 1617 #define TESTCASE(data, len_mod, use_buf, buf_size, terminate, reported_len, returned_string) \ in test_win32_zero_terminate_symlink() argument 1618 …{ (const guchar *) data, wcslen (data) * 2 + len_mod, use_buf, buf_size, terminate, reported_len, … in test_win32_zero_terminate_symlink() 1627 int reported_len; in test_win32_zero_terminate_symlink() member 1799 if (testcases[i].reported_len != result) in test_win32_zero_terminate_symlink() 1800 …g_error ("Test %" G_GSIZE_FORMAT " failed, result %d != %d", i, result, testcases[i].reported_len); in test_win32_zero_terminate_symlink() 1803 g_assert_cmpint (testcases[i].reported_len, ==, result); in test_win32_zero_terminate_symlink() 1805 (!testcases[i].use_buf && testcases[i].reported_len != 0)) in test_win32_zero_terminate_symlink() 1809 expected_hex = to_hex (testcases[i].returned_string, testcases[i].reported_len); in test_win32_zero_terminate_symlink() 1812 …g_assert_memcmp (buf, ==, testcases[i].returned_string, testcases[i].reported_len, buf_hex, expect… in test_win32_zero_terminate_symlink()
|