Home
last modified time | relevance | path

Searched refs:pFD (Results 1 – 9 of 9) sorted by relevance

/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc89 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset) {
92 if (-1 == (old_pos = ::lseek(pFD, 0, SEEK_CUR)))
95 if (-1 == ::lseek(pFD, pOffset, SEEK_SET))
98 if (-1 == (ret = ::read(pFD, pBuf, pCount))) {
100 ::lseek(pFD, old_pos, SEEK_SET);
105 if (-1 == ::lseek(pFD, old_pos, SEEK_SET))
111 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset) {
114 if (-1 == (old_pos = ::lseek(pFD, 0, SEEK_CUR)))
117 if (-1 == ::lseek(pFD, pOffset, SEEK_SET))
120 if (-1 == (ret = ::write(pFD, pBuf, pCount))) {
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DFileSystem.h96 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset);
97 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset);
98 int ftruncate(int pFD, size_t pLength);
103 int pFD,
DMemoryAreaFactory.h58 MemoryArea* produce(int pFD, FileHandle::OpenMode pMode);
Draw_ostream.h36 raw_fd_ostream(int pFD, bool pShouldClose, bool pUnbuffered = false);
DFileHandle.h74 bool delegate(int pFD, OpenModeEnum pMode = Unknown);
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc129 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset) {
130 return ::pread(pFD, pBuf, pCount, pOffset);
133 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset) {
134 return ::pwrite(pFD, pBuf, pCount, pOffset);
137 int ftruncate(int pFD, size_t pLength) {
138 return ::ftruncate(pFD, pLength);
/frameworks/compile/mclinker/lib/Support/
Draw_ostream.cpp45 raw_fd_ostream::raw_fd_ostream(int pFD, in raw_fd_ostream() argument
48 : llvm::raw_fd_ostream(pFD, pShouldClose, pUnbuffered), in raw_fd_ostream()
DFileHandle.cpp106 bool FileHandle::delegate(int pFD, FileHandle::OpenModeEnum pMode) { in delegate() argument
112 m_Handler = pFD; in delegate()
DMemoryAreaFactory.cpp65 MemoryArea* MemoryAreaFactory::produce(int pFD, FileHandle::OpenMode pMode) { in produce() argument