Home
last modified time | relevance | path

Searched refs:file_fd (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Virtualization/authfs/src/file/
Dremote_file.rs44 file_fd: i32, field
48 pub fn new(service: VirtFdService, file_fd: i32) -> Self { in new()
49 RemoteFileReader { service, file_fd } in new()
57 let file_fd = in new_by_path() localVariable
68 Ok(RemoteFileReader { service, file_fd }) in new_by_path()
72 self.file_fd in get_remote_fd()
78 remote_read_chunk(&self.service, self.file_fd, chunk_index, buf) in read_chunk()
84 file_fd: i32, field
88 pub fn new(service: VirtFdService, file_fd: i32) -> Self { in new()
89 RemoteMerkleTreeReader { service, file_fd } in new()
[all …]
/packages/modules/Virtualization/authfs/src/fusefs/
Dfile.rs85 FileInfo::ByFd(file_fd) => RemoteFileReader::new(self.service.clone(), *file_fd), in ensure_init_then()
/packages/modules/Bluetooth/system/device/test/
Ddevice_iot_config_test.cc165 int file_fd = -1; in TEST_F_WITH_FLAGS() local
168 file_fd = open(IOT_CONFIG_FILE_PATH, O_CREAT | O_RDWR | O_TRUNC | O_CLOEXEC, in TEST_F_WITH_FLAGS()
170 EXPECT_TRUE(file_fd > 0); in TEST_F_WITH_FLAGS()
475 int file_fd = -1; in TEST_F_WITH_FLAGS() local
479 file_fd = open(IOT_CONFIG_FILE_PATH, O_CREAT | O_RDWR | O_TRUNC | O_CLOEXEC, in TEST_F_WITH_FLAGS()
481 EXPECT_TRUE(file_fd > 0); in TEST_F_WITH_FLAGS()
555 int file_fd = -1; in TEST_F_WITH_FLAGS() local
559 file_fd = open(IOT_CONFIG_FILE_PATH, O_CREAT | O_RDWR | O_TRUNC | O_CLOEXEC, in TEST_F_WITH_FLAGS()
561 EXPECT_TRUE(file_fd > 0); in TEST_F_WITH_FLAGS()
3349 int file_fd = -1; in TEST_F_WITH_FLAGS() local
[all …]
/packages/modules/adb/client/
Dincremental_server.cpp708 auto [file_fd, file_size] = open_fd(filepath); in serve()
711 files.emplace_back(filepath, i, file_size, std::move(file_fd), sign_offset, in serve()