Lines Matching refs:trail
29 * @tc.desc: Enter a pair of UTF16-encoded surrogate pair corresponding to the lead surrogates and trail surrogates,
66 * @tc.desc: Enter a pair of UTF16-encoded surrogate pair corresponding to the lead surrogates and trail surrogates,
73 uint16_t trail = 0xDF21;
75 EXPECT_TRUE(trail >= DECODE_TRAIL_LOW && trail <= DECODE_TRAIL_HIGH);
76 uint32_t codePoint = utf_helper::UTF16Decode(lead, trail);
79 trail = 0xDFCC;
81 EXPECT_TRUE(trail >= DECODE_TRAIL_LOW && trail <= DECODE_TRAIL_HIGH);
82 codePoint = utf_helper::UTF16Decode(lead, trail);
362 // The trail value is valid, located in [0xDc00, 0xDFFF].It needs to be represented by four UTF8 code.
380 // The trail value of Bad sequence is invalid, not located in [0xDC00, 0xDFFF].