Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 25 of 44) sorted by relevance

12

/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/cxxreact/tests/
H A DABI48_0_0jsbigstring.cpp28 const int fd = mkstemp(tmpBuf.data()); in tempFileFromString() local
29 write(fd, contents.c_str(), contents.size() + 1); in tempFileFromString()
31 return fd; in tempFileFromString()
40 int fd = tempFileFromString("Hello, world"); in TEST() local
41 JSBigFileString bigStr{fd, size}; in TEST()
55 int fd = tempFileFromString(data); in TEST() local
56 JSBigFileString bigStr{fd, needle.size(), offset}; in TEST()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/cxxreact/tests/
H A DABI49_0_0jsbigstring.cpp28 const int fd = mkstemp(tmpBuf.data()); in tempFileFromString() local
29 write(fd, contents.c_str(), contents.size() + 1); in tempFileFromString()
31 return fd; in tempFileFromString()
40 int fd = tempFileFromString("Hello, world"); in TEST() local
41 JSBigFileString bigStr{fd, size}; in TEST()
55 int fd = tempFileFromString(data); in TEST() local
56 JSBigFileString bigStr{fd, needle.size(), offset}; in TEST()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/cxxreact/tests/
H A DABI47_0_0jsbigstring.cpp28 const int fd = mkstemp(tmpBuf.data()); in tempFileFromString() local
29 write(fd, contents.c_str(), contents.size() + 1); in tempFileFromString()
31 return fd; in tempFileFromString()
40 int fd = tempFileFromString("Hello, world"); in TEST() local
41 JSBigFileString bigStr{fd, size}; in TEST()
55 int fd = tempFileFromString(data); in TEST() local
56 JSBigFileString bigStr{fd, needle.size(), offset}; in TEST()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI48_0_0JSBigString.cpp24 JSBigFileString::JSBigFileString(int fd, size_t size, off_t offset /*= 0*/) in JSBigFileString() argument
26 folly::checkUnixError(m_fd = dup(fd), "Could not duplicate file descriptor");
80 int JSBigFileString::fd() const { in fd() function in ABI48_0_0facebook::ABI48_0_0React::JSBigFileString
86 int fd = ::open(sourceURL.c_str(), O_RDONLY); in fromPath() local
87 folly::checkUnixError(fd, "Could not open file", sourceURL); in fromPath()
89 CHECK(::close(fd) == 0); in fromPath()
93 folly::checkUnixError(::fstat(fd, &fileInfo), "fstat on bundle failed."); in fromPath()
95 return std::make_unique<const JSBigFileString>(fd, fileInfo.st_size); in fromPath()
H A DABI48_0_0JSBigString.h113 JSBigFileString(int fd, size_t size, off_t offset = 0);
123 int fd() const;
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI47_0_0JSBigString.cpp24 JSBigFileString::JSBigFileString(int fd, size_t size, off_t offset /*= 0*/) in JSBigFileString() argument
26 folly::checkUnixError(m_fd = dup(fd), "Could not duplicate file descriptor");
80 int JSBigFileString::fd() const { in fd() function in ABI47_0_0facebook::ABI47_0_0React::JSBigFileString
86 int fd = ::open(sourceURL.c_str(), O_RDONLY); in fromPath() local
87 folly::checkUnixError(fd, "Could not open file", sourceURL); in fromPath()
89 CHECK(::close(fd) == 0); in fromPath()
93 folly::checkUnixError(::fstat(fd, &fileInfo), "fstat on bundle failed."); in fromPath()
95 return std::make_unique<const JSBigFileString>(fd, fileInfo.st_size); in fromPath()
H A DABI47_0_0JSBigString.h113 JSBigFileString(int fd, size_t size, off_t offset = 0);
123 int fd() const;
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI49_0_0JSBigString.cpp24 JSBigFileString::JSBigFileString(int fd, size_t size, off_t offset /*= 0*/) in JSBigFileString() argument
26 folly::checkUnixError(m_fd = dup(fd), "Could not duplicate file descriptor");
80 int JSBigFileString::fd() const { in fd() function in ABI49_0_0facebook::ABI49_0_0React::JSBigFileString
86 int fd = ::open(sourceURL.c_str(), O_RDONLY); in fromPath() local
87 folly::checkUnixError(fd, "Could not open file", sourceURL); in fromPath()
89 CHECK(::close(fd) == 0); in fromPath()
93 folly::checkUnixError(::fstat(fd, &fileInfo), "fstat on bundle failed."); in fromPath()
95 return std::make_unique<const JSBigFileString>(fd, fileInfo.st_size); in fromPath()
H A DABI49_0_0JSBigString.h113 JSBigFileString(int fd, size_t size, off_t offset = 0);
123 int fd() const;
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/core/logging/
H A DPersistentFileLog.kt100 val fd = File(filePath) in <lambda>() constant
101 if (!fd.exists()) { in <lambda>()
102 val success = fd.createNewFile() in <lambda>()
135 val fd = File(filePath) in <lambda>() constant
136 if (fd.exists()) { in <lambda>()
137 fd.delete() in <lambda>()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/core/logging/
H A DPersistentFileLog.kt98 val fd = File(filePath) in <lambda>() constant
99 if (!fd.exists()) { in <lambda>()
100 val success = fd.createNewFile() in <lambda>()
133 val fd = File(filePath) in <lambda>() constant
134 if (fd.exists()) { in <lambda>()
135 fd.delete() in <lambda>()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/core/logging/
H A DPersistentFileLog.kt98 val fd = File(filePath) in <lambda>() constant
99 if (!fd.exists()) { in <lambda>()
100 val success = fd.createNewFile() in <lambda>()
133 val fd = File(filePath) in <lambda>() constant
134 if (fd.exists()) { in <lambda>()
135 fd.delete() in <lambda>()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/core/logging/
H A DPersistentFileLog.kt98 val fd = File(filePath) in <lambda>() constant
99 if (!fd.exists()) { in <lambda>()
100 val success = fd.createNewFile() in <lambda>()
133 val fd = File(filePath) in <lambda>() constant
134 if (fd.exists()) { in <lambda>()
135 fd.delete() in <lambda>()
/expo/packages/@expo/cli/src/run/ios/appleDevice/client/
H A DAFCClient.ts56 async writeFile(fd: Buffer, data: Buffer): Promise<AFCResponse> {
57 debug(`writeFile: ${Array.prototype.toString.call(fd)} data size: ${data.length}`);
61 data: fd,
97 protected async closeFile(fd: Buffer): Promise<AFCResponse> {
98 debug(`closeFile fd: ${Array.prototype.toString.call(fd)}`);
101 data: fd,
/expo/packages/@expo/cli/src/export/
H A DexportHermes.ts237 const fd = await fs.open(file, 'r'); constant
239 await fs.read(fd, buffer, 0, 12, null);
240 await fs.close(fd);
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/codegen/
H A Dgenerate-artifacts-executor.js395 const fd = fs.openSync(schemaListTmpPath, 'w');
396 fs.writeSync(fd, JSON.stringify(schemaPaths));
397 fs.closeSync(fd);
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/scripts/codegen/
H A Dgenerate-artifacts-executor.js416 const fd = fs.openSync(schemaListTmpPath, 'w');
417 fs.writeSync(fd, JSON.stringify(schemaPaths));
418 fs.closeSync(fd);
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/codegen/
H A Dgenerate-artifacts-executor.js395 const fd = fs.openSync(schemaListTmpPath, 'w');
396 fs.writeSync(fd, JSON.stringify(schemaPaths));
397 fs.closeSync(fd);
/expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkData.h145 static sk_sp<SkData> MakeFromFD(int fd);
/expo/ios/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkData.h148 static sk_sp<SkData> MakeFromFD(int fd);
/expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkData.h148 static sk_sp<SkData> MakeFromFD(int fd);
/expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkData.h148 static sk_sp<SkData> MakeFromFD(int fd);
/expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkData.h148 static sk_sp<SkData> MakeFromFD(int fd);
/expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkData.h148 static sk_sp<SkData> MakeFromFD(int fd);
/expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkData.h148 static sk_sp<SkData> MakeFromFD(int fd);

12