Home
last modified time | relevance | path

Searched refs:Truncate (Results 1 - 11 of 11) sorted by relevance

/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dtruncate.h22 class Truncate final {
H A Dtruncate.cpp92 napi_value Truncate::Sync(napi_env env, napi_callback_info info) in Sync()
123 napi_value Truncate::Async(napi_env env, napi_callback_info info) in Async()
H A Dprop_n_exporter.cpp793 NVal::DeclareNapiFunction("truncateSync", Truncate::Sync), in ExportSync()
835 NVal::DeclareNapiFunction("truncate", Truncate::Async), in ExportAsync()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
H A Dtruncate.h27 class Truncate final {
H A Dtruncate.cpp27 napi_value Truncate::Sync(napi_env env, napi_callback_info info) in Sync()
58 napi_value Truncate::Async(napi_env env, napi_callback_info info) in Async()
H A Dprop_n_exporter.cpp625 NVal::DeclareNapiFunction("truncateSync", Truncate::Sync), in ExportSync()
666 NVal::DeclareNapiFunction("truncate", Truncate::Async), in ExportAsync()
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dfile_fs_impl.h80 static int Truncate(std::string file, int64_t len);
81 static int Truncate(int32_t file, int64_t len);
H A Dfile_fs_ffi.cpp473 auto code = FileFsImpl::Truncate(file, len); in FfiOHOSFileFsTruncateByString()
481 auto code = FileFsImpl::Truncate(file, len); in FfiOHOSFileFsTruncateByFd()
H A Dfile_fs_impl.cpp943 int FileFsImpl::Truncate(std::string file, int64_t len) in Truncate() function in OHOS::CJSystemapi::FileFsImpl
977 int FileFsImpl::Truncate(int32_t fd, int64_t len) in Truncate() function in OHOS::CJSystemapi::FileFsImpl
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/include/
H A Dmtpfs_fuse.h83 int Truncate(const char *path, off_t offset, struct fuse_file_info *fileInfo);
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/
H A Dmtpfs_fuse.cpp211 int ret = DelayedSingleton<MtpFileSystem>::GetInstance()->Truncate(path, offset, fileInfo); in WrapTruncate()
212 LOGI("Truncate ret = %{public}d.", ret); in WrapTruncate()
599 int MtpFileSystem::Truncate(const char *path, off_t new_size, struct fuse_file_info *fileInfo) in Truncate() function in MtpFileSystem

Completed in 10 milliseconds