• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/libxml2/

Lines Matching refs:sto

3846 xmlSchemaFreeIDCStateObjList(xmlSchemaIDCStateObjPtr sto)
3849 while (sto != NULL) {
3850 next = sto->next;
3851 if (sto->history != NULL)
3852 xmlFree(sto->history);
3853 if (sto->xpathCtxt != NULL)
3854 xmlFreeStreamCtxt((xmlStreamCtxtPtr) sto->xpathCtxt);
3855 xmlFree(sto);
3856 sto = next;
22361 xmlSchemaIDCStateObjPtr sto;
22367 sto = vctxt->xpathStatePool;
22368 vctxt->xpathStatePool = sto->next;
22369 sto->next = NULL;
22374 sto = (xmlSchemaIDCStateObjPtr) xmlMalloc(sizeof(xmlSchemaIDCStateObj));
22375 if (sto == NULL) {
22380 memset(sto, 0, sizeof(xmlSchemaIDCStateObj));
22386 sto->next = vctxt->xpathStates;
22387 vctxt->xpathStates = sto;
22392 if (sto->xpathCtxt != NULL)
22393 xmlFreeStreamCtxt((xmlStreamCtxtPtr) sto->xpathCtxt);
22398 sto->xpathCtxt = (void *) xmlPatternGetStreamCtxt(
22400 if (sto->xpathCtxt == NULL) {
22405 sto->type = type;
22406 sto->depth = vctxt->depth;
22407 sto->matcher = matcher;
22408 sto->sel = sel;
22409 sto->nbHistory = 0;
22413 sto->sel->xpath);
22432 xmlSchemaIDCStateObjPtr sto, head = NULL, first;
22454 sto = first;
22455 while (sto != head) {
22457 if (sto->type == XPATH_STATE_OBJ_TYPE_IDC_SELECTOR)
22459 sto->matcher->aidc->def->name, sto->sel->xpath);
22462 sto->matcher->aidc->def->name, sto->sel->xpath);
22465 res = xmlStreamPush((xmlStreamCtxtPtr) sto->xpathCtxt,
22468 res = xmlStreamPushAttr((xmlStreamCtxtPtr) sto->xpathCtxt,
22488 if (sto->history == NULL) {
22489 sto->history = (int *) xmlMalloc(5 * sizeof(int));
22490 if (sto->history == NULL) {
22495 sto->sizeHistory = 5;
22496 } else if (sto->sizeHistory <= sto->nbHistory) {
22497 sto->sizeHistory *= 2;
22498 sto->history = (int *) xmlRealloc(sto->history,
22499 sto->sizeHistory * sizeof(int));
22500 if (sto->history == NULL) {
22506 sto->history[sto->nbHistory++] = depth;
22513 if (sto->type == XPATH_STATE_OBJ_TYPE_IDC_SELECTOR) {
22523 sel = sto->matcher->aidc->def->fields;
22525 if (xmlSchemaIDCAddStateObject(vctxt, sto->matcher,
22530 } else if (sto->type == XPATH_STATE_OBJ_TYPE_IDC_FIELD) {
22550 if (sto->next == NULL) {
22555 sto = vctxt->xpathStates;
22557 sto = sto->next;
22609 xmlSchemaIDCStateObjPtr sto;
22614 sto = vctxt->xpathStates;
22616 res = xmlStreamPop((xmlStreamCtxtPtr) sto->xpathCtxt);
22619 sto = sto->next;
22620 } while (sto != NULL);
22639 xmlSchemaIDCStateObjPtr sto, nextsto;
22646 sto = vctxt->xpathStates;
22661 while (sto != NULL) {
22662 res = xmlStreamPop((xmlStreamCtxtPtr) sto->xpathCtxt);
22670 sto->sel->xpath);
22672 if (sto->nbHistory == 0)
22675 matchDepth = sto->history[sto->nbHistory -1];
22681 sto = sto->next;
22684 if (sto->type == XPATH_STATE_OBJ_TYPE_IDC_FIELD) {
22716 WXS_BASIC_CAST sto->matcher->aidc->def,
22719 sto->sel->xpath,
22720 xmlSchemaGetIDCDesignation(&str, sto->matcher->aidc->def));
22722 sto->nbHistory--;
22732 WXS_BASIC_CAST sto->matcher->aidc->def,
22735 sto->nbHistory--;
22738 xmlSchemaIDCMatcherPtr matcher = sto->matcher;
22760 pos = sto->depth - matcher->depth;
22761 idx = sto->sel->index;
22828 sto->sel->xpath,
22831 sto->nbHistory--;
22881 } else if (sto->type == XPATH_STATE_OBJ_TYPE_IDC_SELECTOR) {
22901 matcher = sto->matcher;
23096 sto->nbHistory--;
23102 if ((sto->nbHistory == 0) && (sto->depth == depth)) {
23105 sto->sel->xpath);
23107 if (vctxt->xpathStates != sto) {
23112 nextsto = sto->next;
23116 vctxt->xpathStates = sto->next;
23117 sto->next = vctxt->xpathStatePool;
23121 vctxt->xpathStatePool = sto;
23122 sto = nextsto;
23124 sto = sto->next;
23125 } /* while (sto != NULL) */