Searched refs:times (Results 1 - 25 of 27) sorted by relevance

12

/haiku/src/libs/bsd/
H A Dlutimes.c15 extern int _utimes(const char* path, const struct timeval times[2],
20 lutimes(const char* path, const struct timeval times[2]) argument
22 return _utimes(path, times, false);
/haiku/src/system/libroot/posix/sys/
H A Dutimes.c20 _utimes(const char* path, const struct timeval times[2], bool traverseLink);
24 _utimes(const char* path, const struct timeval times[2], bool traverseLink) argument
29 if (times != NULL) {
30 stat.st_atim.tv_sec = times[0].tv_sec;
31 stat.st_atim.tv_nsec = times[0].tv_usec * 1000;
33 stat.st_mtim.tv_sec = times[1].tv_sec;
34 stat.st_mtim.tv_nsec = times[1].tv_usec * 1000;
50 utimes(const char* path, const struct timeval times[2]) argument
52 return _utimes(path, times, true);
57 utimensat(int fd, const char *path, const struct timespec times[ argument
109 futimens(int fd, const struct timespec times[2]) argument
[all...]
H A Dtimes.cpp11 #include <sys/times.h>
62 DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION("__times_beos", "times@", "BASE");
64 DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION("__times", "times@@", "1_ALPHA4");
/haiku/headers/private/libroot/
H A Dunistd_private.h10 #include <sys/times.h>
H A Dtimes_private.h10 #include <sys/times.h>
/haiku/headers/build/host/freebsd/sys/
H A Dstat.h16 int futimens(int fd, const struct timespec times[2]);
17 int utimensat(int fd, const char* path, const struct timespec times[2],
/haiku/headers/posix/sys/
H A Dtimes.h24 clock_t times(struct tms *tms);
H A Dtime.h46 extern int utimes(const char *path, const struct timeval times[2]);
H A Dstat.h128 const struct timespec times[2], int flag);
129 extern int futimens(int fd, const struct timespec times[2]);
/haiku/src/system/libroot/posix/
H A Dutime.c20 utime(const char *path, const struct utimbuf *times) argument
25 if (times != NULL) {
26 stat.st_atim.tv_sec = times->actime;
27 stat.st_mtim.tv_sec = times->modtime;
/haiku/src/tests/kits/game/set_mouse_position_test/
H A Dtest_mouse.cpp17 TestMouse(int times);
86 int times; local
90 printf("\n Usage: %s param: times, where times is the number of loops \n", argv[0]);
91 times = 1;
95 times = atoi(argv[1]);
98 if (times > 0)
100 printf("\n times = %d \n", times);
101 TestMouse test(times);
109 TestMouse(int times) argument
[all...]
/haiku/headers/build/host/darwin/sys/
H A Dstat.h16 int futimens(int fd, const struct timespec times[2]);
17 int utimensat(int fd, const char* path, const struct timespec times[2],
/haiku/headers/build/host/darwin/
H A Dfcntl.h38 int futimesat(int fd, const char *path, const struct timeval times[2]);
/haiku/src/tests/system/benchmarks/
H A Dmemspeed.c12 #include <sys/times.h>
49 times(&tms);
58 times(&tms);
68 times(&tms);
77 times(&tms);
/haiku/src/build/libroot/
H A Dfs.cpp79 utimes_helper(File& file, const struct timespec times[2]) argument
81 if (times == NULL)
85 timeBuffer[0].tv_sec = times[0].tv_sec;
86 timeBuffer[0].tv_usec = times[0].tv_nsec / 1000;
87 timeBuffer[1].tv_sec = times[1].tv_sec;
88 timeBuffer[1].tv_usec = times[1].tv_nsec / 1000;
90 if (times[0].tv_nsec == UTIME_OMIT || times[1].tv_nsec == UTIME_OMIT) {
95 if (times[0].tv_nsec == UTIME_OMIT && times[
140 SetTimes(const timeval times[2]) argument
151 futimens(int fd, const struct timespec times[2]) argument
175 SetTimes(const timeval times[2]) argument
189 utimensat(int fd, const char* path, const struct timespec times[2], int flag) argument
949 struct timespec times[2]; local
1265 _haiku_build_utimensat(int fd, const char* path, const struct timespec times[2], int flag) argument
1324 _haiku_build_futimens(int fd, const struct timespec times[2]) argument
[all...]
H A Dremapped_functions.h21 const struct timespec times[2], int flag);
22 int _haiku_build_futimens(int fd, const struct timespec times[2]);
H A Dfunction_remapper.cpp70 utimensat(int fd, const char* path, const struct timespec times[2], int flag) argument
74 return _haiku_build_utimensat(fd, path, times, flag);
79 futimens(int fd, const struct timespec times[2]) argument
83 return _haiku_build_futimens(fd, times);
H A Dfs_darwin.cpp515 futimesat(int fd, const char *path, const struct timeval times[2]) argument
519 return utimes(path, times);
532 return utimes(fullPath, times);
/haiku/src/bin/
H A Dtop.cpp29 * Keeps track of a single thread's times
46 * Keeps track of all the threads' times
126 ThreadTimeList times; local
176 times.push_back(entry);
188 times.sort();
197 for (it = times.begin(); it != times.end(); it++) {
288 ThreadTimeList times; local
302 times.push_back(entry);
310 compare(old, &times, system_tim
[all...]
/haiku/headers/build/
H A DBeOSBuildCompatibility.h93 const struct timespec times[2], int flag);
94 int _haiku_build_futimens(int fd, const struct timespec times[2]);
135 # define utimensat(fd, path, times, flag) \
136 _haiku_build_utimensat(fd, path, times, flag)
137 # define futimens(fd, times) _haiku_build_futimens(fd, times)
/haiku/headers/compatibility/bsd/sys/
H A Dtime.h47 int lutimes(const char *path, const struct timeval times[2]);
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Dsb16_hw.c208 int times, delay; local
211 for (times = 0; times < 10; times++) {
/haiku/src/apps/debuganalyzer/gui/thread_window/
H A DActivityPage.cpp145 double times[TIME_TYPE_COUNT] = { }; local
296 times[timeType] += nextSampleTime - previousEventTime;
301 samples[sampleIndex] = times[fTimeType] / sampleLength;
307 times[k] = 0;
318 times[timeType] += double(eventTime - previousEventTime);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dinode.c1460 * Get high precision NTFS times
1473 u64 *times; local
1487 times = (u64*)value;
1488 times[0] = sle64_to_cpu(std_info->creation_time);
1491 times[1] = sle64_to_cpu(std_info->last_data_change_time);
1495 times[2] = sle64_to_cpu(std_info->last_access_time);
1499 times[3] = sle64_to_cpu(std_info->last_mft_change_time);
1514 * Set high precision NTFS times
1520 * The times are inserted directly in the standard_information and
1521 * file names attributes to avoid manipulating low precision times
1533 u64 times[4]; local
[all...]
/haiku/src/bin/package/
H A Dcommand_extract.cpp561 // set the file times
563 timespec times[2] = {entry->AccessTime(), entry->ModifiedTime()}; local
564 futimens(fd, times);

Completed in 433 milliseconds

12