Home
last modified time | relevance | path

Searched refs:memset_s (Results 1 - 25 of 73) sorted by relevance

123

/third_party/lwip/src/core/distributed_net/
H A Dudp_transmit.c71 (void)memset_s(&data, sizeof(data), 0, sizeof(data)); in udp_transmit_sendto()
76 (void)memset_s(iov, sizeof(iov), 0, sizeof(iov)); in udp_transmit_sendto()
83 (void)memset_s(&transmit_addr, sizeof(transmit_addr), 0, sizeof(transmit_addr)); in udp_transmit_sendto()
87 (void)memset_s(&send_hdr, sizeof(send_hdr), 0, sizeof(send_hdr)); in udp_transmit_sendto()
106 (void)memset_s(&temp_addr_in, sizeof(temp_addr_in), 0, sizeof(temp_addr_in)); in udp_transmit_sendmsg()
110 (void)memset_s(&data, sizeof(data), 0, sizeof(data)); in udp_transmit_sendmsg()
120 (void)memset_s(iov, size, 0, size); in udp_transmit_sendmsg()
129 (void)memset_s(&transmit_addr, sizeof(transmit_addr), 0, sizeof(transmit_addr)); in udp_transmit_sendmsg()
133 (void)memset_s(&send_hdr, sizeof(send_hdr), 0, sizeof(send_hdr)); in udp_transmit_sendmsg()
H A Ddistributed_net_core.c52 (void)memset_s(&addr_in, sizeof(addr_in), 0, sizeof(addr_in)); in distributed_net_connect()
58 (void)memset_s(&addr_in, sizeof(addr_in), 0, sizeof(addr_in)); in distributed_net_connect()
70 (void)memset_s(&addr_in, sizeof(addr_in), 0, sizeof(addr_in)); in distributed_net_connect()
74 (void)memset_s(&data, sizeof(data), 0, sizeof(data)); in distributed_net_connect()
122 (void)memset_s(&addr_in, sizeof(addr_in), 0, sizeof(addr_in)); in distributed_net_sendto()
167 (void)memset_s(&addr_in, sizeof(addr_in), 0, sizeof(addr_in)); in distributed_net_sendmsg()
H A Ddistributed_net.c56 (void)memset_s(&addr, sizeof(struct sockaddr_in), 0, sizeof(struct sockaddr_in)); in try_connect_to_local_tcp_server()
151 (void)memset_s(g_is_distributed_net_socket, sizeof(g_is_distributed_net_socket), 0, in disable_distributed_net()
/third_party/NuttX/fs/vfs/
H A Dfs_select.c141 (void)memset_s(pollset, npfds * sizeof(struct pollfd), 0, npfds * sizeof(struct pollfd)); in do_select()
251 (void)memset_s(readfds, sizeof(fd_set), 0, sizeof(fd_set)); in do_select()
256 (void)memset_s(writefds, sizeof(fd_set), 0, sizeof(fd_set)); in do_select()
261 (void)memset_s(exceptfds, sizeof(fd_set), 0, sizeof(fd_set)); in do_select()
/third_party/musl/porting/uniproton/kernel/src/malloc/
H A Dmalloc.c18 (void)memset_s(ptr, real_size, 0, real_size); in calloc()
51 (void)memset_s(ptr, size, 0, size); in zalloc()
/third_party/NuttX/drivers/usbdev/gadget/
H A Df_hid.c462 (void)memset_s(&(hid->outputreq), sizeof(struct usbdev_req_s), 0, sizeof(struct usbdev_req_s)); in usbclass_hid_bind()
489 (void)memset_s(&hid->inputreq, sizeof(struct usbdev_req_s), 0, sizeof(struct usbdev_req_s)); in usbclass_hid_bind()
556 (void)memset_s(devinfo, sizeof(struct usbdev_devinfo_s), 0, sizeof(struct usbdev_devinfo_s)); in usbclass_hid_unbind()
699 ret = memset_s(req->buf, req->len, 0, req->len); in usbclass_hid_setup()
719 ret = memset_s(req->buf, req->len, 0, req->len); in usbclass_hid_setup()
803 (void)memset_s((void *)des, SKB_DATA_ALIGN(ds), 0, SKB_DATA_ALIGN(ds)); in linkg_fhid_descriptors()
896 (void)memset_s(dev, sizeof(struct composite_devdesc_s), 0, sizeof(struct composite_devdesc_s)); in hid_get_composite_devdesc()
952 (void)memset_s(priv, sizeof(struct hid_dev_s), 0, sizeof(struct hid_dev_s)); in hid_classobject()
H A Df_uvc.c1045 (void)memset_s(g_fuvc_frames_yuyv, sizeof(g_fuvc_frames_yuyv), 0, sizeof(g_fuvc_frames_yuyv)); in fuvc_frame_descriptors_get()
1057 (void)memset_s(g_fuvc_frames_h264, sizeof(g_fuvc_frames_h264), 0, sizeof(g_fuvc_frames_h264)); in fuvc_frame_descriptors_get()
1069 (void)memset_s(g_fuvc_frames_mjpeg, sizeof(g_fuvc_frames_mjpeg), 0, sizeof(g_fuvc_frames_mjpeg)); in fuvc_frame_descriptors_get()
1342 (void)memset_s(des, SKB_DATA_ALIGN(ds), 0, SKB_DATA_ALIGN(ds)); in link_fuvc_descriptors()
1578 (void)memset_s(&fuvc->probe_status, sizeof(fuvc->probe_status), 0, sizeof(fuvc->probe_status)); in fuvc_streaming_set()
1809 (void)memset_s(ctrl, sizeof(struct uvc_probe_commit_control1_1), in fuvc_fill_streaming_control()
2000 err = memset_s(req->buf, USB_COMP_EP0_BUFSIZ, 0, 64); in fuvc_handle_class_setup_control()
2265 (void)memset_s(&uvc_dev->format_info, sizeof(struct uvc_format_info), 0, sizeof(struct uvc_format_info)); in usbclass_uvc_bind()
2281 (void)memset_s(&(uvc_dev->vc_ctrlreq), sizeof(struct usbdev_req_s), 0, sizeof(struct usbdev_req_s)); in usbclass_uvc_bind()
2312 (void)memset_s( in usbclass_uvc_bind()
[all...]
H A Df_uac.c421 (void)memset_s(des, SKB_DATA_ALIGN(ds), 0, SKB_DATA_ALIGN(ds)); in link_fuac_descriptors()
676 (void)memset_s(&(uac->outputreq), sizeof(struct usbdev_req_s), 0, sizeof(struct usbdev_req_s)); in usbclass_uac_bind()
691 (void)memset_s(&uac->inputreq, sizeof(struct usbdev_req_s), 0, sizeof(struct usbdev_req_s)); in usbclass_uac_bind()
732 (void)memset_s(devinfo, sizeof(struct usbdev_devinfo_s), 0, sizeof(struct usbdev_devinfo_s)); in usbclass_uac_unbind()
923 (void)memset_s(dev, sizeof(struct composite_devdesc_s), 0, sizeof(struct composite_devdesc_s)); in uac_get_composite_devdesc()
979 (void)memset_s(priv, sizeof(struct uac_dev_s), 0, sizeof(struct uac_dev_s)); in uac_classobject()
H A Dcomposite.c283 ret = memset_s(config_tmp_buf, config_len, 0, config_len); in modify_config_descriptor_byspeed()
286 usb_err("memset_s failed, %d\n", ret); in modify_config_descriptor_byspeed()
309 ret = memset_s(req->buf, USB_COMP_EP0_BUFSIZ, 0, config_len); in modify_config_descriptor_byspeed()
312 usb_err("memset_s failed, %d\n", ret); in modify_config_descriptor_byspeed()
826 (void)memset_s(priv, sizeof(struct composite_dev_s), 0, sizeof(struct composite_dev_s)); in composite_initialize()
H A Df_mass_storage_ram.c166 (void)memset_s(sc, sizeof(struct ram_storage_sc), 0, sizeof(struct ram_storage_sc)); in ram_mass_storage_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Dwpa_hal_event.c49 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventNewStaProcess()
79 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventDelStaProcess()
97 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventRxMgmtProcess()
120 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventTxStatusProcess()
227 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventConnectResultProcess()
269 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventDisconnectProcess()
296 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventRemainOnChannelProcess()
313 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventCancelRemainOnChannelProcess()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Dwpa_hal_event.c51 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventNewStaProcess()
81 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventDelStaProcess()
99 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventRxMgmtProcess()
122 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventTxStatusProcess()
229 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventConnectResultProcess()
271 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventDisconnectProcess()
298 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventRemainOnChannelProcess()
315 (void)memset_s(&event, sizeof(union wpa_event_data), 0, sizeof(union wpa_event_data)); in WifiWpaEventCancelRemainOnChannelProcess()
/third_party/skia/src/ports/skia_ohos/
H A DFontInfo_ohos.h25 memset_s(&axisSet, sizeof(AxisSet), 0, sizeof(AxisSet)); in FontInfo()
66 memset_s(&axisSet, sizeof(axisSet), 0, sizeof(axisSet)); in FontInfo()
/third_party/FreeBSD/stand/usb/
H A Dusb_busdma_loader.c227 (void)memset_s(res.buffer, res.length, 0, res.length); in usbd_frame_zero()
282 (void)memset_s(ptr, size, 0, size); in usb_pc_alloc_mem()
418 (void)memset_s(udpt, sizeof(*udpt), 0, sizeof(*udpt)); in usb_dma_tag_setup()
439 (void)memset_s(udt, sizeof(*udt), 0, sizeof(*udt)); in usb_dma_tag_setup()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dscatterlist.h83 (void)memset_s(psgl, sizeof(*psgl) * nents, 0, sizeof(*psgl) * nents); in sg_init_table()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/src/
H A Dcm_log.c32 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in CmLog()
/third_party/NuttX/fs/inode/
H A Dfs_files.c760 (VOID)memset_s(data, 2 * sizeof(fd_set), 0, 2 * sizeof(fd_set)); in alloc_fd_table()
791 memset_s(files->workdir, PATH_MAX, 0, PATH_MAX); in alloc_files()
832 memset_s(files->workdir, PATH_MAX, 0, PATH_MAX); in dup_fd()
922 memset_s(files->workdir, PATH_MAX, 0, PATH_MAX); in create_files_snapshot()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/
H A Ddriver_nl80211_hisi.c211 ret_s = memset_s(&ifr, sizeof(ifr), 0, sizeof(ifr)); in wpa_driver_nl80211_driver_cmd()
245 ret_s = memset_s(buf, buf_len, 0, buf_len); in wpa_driver_nl80211_driver_cmd()
361 ret_s = memset_s(buf, sizeof(buf), 0, sizeof(buf)); in wpa_driver_set_ap_wps_p2p_ie()
653 ret_s = memset_s(&ifr, sizeof(ifr), 0, sizeof(ifr)); in wpa_send_cmd_to_driver()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
H A Ddriver_nl80211_hisi.c199 ret_s = memset_s(&ifr, sizeof(ifr), 0, sizeof(ifr)); in wpa_driver_nl80211_driver_cmd()
233 ret_s = memset_s(buf, buf_len, 0, buf_len); in wpa_driver_nl80211_driver_cmd()
347 ret_s = memset_s(buf, sizeof(buf), 0, sizeof(buf)); in wpa_driver_set_ap_wps_p2p_ie()
620 ret_s = memset_s(&ifr, sizeof(ifr), 0, sizeof(ifr)); in wpa_send_cmd_to_driver()
/third_party/musl/porting/liteos_a_newlib/kernel/src/
H A Dmalloc.c94 (void)memset_s(ptr, real_size, 0, real_size); in __wrap__calloc_r()
/third_party/bounds_checking_function/src/
H A Dmemset_s.c11 * Description: memset_s function
435 SECUREC_ERROR_INVALID_RANGE("memset_s"); in SecMemsetError()
439 SECUREC_ERROR_INVALID_PARAMTER("memset_s"); in SecMemsetError()
443 SECUREC_ERROR_INVALID_RANGE("memset_s"); in SecMemsetError()
449 * The memset_s function copies the value of c (converted to an unsigned char)
469 errno_t memset_s(void *dest, size_t destMax, int c, size_t count) in memset_s() function
480 EXPORT_SYMBOL(memset_s); variable
/third_party/jerryscript/jerry-core/api/
H A Dgenerate-bytecode.c23 extern int memset_s(void *dest, size_t destMax, int c, size_t count);
58 if (memset_s(res, res_len + 1, 0, res_len + 1) != 0) { in splice_path()
98 if (memset_s(output_file_path, len + 1, 0, len + 1) != 0) { in get_output_file_path()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Dobj_res.c157 (void)memset_s(data, size, 0, size); in usbm_zalloc()
H A Dusbd_config.c103 memset_s(buf, size, 0, size); in fconfig_get_string()
167 memset_s(gi, sizeof(*gi), 0, sizeof(*gi)); in gadget_make()
283 memset_s(cfg, sizeof(*cfg), 0, sizeof(*cfg)); in fconfig_alloc_gadget_cfg()
426 memset_s(dev_strings, size, 0, size); in fconfig_fill_strings()
546 memset_s(func_inst, sizeof(*func_inst), 0, sizeof(*func_inst)); in fconfig_do_make_function()
/third_party/mbedtls/library/
H A Dplatform_util.c33 #define __STDC_WANT_LIB_EXT1__ 1 /* Ask for the C11 gmtime_s() and memset_s() if available */
110 memset_s(buf, len, 0, len); in mbedtls_platform_zeroize()

Completed in 22 milliseconds

123