Searched refs:strlen (Results 1 – 24 of 24) sorted by relevance
/lib/ |
D | test-string_helpers.c | 77 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()
|
D | string.c | 143 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()
|
D | globtest.c | 147 p += strlen(p) + 1; in glob_init() 149 p += strlen(p) + 1; in glob_init()
|
D | test_string.c | 122 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()
|
D | cmdline.c | 180 if (!strncmp(str, option, strlen(option))) { in parse_option_str() 181 str += strlen(option); in parse_option_str()
|
D | net_utils.c | 12 if (strlen(s) < 3 * ETH_ALEN - 1) in mac_pton()
|
D | bootconfig.c | 129 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()
|
D | test_kmod.c | 744 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()
|
D | earlycpio.c | 67 size_t mypathsize = strlen(path); in find_cpio_data()
|
D | kobject.c | 141 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()
|
D | dynamic_debug.c | 78 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()
|
D | kobject_uevent.c | 289 len = strlen(action_string) + strlen(devpath) + 2; in alloc_uevent_skb() 432 len = strlen(env->envp[i]) + 1; in zap_modalias_env()
|
D | test_printf.c | 137 __test(expect, strlen(expect), fmt, ##__VA_ARGS__) 238 if (strncmp(buf, ZEROS, strlen(ZEROS)) != 0) in plain_format()
|
D | parser.c | 60 size_t str_len = strlen(s); in match_one()
|
D | test_hexdump.c | 100 size_t amount = strlen(q); in test_hexdump_prepare_test()
|
D | seq_buf.c | 144 size_t len = strlen(str); in seq_buf_puts()
|
D | string_helpers.c | 578 slen = strlen(src); in kstrdup_quotable()
|
D | test_bitmap.c | 441 size_t len = test.flags & NO_LEN ? UINT_MAX : strlen(test.in); in test_bitmap_parse()
|
D | vsprintf.c | 989 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()
|
D | nlattr.c | 817 int len = strlen(str); in nla_strcmp()
|
D | test_kasan.c | 882 KUNIT_EXPECT_KASAN_FAIL(test, kasan_int_result = strlen(ptr)); in kasan_strings()
|
D | test_firmware.c | 195 strlen(TEST_FIRMWARE_NAME), GFP_KERNEL); in __test_firmware_config_init()
|
/lib/kunit/ |
D | test.c | 32 len_left = KUNIT_LOG_SIZE - strlen(log) - 1; in kunit_log_append()
|
/lib/mpi/ |
D | mpicoder.c | 133 nbits = strlen(str); in mpi_fromstr()
|