Home
last modified time | relevance | path

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

/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_share_mem.c37 ftruncate(fd, spaceSize); in InitSharedMem()
/base/security/dlp_permission_service/frameworks/test/mock/
Dfile_io_mock.cpp57 int ftruncate(int fd, off_t length) in ftruncate() function
/base/startup/init/services/param/linux/
Dparam_osadp.c91 ftruncate(fd, spaceSize); in GetSharedMem()
/base/startup/init/services/modules/seccomp/seccomp_policy/
Dupdater.seccomp.policy58 ftruncate;arm64
59 ftruncate;riscv64
Dapp.seccomp.policy76 ftruncate;arm64
77 ftruncate;riscv64
Dsystem.seccomp.policy70 ftruncate;arm64
71 ftruncate;riscv64
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/
Ddlp_file.h136 if (ftruncate(fd, size) == -1) { \
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
Ddlp_file_test.cpp1887 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/
Dfaultlog_formatter.cpp350 if (ftruncate(fd, maxLogSize) < 0) { in LimitCppCrashLog()
/base/hiviewdfx/hilog/services/hilogd/
Dlog_persister.cpp207 ftruncate(fileno(plainTextFile), sizeof(LogPersisterBuffer)); in PrepareUncompressedFile()
/base/startup/init/services/modules/trace/
Dinit_trace.c337 (void)ftruncate(fd, 0); in ClearTrace()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_file.cpp1157 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/
Ddlp_fuse_test.cpp647 ASSERT_EQ(ftruncate(linkfd, 3), 0);
705 ASSERT_EQ(ftruncate(linkfd, 3), 0);
/base/startup/appspawn/standard/
Dappspawn_service.c349 ftruncate(fd, size); in GetMapMem()