Home | History | Annotate | Download | only in common

Lines Matching defs:code

58      * Unicode code points from 3400 to E000 are not adressible by
270 * Instead, there are two code blocks for the two SCSU modes.
277 * When the fast-path runs into a code that it cannot handle, its loop ends and it
282 * The callback handling is done by returning with an error code.
616 * Instead, there are two code blocks for the two SCSU modes.
623 * When the fast-path runs into a code that it cannot handle, its loop ends and it
628 * The callback handling is done by returning with an error code.
875 * Real compression heuristics are applied to the rest, in code branches for
876 * single/Unicode mode and BMP/supplementary code points.
953 * calculate the offset and the code for a dynamic window that contains the character
956 * the code is returned
958 * return offset code: -1 none <=0xff code for SDn/UDn else code for SDX/UDX, subtract 0x200 to get the true code
978 /* This character is in a code range for a "small", i.e., reasonably windowable, script. */
1030 int code;
1106 /* test the following code unit */
1112 /* convert this surrogate code point */
1115 /* this is an unmatched lead code unit (1st surrogate) */
1125 /* this is an unmatched trail code unit (2nd surrogate) */
1147 } else if((code=getDynamicOffset(c, &offset))>=0) {
1150 code-=0x200;
1154 c=((uint32_t)SDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1202 } else if((code=getDynamicOffset(c, &offset))>=0) {
1207 c=((uint32_t)(SD0+dynamicWindow)<<16)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1282 } else if((code=getDynamicOffset(c, &offset))>=0) {
1288 c=((uint32_t)(UD0+dynamicWindow)<<16)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1303 /* test the following code unit */
1309 /* convert this surrogate code point */
1312 /* this is an unmatched lead code unit (1st surrogate) */
1322 /* this is an unmatched trail code unit (2nd surrogate) */
1345 (code=getDynamicOffset(c, &offset))>=0
1349 code-=0x200;
1353 c=((uint32_t)UDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1389 /* write the output character bytes from c and length [code copied from ucnvmbcs.c] */
1520 int code;
1581 /* test the following code unit */
1586 /* convert this surrogate code point */
1589 /* this is an unmatched lead code unit (1st surrogate) */
1599 /* this is an unmatched trail code unit (2nd surrogate) */
1618 } else if((code=getDynamicOffset(c, &offset))>=0) {
1621 code-=0x200;
1625 c=((uint32_t)SDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1670 } else if((code=getDynamicOffset(c, &offset))>=0) {
1675 c=((uint32_t)(SD0+dynamicWindow)<<16)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1744 } else if((code=getDynamicOffset(c, &offset))>=0) {
1750 c=((uint32_t)(UD0+dynamicWindow)<<16)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1765 /* test the following code unit */
1770 /* convert this surrogate code point */
1773 /* this is an unmatched lead code unit (1st surrogate) */
1783 /* this is an unmatched trail code unit (2nd surrogate) */
1806 (code=getDynamicOffset(c, &offset))>=0
1810 code-=0x200;
1814 c=((uint32_t)UDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80;
1848 /* write the output character bytes from c and length [code copied from ucnvmbcs.c] */