Home
last modified time | relevance | path

Searched refs:outStr (Results 1 – 8 of 8) sorted by relevance

/base/security/deviceauth/deps_adapter/os_adapter/impl/src/
Dhc_log.c48 char outStr[LOG_PRINT_MAX_LEN] = {0}; in DevAuthLogPrint() local
49 int32_t ret = sprintf_s(outStr, sizeof(outStr), "%s: ", funName); in DevAuthLogPrint()
53 ulPos = strlen(outStr); in DevAuthLogPrint()
56 ret = vsprintf_s(&outStr[ulPos], sizeof(outStr) - ulPos, fmt, arg); in DevAuthLogPrint()
61 DevAuthOutPrint(outStr, level); in DevAuthLogPrint()
/base/hiviewdfx/hilog_lite/frameworks/mini/
Dhiview_output_log.c80 static int32 LogCommonFmt(char *outStr, int32 outStrlen, const HiLogCommon *commonContentPtr);
365 int32 LogContentFmt(char *outStr, int32 outStrLen, const uint8 *pLogContent) in LogContentFmt() argument
370 len = LogCommonFmt(outStr, outStrLen, &(logContentPtr->commonContent)); in LogContentFmt()
374 len += LogValuesFmtHash(outStr + len, outStrLen - len, logContentPtr); in LogContentFmt()
376 len += LogDebugValuesFmt(outStr + len, outStrLen - len, logContentPtr); in LogContentFmt()
378 len += LogValuesFmt(outStr + len, outStrLen - len, logContentPtr); in LogContentFmt()
387 outStr[outStrLen - TAIL_LINE_BREAK] = '\n'; in LogContentFmt()
388 outStr[outStrLen - 1] = '\0'; in LogContentFmt()
390 outStr[len++] = '\n'; in LogContentFmt()
391 outStr[len++] = '\0'; in LogContentFmt()
[all …]
Dhiview_output_log.h60 int32 LogContentFmt(char *outStr, int32 outStrLen, const uint8 *pLogContent);
/base/security/deviceauth/services/group_auth/src/session/auth_session_lite/
Dauth_session_common_lite.c204 char *outStr = PackJsonToString(sendToPeer); in ReturnTransmitDataLite() local
205 if (outStr == NULL) { in ReturnTransmitDataLite()
216 if (!callback->onTransmit(requestId, (uint8_t *)outStr, (uint32_t)strlen(outStr) + 1)) { in ReturnTransmitDataLite()
222 FreeJsonString(outStr); in ReturnTransmitDataLite()
/base/hiviewdfx/hievent_lite/frameworks/
Dhiview_output_event.c408 int32 EventContentFmt(char *outStr, int32 outStrLen, const uint8 *pEvent) in EventContentFmt() argument
419 len = snprintf_s(outStr, outStrLen, outStrLen - 1, in EventContentFmt()
423 len = snprintf_s(outStr, outStrLen, outStrLen - 1, in EventContentFmt()
433 outStr[outStrLen - TAIL_LINE_BREAK] = '\n'; in EventContentFmt()
434 outStr[outStrLen - 1] = '\0'; in EventContentFmt()
436 outStr[len++] = '\n'; in EventContentFmt()
437 outStr[len++] = '\0'; in EventContentFmt()
Dhiview_output_event.h62 int32 EventContentFmt(char *outStr, int32 outStrLen, const uint8 *pEvent);
/base/global/i18n_lite/frameworks/i18n/src/
Dnumber_format_impl.cpp171 std::string outStr = ConvertSignAndNum(result, lastLen, defaultData, defaultData->style); in InnerFormat() local
174 outStr.insert(0, defaultData->GetMinusSign()); in InnerFormat()
176 return outStr; in InnerFormat()
/base/security/deviceauth/services/group_auth/src/session/auth_session/
Dauth_session_common.c368 char *outStr = PackJsonToString(sendToPeer); in ReturnTransmitData() local
369 if (outStr == NULL) { in ReturnTransmitData()
382 if (!callback->onTransmit(requestId, (uint8_t *)outStr, HcStrlen(outStr) + 1)) { in ReturnTransmitData()
388 FreeJsonString(outStr); in ReturnTransmitData()