| /base/startup/appspawn_standard/test/unittest/client_socket_test/ |
| D | client_socket_test.cpp | 110 std::string buff = "hiworld"; variable 130 std::unique_ptr<uint8_t[]> buff = nullptr; variable 153 std::string buff = "hiworld"; variable 176 std::string buff = "hiworld"; variable 200 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(len); variable 221 std::unique_ptr<uint8_t[]> buff = nullptr; variable 244 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(10); variable 267 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(10); variable
|
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/test/unittest/ |
| D | hks_crypto_hal_api_openssl.cpp | 149 uint8_t buff[1] = {0}; variable 183 uint8_t buff[1] = {0}; variable 213 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable 249 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable 277 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable 306 uint8_t buff[1] = {0}; variable 333 uint8_t buff[1] = {0}; variable 361 uint8_t buff[HKS_KEY_BYTES(HKS_RSA_KEY_SIZE_512)] = {0}; variable 384 uint8_t buff[HKS_KEY_BYTES(HKS_RSA_KEY_SIZE_512)] = {0}; variable 408 uint8_t buff[HKS_KEY_BYTES(256)] = {0}; variable [all …]
|
| D | hks_crypto_hal_api_mbedtls.cpp | 130 uint8_t buff[1] = {0}; variable 164 uint8_t buff[1] = {0}; variable 194 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable 218 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable 241 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable 264 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable 286 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0}; variable 516 uint8_t buff[1] = {0}; variable 538 uint8_t buff[1] = {0}; variable 575 uint8_t buff[1] = {0}; variable [all …]
|
| D | hks_crypto_hal_hmac_hmac.cpp | 125 uint8_t buff[1] = {0}; in RunTestCase() local
|
| /base/startup/appspawn_standard/test/unittest/app_spawn_socket_test/ |
| D | app_spawn_socket_test.cpp | 179 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(10); variable 203 std::unique_ptr<uint8_t[]> buff = nullptr; variable 227 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(10); variable 252 std::unique_ptr<uint8_t[]> buff = std::make_unique<uint8_t[]>(10); variable 279 std::unique_ptr<int8_t[]> buff = std::make_unique<int8_t[]>(len); variable 314 std::string buff = "hiworld"; variable 336 std::unique_ptr<uint8_t[]> buff = nullptr; variable 360 std::string buff = "hiworld"; variable 384 std::string buff = "hiworld"; variable 410 std::unique_ptr<int8_t[]> buff = std::make_unique<int8_t[]>(len); variable
|
| /base/telephony/sms_mms/frameworks/native/mms/src/ |
| D | mms_header.cpp | 507 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/security/device_security_level/services/dslm/ |
| D | dslm_inner_process.c | 60 MessageBuff *buff = NULL; in SendDeviceInfoRequest() local 75 int32_t VerifyDeviceInfoResponse(DslmDeviceInfo *device, const MessageBuff *buff) in VerifyDeviceInfoResponse()
|
| D | dslm_core_process.c | 47 MessageBuff buff = {.length = len, .buff = (uint8_t *)msg}; in OnPeerMsgRequestInfoReceived() local 90 MessageBuff buff = { in OnPeerMsgResponseInfoReceived() local
|
| /base/update/updater/services/package/pkg_manager/ |
| D | pkg_utils.cpp | 127 uint32_t ReadLE32(const uint8_t *buff) in ReadLE32() 141 uint64_t ReadLE64(const uint8_t *buff) in ReadLE64() 150 void WriteLE32(uint8_t *buff, uint32_t value) in WriteLE32() 163 uint16_t ReadLE16(const uint8_t *buff) in ReadLE16() 171 void WriteLE16(uint8_t *buff, uint16_t value) in WriteLE16()
|
| /base/security/device_security_level/services/common/ |
| D | dslm_msg_serialize.c | 45 MessagePacket *ParseMessage(const MessageBuff *buff) in ParseMessage() 128 void FreeMessageBuff(MessageBuff *buff) in FreeMessageBuff()
|
| /base/security/device_security_level/baselib/utils/src/ |
| D | utils_tlv.c | 68 uint32_t Serialize(const TlvCommon *tlv, uint32_t tlvCount, uint8_t *buff, uint32_t maxBuffSize, ui… in Serialize() 88 uint32_t Deserialize(const uint8_t *buff, uint32_t buffSize, TlvCommon *tlv, uint32_t maxTlvCount, … in Deserialize()
|
| /base/startup/init_lite/services/param/manager/ |
| D | param_utils.c | 59 int GetSubStringInfo(const char *buff, uint32_t buffLen, char delimiter, SubStringInfo *info, int s… in GetSubStringInfo()
|
| /base/update/updater/test/unittest/package/ |
| D | pkg_algo_unittest.cpp | 47 uint8_t buff[BUFFER_LEN] = {1}; in TestCrcDigest() local 70 uint8_t buff[BUFFER_LEN] = {1}; in TestHash256Digest() local 89 uint8_t buff[BUFFER_LEN] = {1}; in TestHash384Digest() local
|
| D | pkg_package_unittest.cpp | 141 std::vector<uint8_t> buff(buffLen); in TestBigZipEntry() local 164 void WriteLE64(uint8_t *buff, size_t size) const in WriteLE64()
|
| /base/security/device_security_level/services/include/ |
| D | dslm_msg_serialize.h | 34 uint8_t *buff; member
|
| /base/security/device_security_level/services/sa/common/ |
| D | dslm_rpc_process.c | 35 const MessageBuff buff = {.buff = (uint8_t *)msg, .length = len}; in OnPeerMsgReceived() local
|
| /base/web/webview/test/ohos_nweb/ |
| D | nweb_handler_impl_test_for_intercept.cpp | 58 char buff[1024]; // 1024 size in GetResourceDir() local
|
| /base/telephony/ril_adapter/services/hril/src/ |
| D | hril_timer_callback.cpp | 34 int8_t buff[READ_FD_BUFF_SIZE]; in FdTriggerCallback() local
|
| /base/telephony/sms_mms/test/unittest/ |
| D | mms_msg_test.cpp | 714 std::unique_ptr<char[]> buff = it.GetDataBuffer(len); in MmsSendReqDecodeTest() local 776 std::unique_ptr<char[]> buff = it.GetDataBuffer(len); in MmsRetrieveConfDecodeTest() local 850 std::string MmsMsgTest::BuffToHex(const std::unique_ptr<char[]> &buff, uint32_t len) const in BuffToHex() argument 867 bool MmsMsgTest::WriteBufferToFile(const std::unique_ptr<char[]> &buff, uint32_t len, std::string s… in WriteBufferToFile() argument
|
| /base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
| D | native_token_receptor.cpp | 139 char buff[BUFFER_SIZE] = { 0 }; in ReadCfgFile() local
|
| /base/update/updater/services/package/pkg_package/ |
| D | pkg_zipfile.cpp | 77 std::vector<uint8_t> buff(sizeof(EndCentralDir)); in SavePackage() local 222 std::vector<uint8_t> buff(MAX_FILE_NAME + sizeof(LocalFileHeader) + ZIP_PKG_ALIGNMENT_DEF); in Pack() local 275 std::vector<uint8_t> buff(sizeof(CentralDirEntry) + MAX_FILE_NAME); in EncodeCentralDirEntry() local 535 int32_t ZipFileEntry::DecodeHeader(const PkgBuffer &buff, size_t startOffset, size_t dataOffset, in DecodeHeader()
|
| /base/startup/init_lite/services/param/adapter/ |
| D | param_persistadp.c | 42 char *buff = (char *)calloc(1, PARAM_BUFFER_SIZE); in LoadPersistParam() local
|
| /base/security/huks/services/huks_standard/huks_service/main/test/unittest/src/ |
| D | hks_storage_test.cpp | 127 uint8_t buff[TEST_BLOB_SIZE] = {0}; variable
|
| /base/startup/init_lite/services/loopevent/task/ |
| D | le_asynctask.c | 101 char *buff = (char *)LE_GetBufferInfo(handle, NULL, NULL); in LE_StartAsyncEvent() local
|
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
| D | hks_openssl_dsa.c | 49 uint8_t *buff = (uint8_t *)HksMalloc(HKS_KEY_BYTES(keyMaterial->keySize)); in InitDsaStructKey() local 92 uint8_t *buff = HksMalloc(HKS_KEY_BYTES(keyMaterial->keySize)); in InitDsaStructParameter() local
|