Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 22 of 22) sorted by relevance

/lib/
Dstring.c143 size_t ret = strlen(src); in strlcpy()
333 size_t dsize = strlen(dest); in strlcat()
334 size_t len = strlen(src); in strlcat()
505 size = strlen(s); in strim()
523 size_t strlen(const char *s) in strlen() function
531 EXPORT_SYMBOL(strlen);
947 l2 = strlen(s2); in strstr()
950 l1 = strlen(s1); in strstr()
973 l2 = strlen(s2); in strnstr()
Dglobtest.c147 p += strlen(p) + 1; in glob_init()
149 p += strlen(p) + 1; in glob_init()
Dtest-string_helpers.c77 int len = strlen(strings[i].in); in test_string_unescape()
86 len = strlen(strings[i].out); in test_string_unescape()
306 len = strlen(s2->in); in test_string_escape()
311 len = strlen(out); in test_string_escape()
345 if (!memcmp(res, exp, strlen(exp) + 1)) in test_string_get_size_check()
Dtest_string.c122 for (i = 0; i < strlen(test_string) + 1; i++) { in strchr_selftest()
150 for (i = 0; i < strlen(test_string) + 1; i++) { in strnchr_selftest()
151 for (j = 0; j < strlen(test_string) + 2; j++) { in strnchr_selftest()
Dcmdline.c180 if (!strncmp(str, option, strlen(option))) { in parse_option_str()
181 str += strlen(option); in parse_option_str()
Ddynamic_debug.c73 int skip = strlen(__FILE__) - strlen("lib/dynamic_debug.c"); in trim_prefix()
120 fmtlen = strlen(query->format); in vpr_info_dq()
681 if (strlen(str) >= DDEBUG_STRING_SIZE) { in ddebug_setup_query()
1025 verbose_bytes += strlen(iter->modname) + strlen(iter->function) in dynamic_debug_init()
1026 + strlen(iter->filename) + strlen(iter->format); in dynamic_debug_init()
Dnet_utils.c12 if (strlen(s) < 3 * ETH_ALEN - 1) in mac_pton()
Dtest_kmod.c744 strlen(test_str)); in trigger_config_run_type()
750 strlen(test_str)); in trigger_config_run_type()
761 if (copied <= 0 || copied != strlen(test_str)) { in trigger_config_run_type()
815 strlen(TEST_START_DRIVER)); in __kmod_config_init()
816 if (copied != strlen(TEST_START_DRIVER)) in __kmod_config_init()
820 strlen(TEST_START_TEST_FS)); in __kmod_config_init()
821 if (copied != strlen(TEST_START_TEST_FS)) in __kmod_config_init()
Dearlycpio.c67 size_t mypathsize = strlen(path); in find_cpio_data()
Dcrc-t10dif.c30 strncmp(alg->cra_name, CRC_T10DIF_STRING, strlen(CRC_T10DIF_STRING))) in crc_t10dif_rehash()
Dkobject.c141 length += strlen(kobject_name(parent)) + 1; in get_kobj_path_length()
153 int cur = strlen(kobject_name(parent)); in fill_kobj_path()
511 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
577 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
Dkobject_uevent.c288 len = strlen(action_string) + strlen(devpath) + 2; in alloc_uevent_skb()
431 len = strlen(env->envp[i]) + 1; in zap_modalias_env()
Dtest_printf.c133 __test(expect, strlen(expect), fmt, ##__VA_ARGS__)
233 if (strncmp(buf, ZEROS, strlen(ZEROS)) != 0) in plain_format()
Dparser.c59 size_t str_len = strlen(s); in match_one()
Dseq_buf.c143 size_t len = strlen(str); in seq_buf_puts()
Dtest_hexdump.c100 size_t amount = strlen(q); in test_hexdump_prepare_test()
Dtest_bitmap.c298 size_t len = strlen(ptest.in); in __test_bitmap_parselist()
Dstring_helpers.c578 slen = strlen(src); in kstrdup_quotable()
Dtest_kasan.c656 strlen(ptr); in kasan_strings()
Dvsprintf.c912 if (isdigit(hd->disk_name[strlen(hd->disk_name)-1])) { in bdev_name()
2827 len = strlen(save_str) + 1; in vbin_printf()
3004 args += strlen(str_arg) + 1; in bstr_printf()
3029 len = copy = strlen(args); in bstr_printf()
Dnlattr.c607 int len = strlen(str); in nla_strcmp()
Dtest_firmware.c178 strlen(TEST_FIRMWARE_NAME), GFP_KERNEL); in __test_firmware_config_init()