/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | CollectionUtils.java | 175 public static int indexOfSubArray(@NonNull byte[] haystack, @NonNull byte[] needle) { in indexOfSubArray() argument 176 for (int i = 0; i < haystack.length - needle.length + 1; i++) { in indexOfSubArray() 178 for (int j = 0; j < needle.length; j++) { in indexOfSubArray() 179 if (haystack[i + j] != needle[j]) { in indexOfSubArray() 230 for (T needle : needles) { in containsAny() 231 if (haystack.contains(needle)) return true; in containsAny() 258 for (T needle : haystack) { in findFirst() 259 if (condition.test(needle)) return needle; in findFirst() 279 final T needle = haystack.get(i); in findLast() local 280 if (condition.test(needle)) return needle; in findLast()
|
/packages/modules/Virtualization/libs/apkverify/src/ |
D | testing.rs | 20 pub fn assert_contains(haystack: &str, needle: &str) { in assert_contains() 21 assert!(haystack.contains(needle), "{} is not found in {}", needle, haystack); in assert_contains()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | TunUtils.java | 124 private static boolean containsSubArray(byte[] haystack, byte[] needle) { in containsSubArray() argument 126 for (int i = 0; i < haystack.length - needle.length + 1; i++) { in containsSubArray() 128 for (int j = 0; j < needle.length; j++) { in containsSubArray() 129 if (haystack[i + j] != needle[j]) { in containsSubArray()
|
/packages/modules/Virtualization/libs/apkzip/src/ |
D | ziputil.rs | 118 fn assert_contains(haystack: &str, needle: &str) { in assert_contains() 119 assert!(haystack.contains(needle), "{} is not found in {}", needle, haystack); in assert_contains()
|
/packages/modules/Virtualization/pvmfw/src/ |
D | gpt.rs | 123 let mut needle = [0; Entry::NAME_SIZE / size_of::<u16>()]; in get_partition_by_name() localVariable 124 for (dest, src) in needle.iter_mut().zip(name.encode_utf16()) { in get_partition_by_name() 139 if entry_name == needle { in get_partition_by_name()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | LongPressPowerSensitivityPreferenceController.java | 140 private static int closestValueIndex(int[] values, int needle) { in closestValueIndex() argument 144 int diff = Math.abs(values[i] - needle); in closestValueIndex()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpInfo.java | 129 private static int getFieldOffset(@NonNull final Field needle) { in getFieldOffset() argument 132 if (field == needle) return offset; in getFieldOffset()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | ProviderPermissionTest.java | 284 private static boolean contains(String[] haystack, String needle) { in contains() argument 287 if (Objects.equals(test, needle)) { in contains()
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipphelper.c | 55 static inline const char* strnstr(const char* s, const char* needle, size_t len) { in strnstr() argument 58 const char c = *needle++; in strnstr() 59 const size_t needleLen = strlen(needle); in strnstr() 65 } while (memcmp(s, needle, needleLen) != 0); in strnstr()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | StubProvider.java | 755 File needle = new File(root.file, path.substring(1)); in getFile() local 757 StubDocument found = mStorage.get(getDocumentIdForFile(needle)); in getFile()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz |
|
D | en_US_wordlist.combined.gz |
|
D | en_wordlist.combined.gz |
|