/openthread-latest/src/posix/platform/ |
D | radio.cpp | 601 cur += snprintf(cur, static_cast<size_t>(end - cur), "%s ", aArgs[index]); in otPlatDiagProcess() 626 snprintf(cmd, sizeof(cmd), "power %d", aTxPower); in otPlatDiagTxPowerSet() 637 snprintf(cmd, sizeof(cmd), "channel %d", aChannel); in otPlatDiagChannelSet() 649 snprintf(cmd, sizeof(cmd), "gpio set %d %d", aGpio, aValue); in otPlatDiagGpioSet() 665 snprintf(cmd, sizeof(cmd), "gpio get %d", aGpio); in otPlatDiagGpioGet() 681 … snprintf(cmd, sizeof(cmd), "gpio mode %d %s", aGpio, aMode == OT_GPIO_MODE_INPUT ? "in" : "out"); in otPlatDiagGpioSetMode() 697 snprintf(cmd, sizeof(cmd), "gpio mode %d", aGpio); in otPlatDiagGpioGetMode() 744 snprintf(cmd, sizeof(cmd), "powersettings %d", aChannel); in otPlatDiagRadioGetPowerSettings() 746 …snprintf(fmt, sizeof(fmt), "TargetPower(0.01dBm): %%d\r\nActualPower(0.01dBm): %%d\r\nRawPowerSett… in otPlatDiagRadioGetPowerSettings() 772 nbytes = snprintf(cmd, sizeof(cmd), "rawpowersetting "); in otPlatDiagRadioSetRawPowerSetting() [all …]
|
D | trel.cpp | 140 cur += snprintf(cur, (uint16_t)(end - cur), "[(len:%d) ", aLength); in BufferToString() 145 cur += snprintf(cur, (uint16_t)(end - cur), "%02x ", *aBuffer++); in BufferToString() 153 cur += snprintf(cur, (uint16_t)(end - cur), "... "); in BufferToString()
|
D | virtual_time.cpp | 76 snprintf(msg, sizeof(msg), "Invalid PORT_OFFSET: %s", offset); in virtualTimeInit()
|
D | rcp_caps_diag.cpp | 603 snprintf(capName, sizeof(capName), "SPINEL_CAPS_%s", spinel_capability_to_cstr(aFlags[i])); in OutputSpinelCapFlags() 761 snprintf(output, sizeof(output), "%lu bps", ToUlong(speed)); in ProcessSpinelSpeed() 787 snprintf(value, sizeof(value), "%u", aValue); in OutputFormat() 802 …snprintf(buffer, sizeof(buffer), "%.*s %.*s", kMaxCommandStringLength, commandString, kMaxKeyStrin… in OutputResult()
|
D | config_file.cpp | 173 snprintf(swapFile, sizeof(swapFile), "%s%s", mFilePath, kSwapSuffix); in Clear()
|
D | daemon.cpp | 69 rval = snprintf(aFilename, sizeof(aFilename), aPattern, netIfName); in GetFilename()
|
D | spi_interface.cpp | 212 snprintf(req.consumer_label, sizeof(req.consumer_label), "%s", aLabel); in SetupGpioHandle() 233 snprintf(req.consumer_label, sizeof(req.consumer_label), "%s", aLabel); in SetupGpioEvent()
|
D | settings_file.cpp | 309 …snprintf(aFileName, kMaxFilePathSize, OPENTHREAD_CONFIG_POSIX_SETTINGS_PATH "/%s.%s", mSettingFile… in GetSettingsFilePath()
|
D | settings.cpp | 93 …snprintf(fileBaseName, sizeof(fileBaseName), "%s_%" PRIx64, offset == nullptr ? "0" : offset, node… in settingsFileInit()
|
/openthread-latest/third_party/mbedtls/repo/programs/psa/ |
D | psa_constant_names.c | 17 int snprintf(char *s, size_t n, const char *fmt, ...) in snprintf() function 59 size_t n = snprintf(*buffer, buffer_size - *required_size, format, value); in append_integer() 131 return snprintf(buffer, buffer_size, "%ld", (long) status); in psa_snprint_status() 148 return snprintf(buffer, buffer_size, "0x%02x", (unsigned) curve); in psa_snprint_ecc_curve() 165 return snprintf(buffer, buffer_size, "0x%02x", (unsigned) group); in psa_snprint_dh_group()
|
/openthread-latest/examples/platforms/utils/ |
D | logging_rtt.c | 103 return snprintf(aLogString, (size_t)aMaxSize, "%s[%010lu]", RTT_COLOR_CODE_CYAN, now); in logTimestamp() 118 return snprintf(aLogString, (size_t)aMaxSize, "%s ", levelToString(aLogLevel)); in logLevel()
|
/openthread-latest/src/ncp/ |
D | ncp_hdlc.cpp | 322 snprintf(hexbuf, sizeof(hexbuf), "Framing error %d: [", aError); in HandleError() 331 snprintf(&hexbuf[i * 3], sizeof(hexbuf) - i * 3, " %02X", static_cast<uint8_t>(aBuf[i])); in HandleError() 336 snprintf(&hexbuf[i * 3], sizeof(hexbuf) - i * 3, "]\n"); in HandleError()
|
/openthread-latest/third_party/mbedtls/repo/configs/ext/ |
D | tfm_mbedcrypto_config_profile_medium.h | 386 #define MBEDTLS_PLATFORM_SNPRINTF_MACRO snprintf
|
/openthread-latest/third_party/mbedtls/repo/3rdparty/everest/include/everest/kremlin/internal/ |
D | target.h | 99 # define KRML_HOST_SNPRINTF(buf, sz, fmt, arg) snprintf(buf, sz, fmt, arg)
|
/openthread-latest/third_party/mbedtls/ |
D | mbedtls-config.h | 43 #define MBEDTLS_PLATFORM_SNPRINTF_MACRO snprintf
|
/openthread-latest/examples/platforms/simulation/ |
D | logging.c | 107 offset = snprintf(logString, sizeof(logString), "[%lu]", (unsigned long)gNodeId); in otPlatLog()
|
D | flash.c | 73 snprintf(fileName, sizeof(fileName), "%s/%s_%d.flash", path, offset, gNodeId); in otPlatFlashInit()
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | host_test.function | 261 * \brief Tests snprintf implementation with test input. 266 * potential misuse of snprintf from gcc -Wformat-truncation (observed with 273 * \param ref_ret Expected snprintf return value. 304 * \brief Tests snprintf implementation. 538 * Make sure we have a snprintf that correctly zero-terminates 541 mbedtls_fprintf(stderr, "the snprintf implementation is broken\n");
|
D | test_suite_psa_its.function | 33 * long long support in snprintf. */
|
/openthread-latest/src/core/api/ |
D | instance_api.cpp | 164 snprintf(sVersion, sizeof(sVersion), "%s/%s ;%s ; %s", PACKAGE_NAME, PACKAGE_VERSION, in otGetVersionString()
|
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/ |
D | platform.h | 67 #define MBEDTLS_PLATFORM_STD_SNPRINTF snprintf /**< The default \c snprintf function to use. */
|
/openthread-latest/third_party/tcplp/lib/test/ |
D | test_all.c | 35 snprintf(&buf_string[i << 1], 3, "%02X", buf[i]); in bmp_test()
|
/openthread-latest/src/posix/ |
D | client.cpp | 173 … ret = snprintf(sockname.sun_path, sizeof(sockname.sun_path), OPENTHREAD_POSIX_DAEMON_SOCKET_NAME, in ConnectSession()
|
/openthread-latest/tests/unit/ |
D | test_mac_frame.cpp | 412 …offset = snprintf(string, sizeof(string), "\nver:%s, src[addr:%s, pan:%s], dst[addr:%s, pan:%s], s… in TestMacHeader() 420 … offset += snprintf(string + offset, sizeof(string) - offset, ", seq:%u", frame.GetSequence()); in TestMacHeader()
|
/openthread-latest/src/cli/ |
D | cli_history.cpp | 173 snprintf(&addressString[len], sizeof(addressString) - len, "/%d", info->mPrefixLength); in Process()
|