Home
last modified time | relevance | path

Searched refs:Buffer (Results 1 – 25 of 106) sorted by relevance

12345

/expo/packages/@expo/cli/src/run/ios/appleDevice/client/__tests__/
H A DAFCClient-test.ts18 data: Buffer.from(
38 data: Buffer.from(
44 client.writeFile(Buffer.from([1, 0, 0, 0, 0, 0, 0, 0]), Buffer.from(''))
60 data: Buffer.from([6, 0, 0, 0, 0, 0, 0, 0]),
70 data: Buffer.from([
87 data: Buffer.from([6, 0, 0, 0, 0, 0, 0, 0]),
107 data: Buffer.from(''),
110 await expect(client['closeFile'](Buffer.from([6, 0, 0, 0, 0, 0, 0, 0]))).resolves.toEqual({
/expo/packages/@expo/cli/src/run/ios/appleDevice/client/
H A DUsbmuxdClient.ts61 NetworkAddress?: Buffer;
81 PairRecordData: Buffer;
85 DeviceCertificate: Buffer;
86 EscrowBag: Buffer;
87 HostCertificate: Buffer;
89 HostPrivateKey: Buffer;
90 RootCertificate: Buffer;
91 RootPrivateKey: Buffer;
190 const BPLIST_MAGIC = Buffer.from('bplist00');
H A DDebugserverClient.ts35 const hexName = Buffer.from(name).toString('hex');
59 resolve(Buffer.from(part.split(':')[1], 'hex').toString('ascii'));
70 const hexAppPath = Buffer.from(fullPath).toString('hex');
H A DAFCClient.ts56 async writeFile(fd: Buffer, data: Buffer): Promise<AFCResponse> {
69 protected async openFile(path: string): Promise<Buffer> {
72 const data = Buffer.alloc(8 + path.length + 1);
97 protected async closeFile(fd: Buffer): Promise<AFCResponse> {
209 const buf = Buffer.alloc(s.length + 1);
/expo/packages/@expo/metro-config/src/transform-worker/
H A Dtransform-worker.ts38 data: Buffer,
59 ? Buffer.from(
64 : Buffer.from(''),
76 return worker.transform(config, projectRoot, filename, Buffer.from(''), options);
90 Buffer.from(code),
127 Buffer.from(results.output),
165 code: Buffer.from(code),
182 options.dev ? Buffer.from(wrapDevelopmentCSS({ src: code, filename })) : Buffer.from(''),
/expo/packages/@expo/cli/src/run/ios/appleDevice/protocol/
H A DAbstractProtocol.ts15 const BPLIST_MAGIC = Buffer.from('bplist00');
39 protected body!: Buffer; // TODO: ! -> ?
41 protected buffer = Buffer.alloc(0);
50 protected abstract parseHeader(data: Buffer): number;
51 protected abstract parseBody(data: Buffer): any;
53 onData(data?: Buffer) {
56 this.buffer = data ? Buffer.concat([this.buffer, data]) : this.buffer;
78 this.buffer = Buffer.alloc(0);
98 protected parseBody(body: Buffer) {
H A DGDBProtocol.ts39 onData(data?: Buffer) {
44 this.buffer = data ? Buffer.concat([this.buffer, data]) : this.buffer;
61 const body = Buffer.from(packetData[0]);
74 parseHeader(data: Buffer) {
81 parseBody(buffer: Buffer) {
115 .map((arg) => Buffer.from(arg).toString('hex'))
H A DUsbmuxProtocol.ts36 parseHeader(data: Buffer) {
40 parseBody(data: Buffer) {
67 const header = Buffer.alloc(USBMUXD_HEADER_SIZE);
H A DLockdownProtocol.ts66 parseHeader(data: Buffer) {
70 parseBody(data: Buffer) {
97 const header = Buffer.alloc(LOCKDOWN_HEADER_SIZE);
H A DAFCProtocol.ts37 data: Buffer;
402 parseHeader(data: Buffer) {
426 parseBody(data: Buffer): AFCResponse | AFCStatusResponse {
452 const header = Buffer.alloc(AFC_HEADER_SIZE);
453 const magic = Buffer.from(AFC_MAGIC);
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/jsi/jsi/
H A DABI49_0_0jsilib.h15 class FileBuffer : public Buffer {
36 public jsi::Buffer {
37 std::shared_ptr<const jsi::Buffer> buf_;
42 std::shared_ptr<const jsi::Buffer> buf, in SourceJavaScriptPreparation()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/jsi/jsi/
H A DABI48_0_0jsilib.h15 class FileBuffer : public Buffer {
36 public jsi::Buffer {
37 std::shared_ptr<const jsi::Buffer> buf_;
42 std::shared_ptr<const jsi::Buffer> buf, in SourceJavaScriptPreparation()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/jsi/jsi/
H A DABI47_0_0jsilib.h15 class FileBuffer : public Buffer {
36 public jsi::Buffer {
37 std::shared_ptr<const jsi::Buffer> buf_;
42 std::shared_ptr<const jsi::Buffer> buf, in SourceJavaScriptPreparation()
/expo/packages/@expo/metro-config/build/transform-worker/
H A Dtransform-worker.js65 …roTransformWorker().default.transform(config, projectRoot, filename, !options.minify ? Buffer.from(
68 …'"> The server-only file was removed from the client JS bundle by Expo CLI."') : Buffer.from(''), …
73 …return _metroTransformWorker().default.transform(config, projectRoot, filename, Buffer.from(''), o…
83 Buffer.from(code), options);
118 …_metroTransformWorker().default.transform(config, projectRoot, filename, Buffer.from(results.outpu…
151 code: Buffer.from(code),
164 …mWorker().default.transform(config, projectRoot, filename, options.dev ? Buffer.from((0, _css().wr…
167 })) : Buffer.from(''), options);
H A Dcss-modules.d.ts13 css: Buffer;
14 map: void | Buffer;
/expo/packages/@expo/cli/src/run/ios/appleDevice/protocol/__tests__/
H A DGDBProtocol-test.ts3 const DEVICE_LOCKED_BUFFER = Buffer.from(
11 expect(reader.parseBody(Buffer.from('$OK#9a'))).toBe('OK');
/expo/tools/
H A Dtaskfile-swc.js57 output.code += Buffer.from(`\n//# sourceMappingURL=${map}`);
63 data: Buffer.from(output.map),
67 file.data = Buffer.from(output.code);
/expo/packages/@expo/cli/
H A Dtaskfile-swc.js68 output.code += Buffer.from(`\n//# sourceMappingURL=${map}`);
74 data: Buffer.from(output.map),
78 file.data = Buffer.from(setVersionCode(output.code));
/expo/packages/@expo/metro-config/src/serializer/__tests__/
H A DgetCssDeps.test.ts43 getSource: () => Buffer.from('__d(function() {/* code for foo */});'),
60 getSource: () => Buffer.from('bar-source'),
/expo/packages/expo-file-system/android/src/main/java/expo/modules/filesystem/
H A DCountingRequestBody.kt4 import okio.Buffer
28 override fun write(source: Buffer, byteCount: Long) { in onProgress()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/filesystem/
H A DCountingRequestBody.kt4 import okio.Buffer
28 override fun write(source: Buffer, byteCount: Long) { in onProgress()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/filesystem/
H A DCountingRequestBody.kt4 import okio.Buffer
28 override fun write(source: Buffer, byteCount: Long) { in onProgress()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/filesystem/
H A DCountingRequestBody.kt4 import okio.Buffer
28 override fun write(source: Buffer, byteCount: Long) { in onProgress()
/expo/packages/eslint-config-universe/__tests__/fixtures/
H A Dnode-00.js1 const data = new Buffer(16);
/expo/packages/@expo/metro-config/build/transformer/
H A DgetCacheKey.d.ts2 export declare const cacheKeyParts: (string | Buffer)[];

12345