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.py35 modfile = mod.__file__ variable
36 if modfile.endswith(('c', 'o')):
37 modfile = modfile[:-1] variable
165 (modfile, 16, 'eggs', [' st = inspect.stack()\n'], 0))
167 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
169 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
171 (modfile, 39, 'abuse', [' self.argue(a, b, c)\n'], 0))
175 self.assertEqual(git.tr[0][1:], (modfile, 43, 'argue',
177 self.assertEqual(git.tr[1][1:], (modfile, 9, 'spam',
179 self.assertEqual(git.tr[2][1:], (modfile, 18, 'eggs',
[all …]
/external/python/cpython3/Lib/test/
Dtest_inspect.py48 modfile = mod.__file__ variable
49 if modfile.endswith(('c', 'o')):
50 modfile = modfile[:-1] variable
54 modfile = normcase(modfile) variable
249 (modfile, 16, 'eggs', [' st = inspect.stack()\n'], 0))
251 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
253 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
255 (modfile, 39, 'abuse', [' self.argue(a, b, c)\n'], 0))
268 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
270 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py159 with open(modpath, 'w') as modfile:
160 modfile.write(content)