Lines Matching refs:loc
1170 xmlLocationSetPtr loc = ctxt->value->user;
1171 if ((loc != NULL) && (loc->locNr > 0))
1176 xmlNodeSetPtr loc = ctxt->value->nodesetval;
1177 if ((loc != NULL) && (loc->nodeNr > 0))
1952 * @loc: the location for which the covering range must be computed
1961 xmlXPtrCoveringRange(xmlXPathParserContextPtr ctxt, xmlXPathObjectPtr loc) {
1962 if (loc == NULL)
1967 switch (loc->type) {
1969 return(xmlXPtrNewRange(loc->user, loc->index,
1970 loc->user, loc->index));
1972 if (loc->user2 != NULL) {
1973 return(xmlXPtrNewRange(loc->user, loc->index,
1974 loc->user2, loc->index2));
1976 xmlNodePtr node = (xmlNodePtr) loc->user;
2070 * @loc: the location for which the inside range must be computed
2077 xmlXPtrInsideRange(xmlXPathParserContextPtr ctxt, xmlXPathObjectPtr loc) {
2078 if (loc == NULL)
2083 switch (loc->type) {
2085 xmlNodePtr node = (xmlNodePtr) loc->user;
2113 xmlNodePtr node = (xmlNodePtr) loc->user;
2114 if (loc->user2 != NULL) {
2115 return(xmlXPtrNewRange(node, loc->index,
2116 loc->user2, loc->index2));