Home
last modified time | relevance | path

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

123456

/expo/packages/@expo/cli/src/api/rest/
H A DwrapFetchWithProgress.ts10 const total = Number(totalDownloadSize); constant
13 if (!totalDownloadSize || isNaN(total) || total < 0) {
35 const progress = length / total || 0;
38 total,
H A Dclient.types.ts8 total: number;
/expo/packages/@expo/cli/src/utils/
H A DdownloadExpoGoAsync.ts118 onProgress({ progress, total }) {
119 if (progress && total) {
126 total: 100,
132 bar!.update(progress, total);
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/
H A DExponentDevBundleDownloadListener.kt17 override fun onProgress(status: String?, done: Int?, total: Int?) { in onProgress()
18 listener.onProgress(status, done, total) in onProgress()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/
H A DExponentDevBundleDownloadListener.kt17 override fun onProgress(status: String?, done: Int?, total: Int?) { in onProgress()
18 listener.onProgress(status, done, total) in onProgress()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/
H A DExponentDevBundleDownloadListener.kt17 override fun onProgress(status: String?, done: Int?, total: Int?) { in onProgress()
18 listener.onProgress(status, done, total) in onProgress()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/
H A DExponentDevBundleDownloadListener.kt17 override fun onProgress(status: String?, done: Int?, total: Int?) { in onProgress()
18 listener.onProgress(status, done, total) in onProgress()
/expo/android/expoview/src/main/java/host/exp/exponent/experience/loading/
H A DLoadingProgressPopupController.kt53 fun updateProgress(status: String?, done: Int?, total: Int?) { in <lambda>()
57 if (done != null && total != null && total > 0) { in <lambda>()
58 val percent: Float = done.toFloat() / total * 100 in <lambda>()
/expo/packages/@expo/metro-runtime/build/error-overlay/overlay/
H A DLogBoxInspectorHeader.js44 const total = logs.length;
51 const prevIndex = selectedIndex - 1 < 0 ? total - 1 : selectedIndex - 1;
52 const nextIndex = selectedIndex + 1 > total - 1 ? 0 : selectedIndex + 1;
53 const titleText = `Log ${selectedIndex + 1} of ${total}`;
56 …react_1.default.createElement(LogBoxInspectorHeaderButton, { disabled: total <= 1, level: props.le…
59 …react_1.default.createElement(LogBoxInspectorHeaderButton, { disabled: total <= 1, level: props.le…
/expo/packages/@expo/metro-runtime/src/error-overlay/overlay/
H A DLogBoxInspectorHeader.tsx23 const total = logs.length;
37 const prevIndex = selectedIndex - 1 < 0 ? total - 1 : selectedIndex - 1;
38 const nextIndex = selectedIndex + 1 > total - 1 ? 0 : selectedIndex + 1;
40 const titleText = `Log ${selectedIndex + 1} of ${total}`;
46 disabled={total <= 1}
55 disabled={total <= 1}
/expo/packages/@expo/cli/src/api/rest/__tests__/
H A DwrapFetchWithProgress-test.ts54 total: 150604,
61 total: 150604,
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Network/
H A DABI47_0_0RCTNetworkTask.h15 … void (^ABI47_0_0RCTURLRequestIncrementalDataBlock)(NSData *data, int64_t progress, int64_t total);
16 typedef void (^ABI47_0_0RCTURLRequestProgressBlock)(int64_t progress, int64_t total);
H A DABI47_0_0RCTNetworkTask.mm172 int64_t total = _response.expectedContentLength;
177 incrementalDataBlock(data, length, total);
180 if (_downloadProgressBlock && total > 0) {
183 downloadProgressBlock(length, total);
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Network/
H A DABI48_0_0RCTNetworkTask.h15 … void (^ABI48_0_0RCTURLRequestIncrementalDataBlock)(NSData *data, int64_t progress, int64_t total);
16 typedef void (^ABI48_0_0RCTURLRequestProgressBlock)(int64_t progress, int64_t total);
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Network/
H A DABI49_0_0RCTNetworkTask.h15 … void (^ABI49_0_0RCTURLRequestIncrementalDataBlock)(NSData *data, int64_t progress, int64_t total);
16 typedef void (^ABI49_0_0RCTURLRequestProgressBlock)(int64_t progress, int64_t total);
/expo/android/expoview/src/main/java/host/exp/exponent/experience/
H A DDevBundleDownloadProgressListener.kt5 fun onProgress(status: String?, done: Int?, total: Int?)
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/LogBox/UI/__tests__/__snapshots__/
H A DLogBoxInspector-test.js.snap16 total={3}
65 total={3}
H A DLogBoxInspectorHeader-test.js.snap3 exports[`LogBoxInspectorHeader should render both buttons for two total 1`] = `
71 exports[`LogBoxInspectorHeader should render no buttons for one total 1`] = `
187 exports[`LogBoxInspectorHeader should render two buttons for three or more total 1`] = `
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/LogBox/UI/__tests__/__snapshots__/
H A DLogBoxInspector-test.js.snap16 total={3}
65 total={3}
H A DLogBoxInspectorHeader-test.js.snap3 exports[`LogBoxInspectorHeader should render both buttons for two total 1`] = `
71 exports[`LogBoxInspectorHeader should render no buttons for one total 1`] = `
187 exports[`LogBoxInspectorHeader should render two buttons for three or more total 1`] = `
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/LogBox/UI/__tests__/__snapshots__/
H A DLogBoxInspector-test.js.snap16 total={3}
65 total={3}
H A DLogBoxInspectorHeader-test.js.snap3 exports[`LogBoxInspectorHeader should render both buttons for two total 1`] = `
71 exports[`LogBoxInspectorHeader should render no buttons for one total 1`] = `
187 exports[`LogBoxInspectorHeader should render two buttons for three or more total 1`] = `
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Base/
H A DABI49_0_0RCTMultipartStreamReader.h11 …(^ABI49_0_0RCTMultipartProgressCallback)(NSDictionary *headers, NSNumber *loaded, NSNumber *total);
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Base/
H A DABI48_0_0RCTMultipartStreamReader.h11 …(^ABI48_0_0RCTMultipartProgressCallback)(NSDictionary *headers, NSNumber *loaded, NSNumber *total);
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Base/
H A DABI47_0_0RCTMultipartStreamReader.h11 …(^ABI47_0_0RCTMultipartProgressCallback)(NSDictionary *headers, NSNumber *loaded, NSNumber *total);

123456