Home
last modified time | relevance | path

Searched refs:needle (Results 1 – 25 of 72) sorted by relevance

123

/external/iproute2/tc/
Dem_nbyte.c44 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/
Dstring.in.h567 _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/
Dstring.h879 _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/
Dstring.h879 _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/
Du_string.h142 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/
Du_string.h142 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/
Dgyp_chromium146 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/
Dtest.js148 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/
DAnnotationTest.cpp17 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/
DAnnotationTest.cpp17 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/
Dclientinfo_unittest.cpp682 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/
Dclientinfo_unittest.cpp682 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/
Dsyncable_delete_journal.cc121 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/
Dgtest.cc1231 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/
Dgtest.cc1231 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/
Dgtest.cc1215 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/
Dgtest.cc1231 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/
Dconvert_case_list_to_xml.py12 def findAllMatches(haystack, needle): argument
16 ndx = haystack.find(needle, ndx+1)
/external/gtest/src/
Dgtest.cc1234 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/
Dgtest.cc1518 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/
Dstrcasestr.h10 char *strcasestr(const char *haystack, const char *needle);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_libc.cc192 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/
Dgtest.h1375 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/
Dstring.pxd42 char *strstr (const char *haystack, const char *needle)
43 char *strcasestr (const char *haystack, const char *needle)
/external/wpa_supplicant_8/src/utils/
Dos_internal.c480 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()

123