/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/ |
H A D | string.h | 519 * @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 D | uboot.c | 94 n = strnlen(commandp, size); in process_uboot_commandline()
|
/kernel/linux/linux-6.6/arch/m68k/kernel/ |
H A D | uboot.c | 94 n = strnlen(commandp, size); in process_uboot_commandline()
|
/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
H A D | libfdt_env.h | 72 /* strnlen() is not available on Mac OS < 10.7 */ 76 #define strnlen fdt_strnlen macro
|
/kernel/linux/linux-5.10/fs/qnx4/ |
H A D | dir.c | 94 size = strnlen(de->de_name, size); in qnx4_readdir()
|
/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | qcom_pil_info.c | 107 memcpy_toio(entry, image, strnlen(image, PIL_RELOC_NAME_LEN)); in qcom_pil_info_store()
|
/kernel/linux/linux-6.6/fs/qnx4/ |
H A D | dir.c | 94 size = strnlen(de->de_name, size); in qnx4_readdir()
|
/kernel/linux/linux-6.6/drivers/remoteproc/ |
H A D | qcom_pil_info.c | 107 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 D | libfdt_env.h | 72 /* 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 D | string.h | 67 size_t strnlen (const char *, size_t);
|
/third_party/musl/src/passwd/ |
H A D | nscd_query.c | 26 strnlen(key,LOGIN_NAME_MAX)+1 in __nscd_query()
|
/third_party/musl/porting/linux/user/include/ |
H A D | string.h | 69 size_t strnlen (const char *, size_t);
|
/third_party/musl/porting/liteos_a/user/src/passwd/ |
H A D | nscd_query.c | 26 strnlen(key,LOGIN_NAME_MAX)+1 in __nscd_query()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | string.h | 67 size_t strnlen (const char *, size_t);
|
/third_party/musl/include/ |
H A D | string.h | 69 size_t strnlen (const char *, size_t);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/himedia/ |
H A D | base.c | 315 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 D | kutf_helpers_user.c | 341 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 D | cma_configfs.c | 143 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 D | xt_CT.c | 184 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 D | netlink.h | 34 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 D | ni_routes.c | 62 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 D | cma_configfs.c | 142 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 D | xt_CT.c | 198 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 D | xts_io_string_test.c | 230 * @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 D | netlink.h | 34 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()
|