Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 37) sorted by relevance

12

/net-tools-2.7.6/libcoap/src/
Ddebug.c89 return snprintf(s, len, "%u.%03u", in print_timestamp()
202 p += snprintf((char *)p, buf + len - p + 1, ":%d", port); in coap_print_addr()
237 p += snprintf((char *)p, buf + len - p + 1, ":%d", uip_htons(addr->port)); in coap_print_addr()
279 snprintf(buf, sizeof(buf), "%u.%02u", c >> 5, c & 0x1f); in msg_code_string()
325 snprintf(buf, sizeof(buf), "%u", option_type); in msg_option_string()
352 return snprintf((char *)result, buflen, "%s", formats[i].name); in print_content_format()
357 return snprintf((char *)result, buflen, "%d", format_type); in print_content_format()
417 buf_len = snprintf((char *)buf, sizeof(buf), "%u/%c/%u", in coap_show_pdu()
429 buf_len = snprintf((char *)buf, sizeof(buf), "%u", in coap_show_pdu()
/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Dplatform.h56 #define MBEDTLS_PLATFORM_STD_SNPRINTF snprintf /**< Default snprintf to use */
210 #define mbedtls_snprintf snprintf
/net-tools-2.7.6/mbedtls-2.4.0/programs/pkey/
Dpk_verify.c32 #define mbedtls_snprintf snprintf
Drsa_verify_pss.c32 #define mbedtls_snprintf snprintf
Drsa_verify.c33 #define mbedtls_snprintf snprintf
Dpk_sign.c32 #define mbedtls_snprintf snprintf
Drsa_sign_pss.c32 #define mbedtls_snprintf snprintf
Drsa_sign.c34 #define mbedtls_snprintf snprintf
/net-tools-2.7.6/tinydtls-0.8.2/
Ddebug.c86 return snprintf(s, len, "%u.%03u", in print_timestamp()
161 p += snprintf(p, buf + len - p + 1, ":%d", port); in dsrv_print_addr()
/net-tools-2.7.6/libcoap/tests/
Dtest_wellknown.c142 int len = snprintf((char *)uribuf, TEST_URI_LEN + 1, in t_wellknown3()
285 int len = snprintf((char *)buf, TEST_URI_LEN + 1, in t_wkc_tests_create()
/net-tools-2.7.6/libcoap/examples/
Dcoap-rd.c313 n += snprintf(buf + n, BUFSIZE - n, in add_source_address()
335 snprintf(buf + n, BUFSIZE - n, ":%d", peer->addr.sin6.sin6_port); in add_source_address()
440 snprintf((char *)(loc + loc_size), LOCSIZE - loc_size - 1, in hnd_post_rd()
454 loc_size += snprintf((char *)(loc + loc_size), in hnd_post_rd()
/net-tools-2.7.6/mbedtls-2.4.0/programs/test/
Dssl_cert_test.c32 #define mbedtls_snprintf snprintf
Dselftest.c65 #define mbedtls_snprintf snprintf
/net-tools-2.7.6/libcoap/examples/contiki/
Dserver.c134 len = snprintf((char *)buf, in hnd_get_time()
/net-tools-2.7.6/mbedtls-2.4.0/scripts/data_files/
Derror.fmt36 #define mbedtls_snprintf snprintf
/net-tools-2.7.6/mbedtls-2.4.0/yotta/data/example-benchmark/
Dmain.cpp45 #define mbedtls_snprintf snprintf
162 #if defined _MSC_VER && !defined snprintf
163 #define snprintf _snprintf macro
/net-tools-2.7.6/mbedtls-2.4.0/library/
Dx509_csr.c56 #define mbedtls_snprintf snprintf
Ddebug.c37 #define mbedtls_snprintf snprintf
Doid.c41 #define mbedtls_snprintf snprintf
/net-tools-2.7.6/mbedtls-2.4.0/tests/suites/
Dmain_test.function285 * Make sure we have a snprintf that correctly zero-terminates
289 mbedtls_fprintf( stderr, "the snprintf implementation is broken\n" );
/net-tools-2.7.6/mbedtls-2.4.0/programs/ssl/
Dssl_pthread_server.c35 #define mbedtls_snprintf snprintf
/net-tools-2.7.6/virtual-hub/src/
Dhub.c329 snprintf(str_num, sizeof(str_num), "%d", (i + 1)); in main()
/net-tools-2.7.6/
Dthroughput-client.c443 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s", interface); in main()
Decho-client.c515 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s", interface); in main()
/net-tools-2.7.6/tinydtls-0.8.2/tests/
Ddtls-client.c353 snprintf(port_str, sizeof(port_str), "%d", port);

12