Lines Matching refs:instr
677 printable8(pANTLR3_STRING_FACTORY factory, pANTLR3_STRING instr)
688 string = factory->newSize(factory, instr->len *2 + 1);
695 for (i = 0; i < instr->len; i++)
697 if (*(instr->chars + i) == '\n')
702 else if (*(instr->chars + i) == '\r')
707 else if (!isprint(*(instr->chars +i)))
713 *scannedText++ = *(instr->chars + i);
724 printableUTF16(pANTLR3_STRING_FACTORY factory, pANTLR3_STRING instr)
737 string = factory->newSize(factory, instr->len *2 + 1);
743 inText = (pANTLR3_UINT16)(instr->chars);
746 for (i = 0; i < instr->len; i++)