/external/protobuf/gtest/src/ |
gtest.cc | [all...] |
/frameworks/base/tools/aapt/ |
Package.cpp | 445 bool endsWith(const char* haystack, const char* needle) 448 size_t b = strlen(needle); 450 return strcasecmp(haystack+(a-b), needle) == 0;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
stringutils.h | 110 inline const wchar_t* strstr(const wchar_t* haystack, const wchar_t* needle) { 111 return wcsstr(haystack, needle);
|
httpcommon.cc | 60 bool find_string(size_t& index, const std::string& needle, 63 if (_stricmp(needle.c_str(), haystack[index]) == 0) {
|
/frameworks/base/core/java/android/text/ |
TextUtils.java | 185 public static int indexOf(CharSequence s, CharSequence needle) { 186 return indexOf(s, needle, 0, s.length()); 189 public static int indexOf(CharSequence s, CharSequence needle, int start) { 190 return indexOf(s, needle, start, s.length()); 193 public static int indexOf(CharSequence s, CharSequence needle, 195 int nlen = needle.length(); 199 char c = needle.charAt(0); 211 if (regionMatches(s, start, needle, 0, nlen)) { [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
string2.h | [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
syncable.cc | 427 kernel_->needle.put(ID, id); 428 IdsIndex::iterator id_found = kernel_->ids_index->find(&kernel_->needle); 439 kernel_->needle.put(UNIQUE_CLIENT_TAG, tag); 441 &kernel_->needle); 473 kernel_->needle.put(META_HANDLE, metahandle); 475 kernel_->metahandles_index->find(&kernel_->needle); 652 kernel_->needle.put(META_HANDLE, i->ref(META_HANDLE)); 654 kernel_->metahandles_index->find(&kernel_->needle); 744 kernel_->needle.put(META_HANDLE, i->ref(META_HANDLE)); 746 kernel_->metahandles_index->find(&kernel_->needle); [all...] |
/libcore/luni/src/main/java/java/lang/ |
String.java | 976 String needle = new String(0, chars.length, chars); local 1142 String needle = new String(0, chars.length, chars); local 2017 char[] needle = needleString.value; local [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
importer_unittest.cc | 55 #define EXPECT_SUBSTRING(needle, haystack) \ 56 EXPECT_PRED_FORMAT2(testing::IsSubstring, (needle), (haystack))
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SubtypeSwitcher.java | 376 private static boolean contains(String[] hay, String needle) { 378 if (element.equals(needle))
|
/external/webkit/Source/JavaScriptCore/wtf/ |
DateMath.cpp | 542 char needle[4]; local 546 needle[i] = static_cast<char>(toASCIILower(*monthStr++)); 548 needle[3] = '\0'; 550 const char *str = strstr(haystack, needle); [all...] |
/external/wpa_supplicant/ |
os.h | 352 * @needle: Needle to search from haystack 355 char * os_strstr(const char *haystack, const char *needle);
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
os.h | 352 * @needle: Needle to search from haystack 355 char * os_strstr(const char *haystack, const char *needle);
|
/external/wpa_supplicant_8/src/utils/ |
os.h | 352 * @needle: Needle to search from haystack 355 char * os_strstr(const char *haystack, const char *needle);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/ |
Visualization4RS.java | 119 mTextures[4] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.needle); 207 // There are several forces working on the needle: a force applied by the 213 // be induced by the movement of the needle. 214 // The force from the spring is proportional to the position of the needle. 215 // The friction force is a function of the speed of the needle, but so is 216 // the current induced by the movement of the needle, so we can combine 221 // of the needle more realistic 223 // mNeedleSpeed * 3 is for the movement of the needle, which induces an opposite current 225 // mNeedlePos + mSpringForceAtOrigin is for the force of the spring pushing the needle back
|
/external/qemu/distrib/sdl-1.2.12/src/stdlib/ |
SDL_string.c | 433 char *SDL_strstr(const char *haystack, const char *needle) 435 size_t length = SDL_strlen(needle); 437 if ( SDL_strncmp(haystack, needle, length) == 0 ) { [all...] |
/external/valgrind/main/memcheck/ |
mc_replace_strmem.c | 1008 (void* haystack, void* needle); \ 1010 (void* haystack, void* needle) \ 1013 UChar* n = (UChar*)needle; \ [all...] |
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_stdinc.h | 433 extern DECLSPEC char * SDLCALL SDL_strstr(const char *haystack, const char *needle);
|
/hardware/broadcom/wlan/bcm4329/dhdutil/ |
bcmutils.c | 625 /* return pointer to location of substring 'needle' in 'haystack' */ 627 bcmstrstr(char *haystack, char *needle) 632 if ((haystack == NULL) || (needle == NULL)) 635 nlen = strlen(needle); 639 if (memcmp(needle, &haystack[i], nlen) == 0) [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
bcmutils.c | 625 /* return pointer to location of substring 'needle' in 'haystack' */ 627 bcmstrstr(char *haystack, char *needle) 632 if ((haystack == NULL) || (needle == NULL)) 635 nlen = strlen(needle); 639 if (memcmp(needle, &haystack[i], nlen) == 0) [all...] |
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/ |
Visualization5RS.java | 185 mTextures[4] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.needle, 342 // There are several forces working on the needle: a force applied by the 348 // be induced by the movement of the needle. 349 // The force from the spring is proportional to the position of the needle. 350 // The friction force is a function of the speed of the needle, but so is 351 // the current induced by the movement of the needle, so we can combine 356 // of the needle more realistic 358 // mNeedleSpeed * 3 is for the movement of the needle, which induces an opposite current 360 // mNeedlePos + mSpringForceAtOrigin is for the force of the spring pushing the needle back
|
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_stdinc.h | 433 extern DECLSPEC char * SDLCALL SDL_strstr(const char *haystack, const char *needle);
|
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_stdinc.h | 433 extern DECLSPEC char * SDLCALL SDL_strstr(const char *haystack, const char *needle);
|
/prebuilt/windows/sdl/include/SDL/ |
SDL_stdinc.h | 433 extern DECLSPEC char * SDLCALL SDL_strstr(const char *haystack, const char *needle);
|
/external/chromium/net/url_request/ |
url_request_unittest.cc | 73 // Do a case-insensitive search through |haystack| for |needle|. 74 bool ContainsString(const std::string& haystack, const char* needle) { 78 needle, 79 needle + strlen(needle), [all...] |