Home | History | Annotate | Download | only in lib

Lines Matching full:markupstate

109              }  MarkupState;
223 MarkupState markupState;
1078 tok->markupState = MSErrorTooLong;
1079 } else if ((str[i] == (picoos_uchar)' ') && ((tok->markupState == MSExpectingmarkupTagName) || (tok->markupState == MSGotmarkupTagName) || (tok->markupState == MSGotAttrName) || (tok->markupState == MSGotEqual) || (tok->markupState == MSGotAttrValue))) {
1080 } else if ((str[i] == (picoos_uchar)'>') && ((tok->markupState == MSGotmarkupTagName) || (tok->markupState == MSInmarkupTagName) || (tok->markupState == MSGotAttrValue))) {
1081 tok->markupState = MSGotEnd;
1082 } else if ((str[i] == (picoos_uchar)'/') && ((tok->markupState == MSGotmarkupTagName) || (tok->markupState == MSInmarkupTagName) || (tok->markupState == MSGotAttrValue))) {
1085 tok->markupState = MSError;
1088 tok->markupState = MSGotEndSlash;
1091 switch (tok->markupState) {
1098 tok->markupState = MSGotStart;
1101 tok->markupState = MSError;
1107 tok->markupState = MSExpectingmarkupTagName;
1109 tok->markupState = MSExpectingmarkupTagName;
1115 tok->markupState = MSInmarkupTagName;
1118 tok->markupState = MSError;
1122 if (tok_idChar(str[i],tok->markupState == MSExpectingmarkupTagName)) {
1126 tok->markupState = MSInmarkupTagName;
1127 } else if ((tok->markupState == MSInmarkupTagName) && (str[i] == (picoos_uchar)' ')) {
1128 tok->markupState = MSGotmarkupTagName;
1133 tok->markupState = MSError;
1140 tok->markupState = MSError;
1149 tok->markupState = MSInAttrName;
1153 tok->markupState = MSError;
1163 tok->markupState = MSInAttrName;
1167 tok->markupState = MSGotAttrName;
1171 tok->markupState = MSGotEqual;
1174 tok->markupState = MSError;
1179 tok->markupState = MSGotEqual;
1182 tok->markupState = MSError;
1189 tok->markupState = MSInAttrValue;
1192 tok->markupState = MSError;
1197 tok->markupState = MSInAttrValueEscaped;
1203 tok->markupState = MSGotAttrValue;
1210 tok->markupState = MSInAttrValue;
1219 tok->markupState = MSInAttrValue;
1223 tok->markupState = MSGotEnd;
1226 tok->markupState = MSError;
1231 tok->markupState = MSError;
1254 tok->markupState = MSNotInMarkup;
1269 tok->markupState = MSNotInMarkup;
1293 tok->markupState = MSNotInMarkup;
1345 if (markupHandling && (tok->markupState != MSNotInMarkup)) {
1347 if (tok->markupState >= MSError) {
1356 } else if (tok->markupState == MSGotEnd) {
1386 if (tok->markupState != MSNotInMarkup) {
1387 if (!(tok->aborted) && (tok->markupState >= MSGotmarkupTagName) && (tok_markupTagId(tok->markupTagName) != MIDummyEnd)) {
1419 tok->markupState = MSNotInMarkup;