Lines Matching refs:AssertString
53 void AssertString(int32_t expected_utf16_length, in AssertString() function in art::mirror::ObjectTest
398 AssertString(0, "", "", 0); in TEST_F()
401 AssertString(1, " ", "\x00\x20", 0x20); in TEST_F()
402 AssertString(1, "", "\x00\x00", 0); in TEST_F()
403 AssertString(1, "\x7f", "\x00\x7f", 0x7f); in TEST_F()
404 AssertString(2, "hi", "\x00\x68\x00\x69", (31 * 0x68) + 0x69); in TEST_F()
407 AssertString(1, "\xc2\x80", "\x00\x80", 0x80); in TEST_F()
408 AssertString(1, "\xd9\xa6", "\x06\x66", 0x0666); in TEST_F()
409 AssertString(1, "\xdf\xbf", "\x07\xff", 0x07ff); in TEST_F()
410 AssertString(3, "h\xd9\xa6i", "\x00\x68\x06\x66\x00\x69", in TEST_F()
414 AssertString(1, "\xe0\xa0\x80", "\x08\x00", 0x0800); in TEST_F()
415 AssertString(1, "\xe1\x88\xb4", "\x12\x34", 0x1234); in TEST_F()
416 AssertString(1, "\xef\xbf\xbf", "\xff\xff", 0xffff); in TEST_F()
417 AssertString(3, "h\xe1\x88\xb4i", "\x00\x68\x12\x34\x00\x69", in TEST_F()
421 AssertString(2, "\xf0\x9f\x8f\xa0", "\xd8\x3c\xdf\xe0", (31 * 0xd83c) + 0xdfe0); in TEST_F()
422 AssertString(2, "\xf0\x9f\x9a\x80", "\xd8\x3d\xde\x80", (31 * 0xd83d) + 0xde80); in TEST_F()
423 AssertString(4, "h\xf0\x9f\x9a\x80i", "\x00\x68\xd8\x3d\xde\x80\x00\x69", in TEST_F()