Lines Matching defs:tok

457                                const char *s, const char *end, int tok,
574 static XML_Bool accountingDiffTolerated(XML_Parser originParser, int tok,
2645 int tok = XmlContentTok(parser->m_encoding, start, end, &next);
2646 switch (tok) {
2649 if (! accountingDiffTolerated(parser, tok, start, next, __LINE__,
2689 int tok;
2692 tok = XmlContentTok(parser->m_encoding, start, end, &next);
2699 switch (tok) {
2767 int tok = XmlContentTok(enc, s, end, &next);
2770 = ((tok == XML_TOK_TRAILING_RSQB) || (tok == XML_TOK_TRAILING_CR))
2773 if (! accountingDiffTolerated(parser, tok, s, accountAfter, __LINE__,
2780 switch (tok) {
2838 accountingDiffTolerated(parser, tok, (char *)&ch,
4042 int tok = XmlCdataSectionTok(enc, s, end, &next);
4044 if (! accountingDiffTolerated(parser, tok, s, next, __LINE__, account)) {
4052 switch (tok) {
4168 int tok;
4194 tok = XmlIgnoreSectionTok(enc, s, end, &next);
4196 if (! accountingDiffTolerated(parser, tok, s, next, __LINE__,
4203 switch (tok) {
4437 int tok;
4443 tok = XmlPrologTok(parser->m_encoding, start, end, &next);
4449 if (tok <= 0) {
4450 if (! parser->m_parsingStatus.finalBuffer && tok != XML_TOK_INVALID) {
4454 switch (tok) {
4468 } else if (tok == XML_TOK_XML_DECL) {
4492 else if (tok == XML_TOK_BOM && next == end
4495 if (! accountingDiffTolerated(parser, tok, s, next, __LINE__,
4509 else if (tok == XML_TOK_INSTANCE_START) {
4522 int tok;
4524 tok = XmlPrologTok(parser->m_encoding, s, end, &next);
4525 if (tok <= 0) {
4526 if (! parser->m_parsingStatus.finalBuffer && tok != XML_TOK_INVALID) {
4530 switch (tok) {
4547 else if (tok == XML_TOK_BOM) {
4548 if (! accountingDiffTolerated(parser, tok, s, next, __LINE__,
4555 tok = XmlPrologTok(parser->m_encoding, s, end, &next);
4559 return doProlog(parser, parser->m_encoding, s, end, tok, next, nextPtr,
4570 int tok;
4573 tok = XmlPrologTok(enc, start, end, &next);
4577 if (tok <= 0) {
4578 if (! parser->m_parsingStatus.finalBuffer && tok != XML_TOK_INVALID) {
4582 switch (tok) {
4606 int tok = XmlPrologTok(parser->m_encoding, s, end, &next);
4607 return doProlog(parser, parser->m_encoding, s, end, tok, next, nextPtr,
4614 int tok, const char *next, const char **nextPtr, XML_Bool haveMore,
4666 if (tok <= 0) {
4667 if (haveMore && tok != XML_TOK_INVALID) {
4671 switch (tok) {
4680 tok = -tok;
4704 tok = -tok;
4709 role = XmlTokenRole(&parser->m_prologState, tok, s, next, enc);
4717 if (! accountingDiffTolerated(parser, tok, s, next, __LINE__, account)) {
5264 switch (tok) {
5598 switch (tok) {
5637 tok = XmlPrologTok(enc, s, end, &next);
5650 int tok = XmlPrologTok(parser->m_encoding, s, end, &next);
5652 if (! accountingDiffTolerated(parser, tok, s, next, __LINE__,
5659 switch (tok) {
5749 int tok
5752 tok, next, &next, XML_FALSE, XML_FALSE,
5797 int tok
5800 tok, next, &next, XML_FALSE, XML_TRUE,
5835 int tok;
5837 tok = XmlPrologTok(parser->m_encoding, s, end, &next);
5838 return doProlog(parser, parser->m_encoding, s, end, tok, next, nextPtr,
5894 int tok = XmlAttributeValueTok(enc, ptr, end, &next);
5896 if (! accountingDiffTolerated(parser, tok, ptr, next, __LINE__, account)) {
5901 switch (tok) {
5964 accountingDiffTolerated(parser, tok, (char *)&ch,
6106 int tok = XmlEntityValueTok(enc, entityTextPtr, entityTextEnd, &next);
6109 if (! accountingDiffTolerated(parser, tok, entityTextPtr, next, __LINE__,
6117 switch (tok) {
7732 accountingDiffTolerated(XML_Parser originParser, int tok, const char *before,
7738 switch (tok) {