Lines Matching refs:ANTLR3_FALSE
291 default: return ANTLR3_FALSE; in isLegalUTF8()
293 case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return ANTLR3_FALSE; in isLegalUTF8()
294 case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return ANTLR3_FALSE; in isLegalUTF8()
295 case 2: if ((a = (*--srcptr)) > 0xBF) return ANTLR3_FALSE; in isLegalUTF8()
299 case 0xE0: if (a < 0xA0) return ANTLR3_FALSE; break; in isLegalUTF8()
300 case 0xED: if (a > 0x9F) return ANTLR3_FALSE; break; in isLegalUTF8()
301 case 0xF0: if (a < 0x90) return ANTLR3_FALSE; break; in isLegalUTF8()
302 case 0xF4: if (a > 0x8F) return ANTLR3_FALSE; break; in isLegalUTF8()
303 default: if (a < 0x80) return ANTLR3_FALSE; in isLegalUTF8()
306 case 1: if (*source >= 0x80 && *source < 0xC2) return ANTLR3_FALSE; in isLegalUTF8()
308 if (*source > 0xF4) return ANTLR3_FALSE; in isLegalUTF8()
322 return ANTLR3_FALSE; in isLegalUTF8Sequence()