• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/

Lines Matching defs: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;
22268 xmlSchemaIDCStateObjPtr sto;
22274 sto = vctxt->xpathStatePool;
22275 vctxt->xpathStatePool = sto->next;
22276 sto->next = NULL;
22281 sto = (xmlSchemaIDCStateObjPtr) xmlMalloc(sizeof(xmlSchemaIDCStateObj));
22282 if (sto == NULL) {
22287 memset(sto, 0, sizeof(xmlSchemaIDCStateObj));
22293 sto->next = vctxt->xpathStates;
22294 vctxt->xpathStates = sto;
22299 if (sto->xpathCtxt != NULL)
22300 xmlFreeStreamCtxt((xmlStreamCtxtPtr) sto->xpathCtxt);
22305 sto->xpathCtxt = (void *) xmlPatternGetStreamCtxt(
22307 if (sto->xpathCtxt == NULL) {
22312 sto->type = type;
22313 sto->depth = vctxt->depth;
22314 sto->matcher = matcher;
22315 sto->sel = sel;
22316 sto->nbHistory = 0;
22320 sto->sel->xpath);
22339 xmlSchemaIDCStateObjPtr sto, head = NULL, first;
22361 sto = first;
22362 while (sto != head) {
22364 if (sto->type == XPATH_STATE_OBJ_TYPE_IDC_SELECTOR)
22366 sto->matcher->aidc->def->name, sto->sel->xpath);
22369 sto->matcher->aidc->def->name, sto->sel->xpath);
22372 res = xmlStreamPush((xmlStreamCtxtPtr) sto->xpathCtxt,
22375 res = xmlStreamPushAttr((xmlStreamCtxtPtr) sto->xpathCtxt,
22395 if (sto->history == NULL) {
22396 sto->history = (int *) xmlMalloc(5 * sizeof(int));
22397 if (sto->history == NULL) {
22402 sto->sizeHistory = 5;
22403 } else if (sto->sizeHistory <= sto->nbHistory) {
22404 sto->sizeHistory *= 2;
22405 sto->history = (int *) xmlRealloc(sto->history,
22406 sto->sizeHistory * sizeof(int));
22407 if (sto->history == NULL) {
22413 sto->history[sto->nbHistory++] = depth;
22420 if (sto->type == XPATH_STATE_OBJ_TYPE_IDC_SELECTOR) {
22430 sel = sto->matcher->aidc->def->fields;
22432 if (xmlSchemaIDCAddStateObject(vctxt, sto->matcher,
22437 } else if (sto->type == XPATH_STATE_OBJ_TYPE_IDC_FIELD) {
22457 if (sto->next == NULL) {
22462 sto = vctxt->xpathStates;
22464 sto = sto->next;
22516 xmlSchemaIDCStateObjPtr sto;
22521 sto = vctxt->xpathStates;
22523 res = xmlStreamPop((xmlStreamCtxtPtr) sto->xpathCtxt);
22526 sto = sto->next;
22527 } while (sto != NULL);
22546 xmlSchemaIDCStateObjPtr sto, nextsto;
22553 sto = vctxt->xpathStates;
22568 while (sto != NULL) {
22569 res = xmlStreamPop((xmlStreamCtxtPtr) sto->xpathCtxt);
22577 sto->sel->xpath);
22579 if (sto->nbHistory == 0)
22582 matchDepth = sto->history[sto->nbHistory -1];
22588 sto = sto->next;
22591 if (sto->type == XPATH_STATE_OBJ_TYPE_IDC_FIELD) {
22623 WXS_BASIC_CAST sto->matcher->aidc->def,
22626 sto->sel->xpath,
22627 xmlSchemaGetIDCDesignation(&str, sto->matcher->aidc->def));
22629 sto->nbHistory--;
22639 WXS_BASIC_CAST sto->matcher->aidc->def,
22642 sto->nbHistory--;
22645 xmlSchemaIDCMatcherPtr matcher = sto->matcher;
22667 pos = sto->depth - matcher->depth;
22668 idx = sto->sel->index;
22735 sto->sel->xpath,
22738 sto->nbHistory--;
22788 } else if (sto->type == XPATH_STATE_OBJ_TYPE_IDC_SELECTOR) {
22808 matcher = sto->matcher;
23003 sto->nbHistory--;
23009 if ((sto->nbHistory == 0) && (sto->depth == depth)) {
23012 sto->sel->xpath);
23014 if (vctxt->xpathStates != sto) {
23019 nextsto = sto->next;
23023 vctxt->xpathStates = sto->next;
23024 sto->next = vctxt->xpathStatePool;
23028 vctxt->xpathStatePool = sto;
23029 sto = nextsto;
23031 sto = sto->next;
23032 } /* while (sto != NULL) */