Home
last modified time | relevance | path

Searched refs:strnlen (Results 76 - 100 of 518) sorted by relevance

12345678910>>...21

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Dstring.h519 * @see strnlen | wcslen
644 * The strnlen() function returns the number of characters in the string
646 * most maxlen. In doing this, strnlen() looks only at the first maxlen
655 * @retval #size_t The strnlen() function returns the number of characters in the string
663 size_t strnlen (const char *, size_t);
/kernel/linux/linux-5.10/arch/m68k/kernel/
H A Duboot.c94 n = strnlen(commandp, size); in process_uboot_commandline()
/kernel/linux/linux-6.6/arch/m68k/kernel/
H A Duboot.c94 n = strnlen(commandp, size); in process_uboot_commandline()
/kernel/linux/linux-5.10/scripts/dtc/libfdt/
H A Dlibfdt_env.h72 /* strnlen() is not available on Mac OS < 10.7 */
76 #define strnlen fdt_strnlen macro
/kernel/linux/linux-5.10/fs/qnx4/
H A Ddir.c94 size = strnlen(de->de_name, size); in qnx4_readdir()
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dqcom_pil_info.c107 memcpy_toio(entry, image, strnlen(image, PIL_RELOC_NAME_LEN)); in qcom_pil_info_store()
/kernel/linux/linux-6.6/fs/qnx4/
H A Ddir.c94 size = strnlen(de->de_name, size); in qnx4_readdir()
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dqcom_pil_info.c107 memcpy_toio(entry, image, strnlen(image, PIL_RELOC_NAME_LEN)); in qcom_pil_info_store()
/kernel/linux/linux-6.6/scripts/dtc/libfdt/
H A Dlibfdt_env.h72 /* strnlen() is not available on Mac OS < 10.7 */
76 #define strnlen fdt_strnlen macro
/third_party/musl/porting/liteos_m/user/include/
H A Dstring.h67 size_t strnlen (const char *, size_t);
/third_party/musl/src/passwd/
H A Dnscd_query.c26 strnlen(key,LOGIN_NAME_MAX)+1 in __nscd_query()
/third_party/musl/porting/linux/user/include/
H A Dstring.h69 size_t strnlen (const char *, size_t);
/third_party/musl/porting/liteos_a/user/src/passwd/
H A Dnscd_query.c26 strnlen(key,LOGIN_NAME_MAX)+1 in __nscd_query()
/third_party/musl/porting/uniproton/kernel/include/
H A Dstring.h67 size_t strnlen (const char *, size_t);
/third_party/musl/include/
H A Dstring.h69 size_t strnlen (const char *, size_t);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/himedia/
H A Dbase.c315 pdrv = kzalloc(sizeof(struct himedia_driver) + strnlen(name, HIMIDIA_MAX_DEV_NAME_LEN), GFP_KERNEL); in himedia_driver_register()
321 if (strncpy_s(pdrv->name, HIMIDIA_MAX_DEV_NAME_LEN, name, strnlen(name, HIMIDIA_MAX_DEV_NAME_LEN - 1)) != EOK) { in himedia_driver_register()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tests/kutf/
H A Dkutf_helpers_user.c341 int len_remain = strnlen(recv_str, recv_sz); in kutf_helper_receive_named_val()
356 if (strnlen(recv_str, recv_sz) != 0) { in kutf_helper_receive_named_val()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dcma_configfs.c143 return !ret ? strnlen(buf, count) : ret; in default_roce_mode_store()
184 return ret ? ret : strnlen(buf, count); in default_roce_tos_store()
/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_CT.c184 if (strnlen(info->helper, sizeof(info->helper)) == sizeof(info->helper)) { in xt_ct_tg_check()
195 if (strnlen(info->timeout, sizeof(info->timeout)) == sizeof(info->timeout)) { in xt_ct_tg_check()
/kernel/linux/linux-5.10/net/ethtool/
H A Dnetlink.h34 return nla_total_size(strnlen(s, ETH_GSTRING_LEN) + 1); in ethnl_strz_size()
50 unsigned int len = strnlen(s, ETH_GSTRING_LEN); in ethnl_put_strz()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dni_routes.c62 strnlen(device_family, 30)) == 0) { in ni_find_route_values()
81 strnlen(board_name, 30)) == 0) { in ni_find_valid_routes()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dcma_configfs.c142 return !ret ? strnlen(buf, count) : ret; in default_roce_mode_store()
183 return ret ? ret : strnlen(buf, count); in default_roce_tos_store()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_CT.c198 if (strnlen(info->helper, sizeof(info->helper)) == sizeof(info->helper)) { in xt_ct_tg_check()
209 if (strnlen(info->timeout, sizeof(info->timeout)) == sizeof(info->timeout)) { in xt_ct_tg_check()
/kernel/liteos_m/testsuites/unittest/xts/io/
H A Dxts_io_string_test.c230 * @tc.name strnlen basic function test
239 size_t ret = strnlen(src, ltSrcSize);
242 ret = strnlen(src, gtSrcSize);
/kernel/linux/linux-6.6/net/ethtool/
H A Dnetlink.h34 return nla_total_size(strnlen(s, ETH_GSTRING_LEN) + 1); in ethnl_strz_size()
50 unsigned int len = strnlen(s, ETH_GSTRING_LEN); in ethnl_put_strz()

Completed in 11 milliseconds

12345678910>>...21