/external/iproute2/tc/ |
D | em_nbyte.c | 44 struct bstr *needle = args; in nbyte_parse_eopt() local 57 if (needle->len <= 0) in nbyte_parse_eopt() 95 nb.len = needle->len; in nbyte_parse_eopt() 101 addraw_l(n, MAX_MSG, needle->data, needle->len); in nbyte_parse_eopt() 112 __u8 *needle; in nbyte_print_eopt() local 124 needle = data + sizeof(*nb); in nbyte_print_eopt() 127 fprintf(fd, "%02x ", needle[i]); in nbyte_print_eopt() 131 fprintf(fd, "%c", isprint(needle[i]) ? needle[i] : '.'); in nbyte_print_eopt()
|
/external/google-breakpad/src/common/linux/ |
D | linux_libc_support.cc | 123 const char* my_strchr(const char* haystack, char needle) { in my_strchr() argument 124 while (*haystack && *haystack != needle) in my_strchr() 126 if (*haystack == needle) in my_strchr() 131 const char* my_strrchr(const char* haystack, char needle) { in my_strrchr() argument 134 if (*haystack == needle) in my_strrchr() 141 void* my_memchr(const void* src, int needle, size_t src_len) { in my_memchr() argument 145 if (*p == needle) in my_memchr()
|
D | linux_libc_support.h | 66 extern const char* my_strchr(const char* haystack, char needle); 68 extern const char* my_strrchr(const char* haystack, char needle);
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | CharMatcherBenchmark.java | 167 int needle = random.nextInt(sum); in nextCodePoint() local 176 if (needle == cv) { in nextCodePoint() 178 } else if ((lv <= needle) && (needle < cv)) { in nextCodePoint() 180 } else if (needle == rv) { in nextCodePoint() 182 } else if (needle < cv) { in nextCodePoint() 187 } else if (needle == cv) { in nextCodePoint()
|
/external/bison/lib/ |
D | string.in.h | 567 _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle) 570 _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle)); 576 char *, (const char *haystack, const char *needle), 577 const char *, (const char *haystack, const char *needle)); 581 _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle)); 583 (const char *haystack, const char *needle)); 609 (const char *haystack, const char *needle) 613 (const char *haystack, const char *needle)); 617 (const char *haystack, const char *needle) 625 char *, (const char *haystack, const char *needle), [all …]
|
/external/bison/linux-lib/ |
D | string.h | 879 _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle) 882 _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle)); 888 char *, (const char *haystack, const char *needle), 889 const char *, (const char *haystack, const char *needle)); 893 _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle)); 895 (const char *haystack, const char *needle)); 921 (const char *haystack, const char *needle) 925 (const char *haystack, const char *needle)); 929 (const char *haystack, const char *needle) 937 char *, (const char *haystack, const char *needle), [all …]
|
/external/bison/darwin-lib/ |
D | string.h | 879 _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle) 882 _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle)); 888 char *, (const char *haystack, const char *needle), 889 const char *, (const char *haystack, const char *needle)); 893 _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle)); 895 (const char *haystack, const char *needle)); 921 (const char *haystack, const char *needle) 925 (const char *haystack, const char *needle)); 929 (const char *haystack, const char *needle) 937 char *, (const char *haystack, const char *needle), [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_string.h | 142 util_strstr(const char *haystack, const char *needle) in util_strstr() argument 145 size_t len = strlen(needle); in util_strstr() 147 for (; (p = util_strchr(p, *needle)) != 0; p++) { in util_strstr() 148 if (util_strncmp(p, needle, len) == 0) { in util_strstr()
|
/external/skia/tests/ |
D | AnnotationTest.cpp | 17 static bool ContainsString(const char* data, size_t dataSize, const char* needle) { in ContainsString() argument 18 size_t nSize = strlen(needle); in ContainsString() 20 if (strncmp(&data[i], needle, nSize) == 0) { in ContainsString()
|
/external/mesa3d/src/glx/tests/ |
D | clientinfo_unittest.cpp | 682 const char *const needle = "GLX_ARB_create_context"; in TEST_F() local 683 const unsigned len = strlen(needle); in TEST_F() 686 char *match = strstr(haystack, needle); in TEST_F() 708 const char *const needle = "GLX_ARB_create_context_profile"; in TEST_F() local 709 const unsigned len = strlen(needle); in TEST_F() 712 char *match = strstr(haystack, needle); in TEST_F()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest.cc | 1232 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument 1233 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1234 return needle == haystack; in IsSubstringPred() 1236 return strstr(haystack, needle) != NULL; in IsSubstringPred() 1239 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument 1240 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1241 return needle == haystack; in IsSubstringPred() 1243 return wcsstr(haystack, needle) != NULL; in IsSubstringPred() 1248 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument 1250 return haystack.find(needle) != StringType::npos; in IsSubstringPred() [all …]
|
/external/protobuf/gtest/src/ |
D | gtest.cc | 1253 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument 1254 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1255 return needle == haystack; in IsSubstringPred() 1257 return strstr(haystack, needle) != NULL; in IsSubstringPred() 1260 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument 1261 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1262 return needle == haystack; in IsSubstringPred() 1264 return wcsstr(haystack, needle) != NULL; in IsSubstringPred() 1269 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument 1271 return haystack.find(needle) != StringType::npos; in IsSubstringPred() [all …]
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest.cc | 1231 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument 1232 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1233 return needle == haystack; in IsSubstringPred() 1235 return strstr(haystack, needle) != NULL; in IsSubstringPred() 1238 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument 1239 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1240 return needle == haystack; in IsSubstringPred() 1242 return wcsstr(haystack, needle) != NULL; in IsSubstringPred() 1247 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument 1249 return haystack.find(needle) != StringType::npos; in IsSubstringPred() [all …]
|
/external/mesa3d/src/gtest/src/ |
D | gtest.cc | 1231 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument 1232 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1233 return needle == haystack; in IsSubstringPred() 1235 return strstr(haystack, needle) != NULL; in IsSubstringPred() 1238 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument 1239 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1240 return needle == haystack; in IsSubstringPred() 1242 return wcsstr(haystack, needle) != NULL; in IsSubstringPred() 1247 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument 1249 return haystack.find(needle) != StringType::npos; in IsSubstringPred() [all …]
|
/external/gtest/src/ |
D | gtest.cc | 1234 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument 1235 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1236 return needle == haystack; in IsSubstringPred() 1238 return strstr(haystack, needle) != NULL; in IsSubstringPred() 1241 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument 1242 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1243 return needle == haystack; in IsSubstringPred() 1245 return wcsstr(haystack, needle) != NULL; in IsSubstringPred() 1250 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument 1252 return haystack.find(needle) != StringType::npos; in IsSubstringPred() [all …]
|
/external/deqp/scripts/ |
D | convert_case_list_to_xml.py | 32 def findAllMatches(haystack, needle): argument 36 ndx = haystack.find(needle, ndx+1)
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_libc.cc | 199 char *internal_strstr(const char *haystack, const char *needle) { in internal_strstr() argument 202 uptr len2 = internal_strlen(needle); in internal_strstr() 205 if (internal_memcmp(haystack + pos, needle, len2) == 0) in internal_strstr()
|
/external/protobuf/gtest/include/gtest/ |
D | gtest.h | 1452 const char* needle, const char* haystack); 1455 const wchar_t* needle, const wchar_t* haystack); 1458 const char* needle, const char* haystack); 1461 const wchar_t* needle, const wchar_t* haystack); 1464 const ::std::string& needle, const ::std::string& haystack); 1467 const ::std::string& needle, const ::std::string& haystack); 1472 const ::std::wstring& needle, const ::std::wstring& haystack); 1475 const ::std::wstring& needle, const ::std::wstring& haystack);
|
/external/fio/lib/ |
D | strcasestr.h | 10 char *strcasestr(const char *haystack, const char *needle);
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest.h | 1518 const char* needle, const char* haystack); 1521 const wchar_t* needle, const wchar_t* haystack); 1524 const char* needle, const char* haystack); 1527 const wchar_t* needle, const wchar_t* haystack); 1530 const ::std::string& needle, const ::std::string& haystack); 1533 const ::std::string& needle, const ::std::string& haystack); 1538 const ::std::wstring& needle, const ::std::wstring& haystack); 1541 const ::std::wstring& needle, const ::std::wstring& haystack);
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest.h | 1522 const char* needle, const char* haystack); 1525 const wchar_t* needle, const wchar_t* haystack); 1528 const char* needle, const char* haystack); 1531 const wchar_t* needle, const wchar_t* haystack); 1534 const ::std::string& needle, const ::std::string& haystack); 1537 const ::std::string& needle, const ::std::string& haystack); 1542 const ::std::wstring& needle, const ::std::wstring& haystack); 1545 const ::std::wstring& needle, const ::std::wstring& haystack);
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
D | gtest.h | 1528 const char* needle, const char* haystack); 1531 const wchar_t* needle, const wchar_t* haystack); 1534 const char* needle, const char* haystack); 1537 const wchar_t* needle, const wchar_t* haystack); 1540 const ::std::string& needle, const ::std::string& haystack); 1543 const ::std::string& needle, const ::std::string& haystack); 1548 const ::std::wstring& needle, const ::std::wstring& haystack); 1551 const ::std::wstring& needle, const ::std::wstring& haystack);
|
/external/gtest/include/gtest/ |
D | gtest.h | 1650 const char* needle, const char* haystack); 1653 const wchar_t* needle, const wchar_t* haystack); 1656 const char* needle, const char* haystack); 1659 const wchar_t* needle, const wchar_t* haystack); 1662 const ::std::string& needle, const ::std::string& haystack); 1665 const ::std::string& needle, const ::std::string& haystack); 1670 const ::std::wstring& needle, const ::std::wstring& haystack); 1673 const ::std::wstring& needle, const ::std::wstring& haystack);
|
/external/toybox/toys/pending/ |
D | telnetd.c | 280 char *needle = NULL; in dup_iacs() local 292 needle = memchr(start, IAC, len); in dup_iacs() 293 if (needle) c = needle - start; in dup_iacs()
|
/external/wpa_supplicant_8/src/utils/ |
D | os_internal.c | 488 char * os_strstr(const char *haystack, const char *needle) in os_strstr() argument 490 size_t len = os_strlen(needle); in os_strstr() 492 if (os_strncmp(haystack, needle, len) == 0) in os_strstr()
|