Home
last modified time | relevance | path

Searched refs:snprintf_s (Results 1 – 22 of 22) sorted by relevance

/third_party/bounds_checking_function/src/
Dsnprintf_s.c47 int snprintf_s(char *strDest, size_t destMax, size_t count, const char *format, ...) in snprintf_s() function
60 EXPORT_SYMBOL(snprintf_s);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
Ddriver_nl80211_hisi.c142 ret_s = snprintf_s(buf, buf_len, buf_len - 1, in wpa_driver_nl80211_driver_cmd()
165 ret_s = snprintf_s(buf, buf_len, buf_len - 1, "POWERMODE = %d\n", state); in wpa_driver_nl80211_driver_cmd()
503 len = snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "TX_POWER %d", power); in wpa_driver_set_tx_power()
662 len = snprintf_s(buff, MAX_PRIV_CMD_SIZE, MAX_PRIV_CMD_SIZE - 1, "WPAS_GET_CUST"); in get_cust_config_params()
664 len = snprintf_s(ioctl_data.buf, MAX_PRIV_CMD_SIZE, MAX_PRIV_CMD_SIZE - 1, "WPAS_GET_CUST"); in get_cust_config_params()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/
Ddriver_nl80211_hisi.c143 ret_s = snprintf_s(buf, buf_len, buf_len - 1, in wpa_driver_nl80211_driver_cmd()
176 ret_s = snprintf_s(buf, buf_len, buf_len - 1, "POWERMODE = %d\n", state); in wpa_driver_nl80211_driver_cmd()
527 len = snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "TX_POWER %d", power); in wpa_driver_set_tx_power()
692 len = snprintf_s(ioctl_data.buf, MAX_PRIV_CMD_SIZE, MAX_PRIV_CMD_SIZE - 1, "WPAS_GET_CUST"); in get_cust_config_params()
/third_party/bounds_checking_function/
DREADME.md29 - snprintf_s
DREADME.en.md32 - snprintf_s
Dlibsec_src.gni31 "//third_party/bounds_checking_function/src/snprintf_s.c",
/third_party/NuttX/fs/driver/
Dfs_blockproxy.c100 ret = snprintf_s(devbuf, 16, 14, "/dev/tmp%06lx", (unsigned long)devno); in unique_chardev()
/third_party/FreeBSD/sys/dev/usb/
Dusb_device.c1593 (void)snprintf_s(udev->ugen_name, sizeof(udev->ugen_name), in usb_alloc_device()
1882 (void)snprintf_s(buffer, sizeof(buffer), sizeof(buffer) - 1, USB_DEVICE_DIR "/%u.%u.%u", in usb_make_dev()
1885 (void)snprintf_s(buffer, sizeof(buffer), sizeof(buffer) - 1, USB_DEVICE_DIR "/%s", in usb_make_dev()
2195 (void)snprintf_s(dst_ptr, dst_len, dst_len - 1, "%s %s, class %d/%d, rev %x.%02x/" in usb_devinfo()
2204 (void)snprintf_s(dst_ptr, dst_len, dst_len - 1, "%s %s, rev %x.%02x/" in usb_devinfo()
2297 (void)snprintf_s(temp_ptr, temp_size, temp_size - 1, "vendor 0x%04x", vendor_id); in usbd_set_device_strings()
2301 (void)snprintf_s(temp_ptr, temp_size, temp_size - 1, "product 0x%04x", product_id); in usbd_set_device_strings()
Dusb_util.c125 if (snprintf_s(p, p_len, p_len - 1, "%x.%02x", bcd >> 8, bcd & 0xff)) { in usb_printbcd()
Dusb_dev.c1552 if (snprintf_s(devname, sizeof(devname), sizeof(devname) - 1, in usb_fifo_attach()
1559 if (snprintf_s(devname, sizeof(devname), sizeof(devname) - 1, in usb_fifo_attach()
Dusb_generic.c736 error = snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "%s: <%s>", ptr, desc); in ugen_get_iface_driver()
/third_party/NuttX/drivers/pipes/
Dpipe.c273 snprintf_s(devname, sizeof(devname), sizeof(devname) - 1, "/dev/pipe%d", pipeno); in pipe()
/third_party/FreeBSD/sys/dev/usb/serial/
Dusb_serial.c193 (void)snprintf_s(ssc->sc_ttyname, sizeof(ssc->sc_ttyname), sizeof(ssc->sc_ttyname) - 1, in ucom_attach()
310 ret = snprintf_s(sc->sc_name, TTY_NAME_LEN, TTY_NAME_LEN - 1, "/dev/ttyUSB%d", sc->sc_subunit); in ucom_attach_tty()
364 (void)snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "ttyname=" UCOM_TTY_PREFIX in ucom_set_pnpinfo_usb()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_generic_epfile.c599 (void)snprintf_s(dev_name, sizeof(dev_name), sizeof(dev_name) - 1, in generic_epfile_release()
657 ret = snprintf_s(dev_name, GENERIC_PATH_LEN, GENERIC_PATH_LEN - 1, in generic_epfiles_create()
Dusbd_generic_ep0.c1177 ret = snprintf_s(dev_name, GENERIC_PATH_LEN, GENERIC_PATH_LEN - 1, in generic_create_ep0()
1242 ret = snprintf_s(dev_name, sizeof(dev_name), sizeof(dev_name) - 1, in generic_remove_ep0()
Dusbd_config.c1206 ret = snprintf_s(devName, strlen(USB_FCONFIG_DEV) + 1, strlen(USB_FCONFIG_DEV), in fconfig_fops_init()
/third_party/bounds_checking_function/include/
Dsecurec.h275 SECUREC_API int snprintf_s(char *strDest, size_t destMax, size_t count, const char *format,
Dsecurectype.h121 #define snprintf_s _snprintf_s macro
/third_party/NuttX/drivers/usbdev/gadget/
Df_mass_storage.c1045 (void)snprintf_s(node_name, sizeof(node_name), sizeof(node_name) - 1, "%s%0d", dev_path, i); in fmass_parts_registered()
1606 …(void)snprintf_s(mass_dev->inquiry_str, sizeof(mass_dev->inquiry_str), sizeof(mass_dev->inquiry_st… in usbclass_mass_bind()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c940 (void)snprintf_s((char *)sc->sc_name, sizeof(sc->sc_name), sizeof(sc->sc_name) - 1, in umass_attach()
3548 ret = snprintf_s(devname, MASS_NAME, MASS_NAME - 1, "%s%c", UMASS_ATTACH_PRENAME, name_suf); in devunit_to_devname()
/third_party/FreeBSD/sys/kern/
Dsubr_bus.c1295 if (snprintf_s(dev->nameunit, buflen, buflen - 1, "%s%d", dc->name, dev->unit) < 0) { in devclass_add_device()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface.c5285 ret = snprintf_s(pos, end - pos, (end - pos - 1), "hilink=%d\n", bss->hilink);