/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/ |
D | dlp_fuse_test.cpp | 225 ASSERT_NE(lseek(linkfd1, 0, SEEK_SET), -1); in CheckLinkFd() 230 ASSERT_NE(lseek(linkfd1, 0x1000, SEEK_SET), -1); in CheckLinkFd() 236 ASSERT_NE(lseek(linkfd1, 0x100000, SEEK_SET), -1); in CheckLinkFd() 241 ASSERT_NE(lseek(linkfd1, 0x100010, SEEK_SET), -1); in CheckLinkFd() 246 ASSERT_NE(lseek(linkfd1, 0x100022, SEEK_SET), -1); in CheckLinkFd() 251 ASSERT_NE(lseek(linkfd1, 0x10002f, SEEK_SET), -1); in CheckLinkFd() 256 ASSERT_NE(lseek(linkfd1, 0x10003f, SEEK_SET), -1); in CheckLinkFd() 266 ASSERT_NE(lseek(g_recoveryFileFd, 0, SEEK_SET), -1); in CheckRecoverFd() 272 ASSERT_NE(lseek(g_recoveryFileFd, 0x1000, SEEK_SET), -1); in CheckRecoverFd() 279 ASSERT_NE(lseek(g_recoveryFileFd, 0x100000, SEEK_SET), -1); in CheckRecoverFd() [all …]
|
D | dlp_file_test.cpp | 157 ASSERT_NE(lseek(g_recoveryFileFd, 0, SEEK_SET), -1); 216 lseek(g_recoveryFileFd, 0, SEEK_SET); 269 lseek(g_recoveryFileFd, 0, SEEK_SET);
|
/base/update/updater/services/applypatch/ |
D | partition_record.cpp | 46 if (lseek(fd, PARTITION_RECORD_START, SEEK_CUR) < 0) { in IsPartitionUpdated() 75 if (lseek(fd, PARTITION_RECORD_OFFSET, SEEK_SET) < 0) { in RecordPartitionSetOffset() 84 if (lseek(fd, PARTITION_RECORD_START + offset_, SEEK_SET) < 0) { in RecordPartitionSetOffset() 104 if (lseek(fd, PARTITION_RECORD_OFFSET, SEEK_SET) < 0) { in RecordPartitionSetInfo() 161 if (lseek(fd, PARTITION_RECORD_OFFSET, SEEK_SET) < 0) { in ClearRecordPartitionOffset()
|
D | block_writer.cpp | 64 if (lseek(fd_, offset, SEEK_SET) < 0) { in Write()
|
D | data_writer.cpp | 51 if (lseek(fd, 0, SEEK_SET) == -1) { in OpenPath()
|
D | transfer_manager.cpp | 141 (void)lseek(fd, 0, SEEK_SET); in ReloadForRetry()
|
/base/startup/init/services/begetctl/ |
D | misc_daemon.cpp | 47 if (lseek(fd, addrOffset * BLOCK_SZIE_1, SEEK_SET) < 0) { in ClearLogo() 92 if (lseek(fd, addrOffset * BLOCK_SZIE_1, SEEK_SET) < 0) { in WriteLogo() 110 lseek(fd, addrOffset * BLOCK_SZIE_1, SEEK_SET); in WriteLogo() 164 if (lseek(fd1, addrOffset * BLOCK_SZIE_1, SEEK_SET) < 0) { in WriteLogoToMisc()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_file.c | 60 file->len = lseek(*handle, 0, SEEK_END); in InitVerify() 78 lseek(file->fp, offset, SEEK_SET); in HapMMap()
|
D | app_verify_hap.c | 213 lseek(fp, 0, SEEK_SET); in ComputerFileHash() 258 lseek(fp, signInfo->hapCoreDirOffset, SEEK_SET); in ComputerCoreDirHash() 280 lseek(fp, signInfo->hapEocdOffset, SEEK_SET); in ComputerEocdHash()
|
D | app_centraldirectory.c | 176 lseek(file->fp, offset, SEEK_SET); in ReadFileFullyFromOffset()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
D | dlp_file_kits.cpp | 108 off_t curPos = lseek(dlpFd, 0, SEEK_CUR); in IsDlpFile() 114 if (lseek(dlpFd, 0, SEEK_SET) == static_cast<off_t>(-1)) { in IsDlpFile() 124 if (lseek(dlpFd, curPos, SEEK_SET) < 0) { in IsDlpFile()
|
D | dlp_file.cpp | 392 if (lseek(dlpFd_, 0, SEEK_SET) == static_cast<off_t>(-1)) { in CheckDlpFile() 714 (void)lseek(dlpFd_, oldTxtOffset, SEEK_SET); in UpdateFile() 719 int32_t fileSize = lseek(tmpFile, 0, SEEK_CUR); in UpdateFile() 720 (void)lseek(tmpFile, 0, SEEK_SET); in UpdateFile() 721 (void)lseek(dlpFd_, 0, SEEK_SET); in UpdateFile() 982 int32_t fileLen = lseek(fd, 0, SEEK_END); in GetFileSize() 983 (void)lseek(fd, 0, SEEK_SET); in GetFileSize() 1019 lseek(encFile, 0, SEEK_SET); in GenerateHmacVal() 1148 off_t fileLen = lseek(inPlainFileFd, 0, SEEK_END); in GenFileInRaw() 1162 if (lseek(inPlainFileFd, 0, SEEK_SET) == static_cast<off_t>(-1)) { in GenFileInRaw() [all …]
|
/base/update/updater/services/diffpatch/ |
D | diffpatch.cpp | 65 st.st_size = lseek(info.fd, 0, SEEK_END); in PatchMapFile() 66 lseek(info.fd, 0, SEEK_SET); in PatchMapFile()
|
/base/hiviewdfx/hiview_lite/ |
D | hiview_util.c | 46 static off_t (*hiview_lseek)(int, off_t, int) = lseek; 142 hiview_lseek = lseek; in HIVIEW_InitHook() 152 hiview_lseek = (hooks->lseek_fn) == NULL ? lseek : hooks->lseek_fn; in HIVIEW_InitHook()
|
/base/startup/hvb/test/ |
D | hvb_main.c | 61 where = lseek(fd, offset, SEEK_SET); in hvb_read_partition() 111 where = lseek(fd, offset, SEEK_SET); in hvb_write_partition()
|
/base/update/updater/interfaces/kits/misc_info/ |
D | misc_info.cpp | 131 if (lseek(fileno(fp), MISC_UPDATER_PARA_OFFSET, SEEK_SET) == -1) { in WriteUpdaterParaMisc() 173 if (lseek(fileno(fp), MISC_UPDATER_PARA_OFFSET, SEEK_SET) == -1) { in ReadUpdaterParaMisc()
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/ |
D | hc_file_posix.c | 117 int size = lseek(fp, 0, SEEK_END); in HcFileSize() 118 (void)lseek(fp, 0, SEEK_SET); in HcFileSize()
|
/base/security/dlp_permission_service/frameworks/test/mock/ |
D | file_io_mock.cpp | 31 off_t lseek(int fd, off_t offset, int whence) in lseek() function
|
/base/startup/init/services/param/liteos/ |
D | param_hal.c | 93 *fileSize = lseek(fd, 0, SEEK_END); in ParamFileStat() 94 lseek(fd, 0, SEEK_SET); in ParamFileStat()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/ |
D | dlp_file_manager_test.cpp | 245 lseek(g_fdDlp, 0, SEEK_SET); 285 lseek(g_fdDlp, sizeof(struct DlpHeader) + 256, SEEK_SET); 289 lseek(g_fdDlp, 0, SEEK_SET); 328 lseek(g_fdDlp, sizeof(struct DlpHeader) + 256, SEEK_SET); 332 lseek(g_fdDlp, 0, SEEK_SET);
|
D | dlp_file_test.cpp | 1188 lseek(fd, 0, SEEK_SET); 1211 lseek(fd, 0, SEEK_SET); 1407 lseek(fdDlp, 0, SEEK_SET); 1453 lseek(fdDlp, 0, SEEK_SET); 1460 lseek(fdDlp, 0, SEEK_SET); 1467 lseek(fdDlp, 0, SEEK_SET); 1474 lseek(fdDlp, 0, SEEK_SET); 1510 lseek(fdDlp, 0, SEEK_SET); 1516 lseek(fdDlp, 0, SEEK_SET); 1522 lseek(fdDlp, 0, SEEK_SET); [all …]
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | global_utils.c | 301 int seekRet = lseek(file, INDEX_DEFAULT_OFFSET, SEEK_CUR); // skip the "KEYS" header in GetKeyParams() 366 …int seekRet = lseek(file, RES_CONFIG_NUM_OFFSET, SEEK_SET); // goto resConfigNum index, now is fix… in GetOffsetByLocale() 432 int seekRet = lseek(file, offset, SEEK_SET); in GetIdItem() 502 (void)lseek(file, (int32_t)offset + INDEX_DEFAULT_OFFSET, SEEK_SET); // skip the "IDSS" header in GetIdHeaderByOffset()
|
/base/global/i18n_lite/frameworks/i18n/src/ |
D | data_resource.cpp | 168 int32_t seekSize = lseek(infile, GLOBAL_RESOURCE_HEADER_SKIP, SEEK_SET); in ReadHeader() 272 int32_t seekSize = lseek(infile, configOffset, SEEK_SET); in PrepareLocaleData() 400 int32_t seekSize = lseek(infile, stringPoolOffset + offset, SEEK_SET); in Retrieve()
|
/base/security/appverify/interfaces/innerkits/appverify/src/common/ |
D | random_access_file.cpp | 58 fileLength = lseek(fd, 0, SEEK_END); in Init()
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
D | faultlog_formatter.cpp | 345 off_t endPos = lseek(fd, 0, SEEK_END); in LimitCppCrashLog() 353 endPos = lseek(fd, maxLogSize, SEEK_SET); in LimitCppCrashLog()
|