Home
last modified time | relevance | path

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

/lib/
Dtest-string_helpers.c77 int len = strlen(strings[i].in); in test_string_unescape()
86 len = strlen(strings[i].out); in test_string_unescape()
328 len = strlen(s2->in); in test_string_escape()
333 len = strlen(out); in test_string_escape()
367 if (!memcmp(res, exp, strlen(exp) + 1)) in test_string_get_size_check()
422 int len = strlen(strings_upper[i].in) + 1; in test_string_upper_lower()
440 int len = strlen(strings_lower[i].in) + 1; in test_string_upper_lower()
Dstring.c143 size_t ret = strlen(src); in strlcpy()
357 size_t dsize = strlen(dest); in strlcat()
358 size_t len = strlen(src); in strlcat()
546 size = strlen(s); in strim()
564 size_t strlen(const char *s) in strlen() function
572 EXPORT_SYMBOL(strlen);
1004 l2 = strlen(s2); in strstr()
1007 l1 = strlen(s1); in strstr()
1030 l2 = strlen(s2); in strnstr()
Dglobtest.c147 p += strlen(p) + 1; in glob_init()
149 p += strlen(p) + 1; in glob_init()
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()
Dnet_utils.c12 if (strlen(s) < 3 * ETH_ALEN - 1) in mac_pton()
Dbootconfig.c129 int len = strlen(p); in xbc_node_match_prefix()
452 ret = p + strlen(p); in skip_comment()
752 wlen = strlen(xbc_node_get_data(n)) + 1; in xbc_verify_tree()
773 len -= strlen(xbc_node_get_data(n)) + 1; in xbc_verify_tree()
828 ret = strlen(buf); in xbc_init()
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()
Dkobject.c141 length += strlen(kobject_name(parent)) + 1; in get_kobj_path_length()
153 int cur = strlen(kobject_name(parent)); in fill_kobj_path()
519 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
585 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
Ddynamic_debug.c78 int skip = strlen(__FILE__) - strlen("lib/dynamic_debug.c"); in trim_prefix()
128 fmtlen = strlen(query->format); in vpr_info_dq()
724 if (strlen(str) >= DDEBUG_STRING_SIZE) { in ddebug_setup_query()
Dkobject_uevent.c289 len = strlen(action_string) + strlen(devpath) + 2; in alloc_uevent_skb()
432 len = strlen(env->envp[i]) + 1; in zap_modalias_env()
Dtest_printf.c137 __test(expect, strlen(expect), fmt, ##__VA_ARGS__)
238 if (strncmp(buf, ZEROS, strlen(ZEROS)) != 0) in plain_format()
Dparser.c60 size_t str_len = strlen(s); in match_one()
Dtest_hexdump.c100 size_t amount = strlen(q); in test_hexdump_prepare_test()
Dseq_buf.c144 size_t len = strlen(str); in seq_buf_puts()
Dstring_helpers.c578 slen = strlen(src); in kstrdup_quotable()
Dtest_bitmap.c441 size_t len = test.flags & NO_LEN ? UINT_MAX : strlen(test.in); in test_bitmap_parse()
Dvsprintf.c989 if (isdigit(hd->disk_name[strlen(hd->disk_name)-1])) { in bdev_name()
2988 len = strlen(save_str) + 1; in vbin_printf()
3164 args += strlen(str_arg) + 1; in bstr_printf()
3188 len = copy = strlen(args); in bstr_printf()
Dnlattr.c817 int len = strlen(str); in nla_strcmp()
Dtest_kasan.c882 KUNIT_EXPECT_KASAN_FAIL(test, kasan_int_result = strlen(ptr)); in kasan_strings()
Dtest_firmware.c195 strlen(TEST_FIRMWARE_NAME), GFP_KERNEL); in __test_firmware_config_init()
/lib/kunit/
Dtest.c32 len_left = KUNIT_LOG_SIZE - strlen(log) - 1; in kunit_log_append()
/lib/mpi/
Dmpicoder.c133 nbits = strlen(str); in mpi_fromstr()