Searched refs:filetab (Results 1 – 3 of 3) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/ |
D | import.c | 124 struct filedescr *filetab; in _PyImport_Init() local 137 filetab = PyMem_NEW(struct filedescr, countD + countS + 1); in _PyImport_Init() 138 if (filetab == NULL) in _PyImport_Init() 141 memcpy(filetab, _PyImport_DynLoadFiletab, in _PyImport_Init() 144 memcpy(filetab + countD, _PyImport_StandardFiletab, in _PyImport_Init() 146 filetab[countD + countS].suffix = NULL; in _PyImport_Init() 148 _PyImport_Filetab = filetab; in _PyImport_Init() 152 for (; filetab->suffix != NULL; filetab++) { in _PyImport_Init() 154 if (strcmp(filetab->suffix, ".pyc") == 0) in _PyImport_Init() 155 filetab->suffix = ".pyo"; in _PyImport_Init() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | import.c | 124 struct filedescr *filetab; in _PyImport_Init() local 137 filetab = PyMem_NEW(struct filedescr, countD + countS + 1); in _PyImport_Init() 138 if (filetab == NULL) in _PyImport_Init() 141 memcpy(filetab, _PyImport_DynLoadFiletab, in _PyImport_Init() 144 memcpy(filetab + countD, _PyImport_StandardFiletab, in _PyImport_Init() 146 filetab[countD + countS].suffix = NULL; in _PyImport_Init() 148 _PyImport_Filetab = filetab; in _PyImport_Init() 152 for (; filetab->suffix != NULL; filetab++) { in _PyImport_Init() 154 if (strcmp(filetab->suffix, ".pyc") == 0) in _PyImport_Init() 155 filetab->suffix = ".pyo"; in _PyImport_Init() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | import.c | 152 struct filedescr *filetab; in _PyImport_Init() local 165 filetab = PyMem_NEW(struct filedescr, countD + countS + 1); in _PyImport_Init() 166 if (filetab == NULL) in _PyImport_Init() 169 memcpy(filetab, _PyImport_DynLoadFiletab, in _PyImport_Init() 172 memcpy(filetab + countD, _PyImport_StandardFiletab, in _PyImport_Init() 174 filetab[countD + countS].suffix = NULL; in _PyImport_Init() 176 _PyImport_Filetab = filetab; in _PyImport_Init() 180 for (; filetab->suffix != NULL; filetab++) { in _PyImport_Init() 182 if (strcmp(filetab->suffix, ".pyc") == 0) in _PyImport_Init() 183 filetab->suffix = ".pyo"; in _PyImport_Init() [all …]
|