Searched defs:ts (Results 1 - 25 of 501) sorted by relevance

1234567891011>>

/external/clang/test/SemaCXX/
H A DPR9459.cpp6 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/
H A Dclock_gettime.c8 struct timespec ts; local
9 clock_gettime(CLOCK_REALTIME, &ts);
/external/libmicrohttpd/src/microspdy/
H A Dinternal.c34 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/
H A Dclock_xettime.c43 struct timespec ts; member in struct:__anon17925
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...]
H A Dsleep.c43 struct timespec ts = { atoi(av[1]), 0 }; local
45 if (nanosleep(&ts, NULL))
H A Dumoven-illptr.c40 struct timespec ts = { 0, 0 }; local
41 const void *const p = tail_memdup(&ts, sizeof(ts));
H A Dutimes.c53 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[
[all...]
H A Dfutimesat.c55 struct timeval *const ts = tail_alloc(sizeof(*ts) * 2); local
58 ts[0].tv_sec = tv.tv_sec;
59 ts[0].tv_usec = tv.tv_usec;
60 ts[1].tv_sec = tv.tv_sec - 1;
61 ts[1].tv_usec = tv.tv_usec + 1;
63 rc = syscall(__NR_futimesat, dirfd, 0, ts + 2);
65 (int) dirfd, ts + 2, rc, errno2name());
67 rc = syscall(__NR_futimesat, dirfd, 0, ts + 1);
70 (intmax_t) ts[
[all...]
H A Dutimensat.c44 print_ts(const struct timespec *ts) argument
46 printf("{tv_sec=%ju, tv_nsec=%ju}", (uintmax_t) ts->tv_sec,
47 (uintmax_t) ts->tv_nsec);
63 struct timespec ts[2]; local
68 ts[0].tv_sec = tv.tv_sec;
69 ts[0].tv_nsec = tv.tv_usec;
70 ts[1].tv_sec = tv.tv_sec - 1;
71 ts[1].tv_nsec = tv.tv_usec + 1;
74 print_ts(&ts[0]);
76 print_ts(&ts[
[all...]
/external/strace/tests-m32/
H A Dclock_xettime.c43 struct timespec ts; member in struct:__anon17993
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...]
H A Dsleep.c43 struct timespec ts = { atoi(av[1]), 0 }; local
45 if (nanosleep(&ts, NULL))
H A Dumoven-illptr.c40 struct timespec ts = { 0, 0 }; local
41 const void *const p = tail_memdup(&ts, sizeof(ts));
H A Dutimes.c53 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[
[all...]
H A Dfutimesat.c55 struct timeval *const ts = tail_alloc(sizeof(*ts) * 2); local
58 ts[0].tv_sec = tv.tv_sec;
59 ts[0].tv_usec = tv.tv_usec;
60 ts[1].tv_sec = tv.tv_sec - 1;
61 ts[1].tv_usec = tv.tv_usec + 1;
63 rc = syscall(__NR_futimesat, dirfd, 0, ts + 2);
65 (int) dirfd, ts + 2, rc, errno2name());
67 rc = syscall(__NR_futimesat, dirfd, 0, ts + 1);
70 (intmax_t) ts[
[all...]
H A Dutimensat.c44 print_ts(const struct timespec *ts) argument
46 printf("{tv_sec=%ju, tv_nsec=%ju}", (uintmax_t) ts->tv_sec,
47 (uintmax_t) ts->tv_nsec);
63 struct timespec ts[2]; local
68 ts[0].tv_sec = tv.tv_sec;
69 ts[0].tv_nsec = tv.tv_usec;
70 ts[1].tv_sec = tv.tv_sec - 1;
71 ts[1].tv_nsec = tv.tv_usec + 1;
74 print_ts(&ts[0]);
76 print_ts(&ts[
[all...]
/external/strace/tests-mx32/
H A Dclock_xettime.c43 struct timespec ts; member in struct:__anon18061
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...]
H A Dsleep.c43 struct timespec ts = { atoi(av[1]), 0 }; local
45 if (nanosleep(&ts, NULL))
H A Dumoven-illptr.c40 struct timespec ts = { 0, 0 }; local
41 const void *const p = tail_memdup(&ts, sizeof(ts));
H A Dutimes.c53 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[
[all...]
/external/webrtc/webrtc/modules/audio_processing/transient/
H A Dtransient_suppressor_unittest.cc21 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
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/
H A D1-2.c32 struct timespec ts; local
36 rc = clock_getres(CLOCK_MONOTONIC, &ts);
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
H A DTransformerClient.java40 * @param ts A reference to a TransformState object
42 void setTransformState(TransformState ts); argument
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
H A D18-1.c34 struct timespec ts; local
46 ts.tv_sec = time(NULL) - 1;
47 ts.tv_nsec = 0;
48 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/speculative/
H A D18-2.c34 struct timespec ts; local
46 ts.tv_sec = time(NULL) - 1;
47 ts.tv_nsec = -1;
48 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) == -1) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/
H A D7-1.c37 struct timespec ts; local
45 ts.tv_sec = time(NULL);
46 ts.tv_nsec = 0;
48 while (sem_timedwait(&mysemp, &ts) == -1) {

Completed in 1019 milliseconds

1234567891011>>