Searched refs:cpathname (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Python/ |
D | import.c | 809 check_compiled_module(char *pathname, time_t mtime, char *cpathname) in check_compiled_module() argument 815 fp = fopen(cpathname, "rb"); in check_compiled_module() 821 PySys_WriteStderr("# %s has bad magic\n", cpathname); in check_compiled_module() 828 PySys_WriteStderr("# %s has bad mtime\n", cpathname); in check_compiled_module() 833 PySys_WriteStderr("# %s matches %s\n", cpathname, pathname); in check_compiled_module() 841 read_compiled_module(char *cpathname, FILE *fp) in read_compiled_module() argument 850 "Non-code object in %.200s", cpathname); in read_compiled_module() 862 load_compiled_module(char *name, char *cpathname, FILE *fp) in load_compiled_module() argument 871 "Bad magic number in %.200s", cpathname); in load_compiled_module() 875 co = read_compiled_module(cpathname, fp); in load_compiled_module() [all …]
|
/external/python/cpython3/Include/ |
D | import.h | 28 const char *cpathname /* decoded from the filesystem encoding */ 35 PyObject *cpathname
|
/external/python/cpython3/Doc/c-api/ |
D | import.rst | 162 …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/ |
D | import.c | 893 const char *cpathname) in PyImport_ExecCodeModuleWithPathnames() argument 902 if (cpathname != NULL) { in PyImport_ExecCodeModuleWithPathnames() 903 cpathobj = PyUnicode_DecodeFSDefault(cpathname); in PyImport_ExecCodeModuleWithPathnames() 995 PyObject *cpathname) in PyImport_ExecCodeModuleObject() argument 1014 d, name, pathname, cpathname, NULL); in PyImport_ExecCodeModuleObject()
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 1534 def _fix_up_module(ns, name, pathname, cpathname=None): argument 1541 elif pathname == cpathname: 1551 ns['__cached__'] = cpathname
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 991 PyImport_ExecCodeModuleObject:PyObject*:cpathname:0: 997 PyImport_ExecCodeModuleWithPathnames:const char*:cpathname::
|