| /expo/packages/expo-image/build/utils/thumbhash/ |
| H A D | thumbhash.d.ts | 9 export declare function rgbaToThumbHash(w: number, h: number, rgba: Uint8Array): Uint8Array; 16 export declare function thumbHashToRGBA(hash: Uint8Array): { 19 rgba: Uint8Array; 27 export declare function thumbHashToAverageRGBA(hash: Uint8Array): { 39 export declare function thumbHashToApproximateAspectRatio(hash: Uint8Array): number; 50 export declare function rgbaToDataURL(w: number, h: number, rgba: Uint8Array): string; 58 export declare function thumbHashToDataURL(hash: Uint8Array): string;
|
| /expo/packages/expo-random/src/ |
| H A D | ExpoRandom.web.ts | 5 getRandomBytes(length: number): Uint8Array { 6 const array = new Uint8Array(length); 10 async getRandomBytesAsync(length: number): Promise<Uint8Array> { 11 const array = new Uint8Array(length);
|
| H A D | Random.ts | 34 export function getRandomBytes(byteCount: number): Uint8Array { 41 const array = new Uint8Array(validByteCount); 65 export async function getRandomBytesAsync(byteCount: number): Promise<Uint8Array> {
|
| /expo/packages/expo-crypto/src/ |
| H A D | ExpoCrypto.web.ts | 28 return btoa(String.fromCharCode(...new Uint8Array(hashedData))); 32 getRandomBytes(length: number): Uint8Array { 33 const array = new Uint8Array(length); 36 async getRandomBytesAsync(length: number): Promise<Uint8Array> { 37 const array = new Uint8Array(length); 52 const byteArray = new Uint8Array(buffer);
|
| H A D | Crypto.ts | 27 export function getRandomBytes(byteCount: number): Uint8Array { 33 const array = new Uint8Array(validByteCount); 57 export async function getRandomBytesAsync(byteCount: number): Promise<Uint8Array> { 213 const output = new Uint8Array(digestLengths[algorithm]);
|
| /expo/packages/expo-auth-session/src/ |
| H A D | PKCE.ts | 6 function getRandomValues(input: Uint8Array): Uint8Array { 9 if (input.byteLength !== input.length) input = new Uint8Array(input.buffer); 18 function convertBufferToString(buffer: Uint8Array): string { 32 const buffer = new Uint8Array(size);
|
| /expo/packages/expo-crypto/build/ |
| H A D | ExpoCrypto.web.js | 19 return btoa(String.fromCharCode(...new Uint8Array(hashedData))); 24 const array = new Uint8Array(length); 28 const array = new Uint8Array(length); 42 const byteArray = new Uint8Array(buffer);
|
| H A D | ExpoCrypto.web.d.ts | 6 getRandomBytes(length: number): Uint8Array; 7 getRandomBytesAsync(length: number): Promise<Uint8Array>;
|
| H A D | Crypto.d.ts | 11 export declare function getRandomBytes(byteCount: number): Uint8Array; 18 export declare function getRandomBytesAsync(byteCount: number): Promise<Uint8Array>;
|
| /expo/packages/expo-random/build/ |
| H A D | Random.d.ts | 8 export declare function getRandomBytes(byteCount: number): Uint8Array; 15 export declare function getRandomBytesAsync(byteCount: number): Promise<Uint8Array>;
|
| H A D | ExpoRandom.web.d.ts | 3 getRandomBytes(length: number): Uint8Array; 4 getRandomBytesAsync(length: number): Promise<Uint8Array>;
|
| H A D | ExpoRandom.web.js | 6 const array = new Uint8Array(length); 11 const array = new Uint8Array(length);
|
| H A D | ExpoRandom.web.js.map | 1 …Uint8Array {\n const array = new Uint8Array(length);\n // @ts-ignore\n return (window.cry…
|
| /expo/packages/expo-standard-web-crypto/src/ |
| H A D | getRandomValues.ts | 7 | Uint8Array 30 !(values instanceof Uint8Array) && 60 const byteView = new Uint8Array(values.buffer, values.byteOffset, values.byteLength);
|
| /expo/apps/test-suite/tests/ |
| H A D | Random.js | 11 expect(bytes instanceof Uint8Array).toBe(true); 19 expect(bytes instanceof Uint8Array).toBe(true);
|
| /expo/packages/expo-standard-web-crypto/build/ |
| H A D | getRandomValues.js | 15 !(values instanceof Uint8Array) && 39 const byteView = new Uint8Array(values.buffer, values.byteOffset, values.byteLength);
|
| /expo/packages/expo-modules-core/ios/Swift/TypedArrays/ |
| H A D | TypedArray.swift | 18 case .Uint8Array: in create() 19 return Uint8Array(jsTypedArray) in create()
|
| /expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/TypedArrays/ |
| H A D | TypedArray.swift | 18 case .Uint8Array: in create() 19 return Uint8Array(jsTypedArray) in create()
|
| /expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/TypedArrays/ |
| H A D | TypedArray.swift | 18 case .Uint8Array: in create() 19 return Uint8Array(jsTypedArray) in create()
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/TypedArrays/ |
| H A D | TypedArray.swift | 18 case .Uint8Array: in create() 19 return Uint8Array(jsTypedArray) in create()
|
| /expo/packages/expo-image/src/utils/thumbhash/ |
| H A D | thumbhash.ts | 12 export function rgbaToThumbHash(w: number, h: number, rgba: Uint8Array) { 114 return new Uint8Array(hash); 123 export function thumbHashToRGBA(hash: Uint8Array) { 163 const rgba = new Uint8Array(w * h * 4), 218 export function thumbHashToAverageRGBA(hash: Uint8Array) { 243 export function thumbHashToApproximateAspectRatio(hash: Uint8Array) { 262 export function rgbaToDataURL(w: number, h: number, rgba: Uint8Array) { 373 export function thumbHashToDataURL(hash: Uint8Array): string { 385 const hash = Uint8Array.from(atob(thumbhash), (c) => c.charCodeAt(0));
|
| /expo/packages/@expo/config/build/ |
| H A D | Config.types.d.ts | 57 iosBundle: string | Uint8Array; 61 androidBundle: string | Uint8Array;
|
| /expo/packages/@expo/config/src/ |
| H A D | Config.types.ts | 52 iosBundle: string | Uint8Array; 56 androidBundle: string | Uint8Array;
|
| /expo/packages/expo-standard-web-crypto/src/__tests__/ |
| H A D | getRandomValues-test.ts | 11 ['Uint8Array', Uint8Array], 59 ['Uint8Array', Uint8Array],
|
| /expo/packages/@expo/cli/src/export/ |
| H A D | printBundleSizes.ts | 12 const files: [string, string | Uint8Array][] = []; 43 export function createFilesTable(files: [string, string | Uint8Array][]): string {
|