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

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dc-strstr.h40 extern char *c_strstr (const char *haystack, const char *needle);
H A Dc-strstr.c33 knuth_morris_pratt (const char *haystack, const char *needle, argument
84 rhaystack = haystack;
85 phaystack = haystack;
119 c_strstr (const char *haystack, const char *needle) argument
121 /* Be careful not to look at the entire extent of haystack or needle
123 - haystack may be very long, and a match of needle found early,
125 needle may be found in haystack. */
129 Let n = strlen(haystack), m = strlen(needle).
153 for (;; haystack++)
155 if (*haystack
[all...]
H A Dmbsstr.c36 knuth_morris_pratt_unibyte (const char *haystack, const char *needle, argument
87 rhaystack = haystack;
88 phaystack = haystack;
122 knuth_morris_pratt_multibyte (const char *haystack, const char *needle, argument
188 mbui_init (rhaystack, haystack);
189 mbui_init (phaystack, haystack);
233 mbsstr (const char *haystack, const char *needle) argument
235 /* Be careful not to look at the entire extent of haystack or needle
237 - haystack may be very long, and a match of needle found early,
239 needle may be found in haystack
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dc-strstr.h40 extern char *c_strstr (const char *haystack, const char *needle);
H A Dc-strcasestr.h28 extern char *c_strcasestr (const char *haystack, const char *needle);
H A Dc-strcasestr.c34 knuth_morris_pratt (const char *haystack, const char *needle, argument
85 rhaystack = haystack;
86 phaystack = haystack;
122 strlen (haystack) < strlen (needle) ! */
124 c_strcasestr (const char *haystack, const char *needle) argument
126 /* Be careful not to look at the entire extent of haystack or needle
128 - haystack may be very long, and a match of needle found early,
130 needle may be found in haystack. */
134 Let n = strlen(haystack), m = strlen(needle).
158 for (;; haystack
[all...]
H A Dc-strstr.c33 knuth_morris_pratt (const char *haystack, const char *needle, argument
84 rhaystack = haystack;
85 phaystack = haystack;
119 c_strstr (const char *haystack, const char *needle) argument
121 /* Be careful not to look at the entire extent of haystack or needle
123 - haystack may be very long, and a match of needle found early,
125 needle may be found in haystack. */
129 Let n = strlen(haystack), m = strlen(needle).
153 for (;; haystack++)
155 if (*haystack
[all...]
H A Dmbsstr.c36 knuth_morris_pratt_unibyte (const char *haystack, const char *needle, argument
87 rhaystack = haystack;
88 phaystack = haystack;
122 knuth_morris_pratt_multibyte (const char *haystack, const char *needle, argument
188 mbui_init (rhaystack, haystack);
189 mbui_init (phaystack, haystack);
233 mbsstr (const char *haystack, const char *needle) argument
235 /* Be careful not to look at the entire extent of haystack or needle
237 - haystack may be very long, and a match of needle found early,
239 needle may be found in haystack
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/
H A Dc-strstr.h40 extern char *c_strstr (const char *haystack, const char *needle);
H A Dc-strstr.c33 knuth_morris_pratt (const char *haystack, const char *needle, argument
84 rhaystack = haystack;
85 phaystack = haystack;
119 c_strstr (const char *haystack, const char *needle) argument
121 /* Be careful not to look at the entire extent of haystack or needle
123 - haystack may be very long, and a match of needle found early,
125 needle may be found in haystack. */
129 Let n = strlen(haystack), m = strlen(needle).
153 for (;; haystack++)
155 if (*haystack
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-tests/
H A Dtest-mbsstr2.c75 /* Check that a very long haystack is handled quickly if the needle is
83 char *haystack = (char *) malloc (m + 1); local
84 if (haystack != NULL)
86 memset (haystack, 'A', m);
87 haystack[0] = '\303'; haystack[1] = '\204';
88 haystack[m] = '\0';
92 ASSERT (mbsstr (haystack, needle) == haystack + 2);
95 free (haystack);
104 char *haystack = local
129 char *haystack = (char *) malloc (2 * m + 3); local
[all...]
H A Dtest-c-strcasestr.c65 /* Check that a very long haystack is handled quickly if the needle is
74 char *haystack = (char *) malloc (m + 1); local
75 if (haystack != NULL)
77 memset (haystack, 'A', m);
78 haystack[0] = 'B';
79 haystack[m] = '\0';
83 ASSERT (c_strcasestr (haystack, needle) == haystack + 1);
86 free (haystack);
90 /* Check that a very long needle is discarded quickly if the haystack i
95 char *haystack = local
116 char *haystack = (char *) malloc (2 * m + 2); local
[all...]
H A Dtest-c-strstr.c65 /* Check that a very long haystack is handled quickly if the needle is
73 char *haystack = (char *) malloc (m + 1); local
74 if (haystack != NULL)
76 memset (haystack, 'A', m);
77 haystack[0] = 'B';
78 haystack[m] = '\0';
82 ASSERT (c_strstr (haystack, needle) == haystack + 1);
85 free (haystack);
89 /* Check that a very long needle is discarded quickly if the haystack i
94 char *haystack = local
115 char *haystack = (char *) malloc (2 * m + 2); local
[all...]
H A Dtest-mbsstr1.c66 /* Check that a very long haystack is handled quickly if the needle is
74 char *haystack = (char *) malloc (m + 1); local
75 if (haystack != NULL)
77 memset (haystack, 'A', m);
78 haystack[0] = 'B';
79 haystack[m] = '\0';
83 ASSERT (mbsstr (haystack, needle) == haystack + 1);
86 free (haystack);
90 /* Check that a very long needle is discarded quickly if the haystack i
95 char *haystack = local
116 char *haystack = (char *) malloc (2 * m + 2); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/util/
H A Dstrcasestr.c49 register const unsigned char *haystack, *needle; local
52 haystack = (const unsigned char *) phaystack;
57 haystack--; /* possible ANSI violation */
59 c = *++haystack;
76 a = *++haystack;
81 a = *++haystack;
87 jin:a = *++haystack;
94 rhaystack = haystack-- + 1;
120 return (char *) haystack;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/
H A Dstrcasestr.c49 register const unsigned char *haystack, *needle; local
52 haystack = (const unsigned char *) phaystack;
57 haystack--; /* possible ANSI violation */
59 c = *++haystack;
76 a = *++haystack;
81 a = *++haystack;
87 jin:a = *++haystack;
94 rhaystack = haystack-- + 1;
120 return (char *) haystack;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/tunala/
H A Dbreakage.c41 char *int_strstr(const char *haystack, const char *needle) argument
43 const char *sub_haystack = haystack, *sub_needle = needle;
46 return haystack;
47 if(!haystack)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/tunala/
H A Dbreakage.c41 char *int_strstr(const char *haystack, const char *needle) argument
43 const char *sub_haystack = haystack, *sub_needle = needle;
46 return haystack;
47 if(!haystack)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/bftpd-1.6.6/
H A Dmystring.c5 int pos(char *haystack, char *needle) argument
7 if (strstr(haystack, needle)) {
8 return (int) strstr(haystack, needle) - (int) haystack;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna/
H A Dutils.h14 ends_with(const char * haystack, const char * needle);
H A Dmetadata.h71 ends_with(const char * haystack, const char * needle);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.07.26/
H A Dutils.h14 ends_with(const char * haystack, const char * needle);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter/
H A Dnf_conntrack_sip.h37 extern const char *ct_sip_search(const char *needle, const char *haystack,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.03.14/
H A Dutils.h34 ends_with(const char * haystack, const char * needle);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/
H A Dnf_conntrack_sip.c210 const char *ct_sip_search(const char *needle, const char *haystack, argument
214 const char *limit = haystack + (haystack_len - needle_len);
216 while (haystack <= limit) {
218 if (strncmp(haystack, needle, needle_len) == 0)
219 return haystack;
221 if (strnicmp(haystack, needle, needle_len) == 0)
222 return haystack;
224 haystack++;

Completed in 113 milliseconds

12