Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dimport.c787 check_compiled_module(char *pathname, time_t mtime, char *cpathname) in check_compiled_module() argument
793 fp = fopen(cpathname, "rb"); in check_compiled_module()
799 PySys_WriteStderr("# %s has bad magic\n", cpathname); in check_compiled_module()
806 PySys_WriteStderr("# %s has bad mtime\n", cpathname); in check_compiled_module()
811 PySys_WriteStderr("# %s matches %s\n", cpathname, pathname); in check_compiled_module()
819 read_compiled_module(char *cpathname, FILE *fp) in read_compiled_module() argument
828 "Non-code object in %.200s", cpathname); in read_compiled_module()
840 load_compiled_module(char *name, char *cpathname, FILE *fp) in load_compiled_module() argument
849 "Bad magic number in %.200s", cpathname); in load_compiled_module()
853 co = read_compiled_module(cpathname, fp); in load_compiled_module()
[all …]
/external/python/cpython3/Include/
Dimport.h30 const char *cpathname /* decoded from the filesystem encoding */
37 PyObject *cpathname
/external/python/cpython3/Doc/c-api/
Dimport.rst162 …yImport_ExecCodeModuleObject(PyObject *name, PyObject *co, PyObject *pathname, PyObject *cpathname)
165 attribute of the module object is set to *cpathname* if it is
171 …odeModuleWithPathnames(const char *name, PyObject *co, const char *pathname, const char *cpathname)
174 *cpathname* are UTF-8 encoded strings. Attempts are also made to figure out
175 what the value for *pathname* should be from *cpathname* if the former is
/external/python/cpython3/Python/
Dimport.c738 const char *cpathname) in PyImport_ExecCodeModuleWithPathnames() argument
747 if (cpathname != NULL) { in PyImport_ExecCodeModuleWithPathnames()
748 cpathobj = PyUnicode_DecodeFSDefault(cpathname); in PyImport_ExecCodeModuleWithPathnames()
840 PyObject *cpathname) in PyImport_ExecCodeModuleObject() argument
859 d, name, pathname, cpathname, NULL); in PyImport_ExecCodeModuleObject()
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py1336 def _fix_up_module(ns, name, pathname, cpathname=None): argument
1343 elif pathname == cpathname:
1353 ns['__cached__'] = cpathname