Searched refs:Truncate (Results 1 - 11 of 11) sorted by relevance
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | truncate.h | 22 class Truncate final {
|
H A D | truncate.cpp | 92 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 D | prop_n_exporter.cpp | 793 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 D | truncate.h | 27 class Truncate final {
|
H A D | truncate.cpp | 27 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 D | prop_n_exporter.cpp | 625 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 D | file_fs_impl.h | 80 static int Truncate(std::string file, int64_t len); 81 static int Truncate(int32_t file, int64_t len);
|
H A D | file_fs_ffi.cpp | 473 auto code = FileFsImpl::Truncate(file, len); in FfiOHOSFileFsTruncateByString() 481 auto code = FileFsImpl::Truncate(file, len); in FfiOHOSFileFsTruncateByFd()
|
H A D | file_fs_impl.cpp | 943 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 D | mtpfs_fuse.h | 83 int Truncate(const char *path, off_t offset, struct fuse_file_info *fileInfo);
|
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/ |
H A D | mtpfs_fuse.cpp | 211 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 9 milliseconds