Home
last modified time | relevance | path

Searched defs:buff (Results 1 – 25 of 81) sorted by relevance

1234

/base/security/device_auth/common_lib/impl/src/
Duint8buff_utils.c22 int32_t InitUint8Buff(Uint8Buff *buff, uint32_t buffLen) in InitUint8Buff()
38 int32_t DeepCopyUint8Buff(const Uint8Buff *buff, Uint8Buff *newBuff) in DeepCopyUint8Buff()
56 void FreeUint8Buff(Uint8Buff *buff) in FreeUint8Buff()
66 void ClearFreeUint8Buff(Uint8Buff *buff) in ClearFreeUint8Buff()
77 bool IsUint8BuffValid(const Uint8Buff *buff, uint32_t maxLen) in IsUint8BuffValid()
/base/startup/appspawn/test/unittest/client_socket_test/
Dclient_socket_test.cpp105 std::string buff = "hiworld"; variable
125 std::unique_ptr<uint8_t[]> buff = nullptr; variable
148 std::string buff = "hiworld"; variable
171 std::string buff = "hiworld"; variable
195 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(len); variable
216 std::unique_ptr<uint8_t[]> buff = nullptr; variable
239 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(10); variable
262 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(10); variable
/base/startup/appspawn/test/unittest/app_spawn_socket_test/
Dapp_spawn_socket_test.cpp172 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(10); variable
196 std::unique_ptr<uint8_t[]> buff = nullptr; variable
220 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(10); variable
245 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(10); variable
272 std::unique_ptr<int8_t[]> buff = std::make_unique<int8_t[]>(len); variable
307 std::string buff = "hiworld"; variable
329 std::unique_ptr<uint8_t[]> buff = nullptr; variable
353 std::string buff = "hiworld"; variable
377 std::string buff = "hiworld"; variable
403 std::unique_ptr<int8_t[]> buff = std::make_unique<int8_t[]>(len); variable
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_openssl.cpp155 uint8_t buff[1] = {0}; variable
189 uint8_t buff[1] = {0}; variable
219 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable
255 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable
283 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable
312 uint8_t buff[1] = {0}; variable
339 uint8_t buff[1] = {0}; variable
367 uint8_t buff[HKS_KEY_BYTES(HKS_RSA_KEY_SIZE_512)] = {0}; variable
390 uint8_t buff[HKS_KEY_BYTES(HKS_RSA_KEY_SIZE_512)] = {0}; variable
414 uint8_t buff[HKS_KEY_BYTES(DSA_KEY_LEN_512)] = {0}; variable
[all …]
Dhks_crypto_hal_api_mbedtls.cpp135 uint8_t buff[1] = {0}; variable
169 uint8_t buff[1] = {0}; variable
199 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable
223 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable
246 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable
269 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable
291 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable
526 uint8_t buff[1] = {0}; variable
549 uint8_t buff[1] = {0}; variable
589 uint8_t buff[1] = {0}; variable
[all …]
/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_header.cpp507 bool MmsHeader::DecodeMmsMsgType(uint8_t fieldId, MmsDecodeBuffer &buff, int32_t &len) in DecodeMmsMsgType()
540 bool MmsHeader::DecodeFieldAddressModelValue(uint8_t fieldId, MmsDecodeBuffer &buff, int32_t &len) in DecodeFieldAddressModelValue()
567 bool MmsHeader::DecodeFieldOctetValue(uint8_t fieldId, MmsDecodeBuffer &buff, int32_t &len) in DecodeFieldOctetValue()
583 bool MmsHeader::DecodeFieldLongValue(uint8_t fieldId, MmsDecodeBuffer &buff, int32_t &len) in DecodeFieldLongValue()
626 bool MmsHeader::DecodeFieldTextStringValue(uint8_t fieldId, MmsDecodeBuffer &buff, int32_t &len) in DecodeFieldTextStringValue()
646 bool MmsHeader::DecodeFieldEncodedStringValue(uint8_t fieldId, MmsDecodeBuffer &buff, int32_t &len) in DecodeFieldEncodedStringValue()
675 bool MmsHeader::DecodeFromValue(uint8_t fieldId, MmsDecodeBuffer &buff, int32_t &len) in DecodeFromValue()
753 bool MmsHeader::DecodeMmsContentType(uint8_t fieldId, MmsDecodeBuffer &buff, int32_t &len) in DecodeMmsContentType()
780 bool MmsHeader::DecodeFieldIntegerValue(uint8_t fieldId, MmsDecodeBuffer &buff, int32_t &len) in DecodeFieldIntegerValue()
809 bool MmsHeader::DecodeFieldDate(uint8_t fieldId, MmsDecodeBuffer &buff, int32_t &len) in DecodeFieldDate()
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/moduletest/common/
Dsmart_parser_module_test.cpp78 std::stringstream buff; variable
118 std::stringstream buff; variable
190 std::stringstream buff; variable
225 std::stringstream buff; variable
309 std::stringstream buff; variable
349 std::stringstream buff; variable
393 std::stringstream buff; variable
437 std::stringstream buff; variable
486 std::stringstream buff; variable
536 std::stringstream buff; variable
[all …]
/base/security/device_security_level/services/common/
Ddslm_msg_serialize.c54 MessagePacket *ParseMessage(const MessageBuff *buff) in ParseMessage()
109 void FreeMessageBuff(MessageBuff *buff) in FreeMessageBuff()
/base/security/device_security_level/services/dslm/
Ddslm_inner_process.c62 MessageBuff *buff = NULL; in SendDeviceInfoRequest() local
77 int32_t VerifyDeviceInfoResponse(DslmDeviceInfo *device, const MessageBuff *buff) in VerifyDeviceInfoResponse()
Ddslm_core_process.c58 MessageBuff buff = {.length = len, .buff = (uint8_t *)msg}; in OnPeerMsgRequestInfoReceived() local
101 MessageBuff buff = { in OnPeerMsgResponseInfoReceived() local
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_baselib_utils_test.cpp74 uint8_t buff[MAX_ENTRY * sizeof(TlvCommon)] = {0}; variable
89 uint8_t buff[(MAX_ENTRY + 2) * sizeof(TlvCommon)] = {0}; variable
118 uint8_t buff[MAX_ENTRY * sizeof(TlvCommon)] = {0}; variable
148 uint8_t buff[MAX_ENTRY * sizeof(TlvCommon)] = {0}; variable
187 uint8_t buff[MAX_ENTRY * sizeof(TlvCommon)] = {0}; variable
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.cpp203 uint32_t ReadLE32(const uint8_t *buff) in GetFileSize()
220 uint64_t ReadLE64(const uint8_t *buff) in GetFileSize()
232 void WriteLE32(uint8_t *buff, uint32_t value) in GetFileSize()
248 uint16_t ReadLE16(const uint8_t *buff) in GetFileSize()
259 void WriteLE16(uint8_t *buff, uint16_t value) in GetFileSize()
/base/security/selinux_adapter/test/unittest/paraperm_checker/
Dunit_test.cpp50 ParamContextsList *buff = nullptr; variable
/base/useriam/user_auth_framework/frameworks/native/client/src/
Dauth_message_impl.cpp24 auto buff = static_cast<AuthMessageImpl *>(msg.get()); in GetMsgBuffer() local
/base/security/dlp_permission_service/frameworks/common/src/
Dpermission_policy.cpp33 static bool CheckAesParam(const uint8_t* buff, uint32_t len) in CheckAesParam()
94 static void FreeUint8Buffer(uint8_t** buff, uint32_t& buffLen) in FreeUint8Buffer()
277 void FreeCharBuffer(char* buff, uint32_t buffLen) in FreeCharBuffer()
/base/update/updater/test/unittest/package/
Dpkg_algo_unittest.cpp46 uint8_t buff[BUFFER_LEN] = {1}; in TestCrcDigest() local
69 uint8_t buff[BUFFER_LEN] = {1}; in TestHash256Digest() local
88 uint8_t buff[BUFFER_LEN] = {1}; in TestHash384Digest() local
/base/startup/init/test/fuzztest/loadfscryptpolicy_fuzzer/
Dloadfscryptpolicy_fuzzer.cpp23 char buff[1024] = {0}; in FuzzLoadFscryptPolicy() local
/base/security/device_security_level/baselib/utils/src/
Dutils_tlv.c70 uint32_t Serialize(const TlvCommon *tlv, uint32_t tlvCount, uint8_t *buff, uint32_t maxBuffSize, ui… in Serialize()
90 uint32_t Deserialize(const uint8_t *buff, uint32_t buffSize, TlvCommon *tlv, uint32_t maxTlvCount, … in Deserialize()
/base/security/device_security_level/services/sa/common/
Ddslm_rpc_process.c40 const MessageBuff buff = {.buff = (uint8_t *)msg, .length = len}; in OnPeerMsgReceived() local
/base/security/device_security_level/services/include/
Ddslm_msg_serialize.h36 uint8_t *buff; member
/base/update/sys_installer/services/module_update/util/src/
Dmodule_utils.cpp153 uint16_t ReadLE16(const uint8_t *buff) in ReadLE16()
164 uint32_t ReadLE32(const uint8_t *buff) in ReadLE32()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/generatecert_fuzzer/
Dgeneratecert_fuzzer.cpp31 static std::string Uint8ArrayToString(const uint8_t* buff, size_t size) in Uint8ArrayToString()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Ddlp_permission_set_parser.cpp106 char buff[MAX_BUFFER_SIZE] = { 0 }; in ReadCfgFile() local
/base/telephony/ril_adapter/services/hril/src/
Dhril_timer_callback.cpp34 int8_t buff[READ_FD_BUFF_SIZE]; in FdTriggerCallback() local
/base/telephony/sms_mms/test/unittest/
Dmms_msg_test.cpp718 std::unique_ptr<char[]> buff = it.GetDataBuffer(len); in MmsSendReqDecodeTest() local
780 std::unique_ptr<char[]> buff = it.GetDataBuffer(len); in MmsRetrieveConfDecodeTest() local
863 std::string MmsMsgTest::BuffToHex(const std::unique_ptr<char[]> &buff, uint32_t len) const in BuffToHex() argument
877 const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) const in WriteBufferToFile() argument

1234