Searched refs:haystack (Results 1 - 5 of 5) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/httpd/
H A Dej.c30 unqstrstr(char *haystack, char *needle) argument
35 for (cur = haystack, q = 0;
36 cur < &haystack[strlen(haystack)] && !(!q && !strncmp(needle, cur, strlen(needle)));
41 return (cur < &haystack[strlen(haystack)]) ? cur : NULL;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dipt_webstr.c227 static char *search_linear (char *needle, char *haystack, int needle_len, int haystack_len) argument
229 char *k = haystack + (haystack_len-needle_len);
230 char *t = haystack;
232 SPARQ_LOG("%s: haystack=%s, needle=%s\n", __FUNCTION__, t, needle);
234 //SPARQ_LOG("%s: haystack=%s, needle=%s\n", __FUNCTION__, t, needle);
306 char needle[BUFSIZE], *haystack = NULL; local
310 haystack = htinfo.host;
314 haystack = htinfo.url;
321 if (search(needle, haystack, nlen, hlen) != NULL) {
/asus-wl-520gu-7.0.1.45/src/shared/
H A Dbcmutils.c568 /* return pointer to location of substring 'needle' in 'haystack' */
570 BCMROMFN(bcmstrstr)(char *haystack, char *needle) argument
575 if ((haystack == NULL) || (needle == NULL))
576 return (haystack);
579 len = strlen(haystack) - nlen + 1;
582 if (memcmp(needle, &haystack[i], nlen) == 0)
583 return (&haystack[i]);
/asus-wl-520gu-7.0.1.45/src/include/
H A Dbcmutils.h183 extern char *BCMROMFN(bcmstrstr)(char *haystack, char *needle);
/asus-wl-520gu-7.0.1.45/src/router/ez-ipupdate/
H A Dez-ipupdate.c683 static int is_in_list(char *needle, char **haystack);
4352 static int is_in_list(char *needle, char **haystack) argument
4357 for(p=haystack; *p != NULL; p++)

Completed in 97 milliseconds