Searched refs:halfShift (Results 1 – 6 of 6) sorted by relevance
63 static const int halfShift = 10; /* used for shifting by 10 bits */ variable119 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()146 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF32()252 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF8()415 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF8toUTF16()
56 static const int halfShift = 10; /* used for shifting by 10 bits */ variable156 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()184 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF32()241 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF8()577 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF8toUTF16()
90 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()118 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF32()225 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF8()391 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF8toUTF16()
976 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in antlr3UTF16LA()1259 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in antlr3UTF16LALE()1480 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in antlr3UTF16LABE()
162 UWord halfShift = sizeof(UWord)==4 ? 16 : 32; in umulHW() local164 u1 = u >> halfShift; in umulHW()166 v1 = v >> halfShift; in umulHW()168 t = u1 * v0 + (w0 >> halfShift); in umulHW()170 w2 = t >> halfShift; in umulHW()172 rHi = u1 * v1 + w2 + (w1 >> halfShift); in umulHW()
123 #define halfShift ((UTF32)10) macro