Home
last modified time | relevance | path

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

12345678910>>...23

/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/datetimepicker/
H A DRNDate.java8 private Calendar now; field in RNDate
11 now = Calendar.getInstance(); in RNDate()
18 now.setTimeZone(TimeZone.getTimeZone("GMT")); in RNDate()
21 now.add(Calendar.MILLISECOND, timeZoneOffsetInMinutes * 60000); in RNDate()
26 now.setTimeInMillis(value); in set()
29 public int year() { return now.get(Calendar.YEAR); } in year()
30 public int month() { return now.get(Calendar.MONTH); } in month()
31 public int day() { return now.get(Calendar.DAY_OF_MONTH); } in day()
32 public int hour() { return now.get(Calendar.HOUR_OF_DAY); } in hour()
33 public int minute() { return now.get(Calendar.MINUTE); } in minute()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/datetimepicker/
H A DRNDate.java8 private Calendar now; field in RNDate
11 now = Calendar.getInstance(); in RNDate()
18 now.setTimeZone(TimeZone.getTimeZone("GMT")); in RNDate()
21 now.add(Calendar.MILLISECOND, timeZoneOffsetInMinutes * 60000); in RNDate()
26 now.setTimeInMillis(value); in set()
29 public int year() { return now.get(Calendar.YEAR); } in year()
30 public int month() { return now.get(Calendar.MONTH); } in month()
31 public int day() { return now.get(Calendar.DAY_OF_MONTH); } in day()
32 public int hour() { return now.get(Calendar.HOUR_OF_DAY); } in hour()
33 public int minute() { return now.get(Calendar.MINUTE); } in minute()
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/components/datetimepicker/
H A DRNDate.java8 private Calendar now; field in RNDate
11 now = Calendar.getInstance(); in RNDate()
18 now.setTimeZone(TimeZone.getTimeZone("GMT")); in RNDate()
21 now.add(Calendar.MILLISECOND, timeZoneOffsetInMinutes * 60000); in RNDate()
26 now.setTimeInMillis(value); in set()
29 public int year() { return now.get(Calendar.YEAR); } in year()
30 public int month() { return now.get(Calendar.MONTH); } in month()
31 public int day() { return now.get(Calendar.DAY_OF_MONTH); } in day()
32 public int hour() { return now.get(Calendar.HOUR_OF_DAY); } in hour()
33 public int minute() { return now.get(Calendar.MINUTE); } in minute()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/components/datetimepicker/
H A DRNDate.java8 private Calendar now; field in RNDate
11 now = Calendar.getInstance(); in RNDate()
18 now.setTimeZone(TimeZone.getTimeZone("GMT")); in RNDate()
21 now.add(Calendar.MILLISECOND, timeZoneOffsetInMinutes * 60000); in RNDate()
26 now.setTimeInMillis(value); in set()
29 public int year() { return now.get(Calendar.YEAR); } in year()
30 public int month() { return now.get(Calendar.MONTH); } in month()
31 public int day() { return now.get(Calendar.DAY_OF_MONTH); } in day()
32 public int hour() { return now.get(Calendar.HOUR_OF_DAY); } in hour()
33 public int minute() { return now.get(Calendar.MINUTE); } in minute()
/expo/packages/expo-modules-core/ios/Swift/DevTools/
H A DExpoRequestCdpInterceptor.swift38 let now = Date().timeIntervalSince1970 in willSendRequest() variable
41 now: now, in willSendRequest()
48 …let params2 = CdpNetwork.RequestWillBeSentExtraInfoParams(now: now, requestId: requestId, request:… in willSendRequest()
56 let now = Date().timeIntervalSince1970 in didReceiveResponse() variable
59 now: now, in didReceiveResponse()
67 …let params2 = CdpNetwork.ExpoReceivedResponseBodyParams(now: now, requestId: requestId, responseBo… in didReceiveResponse()
71 …let params3 = CdpNetwork.LoadingFinishedParams(now: now, requestId: requestId, encodedDataLength: … in didReceiveResponse()
H A DCdpNetworkTypes.swift97 …init(now: TimeInterval, requestId: RequestId, request: URLRequest, encodedDataLength: Int64, redir…
100 self.timestamp = now
101 self.wallTime = now
117 init(now: TimeInterval, requestId: RequestId, request: URLRequest) {
120 self.connectTiming = ConnectTiming(requestTime: now)
132 …init(now: TimeInterval, requestId: RequestId, request: URLRequest, response: HTTPURLResponse, enco…
134 self.timestamp = now
145 init(now: TimeInterval, requestId: RequestId, encodedDataLength: Int64) {
147 self.timestamp = now
157 init(now: TimeInterval, requestId: RequestId, responseBody: Data, isText: Bool) {
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/DevTools/
H A DExpoRequestCdpInterceptor.swift38 let now = Date().timeIntervalSince1970 in willSendRequest() variable
41 now: now, in willSendRequest()
48 …let params2 = CdpNetwork.RequestWillBeSentExtraInfoParams(now: now, requestId: requestId, request:… in willSendRequest()
56 let now = Date().timeIntervalSince1970 in didReceiveResponse() variable
59 now: now, in didReceiveResponse()
67 …let params2 = CdpNetwork.ExpoReceivedResponseBodyParams(now: now, requestId: requestId, responseBo… in didReceiveResponse()
71 …let params3 = CdpNetwork.LoadingFinishedParams(now: now, requestId: requestId, encodedDataLength: … in didReceiveResponse()
H A DCdpNetworkTypes.swift97 …init(now: TimeInterval, requestId: RequestId, request: URLRequest, encodedDataLength: Int64, redir…
100 self.timestamp = now
101 self.wallTime = now
117 init(now: TimeInterval, requestId: RequestId, request: URLRequest) {
120 self.connectTiming = ConnectTiming(requestTime: now)
132 …init(now: TimeInterval, requestId: RequestId, request: URLRequest, response: HTTPURLResponse, enco…
134 self.timestamp = now
145 init(now: TimeInterval, requestId: RequestId, encodedDataLength: Int64) {
147 self.timestamp = now
157 init(now: TimeInterval, requestId: RequestId, responseBody: Data, isText: Bool) {
/expo/home/utils/
H A DuseThrottle.ts5 const lastExecuted = React.useRef<number>(Date.now());
8 if (Date.now() >= lastExecuted.current + interval) {
9 lastExecuted.current = Date.now();
14 lastExecuted.current = Date.now();
/expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/rnskia/values/
H A DRNSkClockValue.h54 auto now = std::chrono::high_resolution_clock::now(); in JSI_EXPORT_FUNCTIONS() local
56 _start = now; in JSI_EXPORT_FUNCTIONS()
57 _stop = now; in JSI_EXPORT_FUNCTIONS()
61 auto timeSinceStop = now - _stop; in JSI_EXPORT_FUNCTIONS()
79 _stop = std::chrono::high_resolution_clock::now(); in stopClock()
110 auto now = std::chrono::high_resolution_clock::now(); in notifyUpdate()
113 now - selfClockValue->_start) in notifyUpdate()
/expo/ios/vendored/sdk47/@shopify/react-native-skia/cpp/rnskia/values/
H A DABI47_0_0RNSkClockValue.h63 auto now = std::chrono::high_resolution_clock::now(); in JSI_EXPORT_FUNCTIONS() local
65 _start = now; in JSI_EXPORT_FUNCTIONS()
66 _stop = now; in JSI_EXPORT_FUNCTIONS()
70 auto timeSinceStop = now - _stop; in JSI_EXPORT_FUNCTIONS()
86 _stop = std::chrono::high_resolution_clock::now(); in stopClock()
115 auto now = std::chrono::high_resolution_clock::now(); in notifyUpdate()
116 …auto deltaFromStart = std::chrono::duration_cast<std::chrono::milliseconds>(now - selfClockValue->… in notifyUpdate()
/expo/android/vendored/sdk47/@shopify/react-native-skia/cpp/rnskia/values/
H A DRNSkClockValue.h63 auto now = std::chrono::high_resolution_clock::now(); in JSI_EXPORT_FUNCTIONS() local
65 _start = now; in JSI_EXPORT_FUNCTIONS()
66 _stop = now; in JSI_EXPORT_FUNCTIONS()
70 auto timeSinceStop = now - _stop; in JSI_EXPORT_FUNCTIONS()
86 _stop = std::chrono::high_resolution_clock::now(); in stopClock()
115 auto now = std::chrono::high_resolution_clock::now(); in notifyUpdate()
116 …auto deltaFromStart = std::chrono::duration_cast<std::chrono::milliseconds>(now - selfClockValue->… in notifyUpdate()
/expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/rnskia/values/
H A DABI48_0_0RNSkClockValue.h54 auto now = std::chrono::high_resolution_clock::now(); in JSI_EXPORT_FUNCTIONS() local
56 _start = now; in JSI_EXPORT_FUNCTIONS()
57 _stop = now; in JSI_EXPORT_FUNCTIONS()
61 auto timeSinceStop = now - _stop; in JSI_EXPORT_FUNCTIONS()
79 _stop = std::chrono::high_resolution_clock::now(); in stopClock()
110 auto now = std::chrono::high_resolution_clock::now(); in notifyUpdate()
113 now - selfClockValue->_start) in notifyUpdate()
/expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/rnskia/values/
H A DRNSkClockValue.h54 auto now = std::chrono::high_resolution_clock::now(); in JSI_EXPORT_FUNCTIONS() local
56 _start = now; in JSI_EXPORT_FUNCTIONS()
57 _stop = now; in JSI_EXPORT_FUNCTIONS()
61 auto timeSinceStop = now - _stop; in JSI_EXPORT_FUNCTIONS()
79 _stop = std::chrono::high_resolution_clock::now(); in stopClock()
110 auto now = std::chrono::high_resolution_clock::now(); in notifyUpdate()
113 now - selfClockValue->_start) in notifyUpdate()
/expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/rnskia/values/
H A DABI49_0_0RNSkClockValue.h54 auto now = std::chrono::high_resolution_clock::now(); in JSI_EXPORT_FUNCTIONS() local
56 _start = now; in JSI_EXPORT_FUNCTIONS()
57 _stop = now; in JSI_EXPORT_FUNCTIONS()
61 auto timeSinceStop = now - _stop; in JSI_EXPORT_FUNCTIONS()
79 _stop = std::chrono::high_resolution_clock::now(); in stopClock()
110 auto now = std::chrono::high_resolution_clock::now(); in notifyUpdate()
113 now - selfClockValue->_start) in notifyUpdate()
/expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/rnskia/values/
H A DRNSkClockValue.h54 auto now = std::chrono::high_resolution_clock::now(); in JSI_EXPORT_FUNCTIONS() local
56 _start = now; in JSI_EXPORT_FUNCTIONS()
57 _stop = now; in JSI_EXPORT_FUNCTIONS()
61 auto timeSinceStop = now - _stop; in JSI_EXPORT_FUNCTIONS()
79 _stop = std::chrono::high_resolution_clock::now(); in stopClock()
110 auto now = std::chrono::high_resolution_clock::now(); in notifyUpdate()
113 now - selfClockValue->_start) in notifyUpdate()
/expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/rnskia/values/
H A DRNSkClockValue.h54 auto now = std::chrono::high_resolution_clock::now(); in JSI_EXPORT_FUNCTIONS() local
56 _start = now; in JSI_EXPORT_FUNCTIONS()
57 _stop = now; in JSI_EXPORT_FUNCTIONS()
61 auto timeSinceStop = now - _stop; in JSI_EXPORT_FUNCTIONS()
79 _stop = std::chrono::high_resolution_clock::now(); in stopClock()
110 auto now = std::chrono::high_resolution_clock::now(); in notifyUpdate()
113 now - selfClockValue->_start) in notifyUpdate()
/expo/android/expoview/src/main/java/host/exp/exponent/notifications/schedulers/
H A DIntervalSchedulerModel.kt27 return isRepeat || DateTime.now().toDate().time < scheduledTime in canBeRescheduled()
52 var now = DateTime.now().toDate().time variable
54 if (now <= scheduledTime) {
58 now = DateTime.now().toDate().time
59 val elapsedTime = now - scheduledTime
63 val bootTime = DateTime.now().toDate().time - SystemClock.elapsedRealtime()
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/
H A DExpoRequestCdpInterceptor.kt42 val now = BigDecimal(System.currentTimeMillis() / 1000.0).setScale(3, RoundingMode.CEILING) in willSendRequest() constant
44 val params = RequestWillBeSentParams(now, requestId, request, redirectResponse) in willSendRequest()
47 val params2 = RequestWillBeSentExtraInfoParams(now, requestId, request) in willSendRequest()
52 val now = BigDecimal(System.currentTimeMillis() / 1000.0).setScale(3, RoundingMode.CEILING) in didReceiveResponse() constant
54 val params = ResponseReceivedParams(now, requestId, request, response) in didReceiveResponse()
58 val params2 = ExpoReceivedResponseBodyParams(now, requestId, request, response) in didReceiveResponse()
62 val params3 = LoadingFinishedParams(now, requestId, request, response) in didReceiveResponse()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/devtools/
H A DExpoRequestCdpInterceptor.kt42 val now = BigDecimal(System.currentTimeMillis() / 1000.0).setScale(3, RoundingMode.CEILING) in willSendRequest() constant
44 val params = RequestWillBeSentParams(now, requestId, request, redirectResponse) in willSendRequest()
47 val params2 = RequestWillBeSentExtraInfoParams(now, requestId, request) in willSendRequest()
52 val now = BigDecimal(System.currentTimeMillis() / 1000.0).setScale(3, RoundingMode.CEILING) in didReceiveResponse() constant
54 val params = ResponseReceivedParams(now, requestId, request, response) in didReceiveResponse()
58 val params2 = ExpoReceivedResponseBodyParams(now, requestId, request, response) in didReceiveResponse()
62 val params3 = LoadingFinishedParams(now, requestId, request, response) in didReceiveResponse()
/expo/packages/@expo/cli/src/utils/
H A Ddelay.ts19 const start = Date.now();
21 const actionStartTime = Date.now();
24 const actionTimeElapsed = Date.now() - actionStartTime;
29 if (Date.now() - start > maxWaitTime) {
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/
H A DABI48_0_0RuntimeScheduler.cpp19 std::function<RuntimeSchedulerTimePoint()> now) in RuntimeScheduler() argument
20 : runtimeExecutor_(std::move(runtimeExecutor)), now_(std::move(now)) {} in RuntimeScheduler()
37 auto expirationTime = now() + timeoutForSchedulerPriority(priority); in scheduleTask()
63 RuntimeSchedulerTimePoint RuntimeScheduler::now() const noexcept { in now() function in ABI48_0_0facebook::ABI48_0_0React::RuntimeScheduler
90 auto now = now_(); in callExpiredTasks() local
91 auto didUserCallbackTimeout = topPriorityTask->expirationTime <= now; in callExpiredTasks()
134 auto now = now_(); in startWorkLoop() local
135 auto didUserCallbackTimeout = topPriorityTask->expirationTime <= now; in startWorkLoop()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/
H A DABI47_0_0RuntimeScheduler.cpp20 std::function<RuntimeSchedulerTimePoint()> now) in RuntimeScheduler() argument
21 : runtimeExecutor_(std::move(runtimeExecutor)), now_(std::move(now)) {} in RuntimeScheduler()
37 auto expirationTime = now() + timeoutForSchedulerPriority(priority); in scheduleTask()
63 RuntimeSchedulerTimePoint RuntimeScheduler::now() const noexcept { in now() function in ABI47_0_0facebook::ABI47_0_0React::RuntimeScheduler
90 auto now = now_(); in callExpiredTasks() local
91 auto didUserCallbackTimeout = topPriorityTask->expirationTime <= now; in callExpiredTasks()
134 auto now = now_(); in startWorkLoop() local
135 auto didUserCallbackTimeout = topPriorityTask->expirationTime <= now; in startWorkLoop()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/animations/
H A DABI48_0_0utils.cpp14 uint64_t now, in calculateAnimationProgress() argument
25 if (now >= endTime) { in calculateAnimationProgress()
28 if (now < startTime + delay) { in calculateAnimationProgress()
33 (double)(endTime - delay - now) / (double)(endTime - animation.startTime); in calculateAnimationProgress()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/animations/
H A DABI47_0_0utils.cpp15 uint64_t now, in calculateAnimationProgress() argument
26 if (now >= endTime) { in calculateAnimationProgress()
29 if (now < startTime + delay) { in calculateAnimationProgress()
34 (double)(endTime - delay - now) / (double)(endTime - animation.startTime); in calculateAnimationProgress()

12345678910>>...23