Lines Matching refs:fileObj
5004 PyObject *procObj, *pidObj, *intObj, *fileObj[3]; in _PyPopen() local
5007 fileObj[0] = fileObj[1] = fileObj[2] = NULL; in _PyPopen()
5019 fileObj[0] = PyLong_FromVoidPtr(p_s[0]); in _PyPopen()
5020 if (fileObj[0]) in _PyPopen()
5023 fileObj[0], in _PyPopen()
5026 fileObj[1] = PyLong_FromVoidPtr(p_s[1]); in _PyPopen()
5027 if (fileObj[1]) in _PyPopen()
5030 fileObj[1], in _PyPopen()
5035 fileObj[2] = PyLong_FromVoidPtr(p_s[2]); in _PyPopen()
5036 if (fileObj[2]) in _PyPopen()
5039 fileObj[2], in _PyPopen()
5044 if (ins_rc[0] < 0 || !fileObj[0] || in _PyPopen()
5045 ins_rc[1] < 0 || (file_count > 1 && !fileObj[1]) || in _PyPopen()
5046 ins_rc[2] < 0 || (file_count > 2 && !fileObj[2])) in _PyPopen()
5051 if (!ins_rc[0] && fileObj[0]) in _PyPopen()
5054 fileObj[0]); in _PyPopen()
5056 if (!ins_rc[1] && fileObj[1]) in _PyPopen()
5059 fileObj[1]); in _PyPopen()
5061 if (!ins_rc[2] && fileObj[2]) in _PyPopen()
5064 fileObj[2]); in _PyPopen()
5075 Py_XDECREF(fileObj[0]); in _PyPopen()
5076 Py_XDECREF(fileObj[1]); in _PyPopen()
5077 Py_XDECREF(fileObj[2]); in _PyPopen()
5115 PyObject *procObj, *pidObj, *intObj, *fileObj; in _PyPclose() local
5131 if ((fileObj = PyLong_FromVoidPtr(file)) != NULL && in _PyPclose()
5133 fileObj)) != NULL && in _PyPclose()
5177 PyDict_DelItem(_PyPopenProcs, fileObj); in _PyPclose()
5187 Py_XDECREF(fileObj); in _PyPclose()
5750 PyObject *procObj, *hProcessObj, *intObj, *fileObj[3]; in _PyPopen() local
5753 fileObj[0] = fileObj[1] = fileObj[2] = NULL; in _PyPopen()
5764 fileObj[0] = PyLong_FromVoidPtr(f1); in _PyPopen()
5765 if (fileObj[0]) { in _PyPopen()
5767 fileObj[0], in _PyPopen()
5771 fileObj[1] = PyLong_FromVoidPtr(f2); in _PyPopen()
5772 if (fileObj[1]) { in _PyPopen()
5774 fileObj[1], in _PyPopen()
5779 fileObj[2] = PyLong_FromVoidPtr(f3); in _PyPopen()
5780 if (fileObj[2]) { in _PyPopen()
5782 fileObj[2], in _PyPopen()
5787 if (ins_rc[0] < 0 || !fileObj[0] || in _PyPopen()
5788 ins_rc[1] < 0 || (file_count > 1 && !fileObj[1]) || in _PyPopen()
5789 ins_rc[2] < 0 || (file_count > 2 && !fileObj[2])) { in _PyPopen()
5793 if (!ins_rc[0] && fileObj[0]) { in _PyPopen()
5795 fileObj[0]); in _PyPopen()
5797 if (!ins_rc[1] && fileObj[1]) { in _PyPopen()
5799 fileObj[1]); in _PyPopen()
5801 if (!ins_rc[2] && fileObj[2]) { in _PyPopen()
5803 fileObj[2]); in _PyPopen()
5814 Py_XDECREF(fileObj[0]); in _PyPopen()
5815 Py_XDECREF(fileObj[1]); in _PyPopen()
5816 Py_XDECREF(fileObj[2]); in _PyPopen()
5868 PyObject *procObj, *hProcessObj, *intObj, *fileObj; in _PyPclose() local
5882 if ((fileObj = PyLong_FromVoidPtr(file)) != NULL && in _PyPclose()
5884 fileObj)) != NULL && in _PyPclose()
5926 PyDict_DelItem(_PyPopenProcs, fileObj); in _PyPclose()
5935 Py_XDECREF(fileObj); in _PyPclose()