Home | History | Annotate | Download | only in libxml2

Lines Matching refs:pctxt

14691     xmlXPathParserContextPtr pctxt;
14702 pctxt = xmlXPathNewParserContext(str, ctxt);
14703 if (pctxt == NULL)
14705 xmlXPathCompileExpr(pctxt, 1);
14707 if( pctxt->error != XPATH_EXPRESSION_OK )
14709 xmlXPathFreeParserContext(pctxt);
14713 if (*pctxt->cur != 0) {
14720 xmlXPatherror(pctxt, __FILE__, __LINE__, XPATH_EXPR_ERROR);
14723 comp = pctxt->comp;
14724 pctxt->comp = NULL;
14726 xmlXPathFreeParserContext(pctxt);
14778 xmlXPathParserContextPtr pctxt;
14803 pctxt = xmlXPathCompParserContext(comp, ctxt);
14804 res = xmlXPathRunEval(pctxt, toBool);
14807 if (pctxt->value == NULL) {
14812 *resObj = valuePop(pctxt);
14819 if (pctxt->valueNr > 0) {
14824 tmp = valuePop(pctxt);
14839 if ((pctxt->error != XPATH_EXPRESSION_OK) && (resObj) && (*resObj)) {
14843 pctxt->comp = NULL;
14844 xmlXPathFreeParserContext(pctxt);
15008 xmlXPathParserContextPtr pctxt;
15016 pctxt = xmlXPathNewParserContext(str, ctxt);
15017 if (pctxt == NULL)
15019 xmlXPathEvalExpr(pctxt);
15021 if ((*pctxt->cur != 0) || (pctxt->error != XPATH_EXPRESSION_OK)) {
15022 xmlXPatherror(pctxt, __FILE__, __LINE__, XPATH_EXPR_ERROR);
15025 res = valuePop(pctxt);
15028 tmp = valuePop(pctxt);
15039 xmlXPathFreeParserContext(pctxt);