/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/ |
H A D | c-strstr.h | 40 extern char *c_strstr (const char *haystack, const char *needle);
|
H A D | c-strstr.c | 33 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 D | mbsstr.c | 36 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-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/lib/unistr/ |
H A D | u-strstr.h | 19 FUNC (const UNIT *haystack, const UNIT *needle) argument 25 return (UNIT *) haystack; 29 return U_STRCHR (haystack, first); 32 for (; *haystack != 0; haystack++) 33 if (*haystack == first) 36 const UNIT *hptr = haystack + 1; 44 return (UNIT *) haystack;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/ |
H A D | c-strstr.h | 40 extern char *c_strstr (const char *haystack, const char *needle);
|
H A D | c-strcasestr.h | 28 extern char *c_strcasestr (const char *haystack, const char *needle);
|
H A D | c-strcasestr.c | 34 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 D | c-strstr.c | 33 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 D | mbsstr.c | 36 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-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/ |
H A D | c-strstr.h | 40 extern char *c_strstr (const char *haystack, const char *needle);
|
H A D | c-strstr.c | 33 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-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-tests/ |
H A D | test-mbsstr2.c | 75 /* 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 D | test-c-strcasestr.c | 65 /* 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 D | test-c-strstr.c | 65 /* 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 D | test-mbsstr1.c | 66 /* 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-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/ |
H A D | strcasestr.c | 49 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-R7000-V1.0.7.12_1.2.5/ap/gpl/wget-1.12/lib/ |
H A D | strcasestr.c | 47 const char *haystack = haystack_start; local 56 while (*haystack && *needle) 58 ok &= (TOLOWER ((unsigned char) *haystack) 60 haystack++; 68 haystack = haystack_start + 1; 75 return two_way_short_needle ((const unsigned char *) haystack, 79 return two_way_long_needle ((const unsigned char *) haystack, haystack_len,
|
H A D | str-two-way.h | 212 two_way_short_needle (const unsigned char *haystack, size_t haystack_len, argument 234 while (AVAILABLE (haystack, haystack_len, j, needle_len)) 239 == CANON_ELEMENT (haystack[i + j]))) 246 == CANON_ELEMENT (haystack[i + j]))) 249 return (RETURN_TYPE) (haystack + j); 268 while (AVAILABLE (haystack, haystack_len, j, needle_len)) 273 == CANON_ELEMENT (haystack[i + j]))) 280 == CANON_ELEMENT (haystack[i + j]))) 283 return (RETURN_TYPE) (haystack + j); 306 two_way_long_needle (const unsigned char *haystack, size_ argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/demos/tunala/ |
H A D | breakage.c | 43 char *int_strstr(const char *haystack, const char *needle) argument 45 const char *sub_haystack = haystack, *sub_needle = needle; 48 return haystack; 49 if (!haystack)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/demos/tunala/ |
H A D | breakage.c | 41 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-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/demos/tunala/ |
H A D | breakage.c | 43 char *int_strstr(const char *haystack, const char *needle) argument 45 const char *sub_haystack = haystack, *sub_needle = needle; 48 return haystack; 49 if (!haystack)
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/shared/ |
H A D | common_utils.h | 55 * @param haystack Array of Octets 56 * @param size Number of entries in haystack 60 extern int is_duplicate_octet(uint8* haystack, size_t size, uint8 needle); 64 * @param haystack Array of Octet ranges linearly [low1,high1,low2,high2] 65 * @param size Number of entries in haystack 70 extern int is_octet_range_overlapping(uint8* haystack, size_t size,
|
H A D | common_utils.c | 74 is_duplicate_octet(uint8* haystack, size_t size, uint8 needle) argument 76 assert(haystack); 83 if (haystack[iter] == needle) 92 is_octet_range_overlapping(uint8* haystack, size_t size, uint8 low_needle, uint8 high_needle) argument 94 assert(haystack); 101 low_iter = haystack[(iter*2)]; 102 high_iter = haystack[(iter*2)+1];
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna/ |
H A D | utils.h | 14 ends_with(const char * haystack, const char * needle);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/bftpd-1.6.6/ |
H A D | mystring.c | 5 int pos(char *haystack, char *needle) argument 7 if (strstr(haystack, needle)) { 8 return (int) strstr(haystack, needle) - (int) haystack;
|