/ohos5.0/foundation/communication/netmanager_ext/services/mdnsmanager/include/ |
H A D | mdns_protocol_impl.h | 57 struct Result { struct 75 int32_t Register(const Result &info); argument
|
/ohos5.0/commonlibrary/rust/ylong_json/src/ |
H A D | encoder.rs | 44 fn encode_value(&mut self, value: &JsonValue) -> Result<(), Error> { in encode_value() 56 fn add_tab(&mut self) -> Result<(), Error> { in add_tab() 64 fn encode_null(&mut self) -> Result<(), Error> { in encode_null() 79 fn encode_key(&mut self, key: &str) -> Result<(), Error> { in encode_key() 93 fn encode_string(&mut self, string: &str) -> Result<(), Error> { in encode_string() 98 fn encode_array(&mut self, array: &Array) -> Result<(), Error> { in encode_array() 194 fn encode_null(&mut self) -> Result<(), Error> { in encode_null() 209 fn encode_key(&mut self, key: &str) -> Result<(), Error> { in encode_key() 257 fn encode_null(writer: &mut dyn Write) -> Result<(), Error> { in encode_null() 324 ) -> Result<(), Error> { in encode_string_inner() [all …]
|
H A D | serializer_compact.rs | 38 fn flush(&mut self) -> std::io::Result<()> { in flush() 166 fn serialize_none(self) -> Result<(), Error> { in serialize_none() 198 ) -> Result<(), Error> { in serialize_unit_variant() 220 ) -> Result<(), Error> in serialize_newtype_variant() 355 fn end(self) -> Result<(), Error> { in end() 374 fn end(self) -> Result<(), Error> { in end() 393 fn end(self) -> Result<(), Error> { in end() 420 fn end(self) -> Result<(), Error> { in end() 460 fn end(self) -> Result<(), Error> { in end() 480 fn end(self) -> Result<(), Error> { in end() [all …]
|
/ohos5.0/base/security/asset/services/core_service/src/operations/common/ |
H A D | argument_check.rs | 42 fn check_data_type(tag: &Tag, value: &Value) -> Result<()> { in check_data_type() 54 fn check_array_size(tag: &Tag, value: &Value, min: usize, max: usize) -> Result<()> { in check_array_size() 69 fn check_enum_variant<T: TryFrom<u32>>(tag: &Tag, value: &Value) -> Result<()> { in check_enum_variant() 84 fn check_valid_bits(tag: &Tag, value: &Value, min_bits: u32, max_bits: u32) -> Result<()> { in check_valid_bits() 100 fn check_number_range(tag: &Tag, value: &Value, min: u32, max: u32) -> Result<()> { in check_number_range() 115 fn check_tag_range(tag: &Tag, value: &Value, tags: &[Tag]) -> Result<()> { in check_tag_range() 132 fn check_user_id(tag: &Tag, value: &Value) -> Result<()> { in check_user_id() 144 fn check_data_value(tag: &Tag, value: &Value) -> Result<()> { in check_data_value() 178 pub(crate) fn check_value_validity(attrs: &AssetMap) -> Result<()> { in check_value_validity() 186 pub(crate) fn check_required_tags(attrs: &AssetMap, required_tags: &[Tag]) -> Result<()> { in check_required_tags() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/udp/ |
H A D | udp_socket.rs | 134 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() 288 pub fn set_broadcast(&self, on: bool) -> io::Result<()> { in set_broadcast() 356 pub fn set_multicast_ttl_v4(&self, multicast_ttl_v4: u32) -> io::Result<()> { in set_multicast_ttl_v4() 479 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() 631 pub fn set_broadcast(&self, on: bool) -> io::Result<()> { in set_broadcast() 745 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() 751 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() 762 ) -> io::Result<()> { in register() 766 fn deregister(&mut self, selector: &Selector) -> io::Result<()> { in deregister() 781 ) -> io::Result<()> { in register() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/ |
H A D | udp_socket.rs | 170 pub fn set_broadcast(&self, on: bool) -> io::Result<()> { in set_broadcast() 204 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() 268 pub fn set_multicast_ttl_v4(&self, multicast_ttl_v4: u32) -> io::Result<()> { in set_multicast_ttl_v4() 389 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() 511 pub fn set_broadcast(&self, on: bool) -> io::Result<()> { in set_broadcast() 625 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() 631 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() 642 ) -> io::Result<()> { in register() 647 fn deregister(&mut self, _selector: &Selector) -> io::Result<()> { in deregister() 662 ) -> io::Result<()> { in register() [all …]
|
/ohos5.0/base/security/asset/services/core_service/src/operations/ |
H A D | operation_add.rs | 35 fn encrypt_secret(calling_info: &CallingInfo, db_data: &mut DbMap) -> Result<()> { in encrypt_secret() 51 ) -> Result<()> { in resolve_conflict() 80 fn add_system_attrs(db_data: &mut DbMap) -> Result<()> { in add_system_attrs() 103 fn check_accessibity_validity(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_accessibity_validity() 122 fn check_persistent_permission(attributes: &AssetMap) -> Result<()> { in check_persistent_permission() 132 fn check_sync_permission(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_sync_permission() 148 fn check_arguments(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in check_arguments() 165 fn local_add(attributes: &AssetMap, calling_info: &CallingInfo) -> Result<()> { in local_add() 188 pub(crate) fn add(calling_info: &CallingInfo, attributes: &AssetMap) -> Result<()> { in add()
|
H A D | operation_remove.rs | 29 fn add_system_attrs(db_data: &mut DbMap) -> Result<()> { in add_system_attrs() 39 fn check_arguments(attributes: &AssetMap) -> Result<()> { in check_arguments() 50 pub(crate) fn remove(calling_info: &CallingInfo, query: &AssetMap) -> Result<()> { in remove()
|
H A D | operation_post_query.rs | 27 fn check_arguments(query: &AssetMap) -> Result<()> { in check_arguments() 36 pub(crate) fn post_query(calling_info: &CallingInfo, handle: &AssetMap) -> Result<()> { in post_query()
|
/ohos5.0/base/security/code_signature/services/key_enable/src/ |
H A D | file_utils.rs | 32 pub fn change_default_mode_file(path_file: &str) -> Result<(), CodeSignFileError> { in change_default_mode_file() 42 pub fn change_default_mode_directory(path_file: &str) -> Result<(), CodeSignFileError> { in change_default_mode_directory() 56 pub fn create_file_path(path_name: &str) -> Result<(), std::io::Error> { in create_file_path() 62 pub fn write_bytes_to_file(filename: &str, data: &[u8]) -> Result<(), std::io::Error> { in write_bytes_to_file() 68 pub fn load_bytes_from_file(filename: &str, buffer: &mut Vec<u8>) -> Result<(), std::io::Error> { in load_bytes_from_file() 78 pub fn delete_file_path(file_path: &str) -> Result<(), std::io::Error> { in delete_file_path()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/free_install/ |
H A D | install_result.h | 25 struct Result : public Parcelable { struct 32 static Result *Unmarshalling(Parcel &parcel); argument
|
/ohos5.0/base/security/asset/test/unittest/inner_kits_rust/src/ |
H A D | common.rs | 53 pub(crate) fn remove_by_alias(alias: &[u8]) -> Result<()> { in remove_by_alias() 89 pub(crate) fn add_default_asset(alias: &[u8], secret: &[u8]) -> Result<()> { in add_default_asset() 97 pub(crate) fn add_default_auth_asset(alias: &[u8], secret: &[u8]) -> Result<()> { in add_default_auth_asset() 106 pub(crate) fn add_all_tags_asset(alias: &[u8]) -> Result<()> { in add_all_tags_asset()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/interceptor/ |
H A D | mod.rs | 91 fn intercept_connection(&self, _info: ConnDetail) -> Result<(), HttpClientError> { in intercept_connection() 96 fn intercept_input(&self, _bytes: &[u8]) -> Result<(), HttpClientError> { in intercept_input() 101 fn intercept_output(&self, _bytes: &[u8]) -> Result<(), HttpClientError> { in intercept_output() 106 fn intercept_request(&self, _request: &Request) -> Result<(), HttpClientError> { in intercept_request() 111 fn intercept_response(&self, _response: &Response) -> Result<(), HttpClientError> { in intercept_response() 116 fn intercept_retry(&self, _error: &HttpClientError) -> Result<(), HttpClientError> { in intercept_retry() 121 fn intercept_redirect_request(&self, _request: &Request) -> Result<(), HttpClientError> { in intercept_redirect_request() 129 ) -> Result<(), HttpClientError> { in intercept_redirect_response()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/ |
H A D | manager.rs | 150 ) -> Poll<Result<(), DispatchErrorKind>> { in manage_pending_state() 232 ) -> Result<(), DispatchErrorKind> { in input_stream_frame() 294 ) -> Poll<Result<(), DispatchErrorKind>> { in poll_recv_frame() 402 ) -> Poll<Result<(), H2Error>> { in recv_go_away_frame() 444 ) -> Poll<Result<(), H2Error>> { in recv_reset_frame() 464 ) -> Poll<Result<(), H2Error>> { in recv_header_frame() 536 ) -> Poll<Result<(), DispatchErrorKind>> { in manage_resp_error() 560 ) -> Poll<Result<(), DispatchErrorKind>> { in manage_stream_error() 604 ) -> Poll<Result<(), DispatchErrorKind>> { in manage_conn_error() 669 ) -> Result<(), DispatchErrorKind> { in send_peer_goaway() [all …]
|
H A D | output.rs | 79 fn poll_read_frame(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), DispatchErrorKind>> { in poll_read_frame() 141 fn poll_blocked_task(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), DispatchErrorKind>> { in poll_blocked_task() 165 ) -> Poll<Result<(), DispatchErrorKind>> { in poll_iterator_frames() 198 ) -> Poll<Result<(), DispatchErrorKind>> { in transmit_error() 212 ) -> Poll<Result<(), DispatchErrorKind>> { in transmit_message() 231 fn update_settings(&mut self, frame: &Frame) -> Result<(), H2Error> { in update_settings() 240 fn update_decoder_settings(&mut self) -> Result<(), H2Error> { in update_decoder_settings()
|
/ohos5.0/base/security/asset/services/db_operator/src/ |
H A D | transaction.rs | 37 pub(crate) fn begin(&mut self) -> Result<()> { in begin() 42 pub(crate) fn rollback(self) -> Result<()> { in rollback() 47 pub(crate) fn commit(self) -> Result<()> { in commit()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/ |
H A D | pty.rs | 62 ) -> io::Result<()> { in resize() 183 ) -> Poll<io::Result<()>> { in poll_read() 197 fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_flush() 201 fn poll_shutdown(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_shutdown() 219 pub(crate) fn session_leader(&self) -> impl FnMut() -> io::Result<()> { in session_leader() 233 ) -> Poll<io::Result<()>> { in poll_read() 260 ) -> io::Result<()> { in resize() 274 fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_flush() 292 ) -> Poll<io::Result<()>> { in poll_read() 319 ) -> io::Result<()> { in resize() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/ |
H A D | stream.rs | 123 pub fn shutdown(&self, how: Shutdown) -> io::Result<()> { in shutdown() 138 pub fn set_nodelay(&self, nodelay: bool) -> io::Result<()> { in set_nodelay() 191 pub fn set_linger(&self, linger: Option<Duration>) -> io::Result<()> { in set_linger() 206 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() 263 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() 325 ) -> io::Result<()> { in register() 330 fn deregister(&mut self, _selector: &Selector) -> io::Result<()> { in deregister()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/ |
H A D | ctx.rs | 57 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 117 pub(crate) fn set_min_proto_version(&mut self, version: SslVersion) -> Result<(), ErrorStack> { in set_min_proto_version() 131 pub(crate) fn set_max_proto_version(&mut self, version: SslVersion) -> Result<(), ErrorStack> { in set_max_proto_version() 149 pub(crate) fn set_ca_file<P>(&mut self, file: P) -> Result<(), ErrorStack> in set_ca_file() 162 pub(crate) fn set_cipher_list(&mut self, list: &str) -> Result<(), ErrorStack> { in set_cipher_list() 173 pub(crate) fn set_cipher_suites(&mut self, list: &str) -> Result<(), ErrorStack> { in set_cipher_suites() 193 ) -> Result<(), ErrorStack> in set_certificate_file() 210 pub(crate) fn set_certificate_chain_file<P>(&mut self, file: P) -> Result<(), ErrorStack> in set_certificate_chain_file() 236 pub(crate) fn set_alpn_protos(&mut self, protocols: &[u8]) -> Result<(), ErrorStack> { in set_alpn_protos() 272 pub(crate) fn set_sigalgs_list(&mut self) -> Result<(), ErrorStack> { in set_sigalgs_list()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_asset_loader.h | 39 struct Result { in SCENE_BEGIN_NAMESPACE() struct 44 BASE_NS::string error; in SCENE_BEGIN_NAMESPACE()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/ |
H A D | kqueue.rs | 47 pub fn select(&self, events: &mut Events, timeout: Option<Duration>) -> io::Result<()> { in select() 75 pub fn register(&self, fd: RawFd, token: Token, interests: Interest) -> io::Result<()> { in register() 93 pub fn reregister(&self, fd: i32, token: Token, interests: Interest) -> io::Result<()> { in reregister() 114 pub fn deregister(&self, fd: i32) -> io::Result<()> { in deregister() 137 pub fn register_waker(&self, token: Token) -> io::Result<()> { in register_waker() 150 pub fn wake(&self, token: Token) -> io::Result<()> { in wake() 162 fn kevent_notify(&self, mut event: Event) -> io::Result<()> { in kevent_notify() 174 fn kevent_register(kq: RawFd, events: &mut [Event]) -> io::Result<()> { in kevent_register() 195 fn kevent_check_error(events: &mut [Event], ignored: &[i64]) -> io::Result<()> { in kevent_check_error()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/ |
H A D | stream.rs | 101 pub fn set_nodelay(&self, nodelay: bool) -> io::Result<()> { in set_nodelay() 154 pub fn set_linger(&self, linger: Option<Duration>) -> io::Result<()> { in set_linger() 169 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() 195 pub fn shutdown(&self, how: Shutdown) -> io::Result<()> { in shutdown() 239 fn flush(&mut self) -> io::Result<()> { in flush() 267 fn flush(&mut self) -> io::Result<()> { in flush() 274 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() 285 ) -> io::Result<()> { in register() 289 fn deregister(&mut self, selector: &Selector) -> io::Result<()> { in deregister()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/ |
H A D | reader.rs | 115 pub fn read_all<B: Body>(&mut self, body: &mut B) -> Result<(), HttpClientError> { in read_all() 165 fn write(&mut self, data: &[u8]) -> Result<(), BodyProcessError>; in write() 170 fn progress(&mut self, filled: usize) -> Result<(), BodyProcessError>; in progress() 178 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() 204 fn write(&mut self, data: &[u8]) -> Result<(), BodyProcessError> { in write() 209 fn progress(&mut self, filled: usize) -> Result<(), BodyProcessError> { in progress()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/ |
H A D | mix.rs | 37 ) -> Poll<std::io::Result<()>> { in poll_read() 61 fn poll_flush(mut self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll<std::io::Result<()>> { in poll_flush() 68 fn poll_shutdown(mut self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll<std::io::Result<()>> { in poll_shutdown()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/ |
H A D | stream.rs | 66 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() 154 pub async fn readable(&self) -> io::Result<()> { in readable() 221 pub async fn writable(&self) -> io::Result<()> { in writable() 329 pub fn set_nodelay(&self, nodelay: bool) -> io::Result<()> { in set_nodelay() 381 pub fn set_linger(&self, linger: Option<Duration>) -> io::Result<()> { in set_linger() 427 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() 562 pub fn shutdown(&self, how: Shutdown) -> io::Result<()> { in shutdown() 593 pub fn fchown(&self, uid: uid_t, gid: gid_t) -> io::Result<()> { in fchown() 603 ) -> Poll<io::Result<()>> { in poll_read() 629 fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_flush() [all …]
|