| /expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/private/ |
| H A D | SkChecksum.h | 28 static uint32_t Mix(uint32_t hash) { in Mix() argument 29 hash ^= hash >> 16; in Mix() 30 hash *= 0x85ebca6b; in Mix() 31 hash ^= hash >> 13; in Mix() 32 hash *= 0xc2b2ae35; in Mix() 33 hash ^= hash >> 16; in Mix() 34 return hash; in Mix() 44 hash ^= hash >> 16; in CheapMix() 45 hash *= 0x85ebca6b; in CheapMix() 46 hash ^= hash >> 16; in CheapMix() [all …]
|
| /expo/android/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/private/ |
| H A D | SkChecksum.h | 28 static uint32_t Mix(uint32_t hash) { in Mix() argument 29 hash ^= hash >> 16; in Mix() 30 hash *= 0x85ebca6b; in Mix() 31 hash ^= hash >> 13; in Mix() 32 hash *= 0xc2b2ae35; in Mix() 33 hash ^= hash >> 16; in Mix() 34 return hash; in Mix() 44 hash ^= hash >> 16; in CheapMix() 45 hash *= 0x85ebca6b; in CheapMix() 46 hash ^= hash >> 16; in CheapMix() [all …]
|
| /expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/private/ |
| H A D | SkChecksum.h | 33 static uint32_t Mix(uint32_t hash) { in Mix() argument 34 hash ^= hash >> 16; in Mix() 35 hash *= 0x85ebca6b; in Mix() 36 hash ^= hash >> 13; in Mix() 37 hash *= 0xc2b2ae35; in Mix() 38 hash ^= hash >> 16; in Mix() 39 return hash; in Mix() 49 hash ^= hash >> 16; in CheapMix() 50 hash *= 0x85ebca6b; in CheapMix() 51 hash ^= hash >> 16; in CheapMix() [all …]
|
| /expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/private/ |
| H A D | SkChecksum.h | 33 static uint32_t Mix(uint32_t hash) { in Mix() argument 34 hash ^= hash >> 16; in Mix() 35 hash *= 0x85ebca6b; in Mix() 36 hash ^= hash >> 13; in Mix() 37 hash *= 0xc2b2ae35; in Mix() 38 hash ^= hash >> 16; in Mix() 39 return hash; in Mix() 49 hash ^= hash >> 16; in CheapMix() 50 hash *= 0x85ebca6b; in CheapMix() 51 hash ^= hash >> 16; in CheapMix() [all …]
|
| /expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/private/ |
| H A D | SkChecksum.h | 33 static uint32_t Mix(uint32_t hash) { in Mix() argument 34 hash ^= hash >> 16; in Mix() 35 hash *= 0x85ebca6b; in Mix() 36 hash ^= hash >> 13; in Mix() 37 hash *= 0xc2b2ae35; in Mix() 38 hash ^= hash >> 16; in Mix() 39 return hash; in Mix() 49 hash ^= hash >> 16; in CheapMix() 50 hash *= 0x85ebca6b; in CheapMix() 51 hash ^= hash >> 16; in CheapMix() [all …]
|
| /expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/private/ |
| H A D | SkChecksum.h | 33 static uint32_t Mix(uint32_t hash) { in Mix() argument 34 hash ^= hash >> 16; in Mix() 35 hash *= 0x85ebca6b; in Mix() 36 hash ^= hash >> 13; in Mix() 37 hash *= 0xc2b2ae35; in Mix() 38 hash ^= hash >> 16; in Mix() 39 return hash; in Mix() 49 hash ^= hash >> 16; in CheapMix() 50 hash *= 0x85ebca6b; in CheapMix() 51 hash ^= hash >> 16; in CheapMix() [all …]
|
| /expo/ios/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/private/ |
| H A D | SkChecksum.h | 33 static uint32_t Mix(uint32_t hash) { in Mix() argument 34 hash ^= hash >> 16; in Mix() 35 hash *= 0x85ebca6b; in Mix() 36 hash ^= hash >> 13; in Mix() 37 hash *= 0xc2b2ae35; in Mix() 38 hash ^= hash >> 16; in Mix() 39 return hash; in Mix() 49 hash ^= hash >> 16; in CheapMix() 50 hash *= 0x85ebca6b; in CheapMix() 51 hash ^= hash >> 16; in CheapMix() [all …]
|
| /expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/private/ |
| H A D | SkChecksum.h | 33 static uint32_t Mix(uint32_t hash) { in Mix() argument 34 hash ^= hash >> 16; in Mix() 35 hash *= 0x85ebca6b; in Mix() 36 hash ^= hash >> 13; in Mix() 37 hash *= 0xc2b2ae35; in Mix() 38 hash ^= hash >> 16; in Mix() 39 return hash; in Mix() 49 hash ^= hash >> 16; in CheapMix() 50 hash *= 0x85ebca6b; in CheapMix() 51 hash ^= hash >> 16; in CheapMix() [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/attributedstring/ |
| H A D | ABI47_0_0primitives.h | 138 return hash<int>()(static_cast<int>(v)); 145 return hash<int>()(static_cast<int>(v)); 152 return hash<int>()(static_cast<int>(v)); 159 return hash<int>()(static_cast<int>(v)); 166 return hash<int>()(static_cast<int>(v)); 173 return hash<int>()(static_cast<int>(v)); 180 return hash<int>()(static_cast<int>(v)); 187 return hash<int>()(static_cast<int>(v)); 194 return hash<int>()(static_cast<int>(v)); 201 return hash<int>()(static_cast<int>(v)); [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/attributedstring/ |
| H A D | ABI48_0_0primitives.h | 161 return hash<int>()(static_cast<int>(v)); 168 return hash<int>()(static_cast<int>(v)); 175 return hash<int>()(static_cast<int>(v)); 182 return hash<int>()(static_cast<int>(v)); 189 return hash<int>()(static_cast<int>(v)); 196 return hash<int>()(static_cast<int>(v)); 203 return hash<int>()(static_cast<int>(v)); 210 return hash<int>()(static_cast<int>(v)); 217 return hash<int>()(static_cast<int>(v)); 224 return hash<int>()(static_cast<int>(v)); [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/attributedstring/ |
| H A D | ABI49_0_0primitives.h | 161 return hash<int>()(static_cast<int>(v)); 168 return hash<int>()(static_cast<int>(v)); 175 return hash<int>()(static_cast<int>(v)); 182 return hash<int>()(static_cast<int>(v)); 189 return hash<int>()(static_cast<int>(v)); 196 return hash<int>()(static_cast<int>(v)); 203 return hash<int>()(static_cast<int>(v)); 210 return hash<int>()(static_cast<int>(v)); 217 return hash<int>()(static_cast<int>(v)); 224 return hash<int>()(static_cast<int>(v)); [all …]
|
| /expo/packages/expo-asset/src/ |
| H A D | PlatformUtils.ts | 47 export async function downloadAsync(uri, hash, type, name): Promise<string> { 49 return _downloadAsyncManagedEnv(uri, hash, type, name); 52 return _downloadAsyncUnmanagedEnv(uri, hash, type); 59 async function _downloadAsyncManagedEnv(uri, hash, type, name): Promise<string> { 60 const cacheFileId = hash || computeMd5(uri); 65 if (!fileInfo.exists || (hash !== null && fileInfo.md5 !== hash)) { 69 if (hash !== null && md5 !== hash) { 85 async function _downloadAsyncUnmanagedEnv(uri, hash, type): Promise<string> { 92 const cacheFileId = hash || computeMd5(uri);
|
| H A D | AssetSources.ts | 22 hash: string; 37 meta = { ...meta, ...assetMapOverride[meta.hash] }; 44 const hash = meta.fileHashes ? meta.fileHashes[index] || meta.fileHashes[0] : meta.hash; constant 49 return { uri: resolveUri(uri), hash }; 55 const uri = path.join(assetUrlOverride, hash); 56 return { uri: resolveUri(uri), hash }; 65 )}&hash=${encodeURIComponent(meta.hash)}`; 71 return { uri, hash }; 83 hash, 91 return { uri: baseUrl.href, hash }; [all …]
|
| H A D | Asset.ts | 15 hash?: string | null; 55 hash: string | null = null; property in Asset 92 this.hash = hash; 102 if (hash) { 103 this.localUri = getLocalAssetUri(hash, type); 160 hash: meta.hash, 175 Asset.byHash[meta.hash] = asset; 186 const metaHash = meta.hash; 191 const { uri, hash } = selectAssetSource(meta); constant 195 hash, [all …]
|
| /expo/packages/expo-asset/build/ |
| H A D | PlatformUtils.js | 35 export async function downloadAsync(uri, hash, type, name) { argument 37 return _downloadAsyncManagedEnv(uri, hash, type, name); 39 return _downloadAsyncUnmanagedEnv(uri, hash, type); 45 async function _downloadAsyncManagedEnv(uri, hash, type, name) { argument 46 const cacheFileId = hash || computeMd5(uri); 51 if (!fileInfo.exists || (hash !== null && fileInfo.md5 !== hash)) { 55 if (hash !== null && md5 !== hash) { 68 async function _downloadAsyncUnmanagedEnv(uri, hash, type) { argument 74 const cacheFileId = hash || computeMd5(uri);
|
| H A D | AssetSources.js | 17 if (assetMapOverride && assetMapOverride.hasOwnProperty(meta.hash)) { 18 meta = { ...meta, ...assetMapOverride[meta.hash] }; 24 const hash = meta.fileHashes ? meta.fileHashes[index] || meta.fileHashes[0] : meta.hash; 28 return { uri: resolveUri(uri), hash }; 33 const uri = path.join(assetUrlOverride, hash); 34 return { uri: resolveUri(uri), hash }; 38 …{fileExtension}?platform=${encodeURIComponent(Platform.OS)}&hash=${encodeURIComponent(meta.hash)}`; 43 return { uri, hash }; 52 hash, 59 return { uri: baseUrl.href, hash }; [all …]
|
| H A D | Asset.js | 35 hash = null; field in Asset 67 constructor({ name, type, hash = null, uri, width, height }) { 70 this.hash = hash; 78 if (hash) { 79 this.localUri = getLocalAssetUri(hash, type); 131 hash: meta.hash, property 144 Asset.byHash[meta.hash] = asset; 153 const metaHash = meta.hash; 157 const { uri, hash } = selectAssetSource(meta); 161 hash, field [all …]
|
| /expo/packages/@expo/fingerprint/e2e/__tests__/ |
| H A D | managed-test.ts | 40 const hash = await createProjectHashAsync(projectRoot); constant 46 expect(hash).toBe(hash2); 50 const hash = await createProjectHashAsync(projectRoot); constant 57 expect(hash).toBe(hash2); 61 const hash = await createProjectHashAsync(projectRoot); constant 67 expect(hash).not.toBe(hash2); 71 const hash = await createProjectHashAsync(projectRoot); constant 79 expect(hash).not.toBe(hash2); 83 const hash = await createProjectHashAsync(projectRoot); constant 89 expect(hash).not.toBe(hash2); [all …]
|
| H A D | bare-test.ts | 35 const hash = await createProjectHashAsync(projectRoot); constant 41 expect(hash).toBe(hash2); 45 const hash = await createProjectHashAsync(projectRoot); constant 51 expect(hash).not.toBe(hash2); 55 const hash = await createProjectHashAsync(projectRoot); constant 61 expect(hash).not.toBe(hash2); 65 const hash = await createProjectHashAsync(projectRoot, { platforms: ['android'] }); constant 71 expect(hash).toBe(hash2);
|
| /expo/packages/expo-asset/src/__tests__/ |
| H A D | AssetSources-test.ts | 4 hash: 'cafecafecafecafecafecafecafecafe', 34 expect(source.hash).toBe('cafecafecafecafecafecafecafecafe'); 52 expect(source.hash).toBe('cafecafecafecafecafecafecafecafe'); 74 expect(source.hash).toBe('cafecafecafecafecafecafecafecafe'); 87 expect(source.hash).toBe('cafecafecafecafecafecafecafecafe'); 101 expect(source.hash).toBe('cafecafecafecafecafecafecafecafe'); 110 hash: 'cafecafecafecafecafecafecafecafe', 122 const hash = Platform.select({ constant 128 expect(source.hash).toBe(hash); 137 hash: 'd00dd00dd00dd00dd00dd00dd00dd00d', [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/image/thumbhash/ |
| H A D | ThumbhashDecoder.kt | 94 hash[0] = header24.toByte() in rgbaToThumbHash() 95 hash[1] = (header24 shr 8).toByte() in rgbaToThumbHash() 96 hash[2] = (header24 shr 16).toByte() in rgbaToThumbHash() 97 hash[3] = header16.toByte() in rgbaToThumbHash() 98 hash[4] = (header16 shr 8).toByte() in rgbaToThumbHash() 99 if (hasAlpha) hash[5] = ( in rgbaToThumbHash() 110 return hash in rgbaToThumbHash() 121 …val header24 = hash[0].toInt() and 255 or (hash[1].toInt() and 255 shl 8) or (hash[2].toInt() and … in thumbHashToRGBA() 122 val header16 = hash[3].toInt() and 255 or (hash[4].toInt() and 255 shl 8) in thumbHashToRGBA() 269 …val header = hash[0].toInt() and 255 or (hash[1].toInt() and 255 shl 8) or (hash[2].toInt() and 25… in thumbHashToAverageRGBA() [all …]
|
| /expo/packages/expo-image/android/src/main/java/expo/modules/image/thumbhash/ |
| H A D | ThumbhashDecoder.kt | 94 hash[0] = header24.toByte() in rgbaToThumbHash() 95 hash[1] = (header24 shr 8).toByte() in rgbaToThumbHash() 96 hash[2] = (header24 shr 16).toByte() in rgbaToThumbHash() 97 hash[3] = header16.toByte() in rgbaToThumbHash() 98 hash[4] = (header16 shr 8).toByte() in rgbaToThumbHash() 99 if (hasAlpha) hash[5] = ( in rgbaToThumbHash() 110 return hash in rgbaToThumbHash() 121 …val header24 = hash[0].toInt() and 255 or (hash[1].toInt() and 255 shl 8) or (hash[2].toInt() and … in thumbHashToRGBA() 122 val header16 = hash[3].toInt() and 255 or (hash[4].toInt() and 255 shl 8) in thumbHashToRGBA() 269 …val header = hash[0].toInt() and 255 or (hash[1].toInt() and 255 shl 8) or (hash[2].toInt() and 25… in thumbHashToAverageRGBA() [all …]
|
| /expo/packages/@expo/cli/src/export/ |
| H A D | writeContents.ts | 21 hash, 25 hash: string; 27 return `${platform}-${hash}.${format === 'javascript' ? 'js' : 'hbc'}`; 59 const hash = createBundleHash(bundle); constant 63 hash, 66 hashes[platform] = hash; 77 hash: string; 105 const hash = constant 107 const mapName = `${platform}-${hash}.map`; 115 hash, [all …]
|
| /expo/packages/expo-image/src/utils/thumbhash/ |
| H A D | thumbhash.ts | 99 const hash = [ constant 114 return new Uint8Array(hash); 127 const header24 = hash[0] | (hash[1] << 8) | (hash[2] << 16); 128 const header16 = hash[3] | (hash[4] << 8); 140 const a_scale = (hash[5] >> 4) / 15; 220 const header = hash[0] | (hash[1] << 8) | (hash[2] << 16); 244 const header = hash[3]; 245 const hasAlpha = hash[2] & 0x80; 246 const isLandscape = hash[4] & 0x80; 374 const image = thumbHashToRGBA(hash); [all …]
|
| /expo/packages/expo-image/build/utils/thumbhash/ |
| H A D | thumbhash.js | 92 const hash = [ 107 return new Uint8Array(hash); 115 export function thumbHashToRGBA(hash) { argument 118 const header24 = hash[0] | (hash[1] << 8) | (hash[2] << 16); 119 const header16 = hash[3] | (hash[4] << 8); 131 const a_scale = (hash[5] >> 4) / 15; 196 const header = hash[0] | (hash[1] << 8) | (hash[2] << 16); 219 const header = hash[3]; 220 const hasAlpha = hash[2] & 0x80; 221 const isLandscape = hash[4] & 0x80; [all …]
|