Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 8 of 8) sorted by relevance

/base/security/dlp_permission_service/frameworks/test/mock/
Dfile_io_mock.cpp26 typedef off_t (*LseekFuncT)(int fd, off_t offset, int whence);
31 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
41 return (*func)(fd, offset, whence); in lseek()
/base/update/updater/services/package/pkg_manager/
Dpkg_stream.h57 virtual int32_t Seek(long int offset, int whence) = 0;
100 int32_t Seek(long int offset, int whence) override;
128 int32_t Seek(long int offset, int whence) override;
194 int32_t Seek(long int size, int whence) override in Seek() argument
197 UNUSED(whence); in Seek()
241 int32_t Seek(long int offset, int whence) override in Seek() argument
244 UNUSED(whence); in Seek()
Dpkg_stream.cpp160 int32_t FileStream::Seek(long int offset, int whence) in Seek() argument
166 return fseek(stream_, offset, whence); in Seek()
262 int32_t MemoryMapStream::Seek(long int offset, int whence) in Seek() argument
264 if (whence == SEEK_SET) { in Seek()
274 } else if (whence == SEEK_CUR) { in Seek()
/base/global/resource_management/interfaces/native/resource/include/
Draw_file.h107 int OH_ResourceManager_SeekRawFile(const RawFile *rawFile, long offset, int whence);
/base/hiviewdfx/hiview_lite/
Dhiview_util.h95 int32 HIVIEW_FileSeek(int32 handle, int32 offset, int32 whence);
Dhiview_util.c195 int32 HIVIEW_FileSeek(int32 handle, int32 offset, int32 whence) in HIVIEW_FileSeek() argument
200 return hiview_lseek(handle, (off_t)offset, whence); in HIVIEW_FileSeek()
/base/global/resource_management/frameworks/resmgr/src/
Draw_file_manager.cpp277 int OH_ResourceManager_SeekRawFile(const RawFile *rawFile, long offset, int whence) in OH_ResourceManager_SeekRawFile() argument
285 switch (whence) { in OH_ResourceManager_SeekRawFile()
/base/update/updater/test/unittest/package/
Dpkg_manager_unittest.cpp67 int32_t Seek(long int sizeT, int whence) override in Seek() argument