Searched refs:haystack (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | WindowTracingTest.java | 166 /** Return true if {@code needle} appears anywhere in {@code haystack[0..length]} */ 167 boolean containsBytes(byte[] haystack, int haystackLenght, byte[] needle) { argument 173 if (haystack[i+j] != needle[j]) { 184 byte[] haystack = "hello_world".getBytes(StandardCharsets.UTF_8); 185 assertTrue(containsBytes(haystack, haystack.length, 187 assertTrue(containsBytes(haystack, haystack.length, 189 assertFalse(containsBytes(haystack, 6, 191 assertFalse(containsBytes(haystack, haystac [all...] |
/frameworks/av/media/libaaudio/examples/loopback/src/ |
H A D | LoopbackAnalyzer.h | 104 static int calculateCorrelations(const float *haystack, int haystackSize, argument 112 double correlation = calculateCorrelation(&haystack[ic], needle, needleSize); 124 static double findFirstMatch(const float *haystack, int haystackSize, argument 136 double correlation = calculateCorrelation(&haystack[ic], needle, needleSize); 162 static int measureLatencyFromEchos(const float *haystack, int haystackSize, argument 170 int first = (int) (findFirstMatch(haystack, 178 needle = &haystack[first]; 179 int again = (int) (findFirstMatch(haystack, 196 numCorrelations = calculateCorrelations(&haystack[first], remaining, 487 float *haystack variable [all...] |
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 395 bool endsWith(const char* haystack, const char* needle) argument 397 size_t a = strlen(haystack); 400 return strcasecmp(haystack+(a-b), needle) == 0;
|
H A D | ResourceTable.cpp | 639 * haystack, false otherwise. 641 bool isInProductList(const String16& needle, const String16& haystack) { argument 643 const char16_t *haystack2 = haystack.string();
|
Completed in 38 milliseconds