Lines Matching refs:hay
9048 xmlXPathObjectPtr hay, needle; in xmlXPathContainsFunction() local
9055 hay = valuePop(ctxt); in xmlXPathContainsFunction()
9057 if ((hay == NULL) || (hay->type != XPATH_STRING)) { in xmlXPathContainsFunction()
9058 xmlXPathReleaseObject(ctxt->context, hay); in xmlXPathContainsFunction()
9062 if (xmlStrstr(hay->stringval, needle->stringval)) in xmlXPathContainsFunction()
9066 xmlXPathReleaseObject(ctxt->context, hay); in xmlXPathContainsFunction()
9082 xmlXPathObjectPtr hay, needle; in xmlXPathStartsWithFunction() local
9090 hay = valuePop(ctxt); in xmlXPathStartsWithFunction()
9092 if ((hay == NULL) || (hay->type != XPATH_STRING)) { in xmlXPathStartsWithFunction()
9093 xmlXPathReleaseObject(ctxt->context, hay); in xmlXPathStartsWithFunction()
9098 if (xmlStrncmp(hay->stringval, needle->stringval, n)) in xmlXPathStartsWithFunction()
9102 xmlXPathReleaseObject(ctxt->context, hay); in xmlXPathStartsWithFunction()