Home
last modified time | relevance | path

Searched refs:raw (Results 1 - 19 of 19) sorted by relevance

/base/global/resource_management/frameworks/resmgr/src/
H A Draw_file_manager.cpp443 std::unique_ptr<Raw> raw; member
444 explicit RawFile64(std::unique_ptr<Raw> raw) : raw(std::move(raw)) {} in RawFile64()
501 if (rawFile == nullptr || rawFile->raw == nullptr || buf == nullptr || length == 0) { in OH_ResourceManager_ReadRawFile64()
508 size_t ret = std::fread(buf, 1, length, rawFile->raw->pf); in OH_ResourceManager_ReadRawFile64()
513 rawFile->raw->offset += length; in OH_ResourceManager_ReadRawFile64()
519 if (rawFile == nullptr || rawFile->raw == nullptr || abs(offset) > rawFile->raw->length) { in OH_ResourceManager_SeekRawFile64()
528 rawFile->raw in OH_ResourceManager_SeekRawFile64()
[all...]
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/epoll_manager/
H A Dffi.rs52 pub unsafe extern "C" fn StreamSocketDelete(raw: *mut EpollManager) {
54 if !raw.is_null() {
55 drop(Box::from_raw(raw));
/base/sensors/sensor/utils/ipc/include/
H A Dstream_socket.h48 void operator() (RustStreamSocket* raw) in operator ()()
50 StreamSocketDelete(raw); in operator ()()
H A Drust_binding.h31 void StreamSocketDelete(RustStreamSocket *raw);
36 void StreamSessionDelete(RustStreamSession *raw);
49 void StreamBufferDelete(RustStreamBuffer *raw);
/base/msdp/device_status/rust/modules/scheduler/sys/src/
H A Dscheduler.rs68 raw: Arc<dyn IEpollHandler>,
75 fn new(raw: Arc<dyn IEpollHandler>, handle: ylong_runtime::task::JoinHandle<()>) -> Self in new()
78 raw, in new()
88 self.raw.fd() in fd()
94 self.raw.clone() in raw_handler()
281 let raw = epoll_handler.raw_handler(); in add_epoll_handler()
284 Ok(raw) in add_epoll_handler()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_session/
H A Dffi.rs49 pub unsafe extern "C" fn StreamSessionDelete(raw: *mut StreamSession) {
51 if !raw.is_null() {
52 drop(Box::from_raw(raw));
/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/
H A Dlib.rs19 use std::os::raw::{c_char, c_int, c_uint};
/base/security/asset/services/core_service/src/operations/common/
H A Dpermission_check.rs18 use std::{ffi::CString, os::raw::c_char};
/base/telephony/sms_mms/services/sms/
H A Dgsm_cb_codec.cpp89 void GsmCbCodec::SetCbMessageRaw(std::string &raw) in SetCbMessageRaw() argument
91 messageRaw_ = raw; in SetCbMessageRaw()
189 void GsmCbCodec::ConvertToUTF8(const std::string &raw, std::string &message) const in ConvertToUTF8() argument
196 message.assign(raw); in ConvertToUTF8()
201 const uint8_t *src = reinterpret_cast<const uint8_t *>(raw.data()); in ConvertToUTF8()
203 codeSize = TextCoder::Instance().Gsm7bitToUtf8(outBuf, sizeof(outBuf), src, raw.length(), langInfo); in ConvertToUTF8()
205 codeSize = TextCoder::Instance().Ucs2ToUtf8(outBuf, sizeof(outBuf), src, raw.length()); in ConvertToUTF8()
208 message.assign(raw); in ConvertToUTF8()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
H A Dffi.rs49 pub unsafe extern "C" fn StreamBufferDelete(raw: *mut StreamBuffer) {
51 if !raw.is_null() {
52 drop(Box::from_raw(raw));
/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dattributes_test.cpp298 const std::vector<uint8_t> raw = {0, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0, 0, 20, 0, 0, 0, 1, 0, 0, 0, 3, 0, 0, 0, 5, 0, in HWTEST_F() local
304 Attributes attrs(raw); in HWTEST_F()
357 const std::vector<uint8_t> raw = {0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 4, 0, 0, 0, 255, in HWTEST_F() local
362 Attributes attrs1(raw); in HWTEST_F()
364 EXPECT_THAT(attrs1.Serialize(), ElementsAreArray(raw)); in HWTEST_F()
369 EXPECT_THAT(attrs2.Serialize(), ElementsAreArray(raw)); in HWTEST_F()
/base/hiviewdfx/faultloggerd/interfaces/rust/panic_handler/
H A Dlib.rs23 use std::os::raw::{c_char};
/base/telephony/sms_mms/test/fuzztest/setgetcbconfig_fuzzer/
H A Dsetgetcbconfig_fuzzer.cpp173 std::string raw(reinterpret_cast<const char *>(data), size); in UpdataCBMessage()
175 cbMessage->ConvertToUTF8(raw, message); in UpdataCBMessage()
/base/telephony/sms_mms/services/sms/include/
H A Dgsm_cb_codec.h236 void ConvertToUTF8(const std::string &raw, std::string &message) const;
266 void SetCbMessageRaw(std::string &raw);
/base/useriam/user_auth_framework/interfaces/inner_api/
H A Dattributes.h210 * @param raw The value to be passed in when defining Attribute.
212 explicit Attributes(const std::vector<uint8_t> &raw);
/base/useriam/user_auth_framework/frameworks/native/common/attributes/src/
H A Dattributes.cpp32 explicit Impl(const std::vector<uint8_t> &raw);
109 Attributes::Impl::Impl(const std::vector<uint8_t> &raw) in Impl() argument
113 const uint8_t *curr = &raw.front(); in Impl()
114 const uint8_t *end = &raw.back() + sizeof(uint8_t); in Impl()
1003 Attributes::Attributes(const std::vector<uint8_t> &raw) : impl_(new (std::nothrow) Attributes::Impl(raw)) in Attributes() argument
/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_cb_test.cpp108 std::string raw = "qwe"; in HWTEST_F() local
110 cbCodec->ConvertToUTF8(raw, message); in HWTEST_F()
113 cbCodec->ConvertToUTF8(raw, message); in HWTEST_F()
115 cbCodec->ConvertToUTF8(raw, message); in HWTEST_F()
117 cbCodec->ConvertToUTF8(raw, message); in HWTEST_F()
120 cbCodec->ConvertToUTF8(raw, message); in HWTEST_F()
671 const std::string raw = "raw"; in HWTEST_F() local
673 cbMsg->ConvertToUTF8(raw, message); in HWTEST_F()
/base/security/asset/services/core_service/src/operations/
H A Doperation_add.rs18 use std::{ffi::CString, os::raw::c_char};
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dmbedtls_pkcs7.c196 unsigned char *raw = *p; in ParseSignerAuthAttr() local
205 size_t tlLen = *p - raw; in ParseSignerAuthAttr()
208 signer->authAttrRaw.p = raw; in ParseSignerAuthAttr()

Completed in 14 milliseconds