HomeSort by relevance Sort by last modified time
    Searched defs:ts (Results 1 - 25 of 951) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/bionic/
clock.cpp 37 timespec ts; local
38 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == -1) {
41 return (ts.tv_sec * CLOCKS_PER_SEC) + (ts.tv_nsec / (NS_PER_S / CLOCKS_PER_SEC));
sys_time.cpp 38 timespec ts[2]; local
39 if (tv && (!timespec_from_timeval(ts[0], tv[0]) || !timespec_from_timeval(ts[1], tv[1]))) {
43 return utimensat(fd, path, tv ? ts : nullptr, flags);
59 timespec ts[2]; local
60 if (tv && (!timespec_from_timeval(ts[0], tv[0]) || !timespec_from_timeval(ts[1], tv[1]))) {
64 return futimens(fd, tv ? ts : nullptr);
  /external/clang/test/SemaCXX/
PR9459.cpp 6 template<typename>struct ts{}ap() // expected-error {{expected ';' after struct}} expected-error {{requires a type specifier}} struct
7 {ts<a>::ap<ae_same<int>::&ae_same<>>::p(a); }; // expected-error {{use of undeclared identifier 'a'}}
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
clock_gettime.c 8 struct timespec ts; local
9 clock_gettime(CLOCK_REALTIME, &ts);
  /external/libmicrohttpd/src/microspdy/
internal.c 34 struct timespec ts; local
35 if (0 == clock_gettime (CLOCK_MONOTONIC, &ts))
36 return ts.tv_sec * 1000 + ts.tv_nsec / 1000000;
  /external/strace/tests/
sleep.c 43 struct timespec ts = { atoi(av[1]), 0 }; local
45 if (nanosleep(&ts, NULL))
clock_xettime.c 43 struct timespec ts; member in struct:__anon30530
49 if (syscall(__NR_clock_getres, CLOCK_REALTIME, &t.ts))
52 (intmax_t) t.ts.tv_sec,
53 (intmax_t) t.ts.tv_nsec);
55 if (syscall(__NR_clock_gettime, CLOCK_PROCESS_CPUTIME_ID, &t.ts))
59 (intmax_t) t.ts.tv_sec,
60 (intmax_t) t.ts.tv_nsec);
62 t.ts.tv_sec = 0xdeface1;
63 t.ts.tv_nsec = 0xdeface2;
64 if (!syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts))
    [all...]
umoven-illptr.c 40 struct timespec ts = { 0, 0 }; local
41 const void *const p = tail_memdup(&ts, sizeof(ts));
utimes.c 53 struct timeval *const ts = tail_alloc(sizeof(*ts) * 2); local
55 ts[0].tv_sec = tv.tv_sec;
56 ts[0].tv_usec = tv.tv_usec;
57 ts[1].tv_sec = tv.tv_sec - 1;
58 ts[1].tv_usec = tv.tv_usec + 1;
60 rc = syscall(__NR_utimes, 0, ts + 2);
61 printf("utimes(NULL, %p) = %ld %s (%m)\n", ts + 2, rc, errno2name());
63 rc = syscall(__NR_utimes, 0, ts + 1);
66 (intmax_t) ts[1].tv_sec, (intmax_t) ts[1].tv_usec
    [all...]
  /external/strace/tests-m32/
sleep.c 43 struct timespec ts = { atoi(av[1]), 0 }; local
45 if (nanosleep(&ts, NULL))
clock_xettime.c 43 struct timespec ts; member in struct:__anon30598
49 if (syscall(__NR_clock_getres, CLOCK_REALTIME, &t.ts))
52 (intmax_t) t.ts.tv_sec,
53 (intmax_t) t.ts.tv_nsec);
55 if (syscall(__NR_clock_gettime, CLOCK_PROCESS_CPUTIME_ID, &t.ts))
59 (intmax_t) t.ts.tv_sec,
60 (intmax_t) t.ts.tv_nsec);
62 t.ts.tv_sec = 0xdeface1;
63 t.ts.tv_nsec = 0xdeface2;
64 if (!syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts))
    [all...]
umoven-illptr.c 40 struct timespec ts = { 0, 0 }; local
41 const void *const p = tail_memdup(&ts, sizeof(ts));
utimes.c 53 struct timeval *const ts = tail_alloc(sizeof(*ts) * 2); local
55 ts[0].tv_sec = tv.tv_sec;
56 ts[0].tv_usec = tv.tv_usec;
57 ts[1].tv_sec = tv.tv_sec - 1;
58 ts[1].tv_usec = tv.tv_usec + 1;
60 rc = syscall(__NR_utimes, 0, ts + 2);
61 printf("utimes(NULL, %p) = %ld %s (%m)\n", ts + 2, rc, errno2name());
63 rc = syscall(__NR_utimes, 0, ts + 1);
66 (intmax_t) ts[1].tv_sec, (intmax_t) ts[1].tv_usec
    [all...]
  /external/strace/tests-mx32/
sleep.c 43 struct timespec ts = { atoi(av[1]), 0 }; local
45 if (nanosleep(&ts, NULL))
clock_xettime.c 43 struct timespec ts; member in struct:__anon30666
49 if (syscall(__NR_clock_getres, CLOCK_REALTIME, &t.ts))
52 (intmax_t) t.ts.tv_sec,
53 (intmax_t) t.ts.tv_nsec);
55 if (syscall(__NR_clock_gettime, CLOCK_PROCESS_CPUTIME_ID, &t.ts))
59 (intmax_t) t.ts.tv_sec,
60 (intmax_t) t.ts.tv_nsec);
62 t.ts.tv_sec = 0xdeface1;
63 t.ts.tv_nsec = 0xdeface2;
64 if (!syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts))
    [all...]
umoven-illptr.c 40 struct timespec ts = { 0, 0 }; local
41 const void *const p = tail_memdup(&ts, sizeof(ts));
utimes.c 53 struct timeval *const ts = tail_alloc(sizeof(*ts) * 2); local
55 ts[0].tv_sec = tv.tv_sec;
56 ts[0].tv_usec = tv.tv_usec;
57 ts[1].tv_sec = tv.tv_sec - 1;
58 ts[1].tv_usec = tv.tv_usec + 1;
60 rc = syscall(__NR_utimes, 0, ts + 2);
61 printf("utimes(NULL, %p) = %ld %s (%m)\n", ts + 2, rc, errno2name());
63 rc = syscall(__NR_utimes, 0, ts + 1);
66 (intmax_t) ts[1].tv_sec, (intmax_t) ts[1].tv_usec
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/cgo/
gcc_util.c 11 ThreadStart *ts; local
15 ts = malloc(sizeof *ts);
17 if(ts == nil) {
21 *ts = *arg;
23 _cgo_sys_thread_start(ts); /* OS-dependent half */
  /prebuilts/go/linux-x86/src/runtime/cgo/
gcc_util.c 11 ThreadStart *ts; local
15 ts = malloc(sizeof *ts);
17 if(ts == nil) {
21 *ts = *arg;
23 _cgo_sys_thread_start(ts); /* OS-dependent half */
  /system/core/liblog/tests/
log_time_test.cpp 30 struct timespec ts; local
31 clock_gettime(CLOCK_MONOTONIC, &ts);
32 log_time tl(ts);
34 EXPECT_EQ(tl, ts);
35 EXPECT_GE(tl, ts);
36 EXPECT_LE(tl, ts);
  /external/webrtc/webrtc/modules/audio_processing/transient/
transient_suppressor_unittest.cc 21 TransientSuppressor ts; local
22 ts.Initialize(ts::kSampleRate16kHz, ts::kSampleRate16kHz, kNumChannels);
25 EXPECT_FALSE(ts.detection_enabled_);
26 ts.UpdateKeypress(true);
27 EXPECT_TRUE(ts.detection_enabled_);
30 for (int time_ms = 0; time_ms < 3990; time_ms += ts::kChunkSizeMs) {
31 ts.UpdateKeypress(false);
32 EXPECT_TRUE(ts.detection_enabled_)
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue11286.go 22 var ts []T var
25 ts = make([]T, 4)
26 for i := range ts {
27 ts[i].b = make(map[string]int)
29 ts[3].b["abc"] = 42
31 if ts[3].b["abc"] != 42 {
  /prebuilts/go/linux-x86/test/fixedbugs/
issue11286.go 22 var ts []T var
25 ts = make([]T, 4)
26 for i := range ts {
27 ts[i].b = make(map[string]int)
29 ts[3].b["abc"] = 42
31 if ts[3].b["abc"] != 42 {
  /external/testng/src/test/java/test/sample/
JUnitSample4.java 25 TestSuite ts = new TestSuite("Sample Suite"); local
27 ts.addTest(new T(i));
29 return ts;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/
1-2.c 32 struct timespec ts; local
36 rc = clock_getres(CLOCK_MONOTONIC, &ts);

Completed in 359 milliseconds

1 2 3 4 5 6 7 8 91011>>