Home
last modified time | relevance | path

Searched refs:halfShift (Results 1 – 10 of 10) 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/unicode/
DConvertUTF.c47 static const int halfShift = 10; /* used for shifting by 10 bits */ variable
99 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
127 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF32()
234 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF8()
408 *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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DConvertUTF.cpp85 static const int halfShift = 10; /* used for shifting by 10 bits */ variable
183 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
211 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF32()
268 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF8()
604 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF8toUTF16()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DConvertUTF.cpp58 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/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.c983 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in antlr3UTF16LA()
1266 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in antlr3UTF16LALE()
1487 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in antlr3UTF16LABE()
/external/antlr/runtime/Cpp/include/
Dantlr3convertutf.hpp121 #define halfShift ((UTF32)10) macro
Dantlr3intstream.inl559 ch = ((ch - UNI_SUR_HIGH_START) << halfShift)
697 ch = ((ch - UNI_SUR_HIGH_START) << halfShift)
835 ch = ((ch - UNI_SUR_HIGH_START) << halfShift)
/external/antlr/runtime/C/include/
Dantlr3convertutf.h121 #define halfShift ((UTF32)10) macro