Searched refs:pathname (Results 1 - 25 of 36) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Ddynload_dl.c20 const char *pathname, FILE *fp)
25 return dl_loadmod(Py_GetProgramName(), pathname, funcname);
19 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
H A Ddynload_atheos.c18 const char *pathname, FILE *fp)
25 printf("load_library %s\n", pathname);
27 lib = load_library(pathname, 0);
31 perror(pathname);
33 pathname, strerror(errno));
17 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
H A Ddynload_hpux.c23 const char *pathname, FILE *fp)
34 printf("shl_load %s\n",pathname);
36 lib = shl_load(pathname, flags, 0);
41 perror(pathname);
43 pathname);
22 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
H A Dimportdl.c17 const char *pathname, FILE *fp);
22 _PyImport_LoadDynamicModule(char *name, char *pathname, FILE *fp) argument
28 if ((m = _PyImport_FindExtension(name, pathname)) != NULL) {
42 p = _PyImport_GetDynLoadFunc(name, shortname, pathname, fp);
65 if (PyModule_AddStringConstant(m, "__file__", pathname) < 0)
68 if (_PyImport_FixupExtension(name, pathname) == NULL)
73 name, pathname);
H A Ddynload_os2.c19 const char *pathname, FILE *fp)
29 pathname,
18 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
H A Ddynload_shlib.c70 const char *pathname, FILE *fp)
78 if (strchr(pathname, '/') == NULL) {
80 PyOS_snprintf(pathbuf, sizeof(pathbuf), "./%-.255s", pathname);
81 pathname = pathbuf;
116 PySys_WriteStderr("dlopen(\"%s\", %x);\n", pathname,
120 /* VMS currently don't allow a pathname, use a logical name instead */
127 pathname = pathbuf;
130 handle = dlopen(pathname, dlopenflags);
69 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
H A Ddynload_next.c35 const char *pathname, FILE *fp)
55 rc = NSCreateObjectFileImageFromFile(pathname, &image);
77 newModule = NSLinkModule(image, pathname, LINKOPTIONS);
34 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
H A Dimportdl.h31 extern PyObject *_PyImport_LoadDynamicModule(char *name, char *pathname,
H A Ddynload_aix.c108 aix_loaderror(const char *pathname) argument
135 PyOS_snprintf(errbuf, sizeof(errbuf), "from module %.200s ", pathname);
158 const char *pathname, FILE *fp)
176 p = (dl_funcptr) aix_load((char *)pathname, L_NOAUTODEFER, 0);
178 aix_loaderror(pathname);
157 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
H A Ddynload_beos.c158 const char *pathname, FILE *fp)
167 printf( "load_add_on( %s )\n", pathname );
174 if( pathname[0] != '/' ) {
177 (void)strncat( fullpath, pathname, PATH_MAX );
183 (void)strcpy( fullpath, pathname );
157 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
H A Dimport.c650 PyImport_ExecCodeModuleEx(char *name, PyObject *co, char *pathname) argument
668 if (pathname != NULL) {
669 v = PyString_FromString(pathname);
703 /* Given a pathname for a Python source file, fill a buffer with the
704 pathname for the corresponding compiled file. Return the pathname
709 make_compiled_pathname(char *pathname, char *buf, size_t buflen) argument
711 size_t len = strlen(pathname);
718 if (len >= 4 && strcmp(&pathname[len-4], ".pyw") == 0)
721 memcpy(buf, pathname, le
737 check_compiled_module(char *pathname, time_t mtime, char *cpathname) argument
818 parse_source_module(const char *pathname, FILE *fp) argument
943 update_compiled_module(PyCodeObject *co, char *pathname) argument
967 load_source_module(char *name, char *pathname, FILE *fp) argument
1038 load_package(char *name, char *pathname) argument
1804 load_module(char *name, FILE *fp, char *pathname, int type, PyObject *loader) argument
2837 char pathname[MAXPATHLEN+1]; local
2944 get_file(char *pathname, PyObject *fob, char *mode) argument
2967 char *pathname; local
2989 char *pathname; local
3011 char *pathname; local
3032 char *pathname; local
3072 char *pathname; local
[all...]
H A Ddynload_win.c167 const char *pathname, FILE *fp)
181 in directory of pathname first. However, Windows95
189 if (GetFullPathName(pathname,
195 hDLL = LoadLibraryEx(pathname, NULL,
166 _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, const char *pathname, FILE *fp) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dimportdl.c17 const char *pathname, FILE *fp);
22 _PyImport_LoadDynamicModule(char *name, char *pathname, FILE *fp) argument
28 if ((m = _PyImport_FindExtension(name, pathname)) != NULL) {
42 p = _PyImport_GetDynLoadFunc(name, shortname, pathname, fp);
65 if (PyModule_AddStringConstant(m, "__file__", pathname) < 0)
68 if (_PyImport_FixupExtension(name, pathname) == NULL)
73 name, pathname);
H A Dimportdl.h31 extern PyObject *_PyImport_LoadDynamicModule(char *name, char *pathname,
H A Dimport.c682 PyImport_ExecCodeModuleEx(char *name, PyObject *co, char *pathname) argument
700 if (pathname != NULL) {
701 v = PyString_FromString(pathname);
735 /* Given a pathname for a Python source file, fill a buffer with the
736 pathname for the corresponding compiled file. Return the pathname
741 make_compiled_pathname(char *pathname, char *buf, size_t buflen) argument
743 size_t len = strlen(pathname);
750 if (len >= 4 && strcmp(&pathname[len-4], ".pyw") == 0)
753 memcpy(buf, pathname, le
769 check_compiled_module(char *pathname, time_t mtime, char *cpathname) argument
850 parse_source_module(const char *pathname, FILE *fp) argument
980 update_compiled_module(PyCodeObject *co, char *pathname) argument
1007 win32_mtime(FILE *fp, char *pathname) argument
1036 load_source_module(char *name, char *pathname, FILE *fp) argument
1126 load_package(char *name, char *pathname) argument
1889 load_module(char *name, FILE *fp, char *pathname, int type, PyObject *loader) argument
2951 char *pathname; local
3065 get_file(char *pathname, PyObject *fob, char *mode) argument
3088 char *pathname; local
3110 char *pathname; local
3132 char *pathname; local
3153 char *pathname; local
3193 char *pathname; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dglob.py10 def glob(pathname):
11 """Return a list of paths matching a pathname pattern.
16 return list(iglob(pathname))
18 def iglob(pathname):
19 """Return an iterator which yields the paths matching a pathname pattern.
24 if not has_magic(pathname):
25 if os.path.lexists(pathname):
26 yield pathname
28 dirname, basename = os.path.split(pathname)
H A Dimputil.py415 def _compile(pathname, timestamp):
418 The file specified by <pathname> is compiled to a code object and
425 codestring = open(pathname, 'rU').read()
428 code = __builtin__.compile(codestring, pathname, 'exec')
432 f = open(pathname + _suffix_char, 'wb')
483 def _os_path_isdir(pathname):
486 s = _os_stat(pathname)
491 def _timestamp(pathname):
494 s = _os_stat(pathname)
556 def _import_pathname(self, pathname, fqnam
[all...]
H A Dmodulefinder.py110 def run_script(self, pathname):
111 self.msg(2, "run_script", pathname)
112 fp = open(pathname, READ_MODE)
114 self.load_module('__main__', fp, pathname, stuff)
116 def load_file(self, pathname):
117 dir, name = os.path.split(pathname)
119 fp = open(pathname, READ_MODE)
121 self.load_module(name, fp, pathname, stuff)
268 fp, pathname, stuff = self.find_module(partname,
274 m = self.load_module(fqname, fp, pathname, stuf
[all...]
H A Dzipfile.py968 # build the destination pathname, replacing
1266 def writepy(self, pathname, basename = ""):
1267 """Add all files from "pathname" to the ZIP archive.
1269 If pathname is a package directory, search the directory and
1271 the modules into the archive. If pathname is a plain
1272 directory, listdir *.py and enter all modules. Else, pathname
1278 dir, name = os.path.split(pathname)
1279 if os.path.isdir(pathname):
1280 initname = os.path.join(pathname, "__init__.py")
1288 print "Adding package in", pathname, "a
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
H A Dutil.py185 def convert_path (pathname):
186 """Return 'pathname' as a name that will work on the native filesystem,
191 ValueError on non-Unix-ish systems if 'pathname' either starts or
195 return pathname
196 if not pathname:
197 return pathname
198 if pathname[0] == '/':
199 raise ValueError, "path '%s' cannot be absolute" % pathname
200 if pathname[-1] == '/':
201 raise ValueError, "path '%s' cannot end with '/'" % pathname
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
H A Dimport.c650 PyImport_ExecCodeModuleEx(char *name, PyObject *co, char *pathname) argument
668 if (pathname != NULL) {
669 v = PyString_FromString(pathname);
703 /* Given a pathname for a Python source file, fill a buffer with the
704 pathname for the corresponding compiled file. Return the pathname
709 make_compiled_pathname(char *pathname, char *buf, size_t buflen) argument
711 size_t len = strlen(pathname);
718 if (len >= 4 && strcmp(&pathname[len-4], ".pyw") == 0)
721 memcpy(buf, pathname, le
737 check_compiled_module(char *pathname, time_t mtime, char *cpathname) argument
818 parse_source_module(const char *pathname, FILE *fp) argument
943 update_compiled_module(PyCodeObject *co, char *pathname) argument
967 load_source_module(char *name, char *pathname, FILE *fp) argument
1038 load_package(char *name, char *pathname) argument
1804 load_module(char *name, FILE *fp, char *pathname, int type, PyObject *loader) argument
2837 char pathname[MAXPATHLEN+1]; local
2944 get_file(char *pathname, PyObject *fob, char *mode) argument
2967 char *pathname; local
2989 char *pathname; local
3011 char *pathname; local
3032 char *pathname; local
3072 char *pathname; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dmodulefinder.py110 def run_script(self, pathname):
111 self.msg(2, "run_script", pathname)
112 with open(pathname, READ_MODE) as fp:
114 self.load_module('__main__', fp, pathname, stuff)
116 def load_file(self, pathname):
117 dir, name = os.path.split(pathname)
119 with open(pathname, READ_MODE) as fp:
121 self.load_module(name, fp, pathname, stuff)
268 fp, pathname, stuff = self.find_module(partname,
274 m = self.load_module(fqname, fp, pathname, stuf
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/
H A Dpygettext.py301 file, pathname, description = imp.find_module(parts[0], pathlist)
309 pathname = _get_modpkg_path(parts[1], [pathname])
311 pathname = None
315 file, pathname, description = imp.find_module(
320 pathname = None
322 pathname = None
324 return pathname
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dimport.h13 char *name, PyObject *co, char *pathname);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dimport.h13 char *name, PyObject *co, char *pathname);

Completed in 190 milliseconds

12