Searched refs:strncmp (Results 1 – 11 of 11) sorted by relevance
/lib/kunit/ |
D | assert.c | 108 ret = strncmp(buffer, text, len) == 0; in is_literal() 179 return strncmp(text + 1, value, len - 2) == 0; in is_str_literal()
|
/lib/ |
D | test_printf.c | 232 if (strncmp(buf, PTR_VAL_NO_CRNG, PTR_WIDTH) == 0) { in plain_format() 238 if (strncmp(buf, ZEROS, strlen(ZEROS)) != 0) in plain_format() 272 if (strncmp(buf, PTR_VAL_NO_CRNG, PTR_WIDTH) == 0) { in plain_hash_to_buffer() 291 if (strncmp(buf, PTR_STR, PTR_WIDTH) == 0) in plain_hash()
|
D | test_strscpy.c | 67 if (strncmp(buf, src, count - 1) != 0) { in tc()
|
D | cmdline.c | 206 if (!strncmp(str, option, strlen(option))) { in parse_option_str()
|
D | parser.c | 39 if (strncmp(p, s, meta-p)) in match_one()
|
D | string.c | 404 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() function 419 EXPORT_SYMBOL(strncmp);
|
D | kobject_uevent.c | 85 if (strncmp(kobject_actions[action], buf, count_first) != 0) in kobject_action_type() 426 if (strncmp(env->envp[i], modalias_prefix, in zap_modalias_env()
|
D | bootconfig.c | 131 if (strncmp(*prefix, p, len)) in xbc_node_match_prefix()
|
D | test_bitmap.c | 167 eq = strncmp(exp_str, str, len) == 0; in __check_eq_str()
|
D | dynamic_debug.c | 80 if (strncmp(path, __FILE__, skip)) in trim_prefix()
|
D | test_kasan.c | 981 KUNIT_EXPECT_KASAN_FAIL(test, kasan_int_result = strncmp(ptr, "2", 1)); in kasan_strings()
|