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.py745 def pngValidator(path=None, data=None, fileObj=None): argument
751 assert path is not None or data is not None or fileObj is not None
757 elif fileObj is not None:
758 pos = fileObj.tell()
759 signature = fileObj.read(8)
760 fileObj.seek(pos)
D__init__.py799 valid, error = pngValidator(fileObj=fp)
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.cpp723 llvm::raw_fd_ostream fileObj(objPath.c_str(), err, llvm::sys::fs::F_None); in notifyObjectCompiled() local
724 fileObj << Obj.getBuffer(); in notifyObjectCompiled()
725 fileObj.flush(); in notifyObjectCompiled()
731 llvm::raw_fd_ostream fileObj(filePath.c_str(), err, llvm::sys::fs::F_None); in notifyObjectCompiled() local
737 fileObj.write((const char*)&header, sizeof(header)); in notifyObjectCompiled()
738 fileObj.flush(); in notifyObjectCompiled()