Home
last modified time | relevance | path

Searched refs:fileObj (Results 1 – 5 of 5) sorted by relevance

/external/python/pyasn1-modules/pyasn1_modules/
Dpem.py15 def readPemBlocksFromFile(fileObj, *markers): argument
25 certLine = fileObj.readline()
50 def readPemFromFile(fileObj, argument
53 idx, substrate = readPemBlocksFromFile(fileObj, (startMarker, endMarker))
64 def readBase64FromFile(fileObj): argument
65 return readBase64fromText(fileObj.read())
/external/python/cpython2/Modules/
Dposixmodule.c5004 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()
[all …]
/external/fonttools/Lib/fontTools/ufoLib/
Dvalidators.py751 def pngValidator(path=None, data=None, fileObj=None): argument
757 assert path is not None or data is not None or fileObj is not None
763 elif fileObj is not None:
764 pos = fileObj.tell()
765 signature = fileObj.read(8)
766 fileObj.seek(pos)
D__init__.py743 valid, error = pngValidator(fileObj=fp)
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.cpp672 llvm::raw_fd_ostream fileObj(objPath.c_str(), err, llvm::sys::fs::F_None); in notifyObjectCompiled() local
673 fileObj << Obj.getBuffer(); in notifyObjectCompiled()
674 fileObj.flush(); in notifyObjectCompiled()
680 llvm::raw_fd_ostream fileObj(filePath.c_str(), err, llvm::sys::fs::F_None); in notifyObjectCompiled() local
686 fileObj.write((const char*)&header, sizeof(header)); in notifyObjectCompiled()
687 fileObj.flush(); in notifyObjectCompiled()