Searched refs:statSrc (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/multimedia/media_library/frameworks/native/c_api/ |
H A D | media_asset_change_request_impl.cpp | 763 struct stat statSrc {}; in SendFile() struct 764 int32_t status = fstat(srcFd.Get(), &statSrc); in SendFile() 771 off_t fileSize = statSrc.st_size; in SendFile()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | moving_photo_file_utils.cpp | 475 struct stat64 statSrc {}; in SendLivePhoto() struct 477 CHECK_AND_RETURN_RET_LOG(fstat64(livePhotoFd.Get(), &statSrc) == 0, E_HAS_FS_ERROR, in SendLivePhoto() 479 off_t totalSize = statSrc.st_size; in SendLivePhoto()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/native/media_library_asset_manager/src/ |
H A D | media_asset_manager_impl.cpp | 786 struct stat statSrc; in WriteFileToPath() local 787 if (fstat(srcFd, &statSrc) != E_SUCCESS) { in WriteFileToPath() 798 if (sendfile(destFd, srcFd, nullptr, statSrc.st_size) == -1) { in WriteFileToPath()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_asset_manager_napi.cpp | 1285 struct stat statSrc; in WriteDataToDestPath() local 1286 if (fstat(srcFd, &statSrc) == -1) { in WriteDataToDestPath() 1301 SendFile(env, srcFd, destFd, result, statSrc.st_size); in WriteDataToDestPath()
|
H A D | media_asset_change_request_napi.cpp | 1615 struct stat statSrc {}; in SendFile() struct 1616 int32_t status = fstat(srcFd.Get(), &statSrc); in SendFile() 1623 off_t fileSize = statSrc.st_size; in SendFile()
|
H A D | media_library_napi.cpp | 4292 struct stat statSrc; in JSGetStoreMediaAssetExecute() local 4293 if (fstat(srcFd, &statSrc) == -1) { in JSGetStoreMediaAssetExecute() 4318 if (sendfile(destFd, srcFd, nullptr, statSrc.st_size) == -1) { in JSGetStoreMediaAssetExecute()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_object_utils.cpp | 1479 struct stat statSrc; in CopyAssetByFd() local 1480 if (fstat(srcFd, &statSrc) == -1) { in CopyAssetByFd() 1486 if (sendfile(destFd, srcFd, nullptr, statSrc.st_size) == -1) { in CopyAssetByFd()
|