/kernel/linux/linux-6.6/net/netrom/ |
H A D | nr_route.c | 651 if (strnlen(nr_route.mnemonic, 7) == 7) { in nr_rt_ioctl()
|
/third_party/libcoap/src/ |
H A D | coap_debug.c | 160 strnlen(const char *s, size_t maxlen) { in strnlen() function
|
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/ |
H A D | commands.c | 84 return nextarg ? nextarg + strspn(nextarg, whitespace) : args + strnlen(args, CMDBUFSZ); in get_next_arg()
|
/third_party/libwebsockets/lib/tls/openssl/ |
H A D | openssl-client.c | 27 /* Before glibc 2.10, strnlen required _GNU_SOURCE */ 313 strnlen(hostname, sizeof(hostname))); in lws_ssl_client_bio_create()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_string.cpp | 114 c += strnlen(bmstrnlenAligned, limitsize); in Bm_function_Strnlen()
|
/third_party/rust/crates/libc/src/windows/ |
H A D | mod.rs | 368 pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t; in strnlen() functions
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
H A D | MachOYAML.cpp | 39 auto Len = strnlen(&Val[0], 16); in output()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_link.c | 1488 if (strnlen(linkInfo->linkInfo.wlan.connInfo.addr, sizeof(linkInfo->linkInfo.wlan.connInfo.addr)) == 0 || in CreateWlanLinkInfo() 1489 strnlen(linkInfo->linkInfo.wlan.connInfo.addr, in CreateWlanLinkInfo()
|
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_lport.c | 1357 len = strnlen(fc_host_symbolic_name(lport->host), 255); in fc_lport_enter_ns() 1365 len = strnlen(fc_host_symbolic_name(lport->host), 255); in fc_lport_enter_ns()
|
/kernel/linux/linux-5.10/scripts/dtc/ |
H A D | checks.c | 231 l = strnlen(str, rem); in check_is_string_list() 939 str += strnlen(str, end - str) + 1) { in node_is_compatible()
|
/kernel/linux/linux-5.10/net/x25/ |
H A D | af_x25.c | 691 strnlen(addr->sx25_addr.x25_addr, X25_ADDR_LEN) == X25_ADDR_LEN) { in x25_bind() 786 strnlen(addr->sx25_addr.x25_addr, X25_ADDR_LEN) == X25_ADDR_LEN) in x25_connect()
|
/kernel/linux/linux-5.10/sound/core/ |
H A D | control.c | 1390 name_len = strnlen(p, buf_len); in snd_ctl_elem_init_enum_names() 1428 if (strnlen(info->id.name, sizeof(info->id.name)) >= sizeof(info->id.name)) in snd_ctl_elem_add()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/ |
H A D | composite.c | 900 if (strnlen(cdev->landing_page, sizeof(cdev->landing_page)) > 0) in bos_desc() 2184 landing_page_length = strnlen(cdev->landing_page, in composite_setup()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_bcm4377.c | 2046 idx += strnlen(chip_params, size - idx) + 1; in bcm4377_parse_otp_sys_vendor() 2053 idx += strnlen(board_params, size - idx); in bcm4377_parse_otp_sys_vendor()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | atom.c | 1345 name_size = strnlen(c_ptr, STRLEN_LONG - 1); in atom_get_vbios_name() 1389 str_len = strnlen(str, maxlen); in atom_find_str_in_rom()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-ioctl.c | 574 pfx_len = strnlen(pfx_name, DM_NAME_LEN); in filter_device() 582 pfx_len = strnlen(pfx_uuid, DM_UUID_LEN); in filter_device()
|
/kernel/linux/linux-6.6/net/x25/ |
H A D | af_x25.c | 681 strnlen(addr->sx25_addr.x25_addr, X25_ADDR_LEN) == X25_ADDR_LEN) { in x25_bind() 781 strnlen(addr->sx25_addr.x25_addr, X25_ADDR_LEN) == X25_ADDR_LEN) in x25_connect()
|
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_lport.c | 1366 len = strnlen(fc_host_symbolic_name(lport->host), 255); in fc_lport_enter_ns() 1374 len = strnlen(fc_host_symbolic_name(lport->host), 255); in fc_lport_enter_ns()
|
/kernel/linux/linux-6.6/sound/soc/sof/ |
H A D | topology.c | 1463 strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 ? w->sname : "none"); in sof_widget_ready() 1534 strnlen(tw->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 in sof_widget_ready()
|
/kernel/linux/linux-6.6/scripts/dtc/ |
H A D | checks.c | 239 l = strnlen(str, rem); in check_is_string_list() 960 str += strnlen(str, end - str) + 1) { in node_is_compatible()
|
/third_party/libcoap/examples/ |
H A D | coap-client.c | 1211 size_t len = strnlen(arg, maxlen); in cmdline_read_user() 1223 size_t len = strnlen(arg, maxlen); in cmdline_read_key()
|
/third_party/lame/frontend/ |
H A D | parse.c | 2050 int const arg_n = strnlen(nextArg, PATH_MAX); in parse_args_() 2060 int const arg_n = strnlen(nextArg, PATH_MAX); in parse_args_()
|
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.c | 490 return strnlen(buf, size); in lpfc_debugfs_multixripools_data() 507 return strnlen(buf, size); in lpfc_debugfs_multixripools_data() 517 return strnlen(buf, size); in lpfc_debugfs_multixripools_data() 522 return strnlen(buf, size); in lpfc_debugfs_multixripools_data() 566 return strnlen(buf, size); in lpfc_debugfs_multixripools_data() 1293 len = strnlen(buf, size); in lpfc_debugfs_scsistat_data() 1798 len = strnlen(buf, size); in lpfc_debugfs_hdwqstat_data()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_attr.c | 512 len = strnlen(buf, PAGE_SIZE); in lpfc_nvme_info_show() 520 strnlen(LPFC_NVME_INFO_MORE_STR, PAGE_SIZE - 1), in lpfc_nvme_info_show() 522 strnlen(LPFC_NVME_INFO_MORE_STR, PAGE_SIZE - 1) in lpfc_nvme_info_show() 575 len = strnlen(buf, PAGE_SIZE); in lpfc_scsi_stat_show()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | sdma.c | 1084 return ret ? : strnlen(buf, PAGE_SIZE); in sdma_set_cpu_to_sde_map() 1095 return strnlen(buf, PAGE_SIZE); in sdma_get_cpu_to_sde_map()
|