Searched defs:needle (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 409 bool endsWith(const char* haystack, const char* needle) argument 412 size_t b = strlen(needle); 414 return strcasecmp(haystack+(a-b), needle) == 0;
|
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 184 public static int indexOf(CharSequence s, CharSequence needle) { argument 185 return indexOf(s, needle, 0, s.length()); 188 public static int indexOf(CharSequence s, CharSequence needle, int start) { argument 189 return indexOf(s, needle, start, s.length()); 192 public static int indexOf(CharSequence s, CharSequence needle, argument 194 int nlen = needle.length(); 198 char c = needle.charAt(0); 210 if (regionMatches(s, start, needle, 0, nlen)) {
|
Completed in 149 milliseconds