Searched refs:IsSurrogate (Results 1 – 1 of 1) sorted by relevance
50 #define IsSurrogate(c) ((c) >= 0xD800 && (c) <= 0xDFFF) macro756 if (IsSurrogate(uc)) { /* Surrogate? */ in tchar2uni()786 if (uc < 0x80 || IsSurrogate(uc) || uc >= 0x110000) return 0xFFFFFFFF; /* Wrong code? */ in tchar2uni()830 if (szb < 1 || IsSurrogate(wc)) return 0; /* Buffer overflow or wrong code? */ in put_utf()854 if (szb < 3 || IsSurrogate(chr)) return 0; /* Buffer overflow or wrong code? */ in put_utf()2132 if (hs == 0 && IsSurrogate(wc)) { /* Is it a surrogate? */2675 if (hs == 0 && IsSurrogate(wc)) { /* Is it a surrogate? */5183 if (hs == 0 && IsSurrogate(wc)) { /* Is the code a surrogate? */6155 if (rc != ct || dc < 0x80 || IsSurrogate(dc) || dc >= 0x110000) continue; /* Wrong encoding? */6291 if (IsSurrogate(c) || c >= 0x110000) return;