Home
last modified time | relevance | path

Searched refs:ftruncate (Results 1 – 25 of 61) sorted by relevance

123

/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202211/
H A Djs-apidiff-file-management.md52 |废弃版本有变化|方法名 or 属性名:ftruncate<br>废弃版本:N/A|方法名 or 属性名:ftruncate<br>废弃版本:9<br>代替接口:ohos.file.fs.trunc…
53 |废弃版本有变化|方法名 or 属性名:ftruncate<br>废弃版本:N/A|方法名 or 属性名:ftruncate<br>废弃版本:9|@ohos.fileio.d.ts|
54 |废弃版本有变化|方法名 or 属性名:ftruncate<br>废弃版本:N/A|方法名 or 属性名:ftruncate<br>废弃版本:9|@ohos.fileio.d.ts|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
H A Dftruncate.cpp54 int ret = ftruncate(fd, len); in Sync()
88 int ret = ftruncate(fd, len); in Async()
H A Dtruncate_v9.cpp79 if (ftruncate(fileInfo.fdg.GetFD(), truncateLen) != 0) { in Sync()
112 if (ftruncate(fileInfo->fdg.GetFD(), truncateLen) != 0) { in Async()
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_filesystem/
H A Db_file.cpp77 ret = ftruncate(outFd, offset); in SendFile()
89 if (ftruncate(fd, ret) == -1) { in Write()
/ohos5.0/docs/en/release-notes/api-diff/monthly-202211/
H A Djs-apidiff-file-management.md52 …rsion changed|Method or attribute name: ftruncate<br>Deprecated version: N/A|Method or attribute n…
53 …rsion changed|Method or attribute name: ftruncate<br>Deprecated version: N/A|Method or attribute n…
54 …rsion changed|Method or attribute name: ftruncate<br>Deprecated version: N/A|Method or attribute n…
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/src/
H A Dselinux_share_mem.c37 ftruncate(fd, spaceSize); in InitSharedMem()
/ohos5.0/base/security/dlp_permission_service/frameworks/test/mock/
H A Dfile_io_mock.cpp57 int ftruncate(int fd, off_t length) in ftruncate() function
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_kickdog_test.cpp69 ftruncate(fileFd, 0); in CheckFileContent()
/ohos5.0/base/startup/init/services/param/linux/
H A Dparam_osadp.c91 ftruncate(fd, spaceSize); in GetSharedMem()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-file-management.md50 … | fileIO | ftruncate(fd: number, len?: number): Promise\<void>;<br>ftruncate(fd: number, callback…
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/file_sink/
H A Dfile_fd_sink_plugin.cpp103 ftruncate(fd_, 0); in Reset()
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-file-management.md50 … | fileIO | ftruncate(fd: number, len?: number): Promise\<void>;<br>ftruncate(fd: number, callback…
/ohos5.0/base/startup/init/services/modules/seccomp/seccomp_policy/
H A Dupdater.seccomp.policy58 ftruncate;arm64
59 ftruncate;riscv64
H A Dapp.seccomp.policy75 ftruncate;arm64
76 ftruncate;riscv64
H A Dsystem.seccomp.policy70 ftruncate;arm64
71 ftruncate;riscv64
/ohos5.0/build/config/components/init/seccomp/seccomp_policy/
H A Dupdater.seccomp.policy58 ftruncate;arm64
59 ftruncate;riscv64
H A Dapp.seccomp.policy75 ftruncate;arm64
76 ftruncate;riscv64
H A Dsystem.seccomp.policy70 ftruncate;arm64
71 ftruncate;riscv64
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/utils/
H A Ddp_utils.h63 if (ftruncate(fd, 0) != 0) { in ClearFileContent()
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dmapped_file.cpp177 if (ftruncate(fd, EndOffset() + 1) == -1) { in OpenFile()
284 if (ftruncate(fd_, offset_ + newSize) == -1) { in SyncFileSize()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_mapped_file_test.cpp795 …ASSERT_EQ(ftruncate(fd, MappedFile::PageSize() + MappedFile::PageSize() / 100LL), 0); // 100: rati…
868 ASSERT_EQ(ftruncate(mf.GetFd(), MappedFile::PageSize() + MappedFile::PageSize() / 100LL), 0);
900 ASSERT_EQ(ftruncate(mf.GetFd(), MappedFile::PageSize() + MappedFile::PageSize() / 100LL), 0);
962 … ASSERT_EQ(ftruncate(fd, MappedFile::PageSize() + 10), 0); // 10: remain contents less than 25bits.
1316 ftruncate(fd, 7 * 1024);
/ohos5.0/foundation/multimedia/player_framework/services/seccomp_policy/
H A Dmedia_service.seccomp.policy31 ftruncate;arm64
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
H A Ddlp_file_test.cpp1888 int dlpRet = ftruncate(fInfo, 0);
1944 int dlpRet = ftruncate(fInfo, 0);
2003 int dlpRet = ftruncate(fInfo, 0);
2062 int dlpRet = ftruncate(fInfo, 0);
2122 int dlpRet = ftruncate(fInfo, 0);
2277 dlpRet = ftruncate(fdDlp3, 0);
2285 dlpRet = ftruncate(fdDlp3, 0);
/ohos5.0/drivers/peripheral/audio/test/systemtest/common/lib_common/src/
H A Daudio_lib_common.cpp162 ftruncate(fd, FILE_CAPTURE_SIZE); in CaptureReqMmapBufferInit()
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/
H A Dmapped_benchmark_test.cpp829 AssertEqual(ftruncate(fd, MappedFile::PageSize() + MappedFile::PageSize() / 100LL), 0, in BENCHMARK_F()
903 … AssertEqual(ftruncate(mf.GetFd(), MappedFile::PageSize() + MappedFile::PageSize() / 100LL), 0, in BENCHMARK_F()
942 … AssertEqual(ftruncate(mf.GetFd(), MappedFile::PageSize() + MappedFile::PageSize() / 100LL), 0, in BENCHMARK_F()
1016 AssertEqual(ftruncate(fd, MappedFile::PageSize() + newSize), 0, in BENCHMARK_F()
1441 ftruncate(fd, newSize); in BENCHMARK_F()

123