Lines Matching defs:pctxt
14598 xmlXPathParserContextPtr pctxt;
14609 pctxt = xmlXPathNewParserContext(str, ctxt);
14610 if (pctxt == NULL)
14612 xmlXPathCompileExpr(pctxt, 1);
14614 if( pctxt->error != XPATH_EXPRESSION_OK )
14616 xmlXPathFreeParserContext(pctxt);
14620 if (*pctxt->cur != 0) {
14627 xmlXPatherror(pctxt, __FILE__, __LINE__, XPATH_EXPR_ERROR);
14630 comp = pctxt->comp;
14631 pctxt->comp = NULL;
14633 xmlXPathFreeParserContext(pctxt);
14685 xmlXPathParserContextPtr pctxt;
14710 pctxt = xmlXPathCompParserContext(comp, ctxt);
14711 res = xmlXPathRunEval(pctxt, toBool);
14714 if (pctxt->value == NULL) {
14719 *resObj = valuePop(pctxt);
14726 if (pctxt->valueNr > 0) {
14731 tmp = valuePop(pctxt);
14746 if ((pctxt->error != XPATH_EXPRESSION_OK) && (resObj) && (*resObj)) {
14750 pctxt->comp = NULL;
14751 xmlXPathFreeParserContext(pctxt);
14915 xmlXPathParserContextPtr pctxt;
14923 pctxt = xmlXPathNewParserContext(str, ctxt);
14924 if (pctxt == NULL)
14926 xmlXPathEvalExpr(pctxt);
14928 if ((*pctxt->cur != 0) || (pctxt->error != XPATH_EXPRESSION_OK)) {
14929 xmlXPatherror(pctxt, __FILE__, __LINE__, XPATH_EXPR_ERROR);
14932 res = valuePop(pctxt);
14935 tmp = valuePop(pctxt);
14946 xmlXPathFreeParserContext(pctxt);