Home
last modified time | relevance | path

Searched refs:Option (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/
H A Doption.cpp24 Option &Option::Instance() in Instance()
26 static Option option; in Instance()
33 Option &Option::Parse(int argc, char **argv) in Parse()
71 void Option::SetOptionData(char op) in SetOptionData()
123 void Option::ShowUsage() in ShowUsage()
146 bool Option::ShouldShowUsage() const in ShouldShowUsage()
151 void Option::ShowVersion() in ShowVersion()
157 bool Option::OptionError() const in OptionError()
167 bool Option::ShouldAlign() const in ShouldAlign()
192 bool Option::ShouldDecompile() const in ShouldDecompile()
[all …]
H A Doption.h17 class Option {
19 Option() = default;
21 ~Option() = default;
23 static Option &Instance();
25 Option &Parse(int argc, char *argv[]);
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-basic-select.md76 "value": "Option 0", "name": "Option 0"
79 "value": "Option 1", "name": "Option 1"
82 "value": "Option 2", "name": "Option 2"
85 "value": "Option 3", "name": "Option 3"
92 "value": "Option A", "name": "Option A"
95 "value": "Option B", "name": "Option B"
98 "value": "Option C", "name": "Option C"
101 "value": "Option D", "name": "Option D"
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Dpseudo.rs23 authority: Option<String>,
24 method: Option<String>,
25 path: Option<String>,
26 scheme: Option<String>,
27 status: Option<String>,
57 pub fn authority(&self) -> Option<&str> { in authority()
77 pub fn method(&self) -> Option<&str> { in method()
97 pub fn path(&self) -> Option<&str> { in path()
102 pub fn set_path(&mut self, path: Option<String>) { in set_path()
117 pub fn scheme(&self) -> Option<&str> { in scheme()
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/
H A Dpseudo.rs23 authority: Option<String>,
24 method: Option<String>,
25 path: Option<String>,
26 scheme: Option<String>,
27 status: Option<String>,
56 pub fn authority(&self) -> Option<&str> { in authority()
76 pub fn method(&self) -> Option<&str> { in method()
96 pub fn path(&self) -> Option<&str> { in path()
101 pub fn set_path(&mut self, path: Option<String>) { in set_path()
116 pub fn scheme(&self) -> Option<&str> { in scheme()
[all …]
H A Dframe.rs74 max_field_section_size: Option<u64>,
75 qpack_max_table_capacity: Option<u64>,
76 qpack_blocked_streams: Option<u64>,
77 connect_protocol_enabled: Option<u64>,
78 h3_datagram: Option<u64>,
79 raw: Option<Vec<(u64, u64)>>,
173 pub fn get_max_fied_section_size(&self) -> &Option<u64> { in get_max_fied_section_size()
178 pub fn get_qpack_max_table_capacity(&self) -> &Option<u64> { in get_qpack_max_table_capacity()
183 pub fn get_qpack_block_stream(&self) -> &Option<u64> { in get_qpack_block_stream()
188 pub fn get_connect_protocol_enabled(&self) -> &Option<u64> { in get_connect_protocol_enabled()
[all …]
/ohos5.0/commonlibrary/rust/ylong_json/src/reader/
H A Dmod.rs28 fn next(&mut self) -> Result<Option<u8>, Self::Error>; in next()
32 fn peek(&mut self) -> Result<Option<u8>, Self::Error>; in peek()
54 fn cached_len(&mut self) -> Option<usize>; in cached_len()
59 fn cached_slice(&mut self) -> Option<&[u8]>; in cached_slice()
64 fn cached_data(&mut self) -> Option<Vec<u8>>; in cached_data()
72 fn take_cached_data(&mut self) -> Option<Vec<u8>>; in take_cached_data()
92 fn next_n(&mut self, n: usize) -> Result<Option<&[u8]>, Self::Error>; in next_n()
96 fn peek_n(&mut self, n: usize) -> Result<Option<&[u8]>, Self::Error>; in peek_n()
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/
H A Dbuild_hdi_files_info.py224 class Option(object): class
237 Option.mode = opt_args.mode
267 "system": Option.system,
268 "kernel": Option.kernel,
269 "mode": Option.mode,
271 "gen_dir": Option.gen_dir,
314 if Option.language == "c":
929 Option.system))
931 Option.system)
935 Option.mode, Option.system))
[all …]
/ohos5.0/commonlibrary/rust/ylong_json/src/value/array/
H A Dlinked_list.rs113 pub fn pop(&mut self) -> Option<JsonValue> { in pop()
154 pub fn get(&self, index: usize) -> Option<&JsonValue> { in get()
169 pub fn get_mut(&mut self, index: usize) -> Option<&mut JsonValue> { in get_mut()
185 pub fn last(&self) -> Option<&JsonValue> { in last()
200 pub fn last_mut(&mut self) -> Option<&mut JsonValue> { in last_mut()
220 pub fn remove(&mut self, index: usize) -> Option<JsonValue> { in remove()
238 pub fn get_node(&self, index: usize) -> Option<&Node<JsonValue>> { in get_node()
257 pub fn get_node_mut(&mut self, index: usize) -> Option<&mut Node<JsonValue>> { in get_node_mut()
272 pub fn last_node(&self) -> Option<&Node<JsonValue>> { in last_node()
287 pub fn last_node_mut(&mut self) -> Option<&mut Node<JsonValue>> { in last_node_mut()
[all …]
H A Dvec.rs112 pub fn pop(&mut self) -> Option<JsonValue> { in pop()
153 pub fn get(&self, index: usize) -> Option<&JsonValue> { in get()
168 pub fn get_mut(&mut self, index: usize) -> Option<&mut JsonValue> { in get_mut()
183 pub fn last(&self) -> Option<&JsonValue> { in last()
198 pub fn last_mut(&mut self) -> Option<&mut JsonValue> { in last_mut()
218 pub fn remove(&mut self, index: usize) -> Option<JsonValue> { in remove()
/ohos5.0/base/request/request/services/src/manage/scheduler/state/
H A Dmod.rs73 pub(crate) fn update_rss_level(&mut self, level: i32) -> Option<RssCapacity> { in update_rss_level()
77 pub(crate) fn update_network(&mut self, _a: ()) -> Option<SqlList> { in update_network()
82 pub(crate) fn update_account(&mut self, _a: ()) -> Option<SqlList> { in update_account()
88 pub(crate) fn update_top_uid(&mut self, top_uid: u64) -> Option<SqlList> { in update_top_uid()
101 pub(crate) fn update_background(&mut self, uid: u64) -> Option<SqlList> { in update_background()
117 pub(crate) fn update_background_timeout(&mut self, uid: u64) -> Option<SqlList> { in update_background_timeout()
121 pub(crate) fn special_process_terminate(&mut self, uid: u64) -> Option<SqlList> { in special_process_terminate()
128 pub(crate) fn top_uid(&self) -> Option<u64> { in top_uid()
H A Drecorder.rs20 pub(super) top_uid: Option<u64>,
41 top_uid: Option<u64>, in init()
58 pub(crate) fn update_rss_level(&mut self, rss_level: i32) -> Option<RssCapacity> { in update_rss_level()
66 pub(crate) fn update_network(&mut self, info: NetworkState) -> Option<SqlList> { in update_network()
81 ) -> Option<SqlList> { in update_accounts()
93 pub(crate) fn update_top_uid(&mut self, uid: u64) -> Option<SqlList> { in update_top_uid()
108 pub(crate) fn update_background_timeout(&self, uid: u64) -> Option<SqlList> { in update_background_timeout()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/metrics/
H A Druntime.rs79 pub fn park_workers_num(&self) -> Option<usize> { in park_workers_num()
104 pub fn active_workers_num(&self) -> Option<usize> { in active_workers_num()
129 pub fn park_workers_list(&self) -> Option<Vec<usize>> { in park_workers_list()
152 pub fn active_workers_list(&self) -> Option<Vec<usize>> { in active_workers_list()
177 pub fn overall_workers_list(&self) -> Option<WorkList> { in overall_workers_list()
259 pub fn worker_task_len(&self, index: usize) -> Option<usize> { in worker_task_len()
290 pub fn worker_total_task_count(&self, index: usize) -> Option<u64> { in worker_total_task_count()
321 pub fn worker_poll_count(&self, index: usize) -> Option<usize> { in worker_poll_count()
348 pub fn steal_times(&self) -> Option<u64> { in steal_times()
373 pub fn worker_get_task_from_global_count(&self, index: usize) -> Option<u64> { in worker_get_task_from_global_count()
[all …]
/ohos5.0/commonlibrary/rust/ylong_json/src/
H A Dlinked_list.rs73 pub(crate) fn pop_back(&mut self) -> Option<T> { in pop_back()
160 pub(crate) fn back(&self) -> Option<&T> { in back()
334 fn next(&mut self) -> Option<&'a T> { in next()
346 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint()
352 fn last(mut self) -> Option<&'a T> { in last()
359 fn next_back(&mut self) -> Option<&'a T> { in next_back()
383 fn next(&mut self) -> Option<&'a mut T> { in next()
401 fn last(mut self) -> Option<&'a mut T> { in last()
409 fn next_back(&mut self) -> Option<&'a mut T> { in next_back()
433 pub(crate) fn index(&self) -> Option<usize> { in index()
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h1/response/
H A Ddecoder.rs64 version: Option<Version>,
65 status_code: Option<StatusCode>,
66 headers: Option<Headers>,
215 ) -> Result<Option<(ResponsePart, &'a [u8])>, HttpError> { in decode()
385 ) -> Result<Option<&'a [u8]>, HttpError> { in decode_header_from_value()
399 ) -> Result<Option<&'a [u8]>, HttpError> { in decode_header_from_key()
413 ) -> Result<Option<&'a [u8]>, HttpError> { in decode_header_from_ows_before()
427 ) -> Result<Option<&'a [u8]>, HttpError> { in decode_header_from_crlf()
441 ) -> Result<Option<&'a [u8]>, HttpError> { in decode_header_from_crlf_end()
519 ) -> Result<Option<&'a [u8]>, HttpError> { in decode_crlf()
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/builder/
H A Dcommon_builder.rs29 pub(crate) worker_name: Option<String>,
37 pub(crate) worker_name: Option<String>,
43 pub(crate) keep_alive_time: Option<Duration>,
46 pub(crate) max_blocking_pool_size: Option<u8>,
55 pub(crate) stack_size: Option<usize>,
58 pub(crate) after_start: Option<CallbackHook>,
61 pub(crate) before_stop: Option<CallbackHook>,
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/dns/
H A Dhappy_eyeballs.rs30 delay_addr: Option<DelayedAddrs>,
36 timeout: Option<Duration>,
46 timeout: Option<Duration>,
48 delay: Option<Duration>,
74 fn next(&mut self) -> Option<Self::Item> { in next()
100 pub(crate) fn new(timeout: Option<Duration>, delay: Option<Duration>) -> Self { in new()
106 fn new(addrs: Vec<SocketAddr>, timeout: Option<Duration>) -> Self { in new()
236 timeout: Option<Duration>, in connect()
/ohos5.0/commonlibrary/rust/ylong_json/src/value/object/
H A Dlinked_list.rs134 pub fn remove(&mut self, key: &str) -> Option<JsonValue> { in remove()
177 pub fn get(&self, key: &str) -> Option<&JsonValue> { in get()
194 pub fn get_mut(&mut self, key: &str) -> Option<&mut JsonValue> { in get_mut()
214 pub fn get_node(&self, key: &str) -> Option<&Node<(String, JsonValue)>> { in get_node()
233 pub fn get_node_mut(&mut self, key: &str) -> Option<&mut Node<(String, JsonValue)>> { in get_node_mut()
239 pub(crate) fn last_node_mut(&mut self) -> Option<&mut Node<(String, JsonValue)>> { in last_node_mut()
271 fn get_cursor(&self, key: &str) -> Option<Cursor<'_, (String, JsonValue)>> { in get_cursor()
284 fn get_cursor_mut(&mut self, key: &str) -> Option<CursorMut<'_, (String, JsonValue)>> { in get_cursor_mut()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/include/
H A Ddistributeddb_nb_test_tools.h38 struct Option { struct
76 Option() in Option() function
131 const static Option g_createDiskUnencrypted(true, false, false, DistributedDB::CipherType::DEFAULT,
133 const static Option g_createDiskEncrypted(true, false, true, DistributedDB::CipherType::DEFAULT,
135 const static Option g_ncreateDiskUnencrypted(false, false, false, DistributedDB::CipherType::DEFAUL…
137 const static Option g_ncreateDiskEncrypted(false, false, true, DistributedDB::CipherType::DEFAULT,
139 const static Option g_createMemUnencrypted(true, true, false, DistributedDB::CipherType::DEFAULT,
141 static Option g_option = g_createDiskUnencrypted;
191 const DBParameters &param, const Option &optionParam,
195 const std::string &appId, const std::string &userId, const Option &optionParam);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_encrypt_delegate_test.cpp152 KvStoreNbDelegate::Option option = {true, false, true, CipherType::DEFAULT, g_passwd1};
230 KvStoreDelegate::Option option = {true, true, true, CipherType::DEFAULT, g_passwd1};
311 KvStoreDelegate::Option option = {true, false, true, CipherType::DEFAULT, g_passwd1};
397 KvStoreNbDelegate::Option option = {true, false, true, CipherType::DEFAULT, g_passwd1};
459 KvStoreNbDelegate::Option option = {true, false, true, CipherType::DEFAULT, g_passwd1};
494 KvStoreNbDelegate::Option option = {true, false, true, CipherType::DEFAULT, g_passwd1};
526 KvStoreNbDelegate::Option option = {true, false, true, CipherType::DEFAULT, g_passwd1};
663 KvStoreDelegate::Option option = {true, true, true, CipherType::DEFAULT, g_passwd1};
712 KvStoreDelegate::Option option = {true, true, true, CipherType::DEFAULT, g_passwd1};
807 KvStoreDelegate::Option option = {true, false, true, CipherType::DEFAULT, g_passwd1};
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/
H A Dchild.rs38 stdin: Option<ChildStdin>,
40 stdout: Option<ChildStdout>,
42 stderr: Option<ChildStderr>,
49 stdin: Option<ChildStdin>, in new()
50 stdout: Option<ChildStdout>, in new()
51 stderr: Option<ChildStderr>, in new()
78 pub fn id(&self) -> Option<u32> { in id()
102 pub fn take_stdin(&mut self) -> Option<ChildStdin> { in take_stdin()
123 pub fn take_stdout(&mut self) -> Option<ChildStdout> { in take_stdout()
144 pub fn take_stderr(&mut self) -> Option<ChildStderr> { in take_stderr()
[all …]
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/
H A Doperator.rs59 _total: Option<u64>, in poll_progress()
65 fn progress<'a>(&'a mut self, uploaded: u64, total: Option<u64>) -> ProgressFuture<'a, Self> in progress()
85 total: Option<u64>, in poll_progress()
95 total: Option<u64>,
118 _total: Option<u64>, in poll_progress()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
H A Doperator.rs57 _total: Option<u64>, in poll_progress()
63 fn progress<'a>(&'a mut self, uploaded: u64, total: Option<u64>) -> ProgressFuture<'a, Self> in progress()
83 total: Option<u64>, in poll_progress()
93 total: Option<u64>,
116 _total: Option<u64>, in poll_progress()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dohos-arkui-advanced-ChipGroup.md584 label: { text: "Option 1" },
596 label: { text: "Option 2" },
613 label: { text: "Option 3" },
616 { label: { text: "Option 4" } },
617 { label: { text: "Option 5" } },
618 { label: { text: "Option 6" } },
619 { label: { text: "Option 7" } },
620 { label: { text: "Option 8" } },
621 { label: { text: "Option 9" } },
628 { label: { text: "Option 1" } },
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/
H A Dmod.rs80 scheme: Option<Scheme>,
83 authority: Option<Authority>,
86 path: Option<Path>,
89 query: Option<Query>,
295 Option<Scheme>, in into_parts()
296 Option<Authority>, in into_parts()
297 Option<Path>, in into_parts()
298 Option<Query>, in into_parts()
315 path: Option<Path>, in from_raw_parts()
316 query: Option<Query>, in from_raw_parts()
[all …]

12345678910>>...19