Home | History | Annotate | Download | only in common

Lines Matching defs:code

59      * Unicode code points from 3400 to E000 are not adressible by
271 * Instead, there are two code blocks for the two SCSU modes.
278 * When the fast-path runs into a code that it cannot handle, its loop ends and it
283 * The callback handling is done by returning with an error code.
617 * Instead, there are two code blocks for the two SCSU modes.
624 * When the fast-path runs into a code that it cannot handle, its loop ends and it
629 * The callback handling is done by returning with an error code.
876 * Real compression heuristics are applied to the rest, in code branches for
877 * single/Unicode mode and BMP/supplementary code points.
954 * calculate the offset and the code for a dynamic window that contains the character
957 * the code is returned
959 * return offset code: -1 none <=0xff code for SDn/UDn else code for SDX/UDX, subtract 0x200 to get the true code
979 /* This character is in a code range for a "small", i.e., reasonably windowable, script. */
1031 int code;
1107 /* test the following code unit */
1113 /* convert this surrogate code point */
1116 /* this is an unmatched lead code unit (1st surrogate) */
1126 /* this is an unmatched trail code unit (2nd surrogate) */
1148 } else if((code=getDynamicOffset(c, &offset))>=0) {
1151 code-=0x200;
1155 c=((uint32_t)SDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1203 } else if((code=getDynamicOffset(c, &offset))>=0) {
1208 c=((uint32_t)(SD0+dynamicWindow)<<16)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1283 } else if((code=getDynamicOffset(c, &offset))>=0) {
1289 c=((uint32_t)(UD0+dynamicWindow)<<16)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1304 /* test the following code unit */
1310 /* convert this surrogate code point */
1313 /* this is an unmatched lead code unit (1st surrogate) */
1323 /* this is an unmatched trail code unit (2nd surrogate) */
1346 (code=getDynamicOffset(c, &offset))>=0
1350 code-=0x200;
1354 c=((uint32_t)UDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1390 /* write the output character bytes from c and length [code copied from ucnvmbcs.c] */
1521 int code;
1582 /* test the following code unit */
1587 /* convert this surrogate code point */
1590 /* this is an unmatched lead code unit (1st surrogate) */
1600 /* this is an unmatched trail code unit (2nd surrogate) */
1619 } else if((code=getDynamicOffset(c, &offset))>=0) {
1622 code-=0x200;
1626 c=((uint32_t)SDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1671 } else if((code=getDynamicOffset(c, &offset))>=0) {
1676 c=((uint32_t)(SD0+dynamicWindow)<<16)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1745 } else if((code=getDynamicOffset(c, &offset))>=0) {
1751 c=((uint32_t)(UD0+dynamicWindow)<<16)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1766 /* test the following code unit */
1771 /* convert this surrogate code point */
1774 /* this is an unmatched lead code unit (1st surrogate) */
1784 /* this is an unmatched trail code unit (2nd surrogate) */
1807 (code=getDynamicOffset(c, &offset))>=0
1811 code-=0x200;
1815 c=((uint32_t)UDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1849 /* write the output character bytes from c and length [code copied from ucnvmbcs.c] */