Home
last modified time | relevance | path

Searched refs:modfile (Results 1 – 5 of 5) sorted by relevance

/external/selinux/semodule-utils/semodule_package/
Dsemodule_unpackage.c47 char *ppfile, *modfile, *fcfile = NULL, *fcdata; in main() local
57 modfile = argv[2]; in main()
75 if (file_to_policy_file(modfile, &out, "w")) in main()
79 fprintf(stderr, "%s: Error while writing module to %s\n", progname, modfile); in main()
/external/toybox/toys/other/
Dlsmod.c20 char *modfile = "/proc/modules"; in lsmod_main() local
21 FILE * file = xfopen(modfile, "r"); in lsmod_main()
33 } else perror_exit("bad %s", modfile); in lsmod_main()
/external/python/cpython2/Lib/test/
Dtest_inspect.py36 modfile = mod.__file__ variable
37 if modfile.endswith(('c', 'o')):
38 modfile = modfile[:-1] variable
166 (modfile, 16, 'eggs', [' st = inspect.stack()\n'], 0))
168 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
170 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
172 (modfile, 39, 'abuse', [' self.argue(a, b, c)\n'], 0))
176 self.assertEqual(git.tr[0][1:], (modfile, 43, 'argue',
178 self.assertEqual(git.tr[1][1:], (modfile, 9, 'spam',
180 self.assertEqual(git.tr[2][1:], (modfile, 18, 'eggs',
[all …]
/external/python/cpython3/Lib/test/
Dtest_inspect.py47 modfile = mod.__file__ variable
48 if modfile.endswith(('c', 'o')):
49 modfile = modfile[:-1] variable
53 modfile = normcase(modfile) variable
317 (modfile, 16, 'eggs', [' st = inspect.stack()\n'], 0))
319 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
321 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
323 (modfile, 39, 'abuse', [' self.argue(a, b, c)\n'], 0))
336 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
338 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py177 with open(modpath, 'w') as modfile:
178 modfile.write(content)