Home
last modified time | relevance | path

Searched refs:tagLen (Results 1 – 13 of 13) sorted by relevance

/base/hiviewdfx/hilog/frameworks/libhilog/socket/
Dhilog_input_socket_client.cpp25 extern "C" int HilogWriteLogMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char … in HilogWriteLogMessage() argument
28 return g_hilogInputSocketClient.WriteLogMessage(header, tag, tagLen, fmt, fmtLen); in HilogWriteLogMessage()
31 int HilogInputSocketClient::WriteLogMessage(HilogMsg *header, const char *tag, uint16_t tagLen, con… in WriteLogMessage() argument
39 header->len = sizeof(HilogMsg) + tagLen + fmtLen; in WriteLogMessage()
40 header->tag_len = tagLen; in WriteLogMessage()
46 vec[1].iov_len = tagLen; // 1 : index of log tag in WriteLogMessage()
/base/hiviewdfx/hilog/services/hilogd/
Dkmsg_parser.cpp151 size_t tagLen = 0; in ParseKmsg() local
154 tagLen = tagStr.size(); in ParseKmsg()
160 tagLen = defaultTag.size(); in ParseKmsg()
167 auto msgLen = sizeof(HilogMsg) + tagLen + len + 1; in ParseKmsg()
171 msg.tag_len = tagLen + 1; in ParseKmsg()
181 if (strncpy_s(msg.tag, tagLen + 1, mtag.data(), tagLen) != 0) { in ParseKmsg()
Dservice_controller.cpp136 rsp.tagLen = data.tag_len; /* include '\0' */ in WriteQueryResponse()
/base/hiviewdfx/hilog/frameworks/libhilog/socket/include/
Dhilog_input_socket_client.h27 …int WriteLogMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_t …
33 extern "C" int HilogWriteLogMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char …
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/aes/src/
Dcipher_aes_common.c38 size_t tagLen = spec->tag.len; in GetCcmTagLen() local
39 return (int)tagLen; in GetCcmTagLen()
Dcipher_aes_openssl.c291 data->tagLen = params->tag.len; in InitAadAndTagFromGcmParams()
321 data->tagLen = params->tag.len; in InitAadAndTagFromCcmParams()
601 …int32_t ret = EVP_CIPHER_CTX_ctrl(data->ctx, EVP_CTRL_AEAD_GET_TAG, data->tagLen, output->data + l… in CcmEncryptDoFinal()
607 output->len = data->tagLen + len; in CcmEncryptDoFinal()
643 …int32_t ret = EVP_CIPHER_CTX_ctrl(data->ctx, EVP_CTRL_AEAD_SET_TAG, data->tagLen, (void *)data->ta… in GcmDecryptDoFinal()
668 ret = EVP_CIPHER_CTX_ctrl(data->ctx, EVP_CTRL_AEAD_GET_TAG, data->tagLen, in GcmEncryptDoFinal()
675 output->len += data->tagLen; in GcmEncryptDoFinal()
/base/hiviewdfx/hilog/frameworks/libhilog/base/
Dhilog_base.cpp70 … HiLogMsgInfo(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_t fmtLen) in HiLogMsgInfo()
74 tagLen_ = tagLen; in HiLogMsgInfo()
224 static int SendMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_… in SendMessage() argument
237 struct HiLogMsgInfo msgInfo(header, tag, tagLen, fmt, fmtLen); in SendMessage()
262 auto tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogBasePrintArgs() local
273 return SendMessage(&header, tag, tagLen + 1, buf, logLen + 1); in HiLogBasePrintArgs()
/base/hiviewdfx/hilog/frameworks/libhilog/
Dhilog_printf.cpp147 static int PrintLog(HilogMsg& header, const char *tag, uint16_t tagLen, const char *fmt, uint16_t f… in PrintLog() argument
247 auto tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogPrintArgs() local
278 ret = HiLogFlowCtrlProcess(tagLen + logLen - traceBufLen, ts_mono); in HiLogPrintArgs()
294 return HilogWriteLogMessage(&header, tag, tagLen + 1, buf, logLen + 1); in HiLogPrintArgs()
296 return PrintLog(header, tag, tagLen + 1, buf, logLen + 1); in HiLogPrintArgs()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/aes/inc/
Daes_openssl.h35 uint32_t tagLen; member
/base/hiviewdfx/hilog/test/unittest/common/
Dhilogtool_test.cpp802 int tagLen = res.substr(40).find(":") + 1; variable
803 std::string tag = res.substr(40, tagLen);
831 std::string logTag = it.substr(40, tagLen);
851 int tagLen = res.substr(40).find(":") + 1; variable
852 std::string tag = res.substr(40, tagLen);
/base/hiviewdfx/hilog/frameworks/libhilog/include/
Dhilog_cmd.h98 uint8_t tagLen; member
/base/telephony/ril_adapter/services/vendor/src/
Dat_sim.c1315 uint8_t tagLen = 0; in FcpTlvSearchTag() local
1317 for (*outPtr = dataPtr; lenVar > 0; *outPtr += tagLen) { in FcpTlvSearchTag()
1318 tagLen = (*(*outPtr + 1) + HALF_LEN); in FcpTlvSearchTag()
1323 lenVar -= tagLen; in FcpTlvSearchTag()
/base/hiviewdfx/hilog/services/hilogtool/
Dmain.cpp418 .log = (rsp.data + rsp.tagLen) in QueryLogHandler()