Home
last modified time | relevance | path

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

123

/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/test/unittest/esim_gtest/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
/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
/base/security/access_token/services/tokensyncmanager/include/remote/
Drpc_channel.h56 virtual void HandleDataReceived(int session, const unsigned char *bytes, int length) in HandleDataReceived()
/base/hiviewdfx/hitrace/test/unittest/hitrace_meter/
Dhitrace_meter_test_utils.cpp159 int bytes = snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "[%llx,%llx,%llx]#", in GetRecord() local
162 int bytes = snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "[%llx,%llx,%llx]#", in GetRecord() local
229 int bytes = snprintf_s(record, sizeof(record), sizeof(record) - 1, "%s", recordStr.c_str()); in GetTraceResult() local
/base/startup/hvb/libhvb/src/crypto/
Dhvb_gm_common.h32 #define byte2bit(bytes) ((bytes) << 3) argument
/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/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.cpp225 void SoftBusChannel::HandleDataReceived(int socket, const unsigned char* bytes, int length) in HandleDataReceived()
307 std::string SoftBusChannel::Decompress(const unsigned char* bytes, const int length) in Decompress()
331 int SoftBusChannel::SendRequestBytes(const unsigned char* bytes, const int bytesLength) in SendRequestBytes()
456 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.cpp69 std::string SIMUtils::BytesConvertToHexString(const unsigned char *bytes, int byteLen) in BytesConvertToHexString()
165 std::string SIMUtils::Gsm7bitConvertToString(const unsigned char *bytes, int byteLen) in Gsm7bitConvertToString()
214 const char *bytes = rawData.c_str(); in Cphs7bitConvertToString() local
/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/hiviewdfx/hitrace/frameworks/trace_source/
Dtrace_content.cpp123 int bytes = 0; in WriteTraceData() local
154 void ITraceContent::DoWriteTraceData(const uint8_t* buffer, const int bytes, ssize_t& writeLen) in DoWriteTraceData()
242 int bytes = 0; in WriteProcessLists() local
476 int bytes = 0; in WriteTracePipeRawData() local
502 int& bytes, bool& endFlag, int& pageChkFailedTime, bool& printFirstPageTime) in ReadTracePipeRawLoop()
/base/notification/distributed_notification_service/services/ans/src/common/
Daes_gcm_helper.cpp46 std::string AesGcmHelper::Byte2Hex(const std::string &bytes) in Byte2Hex()
75 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/request/request/frameworks/native/cache_download/src/cxx/
Drequest_preload.cpp168 Slice<const uint8_t> Data::bytes() const in bytes() function in OHOS::Request::Data
170 auto bytes = std::make_unique<rust::Slice<const uint8_t>>(data_->bytes()); in bytes() 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/appspawn/service/hnp/base/
Dhnp_sal.c68 ssize_t bytes = readlink(linkPath, targetPath, MAX_FILE_PATH_LEN); in CheckSymlink() local
/base/startup/hvb/libhvb/src/utils/
Dhvb_util.c75 uint8_t bytes[BYTES_PER_TYPE(unsigned long)]; in hvb_htobe64() member
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_meter.cpp308 void WriteToTraceMarker(const char* buf, int bytes) in WriteToTraceMarker()
538 int bytes = 0; in SetAppTraceBuffer() local
578 int bytes = SetAppTraceBuffer(buf, len, traceMarker); in SetAppTrace() local
600 int bytes = SetAppTraceBuffer(buffer.get(), len, traceMarker); in WriteAppTraceLong() local
659 int bytes = 0; in FmtSyncBeginRecord() local
692 int bytes = 0; in FmtAsyncBeginRecord() local
736 int bytes = 0; in FmtOtherTypeRecord() local
789 int bytes = 0; in AddHitraceMeterMarker() local

123