| /lib/lwip/lwip/contrib/examples/httpd/ssi_example/ |
| A D | ssi_example.c | 120 printed = snprintf(pcInsert, iInsertLen, "Hello World!"); in ssi_example_ssi_handler() 126 printed = snprintf(pcInsert, iInsertLen, "%d", counter); in ssi_example_ssi_handler() 133 printed = snprintf(pcInsert, iInsertLen, "part0"); in ssi_example_ssi_handler() 137 printed = snprintf(pcInsert, iInsertLen, "part1"); in ssi_example_ssi_handler() 141 printed = snprintf(pcInsert, iInsertLen, "part2"); in ssi_example_ssi_handler() 144 printed = snprintf(pcInsert, iInsertLen, "unhandled part: %d", (int)current_tag_part); in ssi_example_ssi_handler() 148 printed = snprintf(pcInsert, iInsertLen, "LWIP_HTTPD_SSI_MULTIPART disabled"); in ssi_example_ssi_handler() 156 printed = snprintf(pcInsert, iInsertLen, "%s", (char *)params); in ssi_example_ssi_handler() 158 printed = snprintf(pcInsert, iInsertLen, "none"); in ssi_example_ssi_handler() 161 printed = snprintf(pcInsert, iInsertLen, "NULL"); in ssi_example_ssi_handler()
|
| /lib/rsa/ |
| A D | rsa-sign.c | 126 snprintf(key_id, sizeof(key_id), in rsa_engine_get_pub_key() 130 snprintf(key_id, sizeof(key_id), in rsa_engine_get_pub_key() 134 snprintf(key_id, sizeof(key_id), in rsa_engine_get_pub_key() 140 snprintf(key_id, sizeof(key_id), in rsa_engine_get_pub_key() 144 snprintf(key_id, sizeof(key_id), in rsa_engine_get_pub_key() 199 snprintf(path, sizeof(path), "%s", keyfile); in rsa_pem_get_priv_key() 257 snprintf(key_id, sizeof(key_id), in rsa_engine_get_priv_key() 261 snprintf(key_id, sizeof(key_id), in rsa_engine_get_priv_key() 265 snprintf(key_id, sizeof(key_id), in rsa_engine_get_priv_key() 271 snprintf(key_id, sizeof(key_id), in rsa_engine_get_priv_key() [all …]
|
| /lib/lwip/lwip/contrib/examples/httpd/post_example/ |
| A D | post_example.c | 79 snprintf(response_uri, response_uri_len, "/loginfail.html"); in httpd_post_begin() 156 snprintf(response_uri, response_uri_len, "/loginfail.html"); in httpd_post_finished() 160 snprintf(response_uri, response_uri_len, "/session.html"); in httpd_post_finished()
|
| /lib/mbedtls/external/mbedtls/programs/psa/ |
| A 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()
|
| /lib/ |
| A D | oid_registry.c | 122 ret = count = snprintf(buffer, bufsize, "%u.%u", n / 40, n % 40); in sprint_oid() 143 ret += count = snprintf(buffer, bufsize, ".%lu", num); in sprint_oid() 153 snprintf(buffer, bufsize, "(bad)"); in sprint_oid()
|
| A D | hexdump.c | 60 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer() 71 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer() 82 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()
|
| A D | display_options.c | 23 len = snprintf(buf, size, "%s%s", newlines ? "\n\n" : "", in display_options_get_banner_priv() 26 len += snprintf(buf + len, size - len, ", Build: %s", in display_options_get_banner_priv() 32 snprintf(buf + len, size - len, "\n\n"); in display_options_get_banner_priv()
|
| A D | fdtdec_test.c | 168 snprintf(name, sizeof(name), "%s@%x,%x", basename, upper, in make_fdt_carveout_device() 171 snprintf(name, sizeof(name), "%s@%x", basename, lower); in make_fdt_carveout_device() 256 snprintf(filename, sizeof(filename), "/tmp/fdtdec-carveout-%u-%u.dtb", in make_fdt_carveout()
|
| /lib/efi_loader/ |
| A D | efi_fdt.c | 58 snprintf(fname, size, "%s/%s", prefix, fdt_fname); in efi_get_distro_fdt_name() 70 snprintf(fname, size, "%s/%s%s%s%s.dtb", prefix, in efi_get_distro_fdt_name()
|
| A D | efi_string.c | 41 snprintf(index_buf, sizeof(index_buf), "%04X", index); in efi_create_indexed_name()
|
| /lib/aes/ |
| A D | aes-encrypt.c | 112 snprintf(name, sizeof(name), "key-%s-%s-%s", in image_aes_add_cipher_data() 115 snprintf(name, sizeof(name), "key-%s-%s", in image_aes_add_cipher_data()
|
| /lib/fwu_updates/ |
| A D | fwu_mtd.c | 118 p += snprintf(p, end - p, "mtd %s", mtd->name); in gen_image_alt_info() 147 p += snprintf(p, end - p, "%sbank%d raw %x %x", in gen_image_alt_info()
|
| /lib/lwip/lwip/contrib/ports/win32/ |
| A D | sio.c | 151 snprintf(fileName, 255, SIO_DEVICENAME"%lu", (DWORD)(devnum)); in sio_open() 153 snprintf(fileName, 255, SIO_DEVICENAME"%lu", (DWORD)(devnum & ~1)); in sio_open()
|
| /lib/crypto/ |
| A D | public_key.c | 88 ret = snprintf(algo, sizeof(algo), "%s,%s%d", sig->hash_algo, in public_key_verify_signature() 141 n = snprintf(alg_name, CRYPTO_MAX_ALG_NAME, in software_key_determine_akcipher() 145 n = snprintf(alg_name, CRYPTO_MAX_ALG_NAME, in software_key_determine_akcipher()
|
| /lib/lwip/lwip/contrib/apps/shell/ |
| A D | shell.c | 244 snprintf((char *)buffer, sizeof(buffer), "%d"NEWLINE, i); in com_open() 312 snprintf((char *)buffer, sizeof(buffer), "%d"NEWLINE, i); in com_lstn() 393 snprintf((char *)buffer, sizeof(buffer), "%d"NEWLINE, j); in com_acpt() 653 snprintf((char *)buffer, sizeof(buffer), "%d"NEWLINE, i); in com_udpc() 736 snprintf((char *)buffer, sizeof(buffer), "%d"NEWLINE, i); in com_udpl() 819 snprintf((char *)buffer, sizeof(buffer), "%d"NEWLINE, i); in com_udpn() 909 snprintf((char *)buffer, sizeof(buffer), "%d"NEWLINE, i); in com_udpb() 978 snprintf((char *)buffer, sizeof(buffer), "if_indextoname() failed: %d"NEWLINE, errno); in com_idxtoname() 990 snprintf((char *)buffer, sizeof(buffer), "%u"NEWLINE, idx); in com_nametoidx()
|
| /lib/mbedtls/external/mbedtls/configs/ext/ |
| A D | tfm_mbedcrypto_config_profile_medium.h | 386 #define MBEDTLS_PLATFORM_SNPRINTF_MACRO snprintf
|
| /lib/lwip/lwip/contrib/ports/win32/include/arch/ |
| A D | cc.h | 96 #define snprintf _snprintf macro
|
| /lib/lwip/u-boot/arch/ |
| A D | cc.h | 54 snprintf(buf, sizeof(buf), "(time_t)%llu", t); in sntp_format_time()
|
| /lib/mbedtls/external/mbedtls/3rdparty/everest/include/everest/kremlin/internal/ |
| A D | target.h | 99 # define KRML_HOST_SNPRINTF(buf, sz, fmt, arg) snprintf(buf, sz, fmt, arg)
|
| /lib/mbedtls/external/mbedtls/tests/suites/ |
| A 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");
|
| /lib/ecdsa/ |
| A D | ecdsa-libcrypto.c | 296 snprintf(name, sizeof(name), "%s", info->keyname); in load_key_from_fdt() 339 snprintf(kname, sizeof(kname), "%s", info->keyfile); in prepare_ctx() 341 snprintf(kname, sizeof(kname), "%s/%s.pem", info->keydir, in prepare_ctx()
|
| /lib/lwip/lwip/contrib/ports/unix/port/netif/ |
| A D | sio.c | 344 snprintf( dev, sizeof(dev), "/dev/ttyS%d", devnum ); in sio_open() 432 snprintf(buf, sizeof(buf), in sio_open()
|
| /lib/lwip/lwip/contrib/examples/tftp/ |
| A D | tftp_example.c | 62 snprintf(full_filename, sizeof(full_filename), "%s%s", LWIP_TFTP_EXAMPLE_BASE_DIR, fname); in tftp_open_file()
|
| /lib/lwip/lwip/src/apps/http/ |
| A D | http_client.c | 495 …return snprintf(buffer, buffer_size, HTTPC_REQ_11_PROXY_PORT_FORMAT(server_name, server_port, uri,… in httpc_create_request_string() 497 … return snprintf(buffer, buffer_size, HTTPC_REQ_11_PROXY_FORMAT(server_name, uri, server_name)); in httpc_create_request_string() 501 return snprintf(buffer, buffer_size, HTTPC_REQ_11_HOST_FORMAT(uri, server_name)); in httpc_create_request_string() 503 return snprintf(buffer, buffer_size, HTTPC_REQ_11_FORMAT(uri)); in httpc_create_request_string()
|
| /lib/acpi/ |
| A D | acpigen.c | 357 snprintf(pscope, sizeof(pscope), ACPI_CPU_STRING, cpuindex); in acpigen_write_processor() 368 snprintf(pscope, sizeof(pscope), ACPI_CPU_STRING, cpuindex); in acpigen_write_processor_device() 386 snprintf(pscope, sizeof(pscope), ACPI_CPU_STRING, i); in acpigen_write_processor_package() 400 snprintf(buffer, sizeof(buffer), ACPI_CPU_STRING, core_id); in acpigen_write_processor_cnot()
|