Searched refs:strlen (Results 1 – 22 of 22) sorted by relevance
/lib/ |
D | string.c | 143 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()
|
D | globtest.c | 147 p += strlen(p) + 1; in glob_init() 149 p += strlen(p) + 1; in glob_init()
|
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() 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()
|
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 | dynamic_debug.c | 73 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()
|
D | net_utils.c | 12 if (strlen(s) < 3 * ETH_ALEN - 1) in mac_pton()
|
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 | crc-t10dif.c | 30 strncmp(alg->cra_name, CRC_T10DIF_STRING, strlen(CRC_T10DIF_STRING))) in crc_t10dif_rehash()
|
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() 511 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename() 577 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
|
D | kobject_uevent.c | 288 len = strlen(action_string) + strlen(devpath) + 2; in alloc_uevent_skb() 431 len = strlen(env->envp[i]) + 1; in zap_modalias_env()
|
D | test_printf.c | 133 __test(expect, strlen(expect), fmt, ##__VA_ARGS__) 233 if (strncmp(buf, ZEROS, strlen(ZEROS)) != 0) in plain_format()
|
D | parser.c | 59 size_t str_len = strlen(s); in match_one()
|
D | seq_buf.c | 143 size_t len = strlen(str); in seq_buf_puts()
|
D | test_hexdump.c | 100 size_t amount = strlen(q); in test_hexdump_prepare_test()
|
D | test_bitmap.c | 298 size_t len = strlen(ptest.in); in __test_bitmap_parselist()
|
D | string_helpers.c | 578 slen = strlen(src); in kstrdup_quotable()
|
D | test_kasan.c | 656 strlen(ptr); in kasan_strings()
|
D | vsprintf.c | 912 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()
|
D | nlattr.c | 607 int len = strlen(str); in nla_strcmp()
|
D | test_firmware.c | 178 strlen(TEST_FIRMWARE_NAME), GFP_KERNEL); in __test_firmware_config_init()
|