Lines Matching full:cp
52 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf8_to_utf32_in_ok()
116 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf8_to_utf32_in_partial()
130 {1, 0, 0, 0}, // no space for first CP in utf8_to_utf32_in_partial()
132 {3, 1, 1, 1}, // no space for second CP in utf8_to_utf32_in_partial()
133 {2, 2, 1, 1}, // incomplete second CP in utf8_to_utf32_in_partial()
134 {2, 1, 1, 1}, // incomplete second CP, and no space for it in utf8_to_utf32_in_partial()
136 {6, 2, 3, 2}, // no space for third CP in utf8_to_utf32_in_partial()
137 {4, 3, 3, 2}, // incomplete third CP in utf8_to_utf32_in_partial()
138 {5, 3, 3, 2}, // incomplete third CP in utf8_to_utf32_in_partial()
139 {4, 2, 3, 2}, // incomplete third CP, and no space for it in utf8_to_utf32_in_partial()
140 {5, 2, 3, 2}, // incomplete third CP, and no space for it in utf8_to_utf32_in_partial()
142 {10, 3, 6, 3}, // no space for fourth CP in utf8_to_utf32_in_partial()
143 {7, 4, 6, 3}, // incomplete fourth CP in utf8_to_utf32_in_partial()
144 {8, 4, 6, 3}, // incomplete fourth CP in utf8_to_utf32_in_partial()
145 {9, 4, 6, 3}, // incomplete fourth CP in utf8_to_utf32_in_partial()
146 {7, 3, 6, 3}, // incomplete fourth CP, and no space for it in utf8_to_utf32_in_partial()
147 {8, 3, 6, 3}, // incomplete fourth CP, and no space for it in utf8_to_utf32_in_partial()
148 {9, 3, 6, 3}, // incomplete fourth CP, and no space for it in utf8_to_utf32_in_partial()
180 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP, 4-byte CP in utf8_to_utf32_in_error()
196 // 3. Surrogate CP in utf8_to_utf32_in_error()
198 // 5. CP out of Unicode range in utf8_to_utf32_in_error()
265 // 3. Surrogate CP. We modify the second byte (first trailing) of the 3-byte in utf8_to_utf32_in_error()
266 // CP U+D700 in utf8_to_utf32_in_error()
274 // 3-byte and 4-byte CP the second byte (first trailing) has enough leading in utf8_to_utf32_in_error()
276 {3, 4, 1, 1, 0b11000000, 1}, // make the 2-byte CP overlong in utf8_to_utf32_in_error()
277 {3, 4, 1, 1, 0b11000001, 1}, // make the 2-byte CP overlong in utf8_to_utf32_in_error()
278 {6, 4, 3, 2, 0b11100000, 3}, // make the 3-byte CP overlong in utf8_to_utf32_in_error()
279 {10, 4, 6, 3, 0b11110000, 6}, // make the 4-byte CP overlong in utf8_to_utf32_in_error()
281 // 5. CP above range in utf8_to_utf32_in_error()
328 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf32_to_utf8_out_ok()
364 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf32_to_utf8_out_partial()
378 {1, 0, 0, 0}, // no space for first CP in utf32_to_utf8_out_partial()
380 {2, 1, 1, 1}, // no space for second CP in utf32_to_utf8_out_partial()
381 {2, 2, 1, 1}, // no space for second CP in utf32_to_utf8_out_partial()
383 {3, 3, 2, 3}, // no space for third CP in utf32_to_utf8_out_partial()
384 {3, 4, 2, 3}, // no space for third CP in utf32_to_utf8_out_partial()
385 {3, 5, 2, 3}, // no space for third CP in utf32_to_utf8_out_partial()
387 {4, 6, 3, 6}, // no space for fourth CP in utf32_to_utf8_out_partial()
388 {4, 7, 3, 6}, // no space for fourth CP in utf32_to_utf8_out_partial()
389 {4, 8, 3, 6}, // no space for fourth CP in utf32_to_utf8_out_partial()
390 {4, 9, 3, 6}, // no space for fourth CP in utf32_to_utf8_out_partial()
416 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf32_to_utf8_out_error()
431 // Surrogate CP in utf32_to_utf8_out_error()
437 // CP out of range in utf32_to_utf8_out_error()
485 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf8_to_utf16_in_ok()
550 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf8_to_utf16_in_partial()
564 {1, 0, 0, 0}, // no space for first CP in utf8_to_utf16_in_partial()
566 {3, 1, 1, 1}, // no space for second CP in utf8_to_utf16_in_partial()
567 {2, 2, 1, 1}, // incomplete second CP in utf8_to_utf16_in_partial()
568 {2, 1, 1, 1}, // incomplete second CP, and no space for it in utf8_to_utf16_in_partial()
570 {6, 2, 3, 2}, // no space for third CP in utf8_to_utf16_in_partial()
571 {4, 3, 3, 2}, // incomplete third CP in utf8_to_utf16_in_partial()
572 {5, 3, 3, 2}, // incomplete third CP in utf8_to_utf16_in_partial()
573 {4, 2, 3, 2}, // incomplete third CP, and no space for it in utf8_to_utf16_in_partial()
574 {5, 2, 3, 2}, // incomplete third CP, and no space for it in utf8_to_utf16_in_partial()
576 {10, 3, 6, 3}, // no space for fourth CP in utf8_to_utf16_in_partial()
577 {10, 4, 6, 3}, // no space for fourth CP in utf8_to_utf16_in_partial()
578 {7, 5, 6, 3}, // incomplete fourth CP in utf8_to_utf16_in_partial()
579 {8, 5, 6, 3}, // incomplete fourth CP in utf8_to_utf16_in_partial()
580 {9, 5, 6, 3}, // incomplete fourth CP in utf8_to_utf16_in_partial()
581 {7, 3, 6, 3}, // incomplete fourth CP, and no space for it in utf8_to_utf16_in_partial()
582 {8, 3, 6, 3}, // incomplete fourth CP, and no space for it in utf8_to_utf16_in_partial()
583 {9, 3, 6, 3}, // incomplete fourth CP, and no space for it in utf8_to_utf16_in_partial()
584 {7, 4, 6, 3}, // incomplete fourth CP, and no space for it in utf8_to_utf16_in_partial()
585 {8, 4, 6, 3}, // incomplete fourth CP, and no space for it in utf8_to_utf16_in_partial()
586 {9, 4, 6, 3}, // incomplete fourth CP, and no space for it in utf8_to_utf16_in_partial()
619 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP, 4-byte CP in utf8_to_utf16_in_error()
635 // 3. Surrogate CP in utf8_to_utf16_in_error()
637 // 5. CP out of Unicode range in utf8_to_utf16_in_error()
704 // 3. Surrogate CP. We modify the second byte (first trailing) of the 3-byte in utf8_to_utf16_in_error()
705 // CP U+D700 in utf8_to_utf16_in_error()
713 // 3-byte and 4-byte CP the second byte (first trailing) has enough leading in utf8_to_utf16_in_error()
715 {3, 5, 1, 1, 0b11000000, 1}, // make the 2-byte CP overlong in utf8_to_utf16_in_error()
716 {3, 5, 1, 1, 0b11000001, 1}, // make the 2-byte CP overlong in utf8_to_utf16_in_error()
717 {6, 5, 3, 2, 0b11100000, 3}, // make the 3-byte CP overlong in utf8_to_utf16_in_error()
718 {10, 5, 6, 3, 0b11110000, 6}, // make the 4-byte CP overlong in utf8_to_utf16_in_error()
720 // 5. CP above range in utf8_to_utf16_in_error()
767 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf16_to_utf8_out_ok()
803 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf16_to_utf8_out_partial()
817 {1, 0, 0, 0}, // no space for first CP in utf16_to_utf8_out_partial()
819 {2, 1, 1, 1}, // no space for second CP in utf16_to_utf8_out_partial()
820 {2, 2, 1, 1}, // no space for second CP in utf16_to_utf8_out_partial()
822 {3, 3, 2, 3}, // no space for third CP in utf16_to_utf8_out_partial()
823 {3, 4, 2, 3}, // no space for third CP in utf16_to_utf8_out_partial()
824 {3, 5, 2, 3}, // no space for third CP in utf16_to_utf8_out_partial()
826 {5, 6, 3, 6}, // no space for fourth CP in utf16_to_utf8_out_partial()
827 {5, 7, 3, 6}, // no space for fourth CP in utf16_to_utf8_out_partial()
828 {5, 8, 3, 6}, // no space for fourth CP in utf16_to_utf8_out_partial()
829 {5, 9, 3, 6}, // no space for fourth CP in utf16_to_utf8_out_partial()
831 {4, 10, 3, 6}, // incomplete fourth CP in utf16_to_utf8_out_partial()
833 {4, 6, 3, 6}, // incomplete fourth CP, and no space for it in utf16_to_utf8_out_partial()
834 {4, 7, 3, 6}, // incomplete fourth CP, and no space for it in utf16_to_utf8_out_partial()
835 {4, 8, 3, 6}, // incomplete fourth CP, and no space for it in utf16_to_utf8_out_partial()
836 {4, 9, 3, 6}, // incomplete fourth CP, and no space for it in utf16_to_utf8_out_partial()
862 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf16_to_utf8_out_error()
947 // UTF-8 string of 1-byte CP, 2-byte CP and 3-byte CP in utf8_to_ucs2_in_ok()
1012 // UTF-8 string of 1-byte CP, 2-byte CP and 3-byte CP in utf8_to_ucs2_in_partial()
1026 {1, 0, 0, 0}, // no space for first CP in utf8_to_ucs2_in_partial()
1028 {3, 1, 1, 1}, // no space for second CP in utf8_to_ucs2_in_partial()
1029 {2, 2, 1, 1}, // incomplete second CP in utf8_to_ucs2_in_partial()
1030 {2, 1, 1, 1}, // incomplete second CP, and no space for it in utf8_to_ucs2_in_partial()
1032 {6, 2, 3, 2}, // no space for third CP in utf8_to_ucs2_in_partial()
1033 {4, 3, 3, 2}, // incomplete third CP in utf8_to_ucs2_in_partial()
1034 {5, 3, 3, 2}, // incomplete third CP in utf8_to_ucs2_in_partial()
1035 {4, 2, 3, 2}, // incomplete third CP, and no space for it in utf8_to_ucs2_in_partial()
1036 {5, 2, 3, 2}, // incomplete third CP, and no space for it in utf8_to_ucs2_in_partial()
1083 // 3. Surrogate CP in utf8_to_ucs2_in_error()
1085 // 5. CP out of Unicode range in utf8_to_ucs2_in_error()
1152 // 3. Surrogate CP. We modify the second byte (first trailing) of the 3-byte in utf8_to_ucs2_in_error()
1153 // CP U+D700 in utf8_to_ucs2_in_error()
1161 // 3-byte and 4-byte CP the second byte (first trailing) has enough leading in utf8_to_ucs2_in_error()
1163 {3, 5, 1, 1, 0b11000000, 1}, // make the 2-byte CP overlong in utf8_to_ucs2_in_error()
1164 {3, 5, 1, 1, 0b11000001, 1}, // make the 2-byte CP overlong in utf8_to_ucs2_in_error()
1165 {6, 5, 3, 2, 0b11100000, 3}, // make the 3-byte CP overlong in utf8_to_ucs2_in_error()
1166 {10, 5, 6, 3, 0b11110000, 6}, // make the 4-byte CP overlong in utf8_to_ucs2_in_error()
1168 // 5. CP above range in utf8_to_ucs2_in_error()
1173 // Don't replace anything, show full 4-byte CP U+10AAAA in utf8_to_ucs2_in_error()
1176 // Don't replace anything, show incomplete 4-byte CP at the end. It's still in utf8_to_ucs2_in_error()
1178 {7, 4, 6, 3, 'b', 0}, // incomplete fourth CP in utf8_to_ucs2_in_error()
1179 {8, 4, 6, 3, 'b', 0}, // incomplete fourth CP in utf8_to_ucs2_in_error()
1180 {9, 4, 6, 3, 'b', 0}, // incomplete fourth CP in utf8_to_ucs2_in_error()
1181 {7, 5, 6, 3, 'b', 0}, // incomplete fourth CP in utf8_to_ucs2_in_error()
1182 {8, 5, 6, 3, 'b', 0}, // incomplete fourth CP in utf8_to_ucs2_in_error()
1183 {9, 5, 6, 3, 'b', 0}, // incomplete fourth CP in utf8_to_ucs2_in_error()
1226 // UTF-8 string of 1-byte CP, 2-byte CP and 3-byte CP in ucs2_to_utf8_out_ok()
1262 // UTF-8 string of 1-byte CP, 2-byte CP and 3-byte CP in ucs2_to_utf8_out_partial()
1276 {1, 0, 0, 0}, // no space for first CP in ucs2_to_utf8_out_partial()
1278 {2, 1, 1, 1}, // no space for second CP in ucs2_to_utf8_out_partial()
1279 {2, 2, 1, 1}, // no space for second CP in ucs2_to_utf8_out_partial()
1281 {3, 3, 2, 3}, // no space for third CP in ucs2_to_utf8_out_partial()
1282 {3, 4, 2, 3}, // no space for third CP in ucs2_to_utf8_out_partial()
1283 {3, 5, 2, 3}, // no space for third CP in ucs2_to_utf8_out_partial()
1349 // pair (fourth CP) fully or partially in ucs2_to_utf8_out_error()
1351 {5, 7, 3, 6, 'b', 0}, // no space for fourth CP in ucs2_to_utf8_out_error()
1352 {5, 8, 3, 6, 'b', 0}, // no space for fourth CP in ucs2_to_utf8_out_error()
1353 {5, 9, 3, 6, 'b', 0}, // no space for fourth CP in ucs2_to_utf8_out_error()
1355 {4, 10, 3, 6, 'b', 0}, // incomplete fourth CP in ucs2_to_utf8_out_error()
1356 {4, 7, 3, 6, 'b', 0}, // incomplete fourth CP, and no space for it in ucs2_to_utf8_out_error()
1357 {4, 8, 3, 6, 'b', 0}, // incomplete fourth CP, and no space for it in ucs2_to_utf8_out_error()
1358 {4, 9, 3, 6, 'b', 0}, // incomplete fourth CP, and no space for it in ucs2_to_utf8_out_error()
1493 {2, 0, 0, 0}, // no space for first CP in utf16_to_utf32_in_partial()
1494 {1, 1, 0, 0}, // incomplete first CP in utf16_to_utf32_in_partial()
1495 {1, 0, 0, 0}, // incomplete first CP, and no space for it in utf16_to_utf32_in_partial()
1497 {4, 1, 2, 1}, // no space for second CP in utf16_to_utf32_in_partial()
1498 {3, 2, 2, 1}, // incomplete second CP in utf16_to_utf32_in_partial()
1499 {3, 1, 2, 1}, // incomplete second CP, and no space for it in utf16_to_utf32_in_partial()
1501 {6, 2, 4, 2}, // no space for third CP in utf16_to_utf32_in_partial()
1502 {5, 3, 4, 2}, // incomplete third CP in utf16_to_utf32_in_partial()
1503 {5, 2, 4, 2}, // incomplete third CP, and no space for it in utf16_to_utf32_in_partial()
1505 {10, 3, 6, 3}, // no space for fourth CP in utf16_to_utf32_in_partial()
1506 {7, 4, 6, 3}, // incomplete fourth CP in utf16_to_utf32_in_partial()
1507 {8, 4, 6, 3}, // incomplete fourth CP in utf16_to_utf32_in_partial()
1508 {9, 4, 6, 3}, // incomplete fourth CP in utf16_to_utf32_in_partial()
1509 {7, 3, 6, 3}, // incomplete fourth CP, and no space for it in utf16_to_utf32_in_partial()
1510 {8, 3, 6, 3}, // incomplete fourth CP, and no space for it in utf16_to_utf32_in_partial()
1511 {9, 3, 6, 3}, // incomplete fourth CP, and no space for it in utf16_to_utf32_in_partial()
1661 {1, 0, 0, 0}, // no space for first CP in utf32_to_utf16_out_partial()
1662 {1, 1, 0, 0}, // no space for first CP in utf32_to_utf16_out_partial()
1664 {2, 2, 1, 2}, // no space for second CP in utf32_to_utf16_out_partial()
1665 {2, 3, 1, 2}, // no space for second CP in utf32_to_utf16_out_partial()
1667 {3, 4, 2, 4}, // no space for third CP in utf32_to_utf16_out_partial()
1668 {3, 5, 2, 4}, // no space for third CP in utf32_to_utf16_out_partial()
1670 {4, 6, 3, 6}, // no space for fourth CP in utf32_to_utf16_out_partial()
1671 {4, 7, 3, 6}, // no space for fourth CP in utf32_to_utf16_out_partial()
1672 {4, 8, 3, 6}, // no space for fourth CP in utf32_to_utf16_out_partial()
1673 {4, 9, 3, 6}, // no space for fourth CP in utf32_to_utf16_out_partial()
1711 // Surrogate CP in utf32_to_utf16_out_error()
1717 // CP out of range in utf32_to_utf16_out_error()
1835 {2, 0, 0, 0}, // no space for first CP in utf16_to_ucs2_in_partial()
1836 {1, 1, 0, 0}, // incomplete first CP in utf16_to_ucs2_in_partial()
1837 {1, 0, 0, 0}, // incomplete first CP, and no space for it in utf16_to_ucs2_in_partial()
1839 {4, 1, 2, 1}, // no space for second CP in utf16_to_ucs2_in_partial()
1840 {3, 2, 2, 1}, // incomplete second CP in utf16_to_ucs2_in_partial()
1841 {3, 1, 2, 1}, // incomplete second CP, and no space for it in utf16_to_ucs2_in_partial()
1843 {6, 2, 4, 2}, // no space for third CP in utf16_to_ucs2_in_partial()
1844 {5, 3, 4, 2}, // incomplete third CP in utf16_to_ucs2_in_partial()
1845 {5, 2, 4, 2}, // incomplete third CP, and no space for it in utf16_to_ucs2_in_partial()
1916 // pair (fourth CP) fully or partially (just the first surrogate) in utf16_to_ucs2_in_error()
2006 {1, 0, 0, 0}, // no space for first CP in ucs2_to_utf16_out_partial()
2007 {1, 1, 0, 0}, // no space for first CP in ucs2_to_utf16_out_partial()
2009 {2, 2, 1, 2}, // no space for second CP in ucs2_to_utf16_out_partial()
2010 {2, 3, 1, 2}, // no space for second CP in ucs2_to_utf16_out_partial()
2012 {3, 4, 2, 4}, // no space for third CP in ucs2_to_utf16_out_partial()
2013 {3, 5, 2, 4}, // no space for third CP in ucs2_to_utf16_out_partial()
2077 // pair (fourth CP) fully or partially (just the first surrogate) in ucs2_to_utf16_out_error()