/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | lseek.cpp | 42 auto [resGetThirdArg, whence] = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(); in GetLseekArg() 44 UniError(EINVAL).ThrowErr(env, "Invalid whence"); in GetLseekArg() 48 return { true, fd, offset, whence }; in GetLseekArg() 59 auto [resGetLseekArg, fd, offset, whence] = GetLseekArg(env, funcArg); in Sync() 64 int ret = lseek(fd, offset, whence); in Sync() 81 auto [resGetLseekArg, fd, offset, whence] = GetLseekArg(env, funcArg); in Async() 87 auto cbExec = [fd = fd, offset = offset, whence = whence, arg](napi_env env) -> UniError { in Async() 88 int ret = lseek(fd, offset, whence); in Async()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | lseek.cpp | 51 SeekPos whence = SeekPos::START; in Sync() local 55 HILOGE("Invalid whence from JS third argument"); in Sync() 59 whence = static_cast<SeekPos>(pos); in Sync() 62 int64_t ret = ::Lseek(fd, offset, whence); in Sync()
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | lseek.cpp | 37 SeekPos whence = static_cast<SeekPos>(pos); in Lseek() local 39 int64_t seekRet = ::Lseek(fd, offset, whence); in Lseek()
|
H A D | file_fs_ffi.h | 81 FFI_EXPORT RetDataI64 FfiOHOSFileFsLseek(int32_t fd, int64_t offset, int whence);
|
/foundation/filemanagement/app_file_service/tests/mock/library_func_mock/ |
H A D | library_func_mock.cpp | 19 int fseeko(FILE *stream, off_t offset, int whence) in fseeko() argument 24 return LibraryFunc::libraryFunc_->fseeko(stream, offset, whence); in fseeko()
|
H A D | library_func_mock.h | 32 virtual int fseeko(FILE *stream, off_t offset, int whence) = 0; 42 MOCK_METHOD3(fseeko, int(FILE *stream, off_t offset, int whence));
|
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | system_function_mock.cpp | 35 off_t lseek(int fd, off_t offset, int whence) in lseek() argument 37 return Assistant::ins->lseek(fd, offset, whence); in lseek()
|
/foundation/multimedia/av_codec/services/media_engine/modules/muxer/ |
H A D | data_sink_file.cpp | 70 int64_t DataSinkFile::Seek(int64_t offset, int whence) in Seek() argument 72 switch (whence) { in Seek()
|
H A D | data_sink_fd.cpp | 75 int64_t DataSinkFd::Seek(int64_t offset, int whence) in Seek() argument 77 switch (whence) { in Seek()
|
H A D | data_sink_file.h | 33 int64_t Seek(int64_t offset, int whence) override;
|
H A D | data_sink_fd.h | 32 int64_t Seek(int64_t offset, int whence) override;
|
/foundation/multimedia/av_codec/interfaces/plugin/ |
H A D | data_sink.h | 28 virtual int64_t Seek(int64_t offset, int whence) = 0;
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/muxer/ |
H A D | ffmpeg_muxer_plugin.cpp | 543 int64_t FFmpegMuxerPlugin::IoSeek(void* opaque, int64_t offset, int whence) in IoSeek() argument 547 switch (whence) { in IoSeek() 551 MEDIA_LOG_I("AVSeek whence: " PUBLIC_LOG_D32 ", pos = " PUBLIC_LOG_D64 ", newPos = " PUBLIC_LOG_U64, in IoSeek() 552 whence, offset, newPos); in IoSeek() 556 MEDIA_LOG_I("AVSeek whence: " PUBLIC_LOG_D32 ", pos = " PUBLIC_LOG_D64 ", newPos = " PUBLIC_LOG_U64, in IoSeek() 557 whence, offset, newPos); in IoSeek() 562 MEDIA_LOG_I("AVSeek seek end whence: " PUBLIC_LOG_D32 ", pos = " PUBLIC_LOG_D64, whence, offset); in IoSeek() 565 MEDIA_LOG_E("AVSeek unexpected whence: " PUBLIC_LOG_D32, whence); in IoSeek() [all...] |
H A D | ffmpeg_muxer_plugin.h | 82 static int64_t IoSeek(void* opaque, int64_t offset, int whence);
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_demuxer_plugin.cpp | 571 int64_t FFmpegDemuxerPlugin::AVSeek(void* opaque, int64_t offset, int whence) // NOLINT: void* in AVSeek() argument 575 switch (whence) { in AVSeek() 579 MEDIA_LOG_DD("AVSeek whence: " PUBLIC_LOG_D32 ", pos = " PUBLIC_LOG_D64 ", newPos = " PUBLIC_LOG in AVSeek() 580 PRIu64, whence, offset, newPos); in AVSeek() 584 MEDIA_LOG_DD("AVSeek whence: " PUBLIC_LOG_D32 ", pos = " PUBLIC_LOG_D64 ", newPos = " PUBLIC_LOG in AVSeek() 585 PRIu64, whence, offset, newPos); in AVSeek() 592 MEDIA_LOG_I("AVSeek seek end whence: " PUBLIC_LOG_D32 ", pos = " PUBLIC_LOG_D64, in AVSeek() 593 whence, offset); in AVSeek() 598 MEDIA_LOG_E("AVSeek unexpected whence: " PUBLIC_LOG_D32, whence); in AVSeek() [all...] |
H A D | ffmpeg_demuxer_plugin.h | 95 static int64_t AVSeek(void* opaque, int64_t offset, int whence); // NOLINT: void*
|
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/ |
H A D | fuse_operations.cpp | 343 void FuseOperations::Lseek(fuse_req_t req, fuse_ino_t ino, off_t off, int whence, in Lseek() argument 348 opsPtr->Lseek(req, ino, off, whence, fi); in Lseek() 357 inoPtr->ops->Lseek(req, ino, off, whence, fi); in Lseek()
|
H A D | file_operations_base.cpp | 167 void FileOperationsBase::Lseek(fuse_req_t req, fuse_ino_t ino, off_t off, int whence, in Lseek() argument
|
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/include/cloud_disk/ |
H A D | file_operations_cloud.h | 51 void Lseek(fuse_req_t req, fuse_ino_t ino, off_t off, int whence,
|
H A D | file_operations_base.h | 58 virtual void Lseek(fuse_req_t req, fuse_ino_t ino, off_t off, int whence,
|
H A D | fuse_operations.h | 53 static void Lseek(fuse_req_t req, fuse_ino_t ino, off_t off, int whence,
|
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/ |
H A D | fuse_operations_test.cpp | 1636 int whence = 0; in HWTEST_F() local 1639 fuseoperations_->Lseek(req, FUSE_ROOT_ID, off, whence, &fi); in HWTEST_F() 1662 int whence = 0; in HWTEST_F() local 1665 fuseoperations_->Lseek(req, 0, off, whence, &fi); in HWTEST_F() 1696 int whence = 0; in HWTEST_F() local 1699 fuseoperations_->Lseek(req, 0, off, whence, &fi); in HWTEST_F()
|
H A D | file_operations_cloud_test.cpp | 2520 int whence = 0; in HWTEST_F() local 2525 fileOperationsCloud_->Lseek(req, ino, off, whence, &fi); in HWTEST_F() 2548 int whence = 0; in HWTEST_F() local 2554 fileOperationsCloud_->Lseek(req, ino, off, whence, &fi); in HWTEST_F() 2577 int whence = 0; in HWTEST_F() local 2583 fileOperationsCloud_->Lseek(req, ino, off, whence, &fi); in HWTEST_F() 2606 int whence = 0; in HWTEST_F() local 2613 fileOperationsCloud_->Lseek(req, ino, off, whence, &fi); in HWTEST_F() 2636 int whence = 0; in HWTEST_F() local 2643 fileOperationsCloud_->Lseek(req, ino, off, whence, in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/muxer/ |
H A D | ffmpeg_muxer_plugin.h | 77 static int64_t IoSeek(void *opaque, int64_t offset, int whence);
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_stream/ |
H A D | stream_n_exporter.cpp | 439 int whence = SEEK_SET; in Seek() local 443 HILOGE("Invalid whence from JS third argument"); in Seek() 447 whence = pos; in Seek() 451 int ret = fseek(fp.get(), static_cast<long>(offset), whence); in Seek()
|