Home
last modified time | relevance | path

Searched refs:yin_file (Results 1 – 12 of 12) sorted by relevance

/dports/net/libyang/libyang-1.0.240/swig/java/tests/
H A DTreeSchemaTest.java316 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_module_fd() local
323 RandomAccessFile f = new RandomAccessFile(yin_file, "r"); in test_ly_ctx_parse_module_fd()
355 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_module_fd_invalid() local
361 RandomAccessFile f = new RandomAccessFile(yin_file, "r"); in test_ly_ctx_parse_module_fd_invalid()
379 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_module_path() local
386 Module module = ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_parse_module_path()
401 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_module_path_invalid() local
407 Module module = ctx.parse_module_path(yin_file, LYS_IN_YANG); in test_ly_ctx_parse_module_path_invalid()
H A DLibyangTest.java266 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_module_path() local
275 Module module = ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_parse_module_path()
307 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_get_submodule() local
314 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_get_submodule()
328 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_get_submodule2() local
335 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_get_submodule2()
354 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_find_path() local
367 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_find_path()
379 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_set() local
385 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_set()
H A DTreeDataTest.java127 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_data_mem() local
132 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_parse_data_mem()
145 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_data_fd() local
151 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_parse_data_fd()
170 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_data_path() local
178 Module module = ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_parse_data_path()
/dports/net/libyang/libyang-1.0.240/swig/cpp/tests/
H A Dtest_tree_schema.cpp329 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
336 FILE *f = fopen(yin_file, "r"); in TEST()
357 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
364 f = fopen(yin_file, "r"); in TEST()
380 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
387 auto module = ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
403 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
409 auto module = ctx->parse_module_path(yin_file, LYS_IN_YANG); in TEST()
H A Dtest_libyang.cpp288 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
297 auto module = ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
329 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
336 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
350 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
357 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
375 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
388 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
401 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
407 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
H A Dtest_tree_data.cpp158 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
163 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
177 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
183 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
200 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local
208 auto module = ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
/dports/net/libyang/libyang-1.0.240/swig/python/tests/
H A Dtest_libyang.py292 yin_file = config.TESTS_DIR + "/api/files/a.yin"
303 module = ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
337 yin_file = config.TESTS_DIR + "/api/files/a.yin"
345 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
357 yin_file = config.TESTS_DIR + "/api/files/a.yin"
365 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
380 yin_file = config.TESTS_DIR + "/api/files/a.yin"
395 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
405 yin_file = config.TESTS_DIR + "/api/files/a.yin"
412 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
H A Dtest_tree_schema.py348 yin_file = config.TESTS_DIR + "/api/files/a.yin"
357 f = open(yin_file, 'r')
378 yin_file = config.TESTS_DIR + "/api/files/a.yin"
386 f = open(yin_file, 'r')
406 yin_file = config.TESTS_DIR + "/api/files/a.yin"
415 module = ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
428 yin_file = config.TESTS_DIR + "/api/files/a.yin"
437 module = ctx.parse_module_path(yin_file, ly.LYS_IN_YANG)
H A Dtest_tree_data.py149 yin_file = config.TESTS_DIR + "/api/files/a.yin"
155 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
167 yin_file = config.TESTS_DIR + "/api/files/a.yin"
173 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
190 yin_file = config.TESTS_DIR + "/api/files/a.yin"
198 module = ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
/dports/net/libyang/libyang-1.0.240/tests/schema/yin/
H A Dtest_print_transform.c89 char *yin_file) in execute_test_with_filenames() argument
116 file = fopen(yin_file, "r"); in execute_test_with_filenames()
/dports/net/libyang/libyang-1.0.240/tests/api/
H A Dtest_tree_schema.c398 char *yin_file = TESTS_DIR"/api/files/a.yin"; in test_lys_parse_fd() local
404 fd = open(yin_file, O_RDONLY); in test_lys_parse_fd()
445 char *yin_file = TESTS_DIR"/api/files/a.yin"; in test_lys_parse_path() local
449 fd = open(yin_file, O_RDONLY); in test_lys_parse_path()
462 module = lys_parse_path(ctx, yin_file, LYS_IN_YIN); in test_lys_parse_path()
H A Dtest_libyang.c46 char *yin_file = TESTS_DIR"/api/files/a.yin"; in setup_f() local
56 if (!lys_parse_path(ctx, yin_file, LYS_IN_YIN)) { in setup_f()