Searched refs:ftruncate (Results 1 – 14 of 14) sorted by relevance
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_share_mem.c | 37 ftruncate(fd, spaceSize); in InitSharedMem()
|
/base/security/dlp_permission_service/frameworks/test/mock/ |
D | file_io_mock.cpp | 57 int ftruncate(int fd, off_t length) in ftruncate() function
|
/base/startup/init/services/param/linux/ |
D | param_osadp.c | 91 ftruncate(fd, spaceSize); in GetSharedMem()
|
/base/startup/init/services/modules/seccomp/seccomp_policy/ |
D | updater.seccomp.policy | 58 ftruncate;arm64 59 ftruncate;riscv64
|
D | app.seccomp.policy | 76 ftruncate;arm64 77 ftruncate;riscv64
|
D | system.seccomp.policy | 70 ftruncate;arm64 71 ftruncate;riscv64
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/ |
D | dlp_file.h | 136 if (ftruncate(fd, size) == -1) { \
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/ |
D | dlp_file_test.cpp | 1887 int dlpRet = ftruncate(fInfo, 0); 1943 int dlpRet = ftruncate(fInfo, 0); 2002 int dlpRet = ftruncate(fInfo, 0); 2061 int dlpRet = ftruncate(fInfo, 0); 2121 int dlpRet = ftruncate(fInfo, 0); 2276 dlpRet = ftruncate(fdDlp3, 0); 2284 dlpRet = ftruncate(fdDlp3, 0);
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
D | faultlog_formatter.cpp | 350 if (ftruncate(fd, maxLogSize) < 0) { in LimitCppCrashLog()
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | log_persister.cpp | 207 ftruncate(fileno(plainTextFile), sizeof(LogPersisterBuffer)); in PrepareUncompressedFile()
|
/base/startup/init/services/modules/trace/ |
D | init_trace.c | 337 (void)ftruncate(fd, 0); in ClearTrace()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
D | dlp_file.cpp | 1157 if (ftruncate(dlpFd_, 0) == -1) { in GenFileInRaw() 1249 if (ftruncate(outPlainFileFd, 0) == -1) { in RemoveDlpPermissionInRaw() 1568 res = ftruncate(opFd, head_.txtOffset + size); in Truncate()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/ |
D | dlp_fuse_test.cpp | 647 ASSERT_EQ(ftruncate(linkfd, 3), 0); 705 ASSERT_EQ(ftruncate(linkfd, 3), 0);
|
/base/startup/appspawn/standard/ |
D | appspawn_service.c | 349 ftruncate(fd, size); in GetMapMem()
|