| /expo/packages/expo-updates/ios/Tests/ |
| H A D | ResponseHeaderDataSpec.swift | 11 let header = "string=\"string-0000\", true=?1, false=?0, integer=47, decimal=47.5" in spec() variable 19 let actual = ResponseHeaderData.dictionaryWithStructuredHeader(header) in spec() 24 let header = "branch-name=\"rollout-1\", data=:w4ZibGV0w6ZydGUK:, list=(1 2)" in spec() variable 28 let actual = ResponseHeaderData.dictionaryWithStructuredHeader(header) in spec() 33 let header = "abc=123;a=1;b=2" in spec() variable 37 let actual = ResponseHeaderData.dictionaryWithStructuredHeader(header) in spec() 42 let header = "" in spec() variable 44 let actual = ResponseHeaderData.dictionaryWithStructuredHeader(header) in spec() 49 let header = "bad dictionary" in spec() variable 50 expect(ResponseHeaderData.dictionaryWithStructuredHeader(header)).to(beNil()) in spec()
|
| /expo/packages/@expo/cli/src/run/ios/appleDevice/protocol/ |
| H A D | AFCProtocol.ts | 396 private header!: AFCHeader; // TODO: ! -> ? 411 this.header = { 420 if (this.header.headerLength < AFC_HEADER_SIZE) { 423 return this.header.totalLength - AFC_HEADER_SIZE; 428 operation: this.header.operation, 429 id: this.header.requestId, 452 const header = Buffer.alloc(AFC_HEADER_SIZE); constant 454 magic.copy(header); 457 header.writeUInt32LE(requestId, 24); 458 header.writeUInt32LE(operation, 32); [all …]
|
| H A D | UsbmuxProtocol.ts | 67 const header = Buffer.alloc(USBMUXD_HEADER_SIZE); constant 68 header.writeUInt32LE(USBMUXD_HEADER_SIZE + dataSize, 0); 69 header.writeUInt32LE(protocolVersion, 4); 70 header.writeUInt32LE(messageCode, 8); 71 header.writeUInt32LE(this.useTag++, 12); // TODO 72 socket.write(header);
|
| /expo/tools/src/vendoring/devmenu/steps/ |
| H A D | PrefixHeaders.ts | 47 headers.map((header) => { 48 const fileName = this.prefix + header.base; 49 const parent = header.dir; 50 return fs.rename(path.join(header.dir, header.base), path.join(parent, fileName)); 62 const transformedContent = headers.reduce((acc, header) => { 63 const regex = `(#include.*)${header.base}"`; 64 return acc.replace(new RegExp(regex, 'g'), `$1${this.prefix}${header.base}"`);
|
| /expo/packages/html-elements/src/elements/__tests__/__snapshots__/ |
| H A D | Headings-test.tsx.snap.ios | 5 accessibilityRole="header" 18 accessibilityRole="header" 31 accessibilityRole="header" 44 accessibilityRole="header" 57 accessibilityRole="header" 70 accessibilityRole="header"
|
| H A D | Headings-test.tsx.snap.android | 5 accessibilityRole="header" 18 accessibilityRole="header" 31 accessibilityRole="header" 44 accessibilityRole="header" 57 accessibilityRole="header" 70 accessibilityRole="header"
|
| /expo/packages/expo-updates/android/src/main/java/expo/modules/updates/manifest/ |
| H A D | ManifestResponse.kt | 11 fun header(name: String): String? { in header() method in expo.modules.updates.manifest.ManifestResponse 12 return response.header(name) in header() 15 fun header(name: String, defaultValue: String): String? { in header() method 16 return response.header(name, defaultValue) in header()
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/cxxreact/ |
| H A D | ABI48_0_0JSBundleType.cpp | 19 ScriptTag parseTypeFromHeader(const BundleHeader &header) { in parseTypeFromHeader() argument 20 switch (header.magic32.value) { in parseTypeFromHeader() 42 bool isHermesBytecodeBundle(const BundleHeader &header) { in isHermesBytecodeBundle() argument 43 return header.magic64 == HermesBCBundleMagicNumber; in isHermesBytecodeBundle()
|
| H A D | ABI48_0_0JSIndexedRAMBundle.cpp | 51 uint32_t header[3]; in init() local 53 sizeof(header) == 12, in init() 56 readBundle(reinterpret_cast<char *>(header), sizeof(header)); in init() 57 const size_t numTableEntries = folly::Endian::little(header[1]); in init() 58 const size_t startupCodeSize = folly::Endian::little(header[2]); in init() 62 m_baseOffset = sizeof(header) + m_table.byteLength(); in init()
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/cxxreact/ |
| H A D | ABI47_0_0JSBundleType.cpp | 19 ScriptTag parseTypeFromHeader(const BundleHeader &header) { in parseTypeFromHeader() argument 20 switch (header.magic32.value) { in parseTypeFromHeader() 42 bool isHermesBytecodeBundle(const BundleHeader &header) { in isHermesBytecodeBundle() argument 43 return header.magic64 == HermesBCBundleMagicNumber; in isHermesBytecodeBundle()
|
| H A D | ABI47_0_0JSIndexedRAMBundle.cpp | 51 uint32_t header[3]; in init() local 53 sizeof(header) == 12, in init() 56 readBundle(reinterpret_cast<char *>(header), sizeof(header)); in init() 57 const size_t numTableEntries = folly::Endian::little(header[1]); in init() 58 const size_t startupCodeSize = folly::Endian::little(header[2]); in init() 62 m_baseOffset = sizeof(header) + m_table.byteLength(); in init()
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/cxxreact/ |
| H A D | ABI49_0_0JSBundleType.cpp | 19 ScriptTag parseTypeFromHeader(const BundleHeader &header) { in parseTypeFromHeader() argument 20 switch (header.magic32.value) { in parseTypeFromHeader() 42 bool isHermesBytecodeBundle(const BundleHeader &header) { in isHermesBytecodeBundle() argument 43 return header.magic64 == HermesBCBundleMagicNumber; in isHermesBytecodeBundle()
|
| H A D | ABI49_0_0JSIndexedRAMBundle.cpp | 51 uint32_t header[3]; in init() local 53 sizeof(header) == 12, in init() 56 readBundle(reinterpret_cast<char *>(header), sizeof(header)); in init() 57 const size_t numTableEntries = folly::Endian::little(header[1]); in init() 58 const size_t startupCodeSize = folly::Endian::little(header[2]); in init() 62 m_baseOffset = sizeof(header) + m_table.byteLength(); in init()
|
| /expo/docs/components/plugins/ |
| H A D | APIBox.tsx | 13 header?: string; 18 export const APIBox = ({ header, platforms, children, className }: APIBoxProps) => { 22 {header && ( 24 <MONOSPACE weight="medium">{header}</MONOSPACE>
|
| /expo/apps/native-component-list/src/screens/Reanimated/ |
| H A D | ReanimatedScreen.tsx | 16 <HeadingText style={styles.header}>Lightbox</HeadingText> 20 <HeadingText style={styles.header}>Wobble</HeadingText> 24 <HeadingText style={styles.header}>Swipeable</HeadingText> 28 <HeadingText style={styles.header}>Layout Animation</HeadingText> 41 header: {
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/loader/ |
| H A D | FileDownloaderTest.kt | 44 Assert.assertNull(actual.header("Cache-Control")) in testCacheControl_LegacyManifest() 56 Assert.assertNull(actual.header("Cache-Control")) in testCacheControl_NewManifest() 77 Assert.assertEquals("test", actual.header("expo-string")) in testExtraHeaders_ObjectTypes() 78 Assert.assertEquals("47.5", actual.header("expo-number")) in testExtraHeaders_ObjectTypes() 79 Assert.assertEquals("true", actual.header("expo-boolean")) in testExtraHeaders_ObjectTypes() 80 Assert.assertEquals("null", actual.header(("expo-null"))) in testExtraHeaders_ObjectTypes() 101 Assert.assertEquals("android", actual.header("expo-platform")) in testExtraHeaders_OverrideOrder() 153 Assert.assertEquals("test", actual.header("expo-string")) in testAssetExtraHeaders_ObjectTypes() 154 Assert.assertEquals("47.5", actual.header("expo-number")) in testAssetExtraHeaders_ObjectTypes() 155 Assert.assertEquals("true", actual.header("expo-boolean")) in testAssetExtraHeaders_ObjectTypes() [all …]
|
| /expo/docs/ui/components/Table/ |
| H A D | TableHeaders.tsx | 16 {headers.map((header, i) => ( 17 <HeaderCell key={`table-header-${i}`} align={headersAlign[i]}> 18 {header}
|
| /expo/android/expoview/src/main/java/host/exp/exponent/kernel/ |
| H A D | ExponentUrls.kt | 35 .header("Exponent-SDK-Version", Constants.SDK_VERSIONS) in <lambda>() 36 .header("Exponent-Platform", "android") in <lambda>() 39 builder.header("Exponent-Version", versionName) in <lambda>() 50 header(key, headers.require<Any>(key).toString()) in <lambda>()
|
| /expo/packages/@expo/cli/src/start/server/middleware/__tests__/ |
| H A D | resolvePlatform-test.ts | 31 for (const header of ['expo-platform', 'exponent-platform']) { constant 32 it(`parses from '${header}' header`, () => { 37 headers: { [header]: 'ios' }, 46 headers: { [header]: ['android', 'ios'] },
|
| /expo/home/components/ |
| H A D | SectionHeader.tsx | 7 header: string; 11 export function SectionHeader({ header, style }: Props) { 19 {header}
|
| /expo/docs/components/plugins/api/ |
| H A D | APISectionProps.tsx | 34 header?: string; 146 const APISectionProps = ({ data, defaultProps, header = 'Props' }: APISectionPropsProps) => { 147 const baseProp = data.find(prop => prop.name === header); 150 {data?.length === 1 || header === 'Props' ? ( 151 <H2 key="props-header">{header}</H2> 156 <H4 key={`${header}-props-header`}>{header}</H4> 162 renderProps(propsDefinition, defaultProps, data?.length === 1 || header === 'Props')
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Image/ |
| H A D | ABI48_0_0RCTGIFImageDecoder.mm | 27 char header[7] = {}; 28 [imageData getBytes:header length:6]; 30 return !strcmp(header, "GIF87a") || !strcmp(header, "GIF89a");
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Image/ |
| H A D | ABI47_0_0RCTGIFImageDecoder.mm | 27 char header[7] = {}; 28 [imageData getBytes:header length:6]; 30 return !strcmp(header, "GIF87a") || !strcmp(header, "GIF89a");
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Image/ |
| H A D | ABI49_0_0RCTGIFImageDecoder.mm | 27 char header[7] = {}; 28 [imageData getBytes:header length:6]; 30 return !strcmp(header, "GIF87a") || !strcmp(header, "GIF89a");
|
| /expo/ios/Tests/AppLoader/ |
| H A D | EXFileDownloaderTests.m | 29 …XCTAssert(sdkVersions.count > 0, @"Expo SDK version header should contain at least one comma-separ… 40 for (NSString *header in requiredHeaderFields) { 41 NSString *headerValue = [request valueForHTTPHeaderField:header]; 42 XCTAssert((headerValue != nil), @"HTTP header %@ should be set", header);
|