Searched refs:needle (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 445 bool endsWith(const char* haystack, const char* needle) argument 448 size_t b = strlen(needle); 450 return strcasecmp(haystack+(a-b), needle) == 0;
|
H A D | ResourceTable.cpp | 612 * Returns true if needle is one of the elements in the comma-separated list 615 bool isInProductList(const String16& needle, const String16& haystack) { argument 616 const char16_t *needle2 = needle.string(); 618 size_t needlesize = needle.size();
|
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 189 public static int indexOf(CharSequence s, CharSequence needle) { argument 190 return indexOf(s, needle, 0, s.length()); 193 public static int indexOf(CharSequence s, CharSequence needle, int start) { argument 194 return indexOf(s, needle, start, s.length()); 197 public static int indexOf(CharSequence s, CharSequence needle, argument 199 int nlen = needle.length(); 203 char c = needle.charAt(0); 215 if (regionMatches(s, start, needle, 0, nlen)) {
|
Completed in 160 milliseconds