Home
last modified time | relevance | path

Searched refs:halfShift (Results 1 – 6 of 6) sorted by relevance

/external/google-breakpad/src/common/
Dconvert_UTF.c63 static const int halfShift = 10; /* used for shifting by 10 bits */ variable
119 *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()
/external/llvm/lib/Support/
DConvertUTF.c56 static const int halfShift = 10; /* used for shifting by 10 bits */ variable
156 *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()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3convertutf.c90 *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()
Dantlr3inputstream.c976 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()
/external/valgrind/coregrind/m_replacemalloc/
Dvg_replace_malloc.c162 UWord halfShift = sizeof(UWord)==4 ? 16 : 32; in umulHW() local
164 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()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3convertutf.h123 #define halfShift ((UTF32)10) macro