Lines Matching refs:loc
1163 xmlLocationSetPtr loc = ctxt->value->user;
1164 if ((loc != NULL) && (loc->locNr > 0))
1169 xmlNodeSetPtr loc = ctxt->value->nodesetval;
1170 if ((loc != NULL) && (loc->nodeNr > 0))
1946 * @loc: the location for which the covering range must be computed
1955 xmlXPtrCoveringRange(xmlXPathParserContextPtr ctxt, xmlXPathObjectPtr loc) {
1956 if (loc == NULL)
1961 switch (loc->type) {
1963 return(xmlXPtrNewRange(loc->user, loc->index,
1964 loc->user, loc->index));
1966 if (loc->user2 != NULL) {
1967 return(xmlXPtrNewRange(loc->user, loc->index,
1968 loc->user2, loc->index2));
1970 xmlNodePtr node = (xmlNodePtr) loc->user;
2064 * @loc: the location for which the inside range must be computed
2071 xmlXPtrInsideRange(xmlXPathParserContextPtr ctxt, xmlXPathObjectPtr loc) {
2072 if (loc == NULL)
2077 switch (loc->type) {
2079 xmlNodePtr node = (xmlNodePtr) loc->user;
2107 xmlNodePtr node = (xmlNodePtr) loc->user;
2108 if (loc->user2 != NULL) {
2109 return(xmlXPtrNewRange(node, loc->index,
2110 loc->user2, loc->index2));