Lines Matching refs:filetab
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()
185 if (strcmp(filetab->suffix, "/pyc") == 0) in _PyImport_Init()
186 filetab->suffix = "/pyo"; in _PyImport_Init()