Searched refs:mtime (Results 1 - 18 of 18) sorted by relevance

/haiku/headers/private/kernel/arch/riscv64/
H A DClint.h17 uint64 mtime; // @0xBFF8 member in struct:ClintRegs
/haiku/headers/build/os/storage/
H A DStatable.h41 status_t GetModificationTime(time_t *mtime) const;
42 status_t SetModificationTime(time_t mtime);
/haiku/headers/os/storage/
H A DStatable.h50 status_t GetModificationTime(time_t* mtime) const;
51 status_t SetModificationTime(time_t mtime);
/haiku/src/build/libbe/storage/
H A DStatable.cpp195 \param mtime a pointer to a variable to be set to the result
199 BStatable::GetModificationTime(time_t *mtime) const
201 status_t error = (mtime ? B_OK : B_BAD_VALUE);
206 *mtime = statData.st_mtime;
211 \param mtime the new modification time
215 BStatable::SetModificationTime(time_t mtime) argument
218 statData.st_mtime = mtime;
/haiku/src/tests/kits/storage/
H A DStatableTest.cpp108 time_t mtime; local
121 CPPUNIT_ASSERT( statable->GetModificationTime(&mtime) == B_OK );
134 CPPUNIT_ASSERT( mtime == st.st_mtime );
151 time_t mtime; local
160 CPPUNIT_ASSERT( statable->GetModificationTime(&mtime) == B_NO_INIT );
201 time_t mtime = 1234567; local
210 CPPUNIT_ASSERT( statable->SetModificationTime(mtime) == B_OK );
219 CPPUNIT_ASSERT( mtime == st.st_mtime );
233 time_t mtime = 1234567; local
239 CPPUNIT_ASSERT( statable->SetModificationTime(mtime) !
[all...]
/haiku/src/system/kernel/arch/riscv64/
H A Darch_timer.cpp41 MSyscall(kMSyscallSetTimer, true, gClintRegs->mtime + scaledTimeout);
/haiku/src/apps/packageinstaller/
H A DPackageItem.h77 uint8 type, uint32 ctime, uint32 mtime,
84 uint8 type, uint32 ctime, uint32 mtime,
120 uint8 type, uint32 ctime, uint32 mtime,
157 uint8 type, uint32 ctime, uint32 mtime,
180 uint32 mtime, uint32 mode, uint64 offset = 0,
H A DPackageItem.cpp148 uint32 ctime, uint32 mtime, uint64 offset, uint64 size)
150 SetTo(parent, path, type, ctime, mtime, offset, size);
161 uint32 mtime, uint64 offset, uint64 size)
170 fModificationTime = mtime;
805 uint8 type, uint32 ctime, uint32 mtime, uint64 offset, uint64 size)
807 PackageItem(parent, path, type, ctime, mtime, offset, size)
860 uint32 ctime, uint32 mtime, uint64 offset, uint64 size,
864 PackageItem(parent, path, type, ctime, mtime, offset, size),
1026 const BString &link, uint8 type, uint32 ctime, uint32 mtime,
1029 PackageItem(parent, path, type, ctime, mtime, offse
147 PackageItem(BFile* parent, const BString& path, uint8 type, uint32 ctime, uint32 mtime, uint64 offset, uint64 size) argument
160 SetTo(BFile* parent, const BString& path, uint8 type, uint32 ctime, uint32 mtime, uint64 offset, uint64 size) argument
804 PackageDirectory(BFile* parent, const BString& path, uint8 type, uint32 ctime, uint32 mtime, uint64 offset, uint64 size) argument
859 PackageFile(BFile *parent, const BString &path, uint8 type, uint32 ctime, uint32 mtime, uint64 offset, uint64 size, uint64 originalSize, uint32 platform, const BString &mime, const BString &signature, uint32 mode) argument
1025 PackageLink(BFile *parent, const BString &path, const BString &link, uint8 type, uint32 ctime, uint32 mtime, uint32 mode, uint64 offset, uint64 size) argument
[all...]
H A DPackageInfo.cpp650 uint32 itemGroups = 0, path = 0, cust = 0, ctime = 0, mtime = 0; local
674 mtime = 0; \
766 fPackageFile->Read(&mtime, 4);
767 swap_data(B_UINT32_TYPE, &mtime, sizeof(uint32),
916 mtime, offset, size, originalSize, 0, mimeString,
980 pathType, ctime, mtime, offset, size);
1025 localType, ctime, mtime, mode, offset, size);
/haiku/src/kits/storage/
H A DStatable.cpp205 // Fills out mtime with the last modification time of the node.
207 BStatable::GetModificationTime(time_t* mtime) const
209 status_t result = (mtime ? B_OK : B_BAD_VALUE);
216 *mtime = stat.st_mtime;
222 // Sets the node's last modification time to mtime.
224 BStatable::SetModificationTime(time_t mtime) argument
227 stat.st_mtime = mtime;
/haiku/src/apps/mail/
H A DWIndex.cpp89 time_t mtime; local
92 dataFile->GetModificationTime(&mtime);
106 if (mtime == modified) {
122 &mtime, 4);
/haiku/src/bin/unzip/
H A Dlist.c271 TIMET_TO_NATIVE(z_utime.mtime) /* NOP unless MSC 7.0, Mac */
272 t = localtime(&(z_utime.mtime));
594 if (*last_modtime < z_utime.mtime)
595 *last_modtime = z_utime.mtime;
H A Dprocess.c1290 iztimes *z_utim; /* return storage: atime, mtime, ctime */
1359 z_utim->mtime =
1363 z_utim->mtime =
1367 /* cannot determine sign of mtime;
1377 z_utim->mtime = (time_t)i_time;
1386 /* UnZip interprets mtime differently than Zip;
1397 z_utim->mtime = (time_t)i_time;
1512 z_utim->mtime =
1516 z_utim->mtime =
1520 /* cannot determine sign of mtime;
[all...]
H A Dbeos.c883 we're laughing: both mtime and atime are ours. On the other hand, we
897 zt.mtime));
899 zt.mtime = dos_to_unix_time(G.lrec.last_mod_dos_datetime);
905 zt.atime = zt.mtime;
907 zt.mtime));
H A Dzipinfo.c1082 TIMET_TO_NATIVE(z_utime.mtime) /* NOP unless MSC 7.0 or Macintosh */
1084 zi_time(__G__ &G.crec.last_mod_dos_datetime, &(z_utime.mtime), d_t_buf);
1089 zi_time(__G__ &G.crec.last_mod_dos_datetime, &(z_utime.mtime), d_t_buf);
1699 /* high bit == Unix/OS2/NT GMT times (mtime, atime); next bit == UID/GID */
2050 ? &z_utime.mtime : NULL;
2051 TIMET_TO_NATIVE(z_utime.mtime) /* NOP unless MSC 7.0 or Macintosh */
H A Dextract.c1132 (*pdirlist)->u.t3.mtime));
1134 (*pdirlist)->u.t3.mtime = dos_to_unix_time(
1143 (*pdirlist)->u.t3.mtime;
H A Dunzpriv.h1366 #define EB_UX_MINLEN 8 /* minimal "UX" field contains atime, mtime */
1367 #define EB_UX_FULLSIZE 12 /* full "UX" field (atime, mtime, uid, gid) */
1369 #define EB_UX_MTIME 4 /* offset of mtime in "UX" extra field data */
1381 #define EB_UT_FL_MTIME (1 << 0) /* mtime present */
1498 time_t mtime; /* new modification time */ member in struct:iztimes
1507 iztimes t3; /* mtime, atime, ctime */
H A Dfileio.c1877 /* The `Unix extra field mtime' should be used for comparison with the
1889 TTrace((stderr, "check_for_newer: using Unix extra field mtime\n"));
1891 archive = z_utime.mtime;

Completed in 137 milliseconds