Home
last modified time | relevance | path

Searched refs:mod_path (Results 1 – 10 of 10) sorted by relevance

/third_party/ltp/lib/
Dtst_module.c32 const char *mod_name, char **mod_path) in tst_module_exists_() argument
36 if (mod_path != NULL) in tst_module_exists_()
37 *mod_path = strdup(mod_name); in tst_module_exists_()
74 if (mod_path != NULL) in tst_module_exists_()
75 *mod_path = buf; in tst_module_exists_()
83 char *mod_path = NULL; in tst_module_load_() local
84 tst_module_exists_(cleanup_fn, mod_name, &mod_path); in tst_module_load_()
94 mod_argv[1] = mod_path; in tst_module_load_()
101 free(mod_path); in tst_module_load_()
/third_party/ltp/testcases/lib/
Dtest.sh380 local mod_path="$LTPROOT/testcases/bin/$mod_name"
381 if [ -f "$mod_path" ]; then
382 TST_MODPATH="$mod_path"
387 mod_path="$TST_STARTWD/$mod_name"
388 if [ -f "$mod_path" ]; then
389 TST_MODPATH="$mod_path"
/third_party/ltp/include/
Dtst_module.h11 char **mod_path);
13 static inline void tst_module_exists(const char *mod_name, char **mod_path) in tst_module_exists() argument
15 tst_module_exists_(NULL, mod_name, mod_path); in tst_module_exists()
/third_party/ltp/testcases/kernel/syscalls/finit_module/
Dfinit_module01.c24 static char *mod_path; variable
30 tst_module_exists(MODULE_NAME, &mod_path); in setup()
32 fd = SAFE_OPEN(mod_path, O_RDONLY|O_CLOEXEC); in setup()
Dfinit_module02.c25 static char *mod_path; variable
86 tst_module_exists(MODULE_NAME, &mod_path); in setup()
112 fd = SAFE_OPEN(mod_path, tc->open_flags); in run()
/third_party/ltp/include/old/
Dold_module.h38 char **mod_path);
56 const char *mod_name, char **mod_path) in tst_module_exists() argument
58 tst_module_exists_(cleanup_fn, mod_name, mod_path); in tst_module_exists()
/third_party/rust/crates/rust-std-candidates/mod_path/tests/
Dit_works.rs2 #![plugin(mod_path)]
4 mod_path! foo (concat!(env!("OUT_DIR"), "/hello.rs"));
/third_party/rust/crates/rust-std-candidates/mod_path/
DCargo.toml3 name = "mod_path"
14 name = "mod_path"
/third_party/python/Lib/test/
Dtest_zipimport.py494 mod_path = packdir2 + TESTMOD
495 mod_name = module_path_to_dotted_name(mod_path)
499 self.assertIsNone(zi.get_source(mod_path))
500 self.assertEqual(zi.get_filename(mod_path), mod.__file__)
609 mod_path = TESTPACK2 + os.sep + TESTMOD
610 mod_name = module_path_to_dotted_name(mod_path)
614 self.assertIsNone(zi.get_source(mod_path))
615 self.assertEqual(zi.get_filename(mod_path), mod.__file__)
/third_party/rust/crates/rust-std-candidates/
DREADME.OpenSource11 mod_path: A work-around for Rust bug #18810.