Home | History | Annotate | Download | only in mirror

Lines Matching refs:AssertString

48   void AssertString(int32_t expected_utf16_length,
373 AssertString(0, "", "", 0);
376 AssertString(1, " ", "\x00\x20", 0x20);
377 AssertString(1, "", "\x00\x00", 0);
378 AssertString(1, "\x7f", "\x00\x7f", 0x7f);
379 AssertString(2, "hi", "\x00\x68\x00\x69", (31 * 0x68) + 0x69);
382 AssertString(1, "\xc2\x80", "\x00\x80", 0x80);
383 AssertString(1, "\xd9\xa6", "\x06\x66", 0x0666);
384 AssertString(1, "\xdf\xbf", "\x07\xff", 0x07ff);
385 AssertString(3, "h\xd9\xa6i", "\x00\x68\x06\x66\x00\x69", (31 * ((31 * 0x68) + 0x0666)) + 0x69);
388 AssertString(1, "\xe0\xa0\x80", "\x08\x00", 0x0800);
389 AssertString(1, "\xe1\x88\xb4", "\x12\x34", 0x1234);
390 AssertString(1, "\xef\xbf\xbf", "\xff\xff", 0xffff);
391 AssertString(3, "h\xe1\x88\xb4i", "\x00\x68\x12\x34\x00\x69", (31 * ((31 * 0x68) + 0x1234)) + 0x69);