/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
H A D | sm2_asy_key_generator_openssl.c | 324 static void DestroySm2KeyPairGenerator(HcfObjectBase *self) in DestroySm2KeyPairGenerator() 337 static void DestroySm2PubKey(HcfObjectBase *self) in DestroySm2PubKey() 355 static void DestroySm2PriKey(HcfObjectBase *self) in DestroySm2PriKey() 373 static void DestroySm2KeyPair(HcfObjectBase *self) in DestroySm2KeyPair() 395 static const char *GetSm2PubKeyAlgorithm(HcfKey *self) in GetSm2PubKeyAlgorithm() 408 static const char *GetSm2PriKeyAlgorithm(HcfKey *self) in GetSm2PriKeyAlgorithm() 421 static const char *GetSm2PubKeyFormat(HcfKey *self) in GetSm2PubKeyFormat() 434 static const char *GetSm2PriKeyFormat(HcfKey *self) in GetSm2PriKeyFormat() 447 static HcfResult GetSm2PubKeyEncoded(HcfKey *self, HcfBlob *returnBlob) in GetSm2PubKeyEncoded() 528 static void Sm2PriKeyClearMem(HcfPriKey *self) in Sm2PriKeyClearMem() [all …]
|
H A D | dsa_asy_key_generator_openssl.c | 87 static void DestroyDsaKeyGeneratorSpiImpl(HcfObjectBase *self) in DestroyDsaKeyGeneratorSpiImpl() 98 static void DestroyDsaPubKey(HcfObjectBase *self) in DestroyDsaPubKey() 112 static void DestroyDsaPriKey(HcfObjectBase *self) in DestroyDsaPriKey() 126 static void DestroyDsaKeyPair(HcfObjectBase *self) in DestroyDsaKeyPair() 142 static const char *GetDsaPubKeyAlgorithm(HcfKey *self) in GetDsaPubKeyAlgorithm() 154 static const char *GetDsaPriKeyAlgorithm(HcfKey *self) in GetDsaPriKeyAlgorithm() 166 static HcfResult GetDsaPubKeyEncoded(HcfKey *self, HcfBlob *returnBlob) in GetDsaPubKeyEncoded() 196 static HcfResult GetDsaPriKeyEncoded(HcfKey *self, HcfBlob *returnBlob) in GetDsaPriKeyEncoded() 226 static const char *GetDsaPubKeyFormat(HcfKey *self) in GetDsaPubKeyFormat() 238 static const char *GetDsaPriKeyFormat(HcfKey *self) in GetDsaPriKeyFormat() [all …]
|
/ohos5.0/base/security/asset/services/plugin/src/ |
H A D | asset_plugin.rs | 97 pub fn unload_plugin(&self) { in unload_plugin() 124 fn init(&mut self, user_id: i32) -> std::result::Result<(), u32> { in init() 131 fn add(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in add() 138 fn ce_add(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in ce_add() 159 fn query(&mut self, attributes: &ExtDbMap) -> std::result::Result<Vec<ExtDbMap>, u32> { in query() 181 fn remove(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in remove() 192 fn ce_remove(&mut self, attributes: &ExtDbMap) -> std::result::Result<i32, u32> { in ce_remove() 204 &mut self, in remove_with_specific_cond() 220 &mut self, in ce_remove_with_specific_cond() 262 fn increase_count(&mut self) { in increase_count() [all …]
|
/ohos5.0/build/hb/resolver/interface/ |
H A D | args_resolver_interface.py | 27 def __init__(self, args_dict: dict): argument 32 def resolve_arg(self, target_arg: Arg, module): argument 43 def _map_args_to_function(self, args_dict: dict): argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
H A D | client.rs | 184 &self, in send_unformatted_request() 205 &self, in send_request_on_conn() 221 &self, in redirect() 380 pub fn redirect(mut self, redirect: Redirect) -> Self { in redirect() 415 pub fn retry(mut self, retry: Retry) -> Self { in retry() 433 pub fn proxy(mut self, proxy: Proxy) -> Self { in proxy() 469 pub fn dns_resolver<R>(mut self, resolver: R) -> Self in dns_resolver() 741 pub fn tls_ca_file(mut self, path: &str) -> Self { in tls_ca_file() 760 pub fn tls_cipher_list(mut self, list: &str) -> Self { in tls_cipher_list() 853 pub fn tls_sni(mut self, is_set_sni: bool) -> Self { in tls_sni() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/ |
H A D | command.rs | 90 pub fn kill_on_drop(&mut self, kill: bool) -> &mut Command { in kill_on_drop() 110 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Command { in arg() 178 pub fn envs<I, S, V>(&mut self, vars: I) -> &mut Command in envs() 263 pub fn stdin<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stdin() 286 pub fn stdout<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stdout() 309 pub fn stderr<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stderr() 525 pub fn uid(&mut self, id: u32) -> &mut Command { in uid() 534 pub fn gid(&mut self, id: u32) -> &mut Command { in gid() 544 pub fn arg0<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Command { in arg0() 568 pub unsafe fn pre_exec<F>(&mut self, f: F) -> &mut Command in pre_exec() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/ |
H A D | command.rs | 81 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut PtyCommand { in arg() 152 pub fn envs<I, K, V>(&mut self, vars: I) -> &mut PtyCommand in envs() 222 pub fn stdin<T: Into<Stdio>>(&mut self, cfg: T) -> &mut PtyCommand { in stdin() 241 pub fn stdout<T: Into<Stdio>>(&mut self, cfg: T) -> &mut PtyCommand { in stdout() 260 pub fn stderr<T: Into<Stdio>>(&mut self, cfg: T) -> &mut PtyCommand { in stderr() 286 pub fn spawn(&mut self, pts: &Pts) -> io::Result<Child> { in spawn() 414 pub fn uid(&mut self, id: u32) -> &mut PtyCommand { in uid() 432 pub fn gid(&mut self, id: u32) -> &mut PtyCommand { in gid() 449 pub fn arg0<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut PtyCommand { in arg0() 485 pub unsafe fn pre_exec<F>(&mut self, f: F) -> &mut PtyCommand in pre_exec() [all …]
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/rand/src/ |
H A D | rand_openssl.c | 34 static HcfResult OpensslGenerateRandom(HcfRandSpi *self, int32_t numBytes, HcfBlob *random) in OpensslGenerateRandom() 62 static const char *GetRandAlgoName(HcfRandSpi *self) in GetRandAlgoName() 76 static void OpensslSetSeed(HcfRandSpi *self, HcfBlob *seed) in OpensslSetSeed() 86 static void DestroyRandOpenssl(HcfObjectBase *self) in DestroyRandOpenssl()
|
/ohos5.0/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/examples/audio_rust_sa/src/ |
H A D | lib.rs | 73 fn on_start(&self, handler: system_ability_fwk::ability::Handler) { in on_start() 78 &self, in on_start_with_reason() 88 fn on_stop(&self) {} in on_stop() 90 fn on_active(&self, reason: SystemAbilityOnDemandReason) { in on_active() 94 fn on_system_ability_load_event(&self, said: i32, device_id: String) { in on_system_ability_load_event() 100 fn on_system_ability_remove_event(&self, said: i32, device_id: String) { in on_system_ability_remove_event() 106 fn on_dump(&self) {} in on_dump() 108 fn on_idle(&self, reason: system_ability_fwk::cxx_share::SystemAbilityOnDemandReason) -> i32 { in on_idle()
|
/ohos5.0/base/request/request/services/src/manage/ |
H A D | database.rs | 89 pub(crate) fn execute(&self, sql: &str) -> Result<(), i32> { in execute() 100 pub(crate) fn execute(&self, sql: &str) -> Result<(), i32> { in execute() 145 pub(crate) fn contains_task(&self, task_id: u32) -> bool { in contains_task() 175 pub(crate) fn insert_task(&self, task: RequestTask) -> bool { in insert_task() 208 pub(crate) fn insert_task(&self, task: RequestTask) -> bool { in insert_task() 288 pub(crate) fn clear_invalid_records(&self) { in clear_invalid_records() 298 pub(crate) fn query_task_uid(&self, task_id: u32) -> Option<u64> { in query_task_uid() 336 pub(crate) fn get_task_info(&self, task_id: u32) -> Option<TaskInfo> { in get_task_info() 350 pub(crate) fn get_task_info(&self, task_id: u32) -> Option<TaskInfo> { in get_task_info() 461 pub(crate) fn delete_early_records(&self) { in delete_early_records() [all …]
|
/ohos5.0/base/security/asset/services/crypto_manager/src/ |
H A D | crypto_manager.rs | 47 pub fn add(&mut self, crypto: Crypto) -> Result<()> { in add() 58 pub fn find(&mut self, calling_info: &CallingInfo, challenge: &Vec<u8>) -> Result<&Crypto> { in find() 69 pub fn remove(&mut self, calling_info: &CallingInfo, challenge: &Vec<u8>) { in remove() 74 pub fn remove_by_calling_info(&mut self, calling_info: &CallingInfo) { in remove_by_calling_info() 79 pub fn remove_need_device_unlocked(&mut self) { in remove_need_device_unlocked()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/unix/ |
H A D | datagram.rs | 98 pub async fn ready(&self, interest: Interest) -> Result<Ready> { in ready() 168 pub fn try_recv(&self, buf: &mut [u8]) -> Result<usize> { in try_recv() 236 pub fn try_send(&self, buf: &[u8]) -> Result<usize> { in try_send() 307 pub fn connect<P: AsRef<Path>>(&self, path: P) -> Result<()> { in connect() 325 pub async fn send(&self, buf: &[u8]) -> Result<usize> { in send() 347 pub async fn send_to<P: AsRef<Path>>(&self, buf: &[u8], path: P) -> Result<usize> { in send_to() 369 pub async fn recv(&self, buf: &mut [u8]) -> Result<usize> { in recv() 391 pub async fn recv_from(&self, buf: &mut [u8]) -> Result<(usize, net::SocketAddr)> { in recv_from() 429 pub fn shutdown(&self, how: std::net::Shutdown) -> Result<()> { in shutdown() 435 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
|
/ohos5.0/base/security/asset/services/core_service/src/ |
H A D | lib.rs | 62 fn on_start_with_reason(&self, reason: SystemAbilityOnDemandReason, handler: Handler) { in on_start_with_reason() 76 fn on_active(&self, reason: SystemAbilityOnDemandReason) { in on_active() 81 fn on_idle(&self, _reason: SystemAbilityOnDemandReason) -> i32 { in on_idle() 102 fn on_stop(&self) { in on_stop() 172 fn add(&self, calling_info: &CallingInfo, attributes: &AssetMap) -> Result<()> { in add() 176 fn remove(&self, calling_info: &CallingInfo, query: &AssetMap) -> Result<()> { in remove() 180 …fn update(&self, calling_info: &CallingInfo, query: &AssetMap, attributes_to_update: &AssetMap) ->… in update() 184 fn pre_query(&self, calling_info: &CallingInfo, query: &AssetMap) -> Result<Vec<u8>> { in pre_query() 188 fn query(&self, calling_info: &CallingInfo, query: &AssetMap) -> Result<Vec<AssetMap>> { in query() 192 fn post_query(&self, calling_info: &CallingInfo, query: &AssetMap) -> Result<()> { in post_query()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/ |
H A D | waiter.rs | 83 pub async fn wait(&self) { in wait() 116 pub fn wake_one(&self) { in wake_one() 145 pub fn wake_all(&self) { in wake_all()
|
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/ |
H A D | request.rs | 94 pub fn method(mut self, method: Method) -> Self { in method() 111 pub fn url(mut self, url: &str) -> Self { in url() 129 pub fn header(mut self, name: &str, value: &str) -> Self { in header() 152 pub fn version(mut self, version: Version) -> Self { in version() 174 pub fn body<T: Into<reqwest::Body>>(self, body: T) -> Result<Request<T>, HttpClientError> { in body() 199 pub fn multipart<T>(self, body: T) -> Result<Request<T>, HttpClientError> in multipart()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/ |
H A D | datagram.rs | 82 pub fn connect<P: AsRef<Path>>(&self, path: P) -> io::Result<()> { in connect() 166 pub fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, net::SocketAddr)> { in recv_from() 184 pub fn recv(&self, buf: &mut [u8]) -> io::Result<usize> { in recv() 203 pub fn send_to<P: AsRef<Path>>(&self, buf: &[u8], path: P) -> io::Result<usize> { in send_to() 221 pub fn send(&self, buf: &[u8]) -> io::Result<usize> { in send() 257 pub fn shutdown(&self, how: std::net::Shutdown) -> io::Result<()> { in shutdown() 264 &mut self, in register() 272 fn deregister(&mut self, selector: &Selector) -> io::Result<()> { in deregister() 282 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/bounded/ |
H A D | mod.rs | 154 pub fn try_send(&self, value: T) -> Result<(), TrySendError<T>> { in try_send() 183 pub async fn send(&self, value: T) -> Result<(), SendError<T>> { in send() 217 pub async fn send_timeout(&self, value: T, time: Duration) -> Result<(), SendTimeoutError<T>> { in send_timeout() 260 pub fn is_same(&self, other: &Self) -> bool { in is_same() 309 fn drop(&mut self) { in drop() 412 pub fn poll_recv(&mut self, cx: &mut Context<'_>) -> Poll<Result<T, RecvError>> { in poll_recv() 470 pub async fn recv_timeout(&mut self, time: Duration) -> Result<T, RecvTimeoutError> { in recv_timeout() 514 pub fn close(&mut self) { in close() 520 fn drop(&mut self) { in drop()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/encode/ |
H A D | multi.rs | 133 fn push_list_to_stages(&mut self, boundary: Vec<u8>, list: Vec<XPart<'a>>) { in push_list_to_stages() 164 fn push_multi_as_part(&mut self, multi: MimeMulti<'a>) { in push_multi_as_part() 172 fn push_first_boundary(&mut self, boundary: Vec<u8>) { in push_first_boundary() 181 fn push_middle_boundary(&mut self, boundary: Vec<u8>) { in push_middle_boundary() 188 fn push_end_boundary(&mut self, boundary: Vec<u8>) { in push_end_boundary() 198 fn init_src(&mut self) { in init_src() 203 fn temp_src(&mut self, stage: &MultiStage) { in temp_src() 212 fn crlf_encode(&mut self, dst: &mut [u8]) -> SizeResult { in crlf_encode() 226 fn dash_encode(&mut self, dst: &mut [u8]) -> SizeResult { in dash_encode() 266 &mut self, in sync_mimepart_encode() [all …]
|
/ohos5.0/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | x509_certificate_openssl.c | 61 static void DestroyX509Openssl(CfObjectBase *self) in DestroyX509Openssl() 81 static void DestroyX509PubKeyOpenssl(HcfObjectBase *self) in DestroyX509PubKeyOpenssl() 98 static const char *GetPubKeyAlgorithm(HcfKey *self) in GetPubKeyAlgorithm() 105 static HcfResult GetPubKeyEncoded(HcfKey *self, HcfBlob *returnBlob) in GetPubKeyEncoded() 138 static const char *GetPubKeyFormat(HcfKey *self) in GetPubKeyFormat() 145 static CfResult VerifyX509Openssl(HcfX509CertificateSpi *self, HcfPubKey *key) in VerifyX509Openssl() 487 static CfResult GetCertPubKey(HcfX509CertificateSpi *self, CfBlob *outBlob) in GetCertPubKey() 569 static long GetVersionX509Openssl(HcfX509CertificateSpi *self) in GetVersionX509Openssl() 1093 static int32_t GetBasicConstraintsX509Openssl(HcfX509CertificateSpi *self) in GetBasicConstraintsX509Openssl() 1257 static CfResult ToStringX509Openssl(HcfX509CertificateSpi *self, CfBlob *out) in ToStringX509Openssl() [all …]
|
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/ |
H A D | save_trusted_info_test.cpp | 217 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 320 BaseCmd *self = CreateSaveTrustedInfoCmd(nullptr, true, ABORT_IF_ERROR); variable 350 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 358 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 369 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 387 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 408 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 422 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 435 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable 448 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_cursor.cpp | 32 auto self = GetSelf(cursor); in GetColumnCount() local 41 auto self = GetSelf(cursor); in GetColumnType() local 50 auto self = GetSelf(cursor); in GetColumnIndex() local 59 auto self = GetSelf(cursor); in GetColumnName() local 68 auto self = GetSelf(cursor); in GetRowCount() local 77 auto self = GetSelf(cursor); in GoToNextRow() local 86 auto self = GetSelf(cursor); in GetSize() local 95 auto self = GetSelf(cursor); in GetText() local 104 auto self = GetSelf(cursor); in GetInt64() local 113 auto self = GetSelf(cursor); in GetReal() local [all …]
|
H A D | relational_predicates_objects.cpp | 27 auto self = GetSelf(objects); in PutInt64() local 41 auto self = GetSelf(objects); in PutDouble() local 55 auto self = GetSelf(objects); in PutText() local 67 auto self = GetSelf(objects); in PutTexts() local 82 auto self = GetSelf(objects); in Destroy() local
|
/ohos5.0/foundation/communication/ipc/example/rust_test/service/src/ |
H A D | lib.rs | 89 fn add(&self, num1: i32, num2: i32) -> IpcResult<i32>; in add() 91 fn sub(&self, num1: i32, num2: i32) -> IpcResult<i32>; in sub() 93 fn mul(&self, num1: i32, num2: i32) -> IpcResult<i32>; in mul() 95 fn div(&self, num1: i32, num2: i32) -> IpcResult<i32>; in div() 141 fn add (&self, num1: i32, num2: i32) -> IpcResult<i32> { in add() 144 fn sub (&self, num1: i32, num2: i32) -> IpcResult<i32> { in sub() 147 fn mul (&self, num1: i32, num2: i32) -> IpcResult<i32> { in mul() 156 fn add(&self, num1: i32, num2: i32) -> IpcResult<i32> { in add() 165 fn sub(&self, num1: i32, num2: i32) -> IpcResult<i32> { in sub() 174 fn mul(&self, num1: i32, num2: i32) -> IpcResult<i32> { in mul() [all …]
|
/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() 117 pub(crate) fn set_min_proto_version(&mut self, version: SslVersion) -> Result<(), ErrorStack> { in set_min_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() 190 &mut self, 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() 247 pub(crate) fn set_verify(&mut self, mode: c_int) { in set_verify() 252 pub(crate) fn set_cert_verify_callback(&mut self, verifier: *const DefaultCertVerifier) { in set_cert_verify_callback() [all …]
|
/ohos5.0/build/hb/containers/ |
H A D | arg.py | 157 def __init__(self, name: str, helps: str, phase: str, argument 169 def arg_name(self): argument 173 def arg_value(self): argument 177 def arg_help(self): argument 181 def arg_attribute(self): argument 185 def arg_phase(self): argument 189 def arg_type(self): argument 193 def resolve_function(self): argument 283 def arg_value(self, value): argument 287 def resolve_function(self, value): argument
|