Home
last modified time | relevance | path

Searched refs:OpenOptions (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
H A Dopen_options.rs14 use std::fs::OpenOptions as SyncOpenOptions;
37 pub struct OpenOptions(SyncOpenOptions); struct
39 impl OpenOptions { impl
58 pub fn new() -> OpenOptions { in new()
59 OpenOptions(SyncOpenOptions::new()) in new()
78 pub fn read(&mut self, read: bool) -> &mut OpenOptions { in read() argument
102 pub fn write(&mut self, write: bool) -> &mut OpenOptions { in write() argument
150 pub fn append(&mut self, append: bool) -> &mut OpenOptions { in append() argument
304 use crate::fs::OpenOptions;
315 let mut option = OpenOptions::new(); in ut_set_openoption()
H A Dmod.rs29 pub use open_options::OpenOptions;
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/websocket_client/include/
H A Dwebsocket_client_innerapi.h57 struct OpenOptions { struct
70 int Connect(std::string URL, OpenOptions Options); argument
/ohos5.0/base/request/request/services/src/task/
H A Dfiles.rs15 use std::fs::{File, OpenOptions};
140 OpenOptions::new() in open_file_readwrite()
150 OpenOptions::new() in open_file_readonly()
/ohos5.0/foundation/communication/netstack/interfaces/kits/c/net_websocket/include/
H A Dnet_websocket_adapter.h28 int32_t Conv2RequestOptions(struct OpenOptions *openOptions,
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dasync_fs.rs19 use ylong_runtime::fs::{File, OpenOptions};
101 let mut file = OpenOptions::new() in sdv_async_fs_rw()
345 let mut file = OpenOptions::new() in sdv_async_fs_open_options()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/
H A Dsys.rs15 use std::fs::OpenOptions;
90 let file = OpenOptions::new().read(true).write(true).open(path)?; in pts()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/remote/
H A Dstub.rs52 use std::fs::{self, OpenOptions};
/ohos5.0/foundation/communication/netstack/interfaces/kits/c/net_websocket/src/
H A Dnet_websocket_adapter.cpp47 int32_t Conv2RequestOptions(struct OpenOptions *openOptions, in Conv2RequestOptions()
H A Dnet_websocket.cpp148 struct OpenOptions openOptions; in OH_WebSocketClient_Connect()
/ohos5.0/foundation/communication/netstack/test/unittest/websocket_inner_unittest/
H A Dwebsocket_inner_unittest.cpp45 OpenOptions openOptions;
/ohos5.0/base/security/asset/services/db_operator/src/test/
H A Dtest_database.rs18 fs::{self, OpenOptions},
268OpenOptions::new().read(true).write(true).open("/data/asset_test/0/Native_asset_service_8100.db").… in backup_and_restore()
/ohos5.0/foundation/communication/netstack/test/fuzztest/websocketinnerapi_fuzzer/
H A Dwebsocket_inner_fuzzer.cpp30 OpenOptions openOptions;
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/tests/
H A Dparcel_remote.rs15 use std::fs::OpenOptions;
125 let mut file = std::fs::OpenOptions::new() in read_and_write()
/ohos5.0/foundation/communication/netstack/frameworks/native/websocket_client/
H A Dwebsocket_client.cpp387 int WebSocketClient::Connect(std::string url, struct OpenOptions options) in Connect()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/parcel/
H A Dwrapper.rs766 let mut file = std::fs::OpenOptions::new() in file_descriptor()