Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 25) sorted by relevance

/lib/kunit/
A Dattributes.c135 if (!strcmp(input_val, str_list[j])) in attr_enum_filter()
170 return (strcmp(input + 2, str) != 0); in attr_string_filter()
172 return (strcmp(input + 1, str) == 0); in attr_string_filter()
198 if (!strcmp(input_str, "true")) in attr_bool_filter()
200 else if (!strcmp(input_str, "false")) in attr_bool_filter()
368 if (!strcmp(input, kunit_attr_list[j].name)) { in kunit_next_attr_filter()
458 } else if (action && strcmp(action, "skip") == 0) { in kunit_filter_attr_tests()
A Dexecutor.c353 if (!strcmp(kunit_shutdown, "poweroff")) in kunit_handle_shutdown()
355 else if (!strcmp(kunit_shutdown, "halt")) in kunit_handle_shutdown()
357 else if (!strcmp(kunit_shutdown, "reboot")) in kunit_handle_shutdown()
404 else if (strcmp(action_param, "list") == 0) in kunit_run_all_tests()
406 else if (strcmp(action_param, "list_attr") == 0) in kunit_run_all_tests()
A Dplatform-test.c61 return strcmp(dev_name(dev), data) == 0; in kunit_platform_device_find_by_name()
A Dtest.c837 else if (!strcmp(action, "list")) in kunit_module_init()
839 else if (!strcmp(action, "list_attr")) in kunit_module_init()
/lib/tests/
A Dstring_kunit.c202 STRCMP_TEST_EXPECT_EQUAL(test, strcmp, "Hello, Kernel!", "Hello, Kernel!"); in string_test_strcmp()
204 STRCMP_TEST_EXPECT_LOWER(test, strcmp, "Hello, KUnit!", "Hello, Kernel!"); in string_test_strcmp()
206 STRCMP_TEST_EXPECT_GREATER(test, strcmp, "Hello, Kernel!", "Hello, KUnit!"); in string_test_strcmp()
208 STRCMP_TEST_EXPECT_LOWER(test, strcmp, "", "Non-empty string"); in string_test_strcmp()
210 STRCMP_TEST_EXPECT_EQUAL(test, strcmp, "", ""); in string_test_strcmp()
212 STRCMP_TEST_EXPECT_LOWER(test, strcmp, "Abacaba", "Abadaba"); in string_test_strcmp()
214 STRCMP_TEST_EXPECT_LOWER(test, strcmp, "Just a string", "Just a string and something else"); in string_test_strcmp()
220 STRCMP_TEST_EXPECT_EQUAL(test, strcmp, strcmp_buffer1, strcmp_buffer2); in string_test_strcmp_long_strings()
223 STRCMP_TEST_EXPECT_LOWER(test, strcmp, strcmp_buffer1, strcmp_buffer2); in string_test_strcmp_long_strings()
226 STRCMP_TEST_EXPECT_GREATER(test, strcmp, strcmp_buffer1, strcmp_buffer2); in string_test_strcmp_long_strings()
A Dcmdline_kunit.c94 int rc = strcmp(str, "") ? (strcmp(str, "-") ? 0 : 1) : 1; in cmdline_test_tail_int()
A Dfortify_kunit.c178 if (strcmp(#TEST_alloc, "TEST_vmalloc") != 0) \
/lib/
A Dtextsearch.c119 if (!strcmp(name, o->name)) { in lookup_ts_algo()
154 if (!strcmp(ops->name, o->name)) in textsearch_register()
A Ddynamic_debug.c433 if (!strcmp(keyword, "func")) { in ddebug_parse_query()
435 } else if (!strcmp(keyword, "file")) { in ddebug_parse_query()
452 } else if (!strcmp(keyword, "module")) { in ddebug_parse_query()
454 } else if (!strcmp(keyword, "format")) { in ddebug_parse_query()
459 } else if (!strcmp(keyword, "line")) { in ddebug_parse_query()
462 } else if (!strcmp(keyword, "class")) { in ddebug_parse_query()
1212 if (!strcmp(cm->mod_name, dt->mod_name)) { in ddebug_attach_module_classes()
1285 if (strcmp(param, "dyndbg")) in ddebug_dyndbg_param_cb()
1445 if (strcmp(modname, iter->modname)) { in dynamic_debug_init()
A Dkasprintf.c47 if (!strcmp(fmt, "%s")) in kvasprintf_const()
A Ddhry_2.c165 if (strcmp(Str_1_Par_Ref, Str_2_Par_Ref) > 0) { in Func_2()
A Dsys_info.c40 if (!strcmp(name, si_names[i].name)) { in sys_info_parse_param()
A Dcodetag.c247 if (strcmp(type_name, cttype->desc.section) == 0) { in codetag_needs_module_section()
272 if (strcmp(type_name, cttype->desc.section) == 0) { in codetag_alloc_module_section()
A Dbug.c96 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
A Dparser.c46 return strcmp(p, s) == 0; in match_one()
A Dstring.c278 int strcmp(const char *cs, const char *ct) in strcmp() function
292 EXPORT_SYMBOL(strcmp);
A Ddhry_1.c242 if (strcmp(val, expected)) \ in dhry()
A Dstring_helpers.c932 if (!strcmp(item, string)) in match_string()
A Dgenalloc.c796 return !strcmp((*p)->name, data); in devm_gen_pool_match()
A Dalloc_tag.c722 if (strcmp(str, "compressed")) in setup_early_mem_profiling()
A Dbootconfig.c638 if (!strcmp(xbc_node_get_data(node), k)) in find_match_node()
A Dtest_bpf.c15630 if (!strcmp(test_suite, "test_bpf")) { in find_test_index()
15632 if (!strcmp(tests[i].descr, test_name)) in find_test_index()
15637 if (!strcmp(test_suite, "test_tail_calls")) { in find_test_index()
15639 if (!strcmp(tail_call_tests[i].descr, test_name)) in find_test_index()
15644 if (!strcmp(test_suite, "test_skb_segment")) { in find_test_index()
15658 if (!strcmp(test_suite, "test_bpf")) in prepare_test_range()
15660 else if (!strcmp(test_suite, "test_tail_calls")) in prepare_test_range()
15662 else if (!strcmp(test_suite, "test_skb_segment")) in prepare_test_range()
15719 strcmp(test_suite, "test_bpf") && in test_bpf_init()
15720 strcmp(test_suite, "test_tail_calls") && in test_bpf_init()
[all …]
A Dkobject.c912 if (kobject_name(k) && !strcmp(kobject_name(k), name)) { in kset_find_obj()
A Dtest_bitmap.c94 if (strcmp(expected_pbl, pbl_buffer)) { in __check_eq_pbl()
/lib/fonts/
A Dfonts.c88 if (!strcmp(fonts[i]->name, name)) in find_font()

Completed in 49 milliseconds