HomeSort by relevance Sort by last modified time
    Searched defs:ts (Results 1 - 25 of 1050) 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 44 struct timespec ts; member in struct:__anon35359
50 if (syscall(__NR_clock_getres, CLOCK_REALTIME, &t.ts))
54 (long long) t.ts.tv_sec,
55 zero_extend_signed_to_ull(t.ts.tv_nsec));
57 if (syscall(__NR_clock_gettime, CLOCK_PROCESS_CPUTIME_ID, &t.ts))
61 (long long) t.ts.tv_sec,
62 zero_extend_signed_to_ull(t.ts.tv_nsec));
64 t.ts.tv_sec = 0xdeface1;
65 t.ts.tv_nsec = 0xdeface2;
66 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));
  /external/strace/tests-m32/
sleep.c 43 struct timespec ts = { atoi(av[1]), 0 }; local
45 if (nanosleep(&ts, NULL))
clock_xettime.c 44 struct timespec ts; member in struct:__anon35433
50 if (syscall(__NR_clock_getres, CLOCK_REALTIME, &t.ts))
54 (long long) t.ts.tv_sec,
55 zero_extend_signed_to_ull(t.ts.tv_nsec));
57 if (syscall(__NR_clock_gettime, CLOCK_PROCESS_CPUTIME_ID, &t.ts))
61 (long long) t.ts.tv_sec,
62 zero_extend_signed_to_ull(t.ts.tv_nsec));
64 t.ts.tv_sec = 0xdeface1;
65 t.ts.tv_nsec = 0xdeface2;
66 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));
  /external/strace/tests-mx32/
sleep.c 43 struct timespec ts = { atoi(av[1]), 0 }; local
45 if (nanosleep(&ts, NULL))
clock_xettime.c 44 struct timespec ts; member in struct:__anon35507
50 if (syscall(__NR_clock_getres, CLOCK_REALTIME, &t.ts))
54 (long long) t.ts.tv_sec,
55 zero_extend_signed_to_ull(t.ts.tv_nsec));
57 if (syscall(__NR_clock_gettime, CLOCK_PROCESS_CPUTIME_ID, &t.ts))
61 (long long) t.ts.tv_sec,
62 zero_extend_signed_to_ull(t.ts.tv_nsec));
64 t.ts.tv_sec = 0xdeface1;
65 t.ts.tv_nsec = 0xdeface2;
66 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));
  /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...]
  /hardware/libhardware/modules/camera/3_4/metadata/
boottime_state_delegate.cpp 25 struct timespec ts; local
27 int res = clock_gettime(CLOCK_BOOTTIME, &ts);
34 *value = ts.tv_sec * 1000000000ULL + ts.tv_nsec;
  /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);
  /external/valgrind/none/tests/
sem.c 16 struct timespec ts; local
58 ts.tv_sec = 0;
59 ts.tv_nsec = 1000000;
61 if (semtimedop(semid, &sop, 1, &ts) < 0 && errno != EAGAIN)
85 ts.tv_sec = 0;
86 ts.tv_nsec = 1000;
88 if (semtimedop(semid, &sop, 1, &ts) < 0)
  /system/core/base/
chrono_utils.cpp 26 timespec ts; local
27 clock_gettime(CLOCK_BOOTTIME, &ts);
28 return boot_clock::time_point(std::chrono::seconds(ts.tv_sec) +
29 std::chrono::nanoseconds(ts.tv_nsec));
  /build/kati/
timeutil.cc 26 struct timespec ts; local
27 clock_gettime(CLOCK_REALTIME, &ts);
28 return ts.tv_sec + ts.tv_nsec * 0.001 * 0.001 * 0.001;
  /external/ltp/testcases/kernel/syscalls/clock_nanosleep2/
clock_nanosleep2_01.c 42 struct timespec ts; local
44 clock_gettime(CLOCK_TO_USE, &ts);
45 ts.tv_nsec += NSEC_IN_SEC/10;
46 if (ts.tv_nsec >= NSEC_IN_SEC) {
47 ts.tv_sec += 1;
48 ts.tv_nsec %= NSEC_IN_SEC;
51 TEST(clock_nanosleep2(CLOCK_TO_USE, TIMER_ABSTIME, &ts, NULL));

Completed in 1093 milliseconds

1 2 3 4 5 6 7 8 91011>>