/lib/kunit/ |
A D | attributes.c | 135 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 D | executor.c | 353 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 D | platform-test.c | 61 return strcmp(dev_name(dev), data) == 0; in kunit_platform_device_find_by_name()
|
A D | test.c | 837 else if (!strcmp(action, "list")) in kunit_module_init() 839 else if (!strcmp(action, "list_attr")) in kunit_module_init()
|
/lib/tests/ |
A D | string_kunit.c | 202 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 D | cmdline_kunit.c | 94 int rc = strcmp(str, "") ? (strcmp(str, "-") ? 0 : 1) : 1; in cmdline_test_tail_int()
|
A D | fortify_kunit.c | 178 if (strcmp(#TEST_alloc, "TEST_vmalloc") != 0) \
|
/lib/ |
A D | textsearch.c | 119 if (!strcmp(name, o->name)) { in lookup_ts_algo() 154 if (!strcmp(ops->name, o->name)) in textsearch_register()
|
A D | dynamic_debug.c | 433 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 D | kasprintf.c | 47 if (!strcmp(fmt, "%s")) in kvasprintf_const()
|
A D | dhry_2.c | 165 if (strcmp(Str_1_Par_Ref, Str_2_Par_Ref) > 0) { in Func_2()
|
A D | sys_info.c | 40 if (!strcmp(name, si_names[i].name)) { in sys_info_parse_param()
|
A D | codetag.c | 247 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 D | bug.c | 96 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
|
A D | parser.c | 46 return strcmp(p, s) == 0; in match_one()
|
A D | string.c | 278 int strcmp(const char *cs, const char *ct) in strcmp() function 292 EXPORT_SYMBOL(strcmp);
|
A D | dhry_1.c | 242 if (strcmp(val, expected)) \ in dhry()
|
A D | string_helpers.c | 932 if (!strcmp(item, string)) in match_string()
|
A D | genalloc.c | 796 return !strcmp((*p)->name, data); in devm_gen_pool_match()
|
A D | alloc_tag.c | 722 if (strcmp(str, "compressed")) in setup_early_mem_profiling()
|
A D | bootconfig.c | 638 if (!strcmp(xbc_node_get_data(node), k)) in find_match_node()
|
A D | test_bpf.c | 15630 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 D | kobject.c | 912 if (kobject_name(k) && !strcmp(kobject_name(k), name)) { in kset_find_obj()
|
A D | test_bitmap.c | 94 if (strcmp(expected_pbl, pbl_buffer)) { in __check_eq_pbl()
|
/lib/fonts/ |
A D | fonts.c | 88 if (!strcmp(fonts[i]->name, name)) in find_font()
|