Lines Matching refs:lxr
19 static t012lexerXMLLexer *lxr; variable
38 if (lxr == NULL) in testValid()
39 lxr = new t012lexerXMLLexer(input); in testValid()
41 lxr->setCharStream(input); in testValid()
46 t012lexerXMLLexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
52 string lxrOutput = lxr->outbuf.str(); in testValid()
59 delete lxr; lxr = NULL; in testValid()
70 if (lxr == NULL) in testMalformedInput1()
71 lxr = new t012lexerXMLLexer(input); in testMalformedInput1()
73 lxr->setCharStream(input); in testMalformedInput1()
78 token = lxr->nextToken(); in testMalformedInput1()
80 token = lxr->nextToken(); in testMalformedInput1()
82 token = lxr->nextToken(); in testMalformedInput1()
97 delete lxr; lxr = NULL; in testMalformedInput1()
108 if (lxr == NULL) in testMalformedInput2()
109 lxr = new t012lexerXMLLexer(input); in testMalformedInput2()
111 lxr->setCharStream(input); in testMalformedInput2()
116 token = lxr->nextToken(); in testMalformedInput2()
118 token = lxr->nextToken(); in testMalformedInput2()
120 token = lxr->nextToken(); in testMalformedInput2()
135 delete lxr; lxr = NULL; in testMalformedInput2()
146 if (lxr == NULL) in testMalformedInput3()
147 lxr = new t012lexerXMLLexer(input); in testMalformedInput3()
149 lxr->setCharStream(input); in testMalformedInput3()
154 token = lxr->nextToken(); in testMalformedInput3()
156 token = lxr->nextToken(); in testMalformedInput3()
158 token = lxr->nextToken(); in testMalformedInput3()
173 delete lxr; lxr = NULL; in testMalformedInput3()