Searched refs:IsSurrogate (Results 1 – 1 of 1) sorted by relevance
53 #define IsSurrogate(c) ((c) >= 0xD800 && (c) <= 0xDFFF) macro743 if (IsSurrogate(uc)) { /* Surrogate? */ in tchar2uni()769 if (uc < 0x80 || IsSurrogate(uc) || uc >= 0x110000) return 0xFFFFFFFF; /* Wrong code? */ in tchar2uni()775 if (uc >= 0x110000 || IsSurrogate(uc)) return 0xFFFFFFFF; /* Wrong code? */ in tchar2uni()813 if (szb < 1 || IsSurrogate(wc)) return 0; /* Buffer overflow or wrong code? */ in put_utf()837 if (szb < 3 || IsSurrogate(chr)) return 0; /* Buffer overflow or wrong code? */ in put_utf()2616 if (hs == 0 && IsSurrogate(wc)) { /* Is it a surrogate? */2642 if (hs == 0 && IsSurrogate(wc)) { /* Is it a surrogate? */5303 if (hs == 0 && IsSurrogate(wc)) { /* Is the code a surrogate? */6402 if (rc != ct || dc < 0x80 || IsSurrogate(dc) || dc >= 0x110000) continue; /* Wrong encoding? */[all …]