Lines Matching refs:AssertString
53 void AssertString(int32_t expected_utf16_length, in AssertString() function in art::mirror::ObjectTest
441 AssertString(0, "", "", 0); in TEST_F()
444 AssertString(1, " ", "\x00\x20", 0x20); in TEST_F()
445 AssertString(1, "", "\x00\x00", 0); in TEST_F()
446 AssertString(1, "\x7f", "\x00\x7f", 0x7f); in TEST_F()
447 AssertString(2, "hi", "\x00\x68\x00\x69", (31 * 0x68) + 0x69); in TEST_F()
450 AssertString(1, "\xc2\x80", "\x00\x80", 0x80); in TEST_F()
451 AssertString(1, "\xd9\xa6", "\x06\x66", 0x0666); in TEST_F()
452 AssertString(1, "\xdf\xbf", "\x07\xff", 0x07ff); in TEST_F()
453 AssertString(3, "h\xd9\xa6i", "\x00\x68\x06\x66\x00\x69", in TEST_F()
457 AssertString(1, "\xe0\xa0\x80", "\x08\x00", 0x0800); in TEST_F()
458 AssertString(1, "\xe1\x88\xb4", "\x12\x34", 0x1234); in TEST_F()
459 AssertString(1, "\xef\xbf\xbf", "\xff\xff", 0xffff); in TEST_F()
460 AssertString(3, "h\xe1\x88\xb4i", "\x00\x68\x12\x34\x00\x69", in TEST_F()
464 AssertString(2, "\xf0\x9f\x8f\xa0", "\xd8\x3c\xdf\xe0", (31 * 0xd83c) + 0xdfe0); in TEST_F()
465 AssertString(2, "\xf0\x9f\x9a\x80", "\xd8\x3d\xde\x80", (31 * 0xd83d) + 0xde80); in TEST_F()
466 AssertString(4, "h\xf0\x9f\x9a\x80i", "\x00\x68\xd8\x3d\xde\x80\x00\x69", in TEST_F()