Home
last modified time | relevance | path

Searched refs:statSrc (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/native/c_api/
H A Dmedia_asset_change_request_impl.cpp763 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 Dmoving_photo_file_utils.cpp475 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 Dmedia_asset_manager_impl.cpp786 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 Dmedia_asset_manager_napi.cpp1285 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 Dmedia_asset_change_request_napi.cpp1615 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 Dmedia_library_napi.cpp4292 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 Dmedialibrary_object_utils.cpp1479 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()