Searched refs:mod_path (Results 1 – 12 of 12) sorted by relevance
| /external/ltp/lib/ |
| D | tst_module.c | 32 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_()
|
| /external/ltp/testcases/lib/ |
| D | test.sh | 362 local mod_path="$LTPROOT/testcases/bin/$mod_name" 363 if [ -f "$mod_path" ]; then 364 TST_MODPATH="$mod_path" 369 mod_path="$TST_STARTWD/$mod_name" 370 if [ -f "$mod_path" ]; then 371 TST_MODPATH="$mod_path"
|
| /external/ltp/testcases/kernel/syscalls/finit_module/ |
| D | finit_module01.c | 24 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()
|
| D | finit_module02.c | 25 static char *mod_path; variable 85 tst_module_exists(MODULE_NAME, &mod_path); in setup() 105 fd = SAFE_OPEN(mod_path, tc->open_flags); in run()
|
| /external/ltp/include/ |
| D | tst_module.h | 11 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()
|
| /external/ltp/include/old/ |
| D | old_module.h | 38 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()
|
| /external/python/cpython2/Lib/test/ |
| D | test_zipimport.py | 226 mod_path = packdir2 + TESTMOD 227 mod_name = module_path_to_dotted_name(mod_path) 231 self.assertEqual(zi.get_source(mod_path), None) 232 self.assertEqual(zi.get_filename(mod_path), mod.__file__) 270 mod_path = TESTPACK2 + os.sep + TESTMOD 271 mod_name = module_path_to_dotted_name(mod_path) 275 self.assertEqual(zi.get_source(mod_path), None) 276 self.assertEqual(zi.get_filename(mod_path), mod.__file__)
|
| D | test_xpickle.py | 25 mod_path = os.path.abspath(os.path.join(os.path.dirname(__file__), variable 28 exec compile(open(mod_path).read(), mod_path, 'exec') in pickletester.__dict__
|
| /external/crosvm/power_monitor/ |
| D | build.rs | 44 let mod_path = out_dir.join(format!("{}.rs", stem)); in main() localVariable 48 mod_path.display() in main()
|
| /external/python/jinja/tests/ |
| D | test_loader.py | 284 mod_path = self.mod_env.loader.module.__path__[0] 288 mod_loader = loaders.ModuleLoader(pathlib.Path(mod_path)) 296 mod_path = self.mod_env.loader.module.__path__[0] 300 mod_loader = loaders.ModuleLoader([pathlib.Path(mod_path), "/tmp/templates"])
|
| /external/python/cpython3/Lib/test/ |
| D | test_zipimport.py | 494 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__)
|
| /external/libcxx/utils/libcxx/test/ |
| D | target_info.py | 287 mod_path, _, info = info_str.rpartition('.') 288 mod = importlib.import_module(mod_path)
|