Home
last modified time | relevance | path

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

12345678910>>...14

/expo/packages/expo-clipboard/src/web/
H A DClipboardModule.ts38 const blob = await findHtmlInClipboardAsync(clipboardItems); constant
39 if (!blob) {
43 return await new Response(blob).text();
50 const blob = await findHtmlInClipboardAsync(clipboardItems); constant
51 const blobText = await blob?.text();
131 const blob = await findImageInClipboardAsync(clipboardItems); constant
132 if (!blob) {
137 blobToBase64Async(blob),
138 getImageSizeFromBlobAsync(blob),
158 const blob = base64toBlob(base64image, 'image/png'); constant
[all …]
H A DUtils.ts33 export function blobToBase64Async(blob: Blob): Promise<string> {
37 reader.readAsDataURL(blob);
47 export function getImageSizeFromBlobAsync(blob: Blob): Promise<{ width: number; height: number }> {
49 const blobUrl = URL.createObjectURL(blob);
/expo/packages/expo-clipboard/build/web/
H A DClipboardModule.js17 const blob = await findHtmlInClipboardAsync(clipboardItems); constant
18 if (!blob) {
22 return await new Response(blob).text();
29 const blob = await findHtmlInClipboardAsync(clipboardItems); constant
30 const blobText = await blob?.text();
113 const blob = await findImageInClipboardAsync(clipboardItems); constant
114 if (!blob) {
118 blobToBase64Async(blob),
119 getImageSizeFromBlobAsync(blob),
138 const blob = base64toBlob(base64image, 'image/png'); constant
[all …]
H A DUtils.d.ts9 export declare function blobToBase64Async(blob: Blob): Promise<string>;
11 export declare function getImageSizeFromBlobAsync(blob: Blob): Promise<{
H A DUtils.js30 export function blobToBase64Async(blob) { argument
34 reader.readAsDataURL(blob);
42 export function getImageSizeFromBlobAsync(blob) { argument
44 const blobUrl = URL.createObjectURL(blob);
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Blob/
H A DABI47_0_0RCTFileReaderModule.mm28 ABI47_0_0RCT_EXPORT_METHOD(readAsText:(NSDictionary<NSString *, id> *)blob
35 NSData *data = [blobManager resolve:blob];
39 …SString stringWithFormat:@"Unable to resolve data for blob: %@", [ABI47_0_0RCTConvert NSString:blo…
56 ABI47_0_0RCT_EXPORT_METHOD(readAsDataURL:(NSDictionary<NSString *, id> *)blob
62 NSData *data = [blobManager resolve:blob];
66 …SString stringWithFormat:@"Unable to resolve data for blob: %@", [ABI47_0_0RCTConvert NSString:blo…
68 NSString *type = [ABI47_0_0RCTConvert NSString:blob[@"type"]];
H A DABI47_0_0RCTBlobManager.mm21 static NSString *const kBlobURIScheme = @"blob";
82 - (NSData *)resolve:(NSDictionary<NSString *, id> *)blob
84 NSString *blobId = [ABI47_0_0RCTConvert NSString:blob[@"blobId"]];
86 NSNumber *size = [ABI47_0_0RCTConvert NSNumber:blob[@"size"]];
183 if ([type isEqualToString:@"blob"]) {
255 return data[@"blob"] != nil;
262 NSDictionary *blob = [ABI47_0_0RCTConvert NSDictionary:data[@"blob"]];
267 contentType = blob[@"type"];
275 return [responseType isEqualToString:@"blob"];
281 // an empty blob as per the XMLHttpRequest spec.
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Blob/
H A DABI48_0_0RCTFileReaderModule.mm28 : (NSDictionary<NSString *, id> *)blob encoding
35 NSData *data = [blobManager resolve:blob];
40 …SString stringWithFormat:@"Unable to resolve data for blob: %@", [ABI48_0_0RCTConvert NSString:blo…
60 : (NSDictionary<NSString *, id> *)blob resolve
66 NSData *data = [blobManager resolve:blob];
71 …SString stringWithFormat:@"Unable to resolve data for blob: %@", [ABI48_0_0RCTConvert NSString:blo…
74 NSString *type = [ABI48_0_0RCTConvert NSString:blob[@"type"]];
H A DABI48_0_0RCTBlobManager.mm21 static NSString *const kBlobURIScheme = @"blob";
85 - (NSData *)resolve:(NSDictionary<NSString *, id> *)blob
87 NSString *blobId = [ABI48_0_0RCTConvert NSString:blob[@"blobId"]];
89 NSNumber *size = [ABI48_0_0RCTConvert NSNumber:blob[@"size"]];
187 if ([type isEqualToString:@"blob"]) {
259 return data[@"blob"] != nil;
266 NSDictionary *blob = [ABI48_0_0RCTConvert NSDictionary:data[@"blob"]];
271 contentType = blob[@"type"];
279 return [responseType isEqualToString:@"blob"];
285 // an empty blob as per the XMLHttpRequest spec.
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Blob/
H A DABI49_0_0RCTFileReaderModule.mm28 : (NSDictionary<NSString *, id> *)blob encoding
35 NSData *data = [blobManager resolve:blob];
40 …SString stringWithFormat:@"Unable to resolve data for blob: %@", [ABI49_0_0RCTConvert NSString:blo…
60 : (NSDictionary<NSString *, id> *)blob resolve
66 NSData *data = [blobManager resolve:blob];
71 …SString stringWithFormat:@"Unable to resolve data for blob: %@", [ABI49_0_0RCTConvert NSString:blo…
74 NSString *type = [ABI49_0_0RCTConvert NSString:blob[@"type"]];
H A DABI49_0_0RCTBlobManager.mm21 static NSString *const kBlobURIScheme = @"blob";
85 - (NSData *)resolve:(NSDictionary<NSString *, id> *)blob
87 NSString *blobId = [ABI49_0_0RCTConvert NSString:blob[@"blobId"]];
89 NSNumber *size = [ABI49_0_0RCTConvert NSNumber:blob[@"size"]];
187 if ([type isEqualToString:@"blob"]) {
259 return data[@"blob"] != nil;
266 NSDictionary *blob = [ABI49_0_0RCTConvert NSDictionary:data[@"blob"]];
271 contentType = blob[@"type"];
279 return [responseType isEqualToString:@"blob"];
285 // an empty blob as per the XMLHttpRequest spec.
[all …]
/expo/apps/native-component-list/src/screens/
H A DFlashListScreen.tsx15 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Alumi_Portrait.png?raw=true',
16 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Azura_Portrait.png?raw=true',
17 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Carbo_Portrait.png?raw=true',
18 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Chalk_Portrait.png?raw=true',
19 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Chrome_Portrait.png?raw=true…
20 'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/En_Portrait.png?raw=true',
21 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Ganen_Portrait.png?raw=true',
22 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Gen_Asagiri_Portrait.png?raw…
23 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Genbu_portrait.png?raw=true',
24 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Ginro_Portrait.png?raw=true',
/expo/apps/native-component-list/src/screens/AuthSession/
H A DAuthCard.tsx15 …'https://github.com/expo/expo/blob/main/docs/public/static/images/sdk/auth-session/facebook.png?ra…
21 …'https://github.com/expo/expo/blob/main/docs/public/static/images/sdk/auth-session/imgur.png?raw=t…
27 …'https://github.com/expo/expo/blob/main/docs/public/static/images/sdk/auth-session/uber.png?raw=tr…
33 …'https://github.com/expo/expo/blob/main/docs/public/static/images/sdk/auth-session/google.png?raw=…
39 …'https://github.com/expo/expo/blob/main/docs/public/static/images/sdk/auth-session/google.png?raw=…
45 …'https://github.com/expo/expo/blob/main/docs/public/static/images/sdk/auth-session/azure.png?raw=t…
51 …'https://github.com/expo/expo/blob/main/docs/public/static/images/sdk/auth-session/fitbit.png?raw=…
57 …'https://github.com/expo/expo/blob/main/docs/public/static/images/sdk/auth-session/reddit.png?raw=…
75 …'https://github.com/expo/expo/blob/main/docs/public/static/images/sdk/auth-session/github.png?raw=…
81 …'https://github.com/expo/expo/blob/main/docs/public/static/images/sdk/auth-session/slack.png?raw=t…
[all …]
/expo/packages/expo-gl/build/
H A DGLView.web.js54 let blob = null;
57 blob = await canvas.msToBlob();
60 blob = await canvas.convertToBlob({ quality: options.compress, type: options.format });
63 blob = await new Promise((resolve) => {
64 canvas.toBlob((blob) => resolve(blob), options.format, options.compress);
68 blob,
91 const { blob, width, height } = await getBlobFromWebGLRenderingContext(gl, options);
92 if (!blob) {
96 uri: blob,
/expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/rnskia/dom/nodes/
H A DJsiTextPathNode.h18 auto blob = _textBlobProp->getDerivedValue(); in draw() local
19 if (blob != nullptr) { in draw()
20 context->getCanvas()->drawTextBlob(blob, 0, 0, *context->getPaint()); in draw()
H A DJsiTextBlobNode.h19 auto blob = _textBlobProp->getDerivedValue(); in draw() local
23 context->getCanvas()->drawTextBlob(blob, x, y, *context->getPaint()); in draw()
/expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/rnskia/dom/nodes/
H A DJsiTextPathNode.h18 auto blob = _textBlobProp->getDerivedValue(); in draw() local
19 if (blob != nullptr) { in draw()
20 context->getCanvas()->drawTextBlob(blob, 0, 0, *context->getPaint()); in draw()
/expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/rnskia/dom/nodes/
H A DJsiTextPathNode.h18 auto blob = _textBlobProp->getDerivedValue(); in draw() local
19 if (blob != nullptr) { in draw()
20 context->getCanvas()->drawTextBlob(blob, 0, 0, *context->getPaint()); in draw()
/expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/rnskia/dom/nodes/
H A DJsiTextPathNode.h18 auto blob = _textBlobProp->getDerivedValue(); in draw() local
19 if (blob != nullptr) { in draw()
20 context->getCanvas()->drawTextBlob(blob, 0, 0, *context->getPaint()); in draw()
/expo/packages/expo-image/build/web/
H A Dhooks.js35 const blob = await result.blob();
40 return URL.createObjectURL(blob);
/expo/packages/expo-image/src/web/
H A Dhooks.ts51 const blob = await result.blob(); constant
56 return URL.createObjectURL(blob);
/expo/packages/expo-image/build/utils/blurhash/
H A DuseBlurhash.js26 canvas.toBlob((blob) => {
32 return blob ? URL.createObjectURL(blob) : oldUrl;
/expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/rnskia/dom/nodes/
H A DJsiTextPathNode.h18 auto blob = _textBlobProp->getDerivedValue(); in draw() local
19 context->getCanvas()->drawTextBlob(blob, 0, 0, *context->getPaint()); in draw()
/expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/rnskia/dom/nodes/
H A DJsiTextPathNode.h18 auto blob = _textBlobProp->getDerivedValue(); in draw() local
19 context->getCanvas()->drawTextBlob(blob, 0, 0, *context->getPaint()); in draw()
/expo/packages/expo-gl/src/
H A DGLView.web.tsx94 ): Promise<{ width: number; height: number; blob: Blob | null }> {
99 let blob: Blob | null = null;
103 blob = await canvas.msToBlob();
105 blob = await canvas.convertToBlob({ quality: options.compress, type: options.format });
107 blob = await new Promise((resolve) => {
108 canvas.toBlob((blob: Blob | null) => resolve(blob), options.format, options.compress);
113 blob,
144 const { blob, width, height } = await getBlobFromWebGLRenderingContext(gl, options);
146 if (!blob) {
151 uri: blob,

12345678910>>...14