/ohos5.0/foundation/multimedia/player_framework/frameworks/native/transcoder/test/unittest/src/ |
H A D | transcoder_unit_test.cpp | 85 close(dstFd); 119 close(dstFd); 154 close(dstFd); 191 close(dstFd); 222 close(dstFd); 255 close(dstFd); 299 close(dstFd); 345 close(dstFd); 392 close(dstFd); 441 close(dstFd); [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | dup.cpp | 44 int dstFd = dup(srcFd); in Sync() local 45 if (dstFd < 0) { in Sync() 57 string path = "/proc/self/fd/" + to_string(dstFd); in Sync() 64 …return CommonFunc::InstantiateFile(env, dstFd, string(static_cast<const char *>(readlink_req->ptr)… in Sync()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/deferred_processing/ |
H A D | deferred_video_proc_adapter.cpp | 85 void DeferredVideoProcessingAdapter::AddVideo(const std::string &videoId, int srcFd, int dstFd) in AddVideo() argument 97 if (dstFd < 0) { in AddVideo() 98 MEDIA_ERR_LOG("AddVideo dstFd is %{public}d", dstFd); in AddVideo() 103 auto dst = sptr<IPCFileDescriptor>::MakeSptr(dstFd); in AddVideo()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_deferred_video_unittest.cpp | 138 sptr<IPCFileDescriptor> dstFd = sptr<IPCFileDescriptor>::MakeSptr(VIDEO_REQUEST_FD_TEMP); variable 139 session_->AddVideo(videoId, srcFd, dstFd); 157 sptr<IPCFileDescriptor> dstFd = sptr<IPCFileDescriptor>::MakeSptr(VIDEO_REQUEST_FD_TEMP); variable 158 session_->AddVideo(videoId, srcFd, dstFd); 176 sptr<IPCFileDescriptor> dstFd = sptr<IPCFileDescriptor>::MakeSptr(VIDEO_REQUEST_FD_TEMP); variable 177 session_->AddVideo(videoId, srcFd, dstFd); 204 sptr<IPCFileDescriptor> dstFd = sptr<IPCFileDescriptor>::MakeSptr(VIDEO_REQUEST_FD_TEMP); variable 205 session_->AddVideo(videoId, srcFd, dstFd);
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/session/video_session/ |
H A D | deferred_video_processing_session.h | 28 VideoInfo(const sptr<IPCFileDescriptor>& srcFd, const sptr<IPCFileDescriptor>& dstFd) in VideoInfo() argument 29 : srcFd_(srcFd), dstFd_(dstFd) in VideoInfo() 48 const sptr<IPCFileDescriptor>& dstFd) override;
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/binder/server/src/ |
H A D | deferred_video_processing_session_stub.cpp | 54 sptr<IPCFileDescriptor> dstFd(data.ReadParcelable<IPCFileDescriptor>()); in OnRemoteRequest() local 56 if (!dstFd) { in OnRemoteRequest() 59 ErrCode errCode = AddVideo(videoId, srcFd, dstFd); in OnRemoteRequest()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/ |
H A D | multistages_video_capture_manager.cpp | 81 int dstFd = open(tempPath.c_str(), O_CREAT|O_WRONLY|O_TRUNC, fileMode); in AddVideoInternal() local 82 if (dstFd < 0) { in AddVideoInternal() 83 MEDIA_ERR_LOG("open file fail, dstFd = %{public}d, errno:%{public}d", dstFd, errno); in AddVideoInternal() 88 deferredProcSession_->AddVideo(videoId, srcFd, dstFd); in AddVideoInternal()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/video_job_repository/ |
H A D | deferred_video_job.cpp | 39 const sptr<IPCFileDescriptor>& dstFd) in DeferredVideoJob() argument 42 dstFd_(dstFd), in DeferredVideoJob()
|
H A D | video_job_repository.cpp | 34 const sptr<IPCFileDescriptor>& srcFd, const sptr<IPCFileDescriptor>& dstFd) in AddVideoJob() argument 40 DeferredVideoJobPtr jobPtr = std::make_shared<DeferredVideoJob>(videoId, srcFd, dstFd); in AddVideoJob()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/command/ |
H A D | video_command.cpp | 50 const sptr<IPCFileDescriptor>& srcFd, const sptr<IPCFileDescriptor>& dstFd) in AddVideoCommand() argument 51 : VideoCommand(userId, videoId), srcFd_(srcFd), dstFd_(dstFd) in AddVideoCommand()
|
/ohos5.0/base/startup/init/services/init/ |
H A D | init_common_cmds.c | 262 int dstFd = -1; in DoCopy() local 287 dstFd = open(realPath2, O_WRONLY | O_TRUNC | O_CREAT, mode); in DoCopy() 289 dstFd = open(ctx->argv[1], O_WRONLY | O_TRUNC | O_CREAT, mode); in DoCopy() 291 if (dstFd < 0) { in DoCopy() 297 int rtLen = write(dstFd, buf, rdLen); in DoCopy() 303 fsync(dstFd); in DoCopy() 306 INIT_CHECK(dstFd < 0, close(dstFd)); in DoCopy()
|
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | ringtone_dualfw_restore.cpp | 269 int32_t dstFd = open(absFilePath.c_str(), O_WRONLY | O_CREAT, MODE_RW_USR); in DupToneFile() local 270 if (dstFd < 0) { in DupToneFile() 278 if (sendfile(dstFd, srcFd, nullptr, fst.st_size) <= 0) { in DupToneFile() 283 close(dstFd); in DupToneFile()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/video_session/ |
H A D | deferred_video_processing_session.cpp | 60 const sptr<IPCFileDescriptor>& srcFd, const sptr<IPCFileDescriptor>& dstFd) in AddVideo() argument 63 auto outFd = sptr<IPCFileDescriptor>::MakeSptr(dup(dstFd->GetFd())); in AddVideo()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/ |
H A D | deferred_video_processor.cpp | 49 const sptr<IPCFileDescriptor>& srcFd, const sptr<IPCFileDescriptor>& dstFd) in AddVideo() argument 52 repository_->AddVideoJob(videoId, srcFd, dstFd); in AddVideo()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/binder/client/src/ |
H A D | deferred_video_processing_session_proxy.cpp | 78 const sptr<IPCFileDescriptor>& dstFd) in AddVideo() argument 94 if (!data.WriteParcelable(dstFd)) { in AddVideo()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | file_impl.cpp | 247 int dstFd = dup(fd); in Dup() local 248 if (dstFd < 0) { in Dup() 258 string path = "/proc/self/fd/" + to_string(dstFd); in Dup() 264 auto fdPrt = CreateUniquePtr<DistributedFS::FDGuard>(dstFd, false); in Dup()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/deferred_proc_session/ |
H A D | deferred_video_proc_session.cpp | 100 const sptr<IPCFileDescriptor> dstFd) in AddVideo() argument 106 auto ret = remoteSession_->AddVideo(videoId, srcFd, dstFd); in AddVideo()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/binder/base/include/ |
H A D | ideferred_video_processing_session.h | 40 const sptr<IPCFileDescriptor>& dstFd) = 0;
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ |
H A D | randomaccessfile_n_exporter.cpp | 424 auto dstFd = dup(rafEntity->fd.get()->GetFD()); in CreateStream() local 425 if (dstFd < 0) { in CreateStream() 432 string path = "/proc/self/fd/" + to_string(dstFd); in CreateStream() 437 close(dstFd); in CreateStream() 441 close(dstFd); in CreateStream()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/include/deferred_processing/ |
H A D | deferred_video_proc_adapter.h | 40 void AddVideo(const std::string &videoId, int srcFd, int dstFd);
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/binder/client/include/ |
H A D | deferred_video_processing_session_proxy.h | 44 const sptr<IPCFileDescriptor>& dstFd) override;
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/video_processor/ |
H A D | deferred_video_processor.h | 34 const sptr<IPCFileDescriptor>& dstFd);
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/session/command/ |
H A D | video_command.h | 45 const sptr<IPCFileDescriptor>& srcFd, const sptr<IPCFileDescriptor>& dstFd);
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/video_processor/video_job_repository/ |
H A D | video_job_repository.h | 34 const sptr<IPCFileDescriptor>& dstFd);
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/deferred_proc_session/ |
H A D | deferred_video_proc_session.h | 49 const sptr<IPCFileDescriptor> dstFd);
|