Lines Matching refs:fob
2992 PyObject *fob, *ret; in call_find_module() local
3010 fob = PyFile_FromFile(fp, pathname, fdp->mode, fclose); in call_find_module()
3011 if (fob == NULL) { in call_find_module()
3017 fob = Py_None; in call_find_module()
3018 Py_INCREF(fob); in call_find_module()
3021 fob, pathname, fdp->suffix, fdp->mode, fdp->type); in call_find_module()
3022 Py_DECREF(fob); in call_find_module()
3108 get_file(char *pathname, PyObject *fob, char *mode) in get_file() argument
3111 if (fob == NULL) { in get_file()
3119 fp = PyFile_AsFile(fob); in get_file()
3132 PyObject *fob = NULL; in imp_load_compiled() local
3136 &PyFile_Type, &fob)) in imp_load_compiled()
3138 fp = get_file(pathname, fob, "rb"); in imp_load_compiled()
3142 if (fob == NULL) in imp_load_compiled()
3154 PyObject *fob = NULL; in imp_load_dynamic() local
3158 &PyFile_Type, &fob)) in imp_load_dynamic()
3160 if (fob) { in imp_load_dynamic()
3161 fp = get_file(pathname, fob, "r"); in imp_load_dynamic()
3176 PyObject *fob = NULL; in imp_load_source() local
3180 &PyFile_Type, &fob)) in imp_load_source()
3182 fp = get_file(pathname, fob, "r"); in imp_load_source()
3186 if (fob == NULL) in imp_load_source()
3195 PyObject *fob; in imp_load_module() local
3203 &name, &fob, &pathname, in imp_load_module()
3217 if (fob == Py_None) in imp_load_module()
3220 if (!PyFile_Check(fob)) { in imp_load_module()
3225 fp = get_file(pathname, fob, mode); in imp_load_module()