Home
last modified time | relevance | path

Searched refs:predicate (Results 1 – 25 of 25) sorted by relevance

/expo/tools/src/
H A DIOSSimulator.ts45 export function getSimulatorLogProcess(simulatorId: string, predicate?: string) {
56 ...(predicate ? ['--predicate', predicate] : []),
/expo/packages/@expo/cli/src/utils/__tests__/
H A Darray-test.ts6 const predicate = (item: number) => item % 2 === 0; constant
7 expect(findLastIndex(array, predicate)).toBe(9);
/expo/packages/@expo/cli/src/utils/
H A Dobj.ts38 predicate: (value: T, key: string) => boolean | undefined
42 if (predicate(value, key)) {
H A Darray.ts2 export function findLastIndex<T>(array: T[], predicate: (item: T) => boolean) {
4 if (predicate(array[i])) {
/expo/packages/expo-dev-launcher/android/src/main/java/expo/modules/devlauncher/helpers/
H A DDevLauncherReflectionExtensions.kt20 fun <T> Class<out T>.setProtectedDeclaredField(obj: T, filedName: String, newValue: Any, predicate:… in <lambda>()
32 if (!predicate.invoke(field.get(obj))) {
/expo/ios/versioned/sdk47/EXContacts/EXContacts/
H A DABI47_0_0EXContacts.m442 NSPredicate *predicate = nil;
449 predicate = [CNContainer predicateForContainersWithIdentifiers:ids];
555 - (NSDictionary *)_queryContactsWithPredicate:(NSPredicate *)predicate
573 fetchRequest.predicate = predicate;
1053 NSPredicate *predicate;
1061 NSArray<CNGroup *> *groups = [contactStore groupsMatchingPredicate:predicate error:&error];
1071 NSPredicate *predicate = [CNGroup predicateForGroupsWithIdentifiers:@[identifier]];
1114 NSPredicate *predicate;
1118 predicate = [CNContact predicateForContactsWithIdentifiers:contactIds];
1120 predicate = [CNContact predicateForContactsMatchingName:options[@"name"]];
[all …]
/expo/packages/expo-contacts/ios/EXContacts/
H A DEXContacts.m442 NSPredicate *predicate = nil;
449 predicate = [CNContainer predicateForContainersWithIdentifiers:ids];
555 - (NSDictionary *)_queryContactsWithPredicate:(NSPredicate *)predicate
573 fetchRequest.predicate = predicate;
1053 NSPredicate *predicate;
1061 NSArray<CNGroup *> *groups = [contactStore groupsMatchingPredicate:predicate error:&error];
1071 NSPredicate *predicate = [CNGroup predicateForGroupsWithIdentifiers:@[identifier]];
1114 NSPredicate *predicate;
1118 predicate = [CNContact predicateForContactsWithIdentifiers:contactIds];
1120 predicate = [CNContact predicateForContactsMatchingName:options[@"name"]];
[all …]
/expo/ios/versioned/sdk49/EXContacts/EXContacts/
H A DABI49_0_0EXContacts.m442 NSPredicate *predicate = nil;
449 predicate = [CNContainer predicateForContainersWithIdentifiers:ids];
555 - (NSDictionary *)_queryContactsWithPredicate:(NSPredicate *)predicate
573 fetchRequest.predicate = predicate;
1053 NSPredicate *predicate;
1061 NSArray<CNGroup *> *groups = [contactStore groupsMatchingPredicate:predicate error:&error];
1071 NSPredicate *predicate = [CNGroup predicateForGroupsWithIdentifiers:@[identifier]];
1114 NSPredicate *predicate;
1118 predicate = [CNContact predicateForContactsWithIdentifiers:contactIds];
1120 predicate = [CNContact predicateForContactsMatchingName:options[@"name"]];
[all …]
/expo/ios/versioned/sdk48/EXContacts/EXContacts/
H A DABI48_0_0EXContacts.m442 NSPredicate *predicate = nil;
449 predicate = [CNContainer predicateForContainersWithIdentifiers:ids];
555 - (NSDictionary *)_queryContactsWithPredicate:(NSPredicate *)predicate
573 fetchRequest.predicate = predicate;
1053 NSPredicate *predicate;
1061 NSArray<CNGroup *> *groups = [contactStore groupsMatchingPredicate:predicate error:&error];
1071 NSPredicate *predicate = [CNGroup predicateForGroupsWithIdentifiers:@[identifier]];
1114 NSPredicate *predicate;
1118 predicate = [CNContact predicateForContactsWithIdentifiers:contactIds];
1120 predicate = [CNContact predicateForContactsMatchingName:options[@"name"]];
[all …]
/expo/docs/ui/components/Navigation/
H A DNavigation.test.tsx131 /** Helper function to find the first node that matches the predicate */
134 predicate: Partial<NavigationNode> | ((node: NavigationNode) => boolean)
138 visit(tree, predicate as any, node => {
/expo/packages/expo-dev-launcher/android/src/debug/java/expo/modules/devlauncher/launcher/loaders/
H A DDevLauncherExpoAppLoader.kt59 predicate = { currentValue -> currentValue == null } in <lambda>()
/expo/ios/versioned/sdk48/EXMediaLibrary/EXMediaLibrary/
H A DABI48_0_0EXMediaLibrary.m649 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"mediaType IN %@", assetTypes];
650 [predicates addObject:predicate];
659 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"creationDate > %@", createdAfter];
660 [predicates addObject:predicate];
664 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"creationDate < %@", createdBefore];
665 [predicates addObject:predicate];
670 fetchOptions.predicate = compoundPredicate;
748 options.predicate = [NSPredicate predicateWithFormat:@"title == %@", title];
/expo/ios/versioned/sdk49/EXMediaLibrary/EXMediaLibrary/
H A DABI49_0_0EXMediaLibrary.m654 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"mediaType IN %@", assetTypes];
655 [predicates addObject:predicate];
664 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"creationDate > %@", createdAfter];
665 [predicates addObject:predicate];
669 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"creationDate < %@", createdBefore];
670 [predicates addObject:predicate];
675 fetchOptions.predicate = compoundPredicate;
753 options.predicate = [NSPredicate predicateWithFormat:@"title == %@", title];
/expo/packages/expo-calendar/ios/EXCalendar/
H A DEXCalendar.m237 NSPredicate *predicate = [self.eventStore predicateForEventsWithStartDate:startDate
241 …NSArray *calendarEvents = [[self.eventStore eventsMatchingPredicate:predicate] sortedArrayUsingSel…
517 NSPredicate *predicate;
519predicate = [self.eventStore predicateForIncompleteRemindersWithDueDateStarting:startDate ending:e…
521predicate = [self.eventStore predicateForCompletedRemindersWithCompletionDateStarting:startDate en…
523 predicate = [self.eventStore predicateForRemindersInCalendars:reminderCalendars];
526 …[self.eventStore fetchRemindersMatchingPredicate:predicate completion:^(NSArray<EKReminder *> *rem…
/expo/ios/versioned/sdk47/EXCalendar/EXCalendar/
H A DABI47_0_0EXCalendar.m237 NSPredicate *predicate = [self.eventStore predicateForEventsWithStartDate:startDate
241 …NSArray *calendarEvents = [[self.eventStore eventsMatchingPredicate:predicate] sortedArrayUsingSel…
517 NSPredicate *predicate;
519predicate = [self.eventStore predicateForIncompleteRemindersWithDueDateStarting:startDate ending:e…
521predicate = [self.eventStore predicateForCompletedRemindersWithCompletionDateStarting:startDate en…
523 predicate = [self.eventStore predicateForRemindersInCalendars:reminderCalendars];
526 …[self.eventStore fetchRemindersMatchingPredicate:predicate completion:^(NSArray<EKReminder *> *rem…
/expo/ios/versioned/sdk49/EXCalendar/EXCalendar/
H A DABI49_0_0EXCalendar.m237 NSPredicate *predicate = [self.eventStore predicateForEventsWithStartDate:startDate
241 …NSArray *calendarEvents = [[self.eventStore eventsMatchingPredicate:predicate] sortedArrayUsingSel…
517 NSPredicate *predicate;
519predicate = [self.eventStore predicateForIncompleteRemindersWithDueDateStarting:startDate ending:e…
521predicate = [self.eventStore predicateForCompletedRemindersWithCompletionDateStarting:startDate en…
523 predicate = [self.eventStore predicateForRemindersInCalendars:reminderCalendars];
526 …[self.eventStore fetchRemindersMatchingPredicate:predicate completion:^(NSArray<EKReminder *> *rem…
/expo/ios/versioned/sdk48/EXCalendar/EXCalendar/
H A DABI48_0_0EXCalendar.m237 NSPredicate *predicate = [self.eventStore predicateForEventsWithStartDate:startDate
241 …NSArray *calendarEvents = [[self.eventStore eventsMatchingPredicate:predicate] sortedArrayUsingSel…
517 NSPredicate *predicate;
519predicate = [self.eventStore predicateForIncompleteRemindersWithDueDateStarting:startDate ending:e…
521predicate = [self.eventStore predicateForCompletedRemindersWithCompletionDateStarting:startDate en…
523 predicate = [self.eventStore predicateForRemindersInCalendars:reminderCalendars];
526 …[self.eventStore fetchRemindersMatchingPredicate:predicate completion:^(NSArray<EKReminder *> *rem…
/expo/ios/versioned/sdk47/EXMediaLibrary/EXMediaLibrary/
H A DABI47_0_0EXMediaLibrary.m649 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"mediaType IN %@", assetTypes];
650 [predicates addObject:predicate];
659 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"creationDate > %@", createdAfter];
660 [predicates addObject:predicate];
664 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"creationDate < %@", createdBefore];
665 [predicates addObject:predicate];
670 fetchOptions.predicate = compoundPredicate;
748 options.predicate = [NSPredicate predicateWithFormat:@"title == %@", title];
/expo/packages/expo-media-library/ios/EXMediaLibrary/
H A DEXMediaLibrary.m657 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"mediaType IN %@", assetTypes];
658 [predicates addObject:predicate];
667 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"creationDate > %@", createdAfter];
668 [predicates addObject:predicate];
672 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"creationDate < %@", createdBefore];
673 [predicates addObject:predicate];
678 fetchOptions.predicate = compoundPredicate;
756 options.predicate = [NSPredicate predicateWithFormat:@"title == %@", title];
/expo/android/vendored/unversioned/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/core/
H A DGestureHandlerOrchestrator.kt63 …private inline fun compactHandlersIf(handlers: Array<GestureHandler<*>?>, count: Int, predicate: (… in <lambda>()
66 if (predicate(handlers[i])) { in <lambda>()
/expo/android/vendored/sdk47/react-native-gesture-handler/android/src/main/java/abi47_0_0/com/swmansion/gesturehandler/core/
H A DGestureHandlerOrchestrator.kt61 …private inline fun compactHandlersIf(handlers: Array<GestureHandler<*>?>, count: Int, predicate: (… in <lambda>()
64 if (predicate(handlers[i])) { in <lambda>()
/expo/android/vendored/sdk48/react-native-gesture-handler/android/src/main/java/abi48_0_0/com/swmansion/gesturehandler/core/
H A DGestureHandlerOrchestrator.kt61 …private inline fun compactHandlersIf(handlers: Array<GestureHandler<*>?>, count: Int, predicate: (… in <lambda>()
64 if (predicate(handlers[i])) { in <lambda>()
/expo/android/vendored/sdk49/react-native-gesture-handler/android/src/main/java/abi49_0_0/com/swmansion/gesturehandler/core/
H A DGestureHandlerOrchestrator.kt63 …private inline fun compactHandlersIf(handlers: Array<GestureHandler<*>?>, count: Int, predicate: (… in <lambda>()
66 if (predicate(handlers[i])) { in <lambda>()
/expo/packages/expo-dev-launcher/ios/
H A Dmain.jsbundle1068predicate,l=t.queryKey,p=t.stale;if(v(l))if(i){if(n.queryHash!==f(l,n.options))return!1}else if(!y…
/expo/packages/expo-dev-launcher/android/src/debug/assets/
H A Dexpo_dev_launcher_android.bundle1069predicate,l=t.queryKey,p=t.stale;if(v(l))if(i){if(n.queryHash!==f(l,n.options))return!1}else if(!y…