• Home
  • Raw
  • Download

Lines Matching refs:fdp

1152     struct filedescr *fdp;  in load_package()  local
1178 fdp = find_module(name, "__init__", path, buf, MAXPATHLEN+1, &fp, NULL); in load_package()
1179 if (fdp == NULL) { in load_package()
1188 m = load_module(name, fp, buf, fdp->type, NULL); in load_package()
1319 struct filedescr *fdp = NULL; in find_module() local
1417 fp = PyWin_FindRegisteredModule(name, &fdp, buf, buflen); in find_module()
1421 return fdp; in find_module()
1546 for (fdp = _PyImport_Filetab; fdp->suffix != NULL; fdp++) { in find_module()
1559 if (!strcmp(scan->suffix, fdp->suffix)) in find_module()
1572 strcpy(buf+len, fdp->suffix); in find_module()
1575 filemode = fdp->mode; in find_module()
1613 return fdp; in find_module()
2695 struct filedescr *fdp; in import_submodule() local
2714 fdp = find_module(fullname, subname, path, buf, MAXPATHLEN+1, in import_submodule()
2717 if (fdp == NULL) { in import_submodule()
2725 m = load_module(fullname, fp, buf, fdp->type, loader); in import_submodule()
2752 struct filedescr *fdp; in PyImport_ReloadModule() local
2817 fdp = find_module(name, subname, path, buf, MAXPATHLEN+1, &fp, &loader); in PyImport_ReloadModule()
2820 if (fdp == NULL) { in PyImport_ReloadModule()
2827 newm = load_module(name, fp, buf, fdp->type, loader); in PyImport_ReloadModule()
2944 struct filedescr *fdp; in imp_get_suffixes() local
2949 for (fdp = _PyImport_Filetab; fdp->suffix != NULL; fdp++) { in imp_get_suffixes()
2951 fdp->suffix, fdp->mode, fdp->type); in imp_get_suffixes()
2971 struct filedescr *fdp; in call_find_module() local
2982 fdp = find_module(NULL, name, path, pathname, MAXPATHLEN+1, &fp, NULL); in call_find_module()
2983 if (fdp == NULL) { in call_find_module()
2988 fob = PyFile_FromFile(fp, pathname, fdp->mode, fclose); in call_find_module()
2999 fob, pathname, fdp->suffix, fdp->mode, fdp->type); in call_find_module()