/base/tee/tee_client/services/tlogcat/src/ |
D | proc_tag.c | 114 uint32_t tagLen; in GetLogItemTag() local 135 tagLen = ((middleStr != NULL) ? (middleStr - startStr - 1) : (endStr - startStr - 1)); in GetLogItemTag() 136 if (memcpy_s(tagStr, tagStrLen, startStr + 1, tagLen) != EOK) { in GetLogItemTag() 141 tagLen = ((tagStrLen == tagLen) ? (tagStrLen - 1) : tagLen); in GetLogItemTag() 142 tagStr[tagLen] = '\0'; in GetLogItemTag() 143 return tagLen; in GetLogItemTag() 146 static int32_t InsertTaTagNode(char *tagName, uint32_t tagLen, const char **logTag, const struct Lo… in InsertTaTagNode() argument 163 tagName[tagLen - 1] = '\0'; in InsertTaTagNode() 178 static int32_t InsertDriverTagNode(char *tagName, uint32_t tagLen, const char **logTag, const struc… in InsertDriverTagNode() argument 188 tagName[tagLen - 1] = '\0'; in InsertDriverTagNode() [all …]
|
/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
D | hilog_input_socket_client.cpp | 25 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/ |
D | kmsg_parser.cpp | 86 size_t tagLen = tagStr.size(); in ParseKmsg() local 89 auto msgLen = sizeof(HilogMsg) + tagLen + len + 1; in ParseKmsg() 93 msg.tag_len = tagLen + 1; in ParseKmsg() 100 if (strncpy_s(msg.tag, tagLen + 1, tagStr.c_str(), tagLen) != 0) { in ParseKmsg()
|
D | service_controller.cpp | 147 rsp.tagLen = data.tag_len; /* include '\0' */ in WriteQueryResponse()
|
/base/hiviewdfx/hilog/frameworks/libhilog/base/ |
D | hilog_base.c | 36 static int SendMessage(HilogMsg *header, const char *tag, uint16_t tagLen, const char *fmt, uint16_… in SendMessage() argument 63 header->len = sizeof(HilogMsg) + tagLen + fmtLen; in SendMessage() 64 header->tag_len = tagLen; in SendMessage() 70 vec[1].iov_len = tagLen; // 1 : index of log tag in SendMessage() 87 size_t tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogBasePrintArgs() local 98 return SendMessage(&header, tag, tagLen + 1, buf, logLen + 1); in HiLogBasePrintArgs()
|
/base/hiviewdfx/hilog/frameworks/libhilog/socket/include/ |
D | hilog_input_socket_client.h | 27 …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/cipher/src/ |
D | cipher_aes_common.c | 48 size_t tagLen = spec->tag.len; in GetCcmTagLen() local 49 return (int)tagLen; in GetCcmTagLen()
|
D | cipher_aes_openssl.c | 309 data->tagLen = params->tag.len; in InitAadAndTagFromGcmParams() 340 data->tagLen = params->tag.len; in InitAadAndTagFromCcmParams() 646 …int32_t ret = Openssl_EVP_CIPHER_CTX_ctrl(data->ctx, EVP_CTRL_AEAD_GET_TAG, data->tagLen, output->… in CcmEncryptDoFinal() 652 output->len = data->tagLen + len; in CcmEncryptDoFinal() 688 …int32_t ret = Openssl_EVP_CIPHER_CTX_ctrl(data->ctx, EVP_CTRL_AEAD_SET_TAG, data->tagLen, (void *)… in GcmDecryptDoFinal() 713 ret = Openssl_EVP_CIPHER_CTX_ctrl(data->ctx, EVP_CTRL_AEAD_GET_TAG, data->tagLen, in GcmEncryptDoFinal() 720 output->len += data->tagLen; in GcmEncryptDoFinal()
|
/base/hiviewdfx/hilog/frameworks/libhilog/ |
D | hilog_printf.cpp | 170 static int PrintLog(HilogMsg& header, const char *tag, uint16_t tagLen, const char *fmt, uint16_t f… in PrintLog() argument 302 auto tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogPrintArgs() local 333 ret = HiLogFlowCtrlProcess(tagLen + logLen - traceBufLen, ts_mono); in HiLogPrintArgs() 349 return HilogWriteLogMessage(&header, tag, tagLen + 1, buf, logLen + 1); in HiLogPrintArgs() 351 return PrintLog(header, tag, tagLen + 1, buf, logLen + 1); in HiLogPrintArgs()
|
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/ |
D | aes_openssl_common.h | 38 uint32_t tagLen; member
|
/base/hiviewdfx/hilog/test/unittest/common/ |
D | hilogtool_test.cpp | 800 int tagLen = res.substr(40).find(":") + 1; variable 801 std::string tag = res.substr(40, tagLen); 829 std::string logTag = it.substr(40, tagLen); 849 int tagLen = res.substr(40).find(":") + 1; variable 850 std::string tag = res.substr(40, tagLen);
|
/base/hiviewdfx/hilog/frameworks/libhilog/include/ |
D | hilog_cmd.h | 98 uint8_t tagLen; member
|
/base/telephony/ril_adapter/services/vendor/src/ |
D | at_sim.c | 1330 uint8_t tagLen = 0; in FcpTlvSearchTag() local 1332 for (*outPtr = dataPtr; lenVar > 0; *outPtr += tagLen) { in FcpTlvSearchTag() 1333 tagLen = (*(*outPtr + 1) + HALF_LEN); in FcpTlvSearchTag() 1338 lenVar -= tagLen; in FcpTlvSearchTag()
|
/base/hiviewdfx/hilog/services/hilogtool/ |
D | main.cpp | 418 .log = (rsp.data + rsp.tagLen) in QueryLogHandler()
|