Home
last modified time | relevance | path

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

12

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Decc_ssh_ecdsa_encode_name.c36 size = snprintf(buffer, *buflen, "ecdsa-sha2-nistp256"); in ecc_ssh_ecdsa_encode_name()
40 size = snprintf(buffer, *buflen, "ecdsa-sha2-nistp384"); in ecc_ssh_ecdsa_encode_name()
44 size = snprintf(buffer, *buflen, "ecdsa-sha2-nistp521"); in ecc_ssh_ecdsa_encode_name()
47 size = snprintf(buffer, *buflen, "ecdsa-sha2-%s", oidstr); in ecc_ssh_ecdsa_encode_name()
/optee_os/core/drivers/gpio/
H A Dgpio.c47 snprintf(prop_name, sizeof(prop_name), "%s-%s", in gpio_dt_get_by_index()
50 snprintf(prop_name, sizeof(prop_name), "%s", in gpio_dt_get_by_index()
/optee_os/lib/libutils/isoc/
H A Dsnprintf.c9 int snprintf(char *bf, size_t size, const char *fmt, ...) in snprintf() function
H A Dsub.mk16 srcs-y += snprintf.c
H A Dbget.c1306 V snprintf(bhex + i * 3, sizeof(bhex) - i * 3, "%02X ",
/optee_os/core/kernel/
H A Dearly_ta.c51 snprintf(msg, sizeof(msg), in early_ta_init()
H A Ddt.c727 ret = snprintf(frag, sizeof(frag), "fragment@%d", dt->frag_id); in add_dt_overlay_fragment()
953 ret = snprintf(subnode_name, sizeof(subnode_name), in add_res_mem_dt_node()
/optee_os/lib/libutils/isoc/include/
H A Dstdio.h19 int snprintf(char *str, size_t size, const char *fmt, ...)
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
H A Dcrypt_constants.c262 … number_len = snprintf(NULL, 0, "%s,%d\n", s_crypt_constants[i].name, s_crypt_constants[i].value); in crypt_list_all_constants()
278 …number_len = snprintf(ptr, total_len, "%s,%d\n", s_crypt_constants[i].name, s_crypt_constants[i].v… in crypt_list_all_constants()
H A Dcrypt_sizes.c322 number_len = snprintf(NULL, 0, "%s,%u\n", s_crypt_sizes[i].name, s_crypt_sizes[i].size); in crypt_list_all_sizes()
339 … number_len = snprintf(ptr, total_len, "%s,%u\n", s_crypt_sizes[i].name, s_crypt_sizes[i].size); in crypt_list_all_sizes()
/optee_os/core/drivers/crypto/se050/glue/
H A Di2c_stm32.c50 snprintf(bus, sizeof(bus), "i2c%d", CFG_CORE_SE05X_I2C_BUS); in dt_i2c_bus_config()
/optee_os/core/lib/zlib/
H A Dgzguts.h111 # define snprintf _snprintf macro
/optee_os/core/drivers/pinctrl/
H A Dpinctrl.c82 bw = snprintf(prop_name, sizeof(prop_name), "pinctrl-%d", in pinctrl_get_state_by_idx()
/optee_os/core/tee/
H A Dfs_dirfile.c272 r = snprintf(fname, l, "%" PRIx32, dfh->file_number); in tee_fs_dirfile_fileh_to_fname()
274 r = snprintf(fname, l, "dirf.db"); in tee_fs_dirfile_fileh_to_fname()
H A Dtadb.c85 rc = snprintf(buf, blen, "%" PRIu32 ".ta", file_number); in file_num_to_str()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dplatform.h67 #define MBEDTLS_PLATFORM_STD_SNPRINTF snprintf /**< The default \c snprintf function to use. */
/optee_os/core/drivers/regulator/
H A Dregulator_dt.c98 len = snprintf(supply_prop, prop_len, "%s-supply", supply_name); in get_supply_phandle()
H A Dregulator.c465 snprintf(msg_end - 4, 4, "..."); in print_regulator()
/optee_os/core/drivers/clk/
H A Dclk.c500 snprintf(msg_end - 4, 4, "..."); in print_clk()
H A Dclk-stm32mp15.c1133 snprintf(name, sizeof(name), "st,pll@%d", i); in stm32mp1_clk_fdt_init()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_macros.h458 #define snprintf _snprintf macro
/optee_os/ldelf/
H A Dta_elf.c1383 rc = snprintf(desc, sizeof(desc), " [%d]", elf_idx); in print_seg()
1387 rc = snprintf(desc, sizeof(desc), " (param)"); in print_seg()
1391 rc = snprintf(desc, sizeof(desc), " (ldelf)"); in print_seg()
1395 rc = snprintf(desc, sizeof(desc), " (stack)"); in print_seg()
/optee_os/lib/libutee/
H A Dtee_api_property.c249 l = snprintf(value, *value_len, "%u", uint32_val); in TEE_GetPropertyAsString()
/optee_os/ta/pkcs11/src/
H A Dpersistent_token.c30 int n = snprintf(name, size, "token.db.%u", get_token_id(token)); in get_db_file_name()
H A Dpkcs11_token.c299 n = snprintf(desc, sizeof(desc), PKCS11_SLOT_DESCRIPTION in set_token_description()
406 n = snprintf(sn, sizeof(sn), "%0*"PRIu32, in entry_ck_token_info()

12