| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | rte_malloc.c | 265 strnlen(name, RTE_HEAP_NAME_MAX_LEN) == 0 || in rte_malloc_heap_get_socket() 266 strnlen(name, RTE_HEAP_NAME_MAX_LEN) == in rte_malloc_heap_get_socket() 410 strnlen(heap_name, RTE_HEAP_NAME_MAX_LEN) == 0 || in rte_malloc_heap_memory_add() 411 strnlen(heap_name, RTE_HEAP_NAME_MAX_LEN) == in rte_malloc_heap_memory_add() 459 strnlen(heap_name, RTE_HEAP_NAME_MAX_LEN) == 0 || in rte_malloc_heap_memory_remove() 460 strnlen(heap_name, RTE_HEAP_NAME_MAX_LEN) == in rte_malloc_heap_memory_remove() 508 strnlen(heap_name, RTE_HEAP_NAME_MAX_LEN) == 0 || in sync_memory() 509 strnlen(heap_name, RTE_HEAP_NAME_MAX_LEN) == in sync_memory() 586 strnlen(heap_name, RTE_HEAP_NAME_MAX_LEN) == 0 || in rte_malloc_heap_create() 587 strnlen(heap_name, RTE_HEAP_NAME_MAX_LEN) == in rte_malloc_heap_create() [all …]
|
| H A D | eal_common_memalloc.c | 159 len = strnlen(name, RTE_MEM_EVENT_CALLBACK_NAME_LEN); in eal_memalloc_mem_event_callback_register() 209 len = strnlen(name, RTE_MEM_EVENT_CALLBACK_NAME_LEN); in eal_memalloc_mem_event_callback_unregister() 265 len = strnlen(name, RTE_MEM_ALLOC_VALIDATOR_NAME_LEN); in eal_memalloc_mem_alloc_validator_register() 316 len = strnlen(name, RTE_MEM_ALLOC_VALIDATOR_NAME_LEN); in eal_memalloc_mem_alloc_validator_unregister()
|
| /f-stack/dpdk/lib/librte_mbuf/ |
| H A D | rte_mbuf_pool_ops.c | 17 size_t len = strnlen(ops_name, RTE_MEMPOOL_OPS_NAMESIZE); in rte_mbuf_set_platform_mempool_ops() 57 size_t len = strnlen(ops_name, RTE_MEMPOOL_OPS_NAMESIZE); in rte_mbuf_set_user_mempool_ops()
|
| /f-stack/dpdk/examples/cmdline/ |
| H A D | parse_obj_list.c | 51 if (token_len != strnlen(o->name, OBJ_NAME_LEN_MAX)) in parse_obj_list() 96 len = strnlen(o->name, OBJ_NAME_LEN_MAX); in complete_get_elt_obj_list()
|
| /f-stack/dpdk/lib/librte_cmdline/ |
| H A D | cmdline_parse.c | 341 partial_tok_len = strnlen(partial_tok, RDLINE_BUF_SIZE); in cmdline_complete() 381 tmp_len = strnlen(tmpbuf, sizeof(tmpbuf)); in cmdline_complete() 398 strnlen(tmpbuf + partial_tok_len, in cmdline_complete() 492 tmp_len = strnlen(tmpbuf, sizeof(tmpbuf)); in cmdline_complete()
|
| H A D | cmdline.c | 160 histlen = strnlen(history, RDLINE_BUF_SIZE); in cmdline_in() 166 buflen = strnlen(buffer, RDLINE_BUF_SIZE); in cmdline_in()
|
| H A D | cmdline_rdline.c | 66 rdl->prompt_size = strnlen(prompt, RDLINE_PROMPT_SIZE-1); in rdline_newline() 380 tmp_size = strnlen(tmp_buf, sizeof(tmp_buf)); in rdline_char_in() 446 cirbuf_add_buf_tail(&rdl->left, buf, strnlen(buf, RDLINE_BUF_SIZE)); in rdline_char_in() 463 cirbuf_add_buf_tail(&rdl->left, buf, strnlen(buf, RDLINE_BUF_SIZE)); in rdline_char_in() 575 len = strnlen(buf, RDLINE_BUF_SIZE); in rdline_add_history()
|
| H A D | cmdline_vt100.c | 65 cmdlen = strnlen(cmd, CMDLINE_VT100_BUF_SIZE); in match_command()
|
| /f-stack/freebsd/libkern/ |
| H A D | strnlen.c | 35 strnlen(const char *s, size_t maxlen) in strnlen() function
|
| H A D | strndup.c | 46 len = strnlen(string, maxlen) + 1; in strndup()
|
| H A D | iconv.c | 421 if (strnlen(din.ia_from, sizeof(din.ia_from)) >= ICONV_CSNMAXLEN) in iconv_sysctl_add() 423 if (strnlen(din.ia_to, sizeof(din.ia_to)) >= ICONV_CSNMAXLEN) in iconv_sysctl_add() 425 if (strnlen(din.ia_converter, sizeof(din.ia_converter)) >= ICONV_CNVNMAXLEN) in iconv_sysctl_add()
|
| /f-stack/dpdk/lib/librte_power/ |
| H A D | power_common.c | 44 end_idx = strnlen(readbuf, sizeof(readbuf)); in cpufreq_check_scaling_driver()
|
| /f-stack/freebsd/contrib/ncsw/inc/ |
| H A D | stdlib_ext.h | 86 size_t strnlen(const char * s, size_t count);
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/os/freebsd/ |
| H A D | zutil_device_path_os.c | 51 return (strnlen(path, max_len)); in zfs_append_partition()
|
| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_string_fns.h | 72 size_t l = strnlen(dst, size); in rte_strlcat()
|
| /f-stack/freebsd/contrib/openzfs/lib/libuutil/ |
| H A D | uu_alloc.c | 79 len = strnlen(s, n); in uu_strndup()
|
| /f-stack/freebsd/contrib/libfdt/ |
| H A D | libfdt_env.h | 127 #define strnlen fdt_strnlen macro
|
| H A D | fdt_ro.c | 649 length = strnlen(list, end - list) + 1; in fdt_stringlist_count() 676 length = strnlen(list, end - list) + 1; in fdt_stringlist_search() 710 length = strnlen(list, end - list) + 1; in fdt_stringlist_get()
|
| /f-stack/dpdk/lib/librte_vhost/ |
| H A D | vhost.h | 536 …snprintf(packet + strnlen(packet, VHOST_MAX_PRINT_BUFF), VHOST_MAX_PRINT_BUFF - strnlen(packet, VH… 539 …snprintf(packet + strnlen(packet, VHOST_MAX_PRINT_BUFF), VHOST_MAX_PRINT_BUFF - strnlen(packet, VH…
|
| /f-stack/freebsd/security/mac_veriexec_parser/ |
| H A D | mac_veriexec_parser.c | 175 if (strnlen(fp_type, min_len) < min_len) in get_fp() 338 if (strnlen(entry, MAXPATHLEN) == MAXPATHLEN) in parse_entry()
|
| /f-stack/dpdk/app/test-regex/ |
| H A D | main.c | 83 len = strnlen(optarg, MAX_FILE_NAME - 1); in args_parse() 91 len = strnlen(optarg, MAX_FILE_NAME - 1); in args_parse()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_nat.c | 591 if (strnlen(ucfg->name, sizeof(ucfg->name)) == sizeof(ucfg->name)) in nat44_cfg() 633 if (strnlen(ntlv->name, sizeof(ntlv->name)) == sizeof(ntlv->name)) in nat44_destroy() 698 if (strnlen(ucfg->name, sizeof(ucfg->name)) == sizeof(ucfg->name)) in nat44_get_cfg() 839 if (strnlen(ucfg->name, sizeof(ucfg->name)) == sizeof(ucfg->name)) in nat44_get_log()
|
| /f-stack/freebsd/sys/ |
| H A D | libkern.h | 188 size_t strnlen(const char *, size_t);
|
| /f-stack/freebsd/contrib/openzfs/module/icp/algs/aes/ |
| H A D | aes_impl.c | 368 i = strnlen(val, AES_IMPL_NAME_MAX); in aes_impl_set()
|
| /f-stack/dpdk/examples/qos_sched/ |
| H A D | args.c | 146 n_tokens = rte_strsplit(string, strnlen(string, 32), tokens, n_vals, separator); in app_parse_opt_vals()
|