/external/ltp/testcases/kernel/syscalls/utime/ |
utime02.c | 24 * Verify that the system call utime() successfully sets the modification 32 * utime succeeds returning zero and sets the access and modification 79 #include <utime.h> 117 tst_brkm(TCONF, cleanup, "Cannot do utime on a file" 123 "Cannot do utime on a file on %s filesystem", 133 * Invoke utime(2) to set TEMP_FILE access and 136 TEST(utime(TEMP_FILE, NULL)); 139 tst_resm(TFAIL|TTERRNO, "utime(%s) failed", TEMP_FILE); 150 * utime(2) 172 "utime(%s, NULL) successful" [all...] |
utime03.c | 24 * Verify that the system call utime() successfully sets the modification 33 * utime succeeds returning zero and sets the access and modificatio 85 #include <utime.h> 127 tst_brkm(TCONF, cleanup, "Cannot do utime on a file" 133 "Cannot do utime on a file on %s filesystem", 158 * Invoke utime(2) to set TEMP_FILE access and 161 TEST(utime(TEMP_FILE, NULL)); 165 "utime(%s) failed", TEMP_FILE); 176 * calling utime(2) 199 "of utime(%s, NULL) [all...] |
utime06.c | 22 * 1. Verify that the system call utime() fails to set the modification 27 * 2. Verify that the system call utime() fails to set the modification 29 * 3. Verify that the system call utime() fails to set the modification 34 * 4. Verify that the system call utime() fails to set the modification 46 #include <utime.h> 136 TEST(utime(test->pathname, test->times)); 142 tst_resm(TFAIL, "utime succeeded unexpectedly"); 147 tst_resm(TPASS | TTERRNO, "utime failed as expected"); 150 "utime failed unexpectedly; expected: %d - %s",
|
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipUtils.java | 55 public static final FileTime unixTimeToFileTime(long utime) { 56 return FileTime.from(utime, TimeUnit.SECONDS);
|
/system/extras/boottime_tools/bootio/ |
bootio_collector.cpp | 41 long unsigned utime, ntime, stime, itime; local 46 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu", &utime, &ntime, &stime, 49 cpu.set_utime(utime); 126 uint64_t utime; 136 &utime, 139 sample->set_utime(utime); 204 return cpu.utime() + cpu.ntime() + cpu.stime() + cpu.itime() + cpu.iowtime() + 269 cpuLoad = (newerSample->utime() - olderSample->utime() +
|
/art/libartbase/base/ |
utils.cc | 148 void GetTaskStats(pid_t tid, char* state, int* utime, int* stime, int* task_cpu) { 149 *utime = *stime = *task_cpu = 0; 161 *utime = strtoull(fields[11].c_str(), nullptr, 10);
|
/art/runtime/native/ |
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 117 * (4b) utime 127 int utime; local 130 GetTaskStats(t->GetTid(), &native_thread_state, &utime, &stime, &task_cpu); 136 JDWP::Append4BE(bytes, utime);
|
/external/autotest/client/bin/result_tools/ |
dedupe_file_throttler_unittest.py | 35 os.utime(f, (modification_time, modification_time)) 58 os.utime(f, (modification_time, modification_time))
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/sys/ |
utime.h | 112 int __cdecl utime(const char *, struct utimbuf *); 115 __CRT_INLINE int __cdecl utime(const char *_Filename,struct utimbuf *_Utimbuf) { function
|
/system/extras/cpustats/ |
cpustats.c | 45 long unsigned utime, ntime, stime, itime, iowtime, irqtime, sirqtime; member in struct:cpu_info 245 &new_total_cpu.utime, &new_total_cpu.ntime, &new_total_cpu.stime, &new_total_cpu.itime, 255 fscanf(file, scanline, &new_cpus[i].utime, &new_cpus[i].ntime, &new_cpus[i].stime, 295 return (cpu->utime + cpu->ntime + cpu->stime + cpu->itime + cpu->iowtime + cpu->irqtime + 328 new_cpu->utime - old_cpu->utime, 341 new_cpu->utime - old_cpu->utime,
|
/external/python/cpython3/Lib/test/ |
test_posix.py | 248 @unittest.skipUnless(os.utime in os.supports_fd, "test needs fd support in os.utime") 253 posix.utime(fd) 254 posix.utime(fd, None) 255 self.assertRaises(TypeError, posix.utime, fd, (None, None)) 256 self.assertRaises(TypeError, posix.utime, fd, (now, None)) 257 self.assertRaises(TypeError, posix.utime, fd, (None, now)) 258 posix.utime(fd, (int(now), int(now))) 259 posix.utime(fd, (now, now)) 260 self.assertRaises(ValueError, posix.utime, fd, (now, now), ns=(now, now) [all...] |
/external/libgsm/inc/ |
toast.h | 36 # include <utime.h>
|
/external/strace/tests/ |
utime.c | 2 * Check decoding of utime syscall. 37 # include <utime.h> 60 printf("utime(\"\", NULL) = %s\n", sprintrc(rc)); 63 printf("utime(%p, %p) = %s\n", dummy_filename + sizeof(dummy_str), 67 printf("utime(%p, %p) = %s\n", 70 rc = k_utime("utime\nfilename", tail_u); 72 printf("utime(\"utime\\nfilename\", {actime=%lld", (long long) t);
|
/external/strace/tests-m32/ |
utime.c | 2 * Check decoding of utime syscall. 37 # include <utime.h> 60 printf("utime(\"\", NULL) = %s\n", sprintrc(rc)); 63 printf("utime(%p, %p) = %s\n", dummy_filename + sizeof(dummy_str), 67 printf("utime(%p, %p) = %s\n", 70 rc = k_utime("utime\nfilename", tail_u); 72 printf("utime(\"utime\\nfilename\", {actime=%lld", (long long) t);
|
/external/strace/tests-mx32/ |
utime.c | 2 * Check decoding of utime syscall. 37 # include <utime.h> 60 printf("utime(\"\", NULL) = %s\n", sprintrc(rc)); 63 printf("utime(%p, %p) = %s\n", dummy_filename + sizeof(dummy_str), 67 printf("utime(%p, %p) = %s\n", 70 rc = k_utime("utime\nfilename", tail_u); 72 printf("utime(\"utime\\nfilename\", {actime=%lld", (long long) t);
|
/external/python/cpython3/Tools/hg/ |
hgtouch.py | 74 os.utime(f_output, (backdate, backdate)) 79 os.utime(f_output, (youngest, youngest))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/raid/ |
md_p.h | 141 __u32 utime; /* 0 Superblock update time */ member in struct:mdp_superblock_s 257 __le64 utime; /* 40 bits second, 24 bits microseconds */ member in struct:mdp_superblock_1
|
md_u.h | 94 int utime; /* 0 Superblock update time */ member in struct:mdu_array_info_s
|
/system/core/bootstat/ |
boot_event_record_store.cpp | 22 #include <utime.h> 78 // set in the utime() call. 89 if (utime(record_path.c_str(), ×) == -1) {
|
/system/update_engine/ |
main.cc | 45 string GetTimeAsString(time_t utime) { 47 CHECK_EQ(localtime_r(&utime, &tm), &tm);
|
/bionic/libc/kernel/uapi/linux/raid/ |
md_u.h | 63 unsigned int utime; member in struct:mdu_array_info_s
|
/external/elfutils/tests/ |
run-readelf-vmcoreinfo.sh | 31 utime: 0.000000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000 49 utime: 0.000000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000
|
/external/kernel-headers/original/uapi/linux/raid/ |
md_u.h | 95 unsigned int utime; /* 0 Superblock update time */ member in struct:mdu_array_info_s
|
/external/ImageMagick/MagickCore/ |
nt-base.h | 41 #include <sys/utime.h> 269 #if !defined(utime) 270 # define utime _utime macro
|
/external/perfetto/src/base/ |
watchdog_posix.cc | 143 unsigned long int utime = 0l; local 150 &utime, &stime, &rss_pages) == 3); 152 uint64_t cpu_time = utime + stime;
|