/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/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/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/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/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/chromium_org/third_party/mesa/src/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/chromium_org/build/ |
D | gyp_chromium | 146 needle = '-Goutput_dir=' 149 if item.startswith(needle): 150 return item[len(needle):] 153 needle = 'output_dir=' 155 if item.startswith(needle): 156 return item[len(needle):]
|
/external/chromium_org/native_client_sdk/src/examples/api/file_io/ |
D | test.js | 148 function expectContains(needle, haystack, additionalInfo) { argument 149 if (haystack.indexOf(needle) === -1) { 152 message += 'Expected to find "' + needle + '" in "' + haystack + '".'; 155 message = 'OK, "' + needle + '" in "' + haystack + '".';
|
/external/chromium_org/third_party/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/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/chromium_org/third_party/mesa/src/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/chromium_org/sync/syncable/ |
D | syncable_delete_journal.cc | 121 EntryKernel needle; in AddJournalBatch() local 124 needle.put(ID, (*i)->ref(ID)); in AddJournalBatch() 125 if (delete_journals_.find(&needle) == delete_journals_.end()) { in AddJournalBatch()
|
/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/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/protobuf/gtest/src/ |
D | gtest.cc | 1215 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument 1216 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1217 return needle == haystack; in IsSubstringPred() 1219 return strstr(haystack, needle) != NULL; in IsSubstringPred() 1222 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument 1223 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1224 return needle == haystack; in IsSubstringPred() 1226 return wcsstr(haystack, needle) != NULL; in IsSubstringPred() 1231 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument 1233 return haystack.find(needle) != StringType::npos; in IsSubstringPred() [all …]
|
/external/chromium_org/third_party/mesa/src/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/deqp/scripts/ |
D | convert_case_list_to_xml.py | 12 def findAllMatches(haystack, needle): argument 16 ndx = haystack.find(needle, ndx+1)
|
/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/chromium_org/testing/gtest/src/ |
D | gtest.cc | 1518 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument 1519 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1520 return needle == haystack; in IsSubstringPred() 1522 return strstr(haystack, needle) != NULL; in IsSubstringPred() 1525 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument 1526 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1527 return needle == haystack; in IsSubstringPred() 1529 return wcsstr(haystack, needle) != NULL; in IsSubstringPred() 1534 bool IsSubstringPred(const StringType& needle, in IsSubstringPred() argument 1536 return haystack.find(needle) != StringType::npos; in IsSubstringPred() [all …]
|
/external/fio/lib/ |
D | strcasestr.h | 10 char *strcasestr(const char *haystack, const char *needle);
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_libc.cc | 192 char *internal_strstr(const char *haystack, const char *needle) { in internal_strstr() argument 195 uptr len2 = internal_strlen(needle); in internal_strstr() 198 if (internal_memcmp(haystack + pos, needle, len2) == 0) in internal_strstr()
|
/external/protobuf/gtest/include/gtest/ |
D | gtest.h | 1375 const char* needle, const char* haystack); 1378 const wchar_t* needle, const wchar_t* haystack); 1381 const char* needle, const char* haystack); 1384 const wchar_t* needle, const wchar_t* haystack); 1388 const ::std::string& needle, const ::std::string& haystack); 1391 const ::std::string& needle, const ::std::string& haystack); 1397 const ::std::wstring& needle, const ::std::wstring& haystack); 1400 const ::std::wstring& needle, const ::std::wstring& haystack);
|
/external/chromium_org/third_party/cython/src/Cython/Includes/libc/ |
D | string.pxd | 42 char *strstr (const char *haystack, const char *needle) 43 char *strcasestr (const char *haystack, const char *needle)
|
/external/wpa_supplicant_8/src/utils/ |
D | os_internal.c | 480 char * os_strstr(const char *haystack, const char *needle) in os_strstr() argument 482 size_t len = os_strlen(needle); in os_strstr() 484 if (os_strncmp(haystack, needle, len) == 0) in os_strstr()
|