/external/clang/test/SemaCXX/ |
H A D | 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/ |
H A D | clock_gettime.c | 8 struct timespec ts; local 9 clock_gettime(CLOCK_REALTIME, &ts);
|
/external/libmicrohttpd/src/microspdy/ |
H A D | 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/ |
H A D | clock_xettime.c | 43 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 D | sleep.c | 43 struct timespec ts = { atoi(av[1]), 0 }; local 45 if (nanosleep(&ts, NULL))
|
H A D | umoven-illptr.c | 40 struct timespec ts = { 0, 0 }; local 41 const void *const p = tail_memdup(&ts, sizeof(ts));
|
H A D | 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[ [all...] |
H A D | futimesat.c | 55 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 D | utimensat.c | 44 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 D | clock_xettime.c | 43 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 D | sleep.c | 43 struct timespec ts = { atoi(av[1]), 0 }; local 45 if (nanosleep(&ts, NULL))
|
H A D | umoven-illptr.c | 40 struct timespec ts = { 0, 0 }; local 41 const void *const p = tail_memdup(&ts, sizeof(ts));
|
H A D | 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[ [all...] |
H A D | futimesat.c | 55 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 D | utimensat.c | 44 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 D | clock_xettime.c | 43 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 D | sleep.c | 43 struct timespec ts = { atoi(av[1]), 0 }; local 45 if (nanosleep(&ts, NULL))
|
H A D | umoven-illptr.c | 40 struct timespec ts = { 0, 0 }; local 41 const void *const p = tail_memdup(&ts, sizeof(ts));
|
H A D | 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[ [all...] |
/external/webrtc/webrtc/modules/audio_processing/transient/ |
H A D | 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 [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/ |
H A D | 1-2.c | 32 struct timespec ts; local 36 rc = clock_getres(CLOCK_MONOTONIC, &ts);
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
H A D | TransformerClient.java | 40 * @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 D | 18-1.c | 34 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 D | 18-2.c | 34 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 D | 7-1.c | 37 struct timespec ts; local 45 ts.tv_sec = time(NULL); 46 ts.tv_nsec = 0; 48 while (sem_timedwait(&mysemp, &ts) == -1) {
|