Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 47) sorted by relevance

12

/base/security/asset/test/unittest/inner_kits_rust/src/
Dadd.rs82 let bytes = res[0].get_bytes_attr(&Tag::Secret).unwrap(); in add_english_secret() localVariable
99 let bytes = res[0].get_bytes_attr(&Tag::Secret).unwrap(); in add_chinese_secret() localVariable
101 let bytes = res[0].get_bytes_attr(&Tag::Alias).unwrap(); in add_chinese_secret() localVariable
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_blob.cpp76 Blob::Blob(const std::vector<uint8_t> &bytes) : blob_(bytes) in Blob()
79 Blob::Blob(std::vector<uint8_t> &&bytes) : blob_(std::move(bytes)) in Blob()
/base/telephony/core_service/utils/codec/src/
Dasn1_utils.cpp112 void Asn1Utils::BcdToBytes(const std::string &bcd, std::vector<uint8_t> &bytes) in BcdToBytes()
118 std::string Asn1Utils::BytesToHexStr(const std::vector<uint8_t> &bytes) in BytesToHexStr()
171 uint32_t Asn1Utils::UintToBytes(const uint32_t value, std::vector<uint8_t> &bytes) in UintToBytes()
201 std::vector<uint8_t> bytes = {}; in StrToHexStr() local
212 std::vector<uint8_t> bytes = HexStrToBytes(inputHexStr); in HexStrToString() local
Dasn1_builder.cpp55 std::vector<uint8_t> bytes = Asn1Utils::StringToBytes(childStr); in Asn1AddChildAsString() local
/base/security/access_token/services/tokensyncmanager/include/remote/
Drpc_channel.h56 virtual void HandleDataReceived(int session, const unsigned char *bytes, int length) in HandleDataReceived()
Dsoft_bus_channel.h38 unsigned char *bytes; member
/base/startup/hvb/libhvb/src/crypto/
Dhvb_gm_common.h32 #define byte2bit(bytes) ((bytes) << 3) argument
/base/notification/distributed_notification_service/services/test/moduletest/mock/
Dblob.cpp80 Blob::Blob(const std::vector<uint8_t> &bytes) in Blob()
85 Blob::Blob(std::vector<uint8_t> &&bytes) in Blob()
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dblob.cpp80 Blob::Blob(const std::vector<uint8_t> &bytes) in Blob()
85 Blob::Blob(std::vector<uint8_t> &&bytes) in Blob()
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dblob.cpp80 Blob::Blob(const std::vector<uint8_t> &bytes) in Blob()
85 Blob::Blob(std::vector<uint8_t> &&bytes) in Blob()
/base/security/access_token/services/tokensyncmanager/src/remote/
Dsoft_bus_channel.cpp209 void SoftBusChannel::HandleDataReceived(int socket, const unsigned char *bytes, int length) in HandleDataReceived()
292 std::string SoftBusChannel::Decompress(const unsigned char *bytes, const int length) in Decompress()
316 int SoftBusChannel::SendRequestBytes(const unsigned char *bytes, const int bytesLength) in SendRequestBytes()
441 int SoftBusChannel::SendResponseBytes(int socket, const unsigned char *bytes, const int bytesLength) in SendResponseBytes()
/base/telephony/core_service/services/sim/src/
Dplmn_file.cpp19 PlmnFile::PlmnFile(unsigned char *bytes, int offset) in PlmnFile()
Dsim_utils.cpp65 std::string SIMUtils::BytesConvertToHexString(const unsigned char *bytes, int byteLen) in BytesConvertToHexString()
161 std::string SIMUtils::Gsm7bitConvertToString(const unsigned char *bytes, int byteLen) in Gsm7bitConvertToString()
/base/telephony/core_service/utils/vcard/src/contact_data/
Dvcard_photo_data.cpp70 void VCardPhotoData::SetBytes(const std::string &bytes) in SetBytes()
/base/hiviewdfx/hitrace/frameworks/include/
Ddynamic_buffer.h29 int bytes = 0; member
/base/request/request/frameworks/native/cache_download/src/cxx/
Drequest_preload.cpp83 Slice<const uint8_t> Data::bytes() const in bytes() function in OHOS::Request::Data
85 auto bytes = std::make_unique<rust::Slice<const uint8_t>>(data_->bytes()); in bytes() local
/base/notification/distributed_notification_service/services/ans/src/common/
Daes_gcm_helper.cpp45 std::string AesGcmHelper::Byte2Hex(const std::string &bytes) in Byte2Hex()
74 std::string bytes; in Hex2Byte() local
/base/security/access_token/services/tokensyncmanager/test/mock/src/
Dsoft_bus_socket_mock.cpp49 void DecompressMock(const unsigned char *bytes, const int length) in DecompressMock()
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/
Dchain_rule.cpp30 uint64_t bytes = 0; in ChainRule() local
/base/telephony/core_service/interfaces/innerkits/include/
Dtel_ril_sms_parcel.h249 unsigned char bytes[36] = { 0 }; member
256 unsigned char bytes[36] = { 0 }; member
267 unsigned char bytes[255] = { 0 }; member
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_vendor_sms_defs.h179 unsigned char bytes[HRIL_MAX_CDMA_ADDRESS_LEN]; member
186 unsigned char bytes[HRIL_MAX_CDMA_ADDRESS_LEN]; member
196 unsigned char bytes[HRIL_MAX_CDMA_MESSAGE_LEN]; member
/base/startup/hvb/libhvb/src/utils/
Dhvb_util.c75 uint8_t bytes[BYTES_PER_TYPE(unsigned long)]; in hvb_htobe64() member
/base/telephony/ril_adapter/services/hril/src/
Dhril_base.cpp69 uint8_t *bytes = (uint8_t *)calloc(bytesLen, sizeof(uint8_t)); in ConvertHexStringToBytes() local
/base/request/request/services/src/utils/
Dc_wrapper.rs49 let bytes = unsafe { slice::from_raw_parts(self.c_str as *const u8, self.len as usize) }; in to_string() localVariable
/base/request/request/frameworks/native/cache_download/src/
Dwrapper.rs58 fn bytes(&self) -> &[u8] { in bytes() method
169 fn bytes(self: &RustData) -> &[u8]; in bytes() function

12