Searched refs:strncmp (Results 1 – 12 of 12) sorted by relevance
/lib/kunit/ |
D | attributes.c | 82 if (!strncmp(op, "<=", 2)) in int_filter() 84 else if (!strncmp(op, ">=", 2)) in int_filter() 86 else if (!strncmp(op, "!=", 2)) in int_filter() 88 else if (!strncmp(op, ">", 1)) in int_filter() 90 else if (!strncmp(op, "<", 1)) in int_filter() 92 else if (!strncmp(op, "=", 1)) in int_filter() 151 if (!strncmp(input, "<", 1)) { in attr_string_filter() 155 } else if (!strncmp(input, ">", 1)) { in attr_string_filter() 159 } else if (!strncmp(input, "!=", 2)) { in attr_string_filter() 161 } else if (!strncmp(input, "=", 1)) { in attr_string_filter()
|
D | assert.c | 108 ret = strncmp(buffer, text, len) == 0; in is_literal() 181 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_firmware.c | 144 if (strncmp(name, tst->name, strlen(tst->name)) == 0) in upload_lookup_name() 1143 if (strncmp(p, fw_upload_err_str[err], in upload_err_inject_error() 1161 if (strncmp(p, progs[i], strlen(progs[i])) == 0) { in upload_err_inject_prog() 1197 if (strncmp(data, "inject:", strlen("inject:")) == 0) in test_fw_upload_prepare() 1204 strncmp(tst->inject.prog, progress, strlen(progress)) != 0) in test_fw_upload_prepare() 1240 strncmp(tst->inject.prog, progress, strlen(progress)) != 0) in test_fw_upload_write() 1258 strncmp(tst->inject.prog, progress, strlen(progress)) != 0) in test_fw_upload_complete()
|
D | cmdline.c | 206 if (!strncmp(str, option, strlen(option))) { in parse_option_str()
|
D | strscpy_kunit.c | 54 KUNIT_ASSERT_EQ_MSG(test, 0, strncmp(buf, src, count - 1), in tc()
|
D | parser.c | 48 if (strncmp(p, s, meta-p)) in match_one()
|
D | string.c | 300 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() function 315 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 | test_bitmap.c | 169 eq = strncmp(exp_str, str, len) == 0; in __check_eq_str() 520 if (strncmp(buf, expected, slen)) { in test_bitmap_printlist()
|
D | bootconfig.c | 199 if (strncmp(*prefix, p, len)) in xbc_node_match_prefix()
|
D | dynamic_debug.c | 85 if (strncmp(path, __FILE__, skip)) in trim_prefix()
|