Home
last modified time | relevance | path

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

123456

/dports/net/libyang/libyang-1.0.240/tests/schema/
H A Dtest_printer.c31 ctx = ly_ctx_new(SCHEMA_FOLDER_YANG, 0); in setup_ctx()
502 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yin_with_unique()
526 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yang_with_unique()
550 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yin_with_submodule_types()
579 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yang_with_submodule_types()
616 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yin_with_submodule_grouping_idref_default()
653 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yang_with_submodule_grouping_idref_default()
H A Dtest_include.c37 *state = ly_ctx_new(NULL, 0); in setup_ctx()
80 *state = ctx = ly_ctx_new(SCHEMA_FOLDER_YANG, 0); in test_mult_revisions()
H A Dtest_import.c37 *state = ly_ctx_new(NULL, 0); in setup_ctx()
89 *state = ctx = ly_ctx_new(SCHEMA_FOLDER_YIN, 0); in test_mult_revisions()
/dports/net/libyang/libyang-1.0.240/tests/data/
H A Dtest_parse_print.c54 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in setup_f()
118 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_prefix()
139 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_contact()
160 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_organization()
181 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_description()
202 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_reference()
223 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_yang_version()
241 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_namespace()
262 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_when()
289 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_container()
[all …]
/dports/net/libyang/libyang-1.0.240/tests/api/
H A Dtest_libyang.c51 ctx = ly_ctx_new(yang_folder, 0); in setup_f()
102 ctx = ly_ctx_new(yang_folder1, 0); in test_ly_ctx_new()
110 ctx = ly_ctx_new(yang_folder2, 0); in test_ly_ctx_new()
125 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_new_invalid()
140 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_get_searchdirs()
166 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_set_searchdir()
198 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_set_searchdir_invalid()
618 ctx = ly_ctx_new(NULL, 0); in test_ly_ctx_remove_module2()
645 ctx = ly_ctx_new(NULL, 0); in test_lys_set_enabled()
675 ctx = ly_ctx_new(NULL, 0); in test_lys_set_disabled()
[all …]
/dports/net/libyang/libyang-1.0.240/tests/conformance/
H A Dtest_sec5_1.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_IMPORT_INCLUDE()
H A Dtest_sec6_2.c52 st->ctx = ly_ctx_new(NULL, 0); in setup_f()
124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_NAME()
H A Dtest_sec7_3.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
H A Dtest_sec6_2_1.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_NAME()
H A Dtest_sec7_1.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
H A Dtest_sec7_2.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
H A Dtest_sec7_3_1.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
H A Dtest_sec7_5_2.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
H A Dtest_sec5_5.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_TYPEDEF_GROUPING()
H A Dtest_sec7_15_1.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
125 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_ACTION()
H A Dtest_sec7_11.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
127 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_GROUPING()
H A Dtest_sec7_15.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
127 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_AUGMENT()
H A Dtest_sec7_19_2.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
127 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_STATUS()
H A Dtest_sec7_19_5.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_WHEN()
H A Dtest_sec7_3_4.c52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f()
126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
H A Dtest_sec7_5_5.c52 st->ctx = ly_ctx_new(NULL, 0); in setup_f()
126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_CONTAINER_PRESENCE()
H A Dtest_sec7_6_3.c52 st->ctx = ly_ctx_new(NULL, 0); in setup_f()
126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_LEAF()
H A Dtest_sec7_7_4.c52 st->ctx = ly_ctx_new(NULL, 0); in setup_f()
126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_LEAFLIST_MINELEMENTS()
H A Dtest_sec7_8_1.c52 st->ctx = ly_ctx_new(NULL, 0); in setup_f()
126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_LIST()
H A Dtest_sec7_8_3.c52 st->ctx = ly_ctx_new(NULL, 0); in setup_f()
126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_LIST_UNIQUE()

123456