Home
last modified time | relevance | path

Searched refs:strncmp (Results 1 – 11 of 11) sorted by relevance

/lib/kunit/
Dassert.c108 ret = strncmp(buffer, text, len) == 0; in is_literal()
179 return strncmp(text + 1, value, len - 2) == 0; in is_str_literal()
/lib/
Dtest_printf.c232 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()
Dtest_strscpy.c67 if (strncmp(buf, src, count - 1) != 0) { in tc()
Dcmdline.c206 if (!strncmp(str, option, strlen(option))) { in parse_option_str()
Dparser.c39 if (strncmp(p, s, meta-p)) in match_one()
Dstring.c404 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() function
419 EXPORT_SYMBOL(strncmp);
Dkobject_uevent.c85 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()
Dbootconfig.c131 if (strncmp(*prefix, p, len)) in xbc_node_match_prefix()
Dtest_bitmap.c167 eq = strncmp(exp_str, str, len) == 0; in __check_eq_str()
Ddynamic_debug.c80 if (strncmp(path, __FILE__, skip)) in trim_prefix()
Dtest_kasan.c981 KUNIT_EXPECT_KASAN_FAIL(test, kasan_int_result = strncmp(ptr, "2", 1)); in kasan_strings()