Home
last modified time | relevance | path

Searched refs:logString (Results 1 – 9 of 9) sorted by relevance

/external/openthread/examples/platforms/simulation/
Dlogging.c52 char logString[512]; in otPlatLog() local
56 offset = snprintf(logString, sizeof(logString), "[%d]", gNodeId); in otPlatLog()
59 vsnprintf(&logString[offset], sizeof(logString) - (uint16_t)offset, aFormat, args); in otPlatLog()
62 syslog(LOG_CRIT, "%s", logString); in otPlatLog()
/external/openthread/examples/platforms/utils/
Dlogging_rtt.c150 char logString[LOG_PARSE_BUFFER_SIZE + 1]; in utilsLogRttOutput() local
155 length += logTimestamp(logString, LOG_PARSE_BUFFER_SIZE); in utilsLogRttOutput()
159 length += logLevel(&logString[length], (LOG_PARSE_BUFFER_SIZE - length), aLogLevel); in utilsLogRttOutput()
161 …charsWritten = vsnprintf(&logString[length], (size_t)(LOG_PARSE_BUFFER_SIZE - length), aFormat, ap… in utilsLogRttOutput()
170 logString[length++] = '\n'; in utilsLogRttOutput()
173 SEGGER_RTT_WriteNoLock(0, logString, length); in utilsLogRttOutput()
/external/openthread/src/core/common/
Dlog.cpp95 ot::String<OPENTHREAD_CONFIG_LOG_MAX_SIZE> logString; in LogVarArgs() local
100 ot::Uptime::UptimeToString(ot::Instance::Get().Get<ot::Uptime>().GetUptime(), logString); in LogVarArgs()
101 logString.Append(" "); in LogVarArgs()
119 logString.Append("[%c] ", kLevelChars[aLogLevel]); in LogVarArgs()
123 logString.Append("%.*s%s: ", kMaxLogModuleNameLength, aModuleName, in LogVarArgs()
126 logString.AppendVarArgs(aFormat, aArgs); in LogVarArgs()
128 logString.Append("%s", OPENTHREAD_CONFIG_LOG_SUFFIX); in LogVarArgs()
129 otPlatLog(aLogLevel, OT_LOG_REGION_CORE, "%s", logString.AsCString()); in LogVarArgs()
/external/testng/src/test/java/test/thread/
DTrueParallelSampleTest.java12 logString(s); in log()
18 logString(s); in log()
DBaseThreadTest.java25 protected void logString(String s) { in logString() method in BaseThreadTest
/external/openthread/src/core/utils/
Dchannel_monitor.cpp196 String<kStringSize> logString; in LogResults() local
200 logString.Append("%02x ", channel >> 8); in LogResults()
203 LogInfo("%u [%s]", mSampleCount, logString.AsCString()); in LogResults()
/external/openthread/src/lib/spinel/
Dradio_spinel_impl.hpp906 const char *logString; in HandleValueIs() local
909 unpacked = spinel_datatype_unpack(aBuffer, aLength, SPINEL_DATATYPE_UTF8_S, &logString); in HandleValueIs()
922 otLogCritPlat("RCP => %s", logString); in HandleValueIs()
927 otLogWarnPlat("RCP => %s", logString); in HandleValueIs()
931 otLogNotePlat("RCP => %s", logString); in HandleValueIs()
935 otLogInfoPlat("RCP => %s", logString); in HandleValueIs()
940 otLogDebgPlat("RCP => %s", logString); in HandleValueIs()
/external/openthread/src/ncp/
Dncp_base.cpp2631 char logString[OPENTHREAD_CONFIG_NCP_SPINEL_LOG_MAX_SIZE]; in otPlatLog() local
2636 if (vsnprintf(logString, sizeof(logString), aFormat, args) > 0) in otPlatLog()
2640 ncp->Log(aLogLevel, aLogRegion, logString); in otPlatLog()
/external/angle/src/libANGLE/
DProgram.cpp518 const std::string &logString = mLazyStream->str(); in getLength() local
519 return logString.empty() ? 0 : logString.length() + 1; in getLength()
528 const std::string logString(str()); in getLog() local
530 if (!logString.empty()) in getLog()
532 index = std::min(static_cast<size_t>(bufSize) - 1, logString.length()); in getLog()
533 memcpy(infoLog, logString.c_str(), index); in getLog()