Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/compile/libbcc/lib/Support/
DFileBase.cpp225 android::FileMap *FileBase::createMap(off_t pOffset, size_t pLength, in createMap()
264 off_t FileBase::seek(off_t pOffset) { in seek()
266 return static_cast<off_t>(-1); in seek()
270 off_t result = ::lseek(mFD, pOffset, SEEK_SET); in seek()
277 return static_cast<off_t>(-1); in seek()
280 off_t FileBase::tell() { in tell()
282 return static_cast<off_t>(-1); in tell()
286 off_t result = ::lseek(mFD, 0, SEEK_CUR); in tell()
287 if (result != static_cast<off_t>(-1)) { in tell()
293 return static_cast<off_t>(-1); in tell()
/frameworks/native/include/android/
Dasset_manager.h94 off_t AAsset_seek(AAsset* asset, off_t offset, int whence);
122 off_t AAsset_getLength(AAsset* asset);
133 off_t AAsset_getRemainingLength(AAsset* asset);
150 int AAsset_openFileDescriptor(AAsset* asset, off_t* outStart, off_t* outLength);
/frameworks/base/native/android/
Dasset_manager.cpp176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek()
197 off_t AAsset_getLength(AAsset* asset) in AAsset_getLength()
207 off_t AAsset_getRemainingLength(AAsset* asset) in AAsset_getRemainingLength()
217 int AAsset_openFileDescriptor(AAsset* asset, off_t* outStart, off_t* outLength) in AAsset_openFileDescriptor()
223 *outStart = off_t(outStart64); in AAsset_openFileDescriptor()
224 *outLength = off_t(outLength64); in AAsset_openFileDescriptor()
/frameworks/compile/libbcc/include/bcc/Support/
DFileBase.h127 android::FileMap *createMap(off_t pOffset, size_t pLength, bool pIsReadOnly);
131 off_t seek(off_t pOffset);
132 off_t tell();
/frameworks/compile/mclinker/include/mcld/MC/
DInput.h54 off_t pFileOffset = 0);
60 off_t pFileOffset = 0);
103 off_t fileOffset() const in fileOffset()
106 void setFileOffset(off_t pFileOffset) in setFileOffset()
136 off_t m_fileOffset;
DInputFactory.h43 off_t pFileOffset = 0);
/frameworks/base/tools/aapt/
DZipEntry.h66 off_t getUncompressedLen(void) const { return mCDE.mUncompressedSize; } in getUncompressedLen()
72 off_t getCompressedLen(void) const { return mCDE.mCompressedSize; } in getCompressedLen()
77 off_t getLFHOffset(void) const { return mCDE.mLocalHeaderRelOffset; } in getLFHOffset()
83 off_t getFileOffset(void) const { in getFileOffset()
197 void setLFHOffset(off_t offset) { in setLFHOffset()
DZipFile.h237 status_t filemove(FILE* fp, off_t dest, off_t src, size_t n);
/frameworks/compile/libbcc/include/bcinfo/Wrap/
Dfile_wrapper_input.h39 virtual off_t Size();
51 off_t _size;
Dwrapper_input.h41 virtual off_t Size() = 0;
Din_memory_wrapper_input.h39 virtual off_t Size();
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h470 off_t onLseek(int uniqueId,
472 off_t offset,
498 off_t offset);
535 off_t offset;
/frameworks/compile/mclinker/include/mcld/Support/
DFileSystem.h100 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset);
101 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset);
104 int pProt, int pFlags, int pFD, off_t pOffset);
DSystemUtils.h20 typedef off_t Offset;
/frameworks/rs/cpu_ref/linkloader/include/impl/
DELFSymbol.hxx164 my_addr =const_cast<unsigned char *>(&st[0] + (off_t)getValue()); in getAddress()
229 my_addr = const_cast<unsigned char *>(&st[0] + (off_t)getValue()); in getAddress()
259 my_addr = const_cast<unsigned char *>(&st[0] + (off_t)getValue()); in getAddress()
288 my_addr = const_cast<unsigned char *>(&st[0] + (off_t)getValue()); in getAddress()
/frameworks/compile/mclinker/lib/MC/
DInput.cpp45 off_t pFileOffset) in Input()
61 off_t pFileOffset) in Input()
DInputFactory.cpp37 off_t pFileOffset) in produce()
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc93 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset)
96 off_t old_pos;
116 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset)
119 off_t old_pos;
/frameworks/av/include/ndk/
DNdkMediaCodec.h134 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags);
140 size_t idx, off_t offset, AMediaCodecCryptoInfo*, uint64_t time, uint32_t flags);
/frameworks/rs/cpu_ref/linkloader/lib/
DmmanWindows.cpp21 void* mmap(void *, size_t, int, int, int, off_t) { in mmap() argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp632 session->offset = ((off_t)-1);
646 off_t FwdLockEngine::onLseek(int uniqueId, DecryptHandle* decryptHandle,
647 off_t offset, int whence) {
649 off_t offval = -1;
673 off_t offset) {
688 if (((off_t)-1) != decoderSession->offset) {
/frameworks/native/cmds/rawbu/
Dbackup.cpp196 static int copy_file(FILE* dest, FILE* src, off_t size, const char* destName, in copy_file()
201 off_t origSize = size; in copy_file()
204 int amt = size > (off_t)sizeof(copyBuffer) ? sizeof(copyBuffer) : (int)size; in copy_file()
340 off_t size = statBuffer.st_size; in backup_dir()
564 off_t size = read_int64(fh, -1); in restore_data()
/frameworks/rs/cpu_ref/linkloader/include/
DmmanWindows.h35 extern void* mmap(void *, size_t, int, int, int, off_t);
/frameworks/compile/libbcc/bcinfo/Wrap/
Din_memory_wrapper_input.cpp49 off_t InMemoryWrapperInput::Size() { in Size()
Dfile_wrapper_input.cpp47 off_t FileWrapperInput::Size() { in Size()

123