| /expo/apps/test-suite/tests/ |
| H A D | FileSystem.js | 54 const { exists } = await FS.getInfoAsync(localUri); 67 localUri, 74 await FS.deleteAsync(localUri); 111 await FS.deleteAsync(localUri); 123 localUri, 135 await FS.readAsStringAsync(localUri); 151 await FS.writeAsStringAsync(localUri, expected); 381 localUri, 391 await FS.deleteAsync(localUri); 458 await FS.deleteAsync(localUri); [all …]
|
| H A D | SMSCommon.js | 5 const { exists } = await FS.getInfoAsync(testFile.localUri); 14 await FS.deleteAsync(fileInfo.localUri, { idempotent: true }); 16 const { md5, headers } = await FS.downloadAsync(fileInfo.remoteUri, fileInfo.localUri, { 25 await FS.deleteAsync(fileInfo.localUri); 30 localUri: FS.documentDirectory + 'image.png', property 37 localUri: FS.documentDirectory + 'image.gif', property 44 localUri: FS.documentDirectory + 'sound.mp3', property 63 const contentUri = await FS.getContentUriAsync(pngFile.localUri); 77 uri: await FS.getContentUriAsync(gifFile.localUri), 82 uri: await FS.getContentUriAsync(pngFile.localUri), [all …]
|
| H A D | ImageManipulator.js | 19 const result = await ImageManipulator.manipulateAsync(image.localUri, [ 41 const result = await ImageManipulator.manipulateAsync(image.localUri, [ 54 image.localUri, 70 image.localUri, 86 image.localUri, 101 image.localUri, 109 const imageInfo = await fetch(image.localUri).then((a) => a.blob()); 114 const imageInfo = await FileSystem.getInfoAsync(image.localUri); 127 const result = await ImageManipulator.manipulateAsync(image.localUri, [ 135 const result = await ImageManipulator.manipulateAsync(image.localUri, [ [all …]
|
| H A D | Asset.js | 43 t.expect(asset.localUri).toMatch(new RegExp(`^file:\/\/.*\.${type}`)); 57 } = await FileSystem.getInfoAsync(asset.localUri, { 64 t.expect(cacheUri).toBe(asset.localUri);
|
| /expo/packages/expo-asset/src/ |
| H A D | PlatformUtils.ts | 61 const localUri = `${FileSystem.cacheDirectory}ExponentAsset-${cacheFileId}.${type}`; constant 62 const fileInfo = await FileSystem.getInfoAsync(localUri, { 66 const { md5 } = await FileSystem.downloadAsync(uri, localUri, { 77 return localUri; 93 const localUri = `${FileSystem.cacheDirectory}ExponentAsset-${cacheFileId}.${type}`; constant 97 await FileSystem.downloadAsync(uri, localUri); 98 return localUri;
|
| H A D | Asset.ts | 69 localUri: string | null = null; property in Asset 103 this.localUri = getLocalAssetUri(hash, type); 104 if (this.localUri) { 171 asset.localUri = asset.uri; 263 this.localUri = await downloadAsync(this.uri, this.hash, this.type, this.name);
|
| /expo/packages/expo-asset/build/ |
| H A D | PlatformUtils.js | 47 const localUri = `${FileSystem.cacheDirectory}ExponentAsset-${cacheFileId}.${type}`; 48 const fileInfo = await FileSystem.getInfoAsync(localUri, { 52 const { md5 } = await FileSystem.downloadAsync(uri, localUri, { 61 return localUri; 75 const localUri = `${FileSystem.cacheDirectory}ExponentAsset-${cacheFileId}.${type}`; 78 await FileSystem.downloadAsync(uri, localUri); 79 return localUri;
|
| H A D | Asset.js | 49 localUri = null; field in Asset 79 this.localUri = getLocalAssetUri(hash, type); 80 if (this.localUri) { 141 asset.localUri = asset.uri; 224 this.localUri = await downloadAsync(this.uri, this.hash, this.type, this.name);
|
| /expo/packages/expo-font/android/src/main/java/expo/modules/font/ |
| H A D | FontLoaderModule.kt | 29 AsyncFunction("loadAsync") { fontFamilyName: String, localUri: String -> in <lambda>() method 33 val typeface: Typeface = if (localUri.startsWith(ASSET_SCHEME)) { in <lambda>() 36 localUri.substring(ASSET_SCHEME.length + 1) in <lambda>() 39 val file = Uri.parse(localUri).path?.let { File(it) } in <lambda>() 40 ?: throw FileNotFoundException(localUri) in <lambda>()
|
| /expo/packages/expo-file-system/src/__tests__/ |
| H A D | FileSystem-test.native.ts | 9 const localUri = FileSystem.documentDirectory + 'small.mp4'; constant 14 fileUri: localUri, 23 localUri, 35 localUri, 77 localUri,
|
| /expo/packages/expo-maps/android/src/main/java/expo/modules/maps/googleMaps/ |
| H A D | GoogleMapsClusters.kt | 126 val localUri = item.icon?.let { Uri.parse(it)?.path } in <lambda>() constant 133 .icon(provideDescriptor(localUri, item.color)) in <lambda>() 137 val localUri = item.icon?.let { Uri.parse(it)?.path } in <lambda>() constant 143 marker.setIcon(provideDescriptor(localUri, item.color)) in <lambda>() 155 val localUri = clusterManager.icon?.let { Uri.parse(it)?.path } in <lambda>() constant 156 if (localUri != null) { in <lambda>() 157 markerOptions.icon(BitmapDescriptorFactory.fromPath(localUri)) in <lambda>() 168 val localUri = clusterManager.icon?.let { Uri.parse(it)?.path } in <lambda>() constant 169 if (localUri != null) { in <lambda>() 170 marker.setIcon(BitmapDescriptorFactory.fromPath(localUri)) in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/font/ |
| H A D | FontLoaderModule.kt | 38 fun loadAsync(fontFamilyName: String, localUri: String, promise: Promise) { in loadAsync() 49 val typeface: Typeface = if (localUri.startsWith(ASSET_SCHEME)) { in loadAsync() 52 localUri.substring(ASSET_SCHEME.length + 1) in loadAsync() 55 Typeface.createFromFile(File(Uri.parse(localUri).path)) in loadAsync()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/font/ |
| H A D | FontLoaderModule.kt | 38 fun loadAsync(fontFamilyName: String, localUri: String, promise: Promise) { in loadAsync() 49 val typeface: Typeface = if (localUri.startsWith(ASSET_SCHEME)) { in loadAsync() 52 localUri.substring(ASSET_SCHEME.length + 1) in loadAsync() 55 Typeface.createFromFile(File(Uri.parse(localUri).path)) in loadAsync()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/font/ |
| H A D | FontLoaderModule.kt | 38 fun loadAsync(fontFamilyName: String, localUri: String, promise: Promise) { in loadAsync() 49 val typeface: Typeface = if (localUri.startsWith(ASSET_SCHEME)) { in loadAsync() 52 localUri.substring(ASSET_SCHEME.length + 1) in loadAsync() 55 Typeface.createFromFile(File(Uri.parse(localUri).path)) in loadAsync()
|
| /expo/apps/native-component-list/src/screens/GL/ |
| H A D | BeforePIXI.native.tsx | 136 localUri: string; 144 constructor(props: { localUri: string; width: number; height: number }) { 150 this.localUri = props.localUri; 151 this.lowSrc = props.localUri; 152 this.currentSrc = props.localUri; 153 this.src = props.localUri;
|
| /expo/packages/expo-font/src/__tests__/ |
| H A D | Font-test.native.ts | 14 type MockAsset = { downloaded: boolean; downloadAsync: () => Promise<void>; localUri?: string }; 15 type MockAssetOptions = { localUri?: string; downloaded?: boolean; downloadAsync?: any }; 18 localUri = 'file:/test/test-font.ttf', 25 mockAsset.localUri = localUri; 140 localUri: 'file:/test/test-font.ttf', 197 localUri: 'file:/test/test-font-1.ttf', 200 localUri: 'file:/test/test-font-2.ttf', 216 localUri: 'file:/test/test-font-1.ttf', 235 localUri: 'file:/test/test-font-1.ttf', 238 localUri: 'file:/test/test-font-2.ttf', [all …]
|
| /expo/ios/versioned/sdk48/ExpoGL/common/ |
| H A D | ABI48_0_0EXGLImageUtils.cpp | 125 auto localUri = localUriProp.asString(runtime).utf8(runtime); in loadImage() local 126 if (strncmp(localUri.c_str(), "file://", 7) != 0) { in loadImage() 129 char localPath[localUri.size()]; in loadImage() 130 decodeURI(localPath, localUri.c_str() + 7); in loadImage()
|
| /expo/ios/versioned/sdk47/EXGL/common/ |
| H A D | ABI47_0_0EXGLImageUtils.cpp | 125 auto localUri = localUriProp.asString(runtime).utf8(runtime); in loadImage() local 126 if (strncmp(localUri.c_str(), "file://", 7) != 0) { in loadImage() 129 char localPath[localUri.size()]; in loadImage() 130 decodeURI(localPath, localUri.c_str() + 7); in loadImage()
|
| /expo/packages/expo-gl/common/ |
| H A D | EXGLImageUtils.cpp | 125 auto localUri = localUriProp.asString(runtime).utf8(runtime); in loadImage() local 126 if (strncmp(localUri.c_str(), "file://", 7) != 0) { in loadImage() 129 char localPath[localUri.size()]; in loadImage() 130 decodeURI(localPath, localUri.c_str() + 7); in loadImage()
|
| /expo/ios/versioned/sdk49/ExpoGL/common/ |
| H A D | ABI49_0_0EXGLImageUtils.cpp | 125 auto localUri = localUriProp.asString(runtime).utf8(runtime); in loadImage() local 126 if (strncmp(localUri.c_str(), "file://", 7) != 0) { in loadImage() 129 char localPath[localUri.size()]; in loadImage() 130 decodeURI(localPath, localUri.c_str() + 7); in loadImage()
|
| /expo/packages/expo-asset/src/__tests__/ |
| H A D | Asset-test.ts | 132 expect(asset.localUri).toBeNull(); 140 expect(asset.localUri).toBe( 153 expect(asset.localUri).toBeNull(); 164 localUri: 'https://classic-assets.eascdn.net/~assets/cafecafecafecafecafecafecafecafe', 221 expect(asset.localUri).toBe(asset.uri); 255 expect(asset.localUri).toBe(
|
| /expo/android/vendored/sdk47/@shopify/react-native-skia/cpp/api/ |
| H A D | JsiSkDataFactory.h | 20 auto localUri = jsiLocalUri.utf8(runtime); in JSI_HOST_FUNCTION() local 24 … [context = std::move(context), localUri = std::move(localUri)](jsi::Runtime &runtime, in JSI_HOST_FUNCTION() 29 localUri, in JSI_HOST_FUNCTION()
|
| /expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/api/ |
| H A D | JsiSkDataFactory.h | 20 auto localUri = jsiLocalUri.utf8(runtime); in JSI_HOST_FUNCTION() local 24 [context = std::move(context), localUri = std::move(localUri)]( in JSI_HOST_FUNCTION() 30 localUri, in JSI_HOST_FUNCTION()
|
| /expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/api/ |
| H A D | JsiSkDataFactory.h | 20 auto localUri = jsiLocalUri.utf8(runtime); in JSI_HOST_FUNCTION() local 24 [context = std::move(context), localUri = std::move(localUri)]( in JSI_HOST_FUNCTION() 30 localUri, in JSI_HOST_FUNCTION()
|
| /expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/api/ |
| H A D | JsiSkDataFactory.h | 20 auto localUri = jsiLocalUri.utf8(runtime); in JSI_HOST_FUNCTION() local 24 [context = std::move(context), localUri = std::move(localUri)]( in JSI_HOST_FUNCTION() 30 localUri, in JSI_HOST_FUNCTION()
|