/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/libbrillo/brillo/ |
D | secure_blob_unittest.cc | 25 const brillo::Blob& needle) { in FindBlobInBlob() argument 27 haystack.begin(), haystack.end(), needle.begin(), needle.end()); in FindBlobInBlob() 32 const brillo::Blob& needle) { in FindBlobIndexInBlob() argument 34 haystack.begin(), haystack.end(), needle.begin(), needle.end()); in FindBlobIndexInBlob()
|
/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/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/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/curl/lib/vtls/ |
D | vtls.c | 95 struct ssl_config_data* needle) in Curl_ssl_config_matches() argument 97 if((data->version == needle->version) && in Curl_ssl_config_matches() 98 (data->verifypeer == needle->verifypeer) && in Curl_ssl_config_matches() 99 (data->verifyhost == needle->verifyhost) && in Curl_ssl_config_matches() 100 safe_strequal(data->CApath, needle->CApath) && in Curl_ssl_config_matches() 101 safe_strequal(data->CAfile, needle->CAfile) && in Curl_ssl_config_matches() 102 safe_strequal(data->random_file, needle->random_file) && in Curl_ssl_config_matches() 103 safe_strequal(data->egdsocket, needle->egdsocket) && in Curl_ssl_config_matches() 104 safe_strequal(data->cipher_list, needle->cipher_list)) in Curl_ssl_config_matches()
|
/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/v8/build/ |
D | gyp_v8 | 65 needle = 'output_dir=' 67 if item.startswith(needle): 68 return item[len(needle):]
|
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/ |
D | avstring.h | 67 char *av_stristr(const char *haystack, const char *needle); 82 char *av_strnstr(const char *haystack, const char *needle, size_t hay_length);
|
/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/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/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/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/ |
D | transform.py | 118 def bytes_leading(raw_bytes, needle=ZERO_BYTE): argument 133 _byte = needle[0]
|
/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/vulkan-validation-layers/tests/gtest-1.7.0/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/curl/lib/ |
D | url.c | 3102 struct connectdata *needle, in ConnectionExists() argument 3109 bool canPipeline = IsPipeliningPossible(data, needle); in ConnectionExists() 3113 (needle->handler->protocol & PROTO_FAMILY_HTTP) ? TRUE : FALSE; in ConnectionExists() 3121 if(canPipeline && Curl_pipeline_site_blacklisted(data, needle)) { in ConnectionExists() 3127 bundle = Curl_conncache_find_bundle(needle, data->state.conn_cache); in ConnectionExists() 3136 needle->host.name, (void *)bundle); in ConnectionExists() 3223 if((needle->handler->flags&PROTOPT_SSL) != in ConnectionExists() 3226 if(!(needle->handler->protocol & check->handler->protocol)) in ConnectionExists() 3230 if(needle->handler->flags&PROTOPT_SSL) { in ConnectionExists() 3236 if(needle->bits.proxy != check->bits.proxy) in ConnectionExists() [all …]
|
/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);
|