Home
last modified time | relevance | path

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

/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/google-breakpad/src/common/
Dconvert_UTF.cc69 const int halfShift = 10; /* used for shifting by 10 bits */ variable
120 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
147 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF32()
257 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF8()
440 *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-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/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DConvertUTF.cpp84 static const int halfShift = 10; /* used for shifting by 10 bits */ variable
182 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
210 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF32()
267 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF8()
603 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF8toUTF16()
/external/llvm-project/llvm/lib/Support/
DConvertUTF.cpp84 static const int halfShift = 10; /* used for shifting by 10 bits */ variable
182 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
210 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF32()
267 ch = ((ch - UNI_SUR_HIGH_START) << halfShift) in ConvertUTF16toUTF8()
603 *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