Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/private/
H A DSkChecksum.h28 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 DSkChecksum.h28 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 DSkChecksum.h33 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 DSkChecksum.h33 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 DSkChecksum.h33 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 DSkChecksum.h33 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 DSkChecksum.h33 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 DSkChecksum.h33 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 DABI47_0_0primitives.h138 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 DABI48_0_0primitives.h161 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 DABI49_0_0primitives.h161 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 DPlatformUtils.ts47 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 DAssetSources.ts22 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 DAsset.ts15 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 DPlatformUtils.js35 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 DAssetSources.js17 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 DAsset.js35 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 Dmanaged-test.ts40 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 Dbare-test.ts35 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 DAssetSources-test.ts4 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 DThumbhashDecoder.kt94 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 DThumbhashDecoder.kt94 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 DwriteContents.ts21 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 Dthumbhash.ts99 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 Dthumbhash.js92 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 …]

12345678910>>...17