Searched refs:ts (Results 1 - 25 of 540) sorted by relevance

1234567891011>>

/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...]
H A Dcommon.h14 namespace ts { namespace in namespace:webrtc
25 } // namespace 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/opencv3/modules/highgui/test/
H A Dtest_gui.cpp61 ts->printf(ts->LOG, "GUI 0\n");
64 ts->printf(ts->LOG, "GUI 1\n");
67 ts->printf(ts->LOG, "GUI 2\n");
71 ts->printf(ts->LOG, "GUI 3\n");
74 ts->printf(ts
[all...]
/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/opencv3/3rdparty/include/ffmpeg_/libavutil/
H A Dtimestamp.h36 * @param ts the timestamp to represent
39 static inline char *av_ts_make_string(char *buf, int64_t ts) argument
41 if (ts == AV_NOPTS_VALUE) snprintf(buf, AV_TS_MAX_STRING_SIZE, "NOPTS");
42 else snprintf(buf, AV_TS_MAX_STRING_SIZE, "%"PRId64, ts);
50 #define av_ts2str(ts) av_ts_make_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts)
57 * @param ts the timestamp to represent
61 static inline char *av_ts_make_time_string(char *buf, int64_t ts, AVRational *tb) argument
63 if (ts == AV_NOPTS_VALUE) snprintf(buf, AV_TS_MAX_STRING_SIZE, "NOPTS");
64 else snprintf(buf, AV_TS_MAX_STRING_SIZE, "%.6g", av_q2d(*tb) * ts);
[all...]
/external/strace/tests/
H A Dutimensat.c43 print_ts(const struct timespec *ts) argument
45 printf("{%ju, %ju}", (uintmax_t) ts->tv_sec, (uintmax_t) ts->tv_nsec);
52 struct timespec ts[2]; local
57 ts[0].tv_sec = tv.tv_sec;
58 ts[0].tv_nsec = tv.tv_usec;
59 ts[1].tv_sec = tv.tv_sec - 1;
60 ts[1].tv_nsec = tv.tv_usec + 1;
61 if (!utimensat(AT_FDCWD, "utimensat\nfilename", ts,
68 print_ts(&ts[
[all...]
H A Dclock_nanosleep.c49 struct timespec ts; member in struct:__anon17375
52 .ts = { .tv_nsec = 0xc0de1 },
55 .ts = { .tv_sec = 0xc0de2, .tv_nsec = 0xc0de3 },
65 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL))
68 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec);
70 if (!syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, NULL, &rem.ts))
73 " = -1 EFAULT (Bad address)\n", &rem.ts);
75 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, &rem.ts))
[all...]
H A Dnanosleep.c43 struct timespec ts; member in struct:__anon17379
46 .ts = { .tv_nsec = 0xc0de1 },
49 .ts = { .tv_sec = 0xc0de2, .tv_nsec = 0xc0de3 },
56 if (nanosleep(&req.ts, NULL))
59 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec);
61 if (!nanosleep(NULL, &rem.ts))
63 printf("nanosleep(NULL, %p) = -1 EFAULT (Bad address)\n", &rem.ts);
65 if (nanosleep(&req.ts, &rem.ts))
[all...]
H A Dclock_xettime.c42 struct timespec ts; member in struct:__anon17376
48 if (syscall(__NR_clock_getres, CLOCK_REALTIME, &t.ts))
51 (intmax_t) t.ts.tv_sec,
52 (intmax_t) t.ts.tv_nsec);
54 if (syscall(__NR_clock_gettime, CLOCK_PROCESS_CPUTIME_ID, &t.ts))
57 (intmax_t) t.ts.tv_sec,
58 (intmax_t) t.ts.tv_nsec);
60 t.ts.tv_sec = 0xdeface1;
61 t.ts.tv_nsec = 0xdeface2;
62 if (!syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts))
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-scheme.rb11 @ts = TokenScheme.new do
20 @a_class.send(:include, @ts)
26 @ts::A.should == 4
27 @ts::B.should == 5
28 @ts::T__6.should == 6
29 @ts::EOF.should == -1
33 @ts::TOKEN_NAMES.should == {
38 @ts.token_name(5).should == 'B'
39 @ts.token_name(6).should == "'+'"
40 @ts
[all...]
/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/opencv3/modules/videoio/test/
H A Dtest_video_pos.cpp95 ts->printf(ts->LOG, "\nFile: %s\n", filename.c_str());
99 ts->printf(ts->LOG, "\nError: cannot create video file");
100 ts->set_failed_test_info(ts->FAIL_INVALID_OUTPUT);
108 ts->printf(ts->LOG, "\nError: cannot read video file.");
109 ts->set_failed_test_info(ts
[all...]
H A Dtest_video_io.cpp153 ts->printf(ts->LOG, "reading image : %s\n", _name.c_str());
160 ts->set_failed_test_info(ts->FAIL_MISSING_TEST_DATA);
190 ts->printf(ts->LOG, " full_name : %s\n", full_name.c_str());
197 ts->printf(ts->LOG, "Reading failed at fmt=%s\n", ext.c_str());
198 ts->set_failed_test_info(ts
[all...]
H A Dtest_framecount.cpp64 const string src_dir = ts->get_data_path();
66 ts->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str());
77 ts->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str());
78 ts->printf(cvtest::TS::LOG, "Error: cannot read source video file.\n");
79 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA);
96 ts->printf(cvtest::TS::LOG, "\nFile information (video %d): \n"\
105 ts->printf(cvtest::TS::LOG, "FAILED\n");
106 ts->printf(cvtest::TS::LOG, "\nError: actual frame count and returned frame count are not matched.\n");
107 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT);
/external/opencv3/modules/ts/
H A Dprecomp.hpp3 #include "opencv2/ts.hpp"
7 #error ts module should not have GTEST_LINKED_AS_SHARED_LIBRARY defined
/external/opencv3/modules/ts/src/
H A Dprecomp.hpp3 #include "opencv2/ts.hpp"
7 #error ts module should not have GTEST_LINKED_AS_SHARED_LIBRARY defined
/external/dhcpcd-6.8.2/compat/
H A Dpollts.c43 const struct timespec *__restrict ts, const sigset_t *__restrict sigmask)
48 if (ts == NULL)
50 else if (ts->tv_sec > INT_MAX / 1000 ||
51 (ts->tv_sec == INT_MAX / 1000 &&
52 (ts->tv_nsec + 999999) / 1000000 > INT_MAX % 1000000))
55 timeout = ts->tv_sec * 1000 + (ts->tv_nsec + 999999) / 1000000;
42 pollts(struct pollfd *__restrict fds, nfds_t nfds, const struct timespec *__restrict ts, const sigset_t *__restrict sigmask) argument
/external/fio/
H A Dtime.c31 unsigned long ts = usec; local
38 ts = usec - ns_granularity;
40 if (ts >= 1000000) {
41 req.tv_sec = ts / 1000000;
42 ts -= 1000000 * req.tv_sec;
46 req.tv_nsec = ts * 1000;
52 ts = utime_since_now(&tv);
53 t += ts;
54 if (ts >= usec)
57 usec -= ts;
112 struct timespec ts; local
[all...]
/external/libxml2/os400/
H A Dtranscode.c56 char * ts; local
67 ts = (char *) NULL;
78 err = !(ts = xmlMalloc(4 * l + 4));
80 dstp = ts;
105 ts = xmlRealloc(ts, (dstp - ts) + 4);
107 ret = (const char *) ts;
108 ts = (char *) NULL;
112 (xmlChar *) ts, dst
144 xmlChar * ts; local
[all...]
/external/toybox/toys/posix/
H A Dtouch.c39 struct timespec ts[2]; local
44 ts[0].tv_nsec = UTIME_NOW;
50 localtime_r(&(ts->tv_sec), &tm);
62 localtime_r(&(ts->tv_sec), &tm);
65 ts->tv_nsec = 0;
67 sscanf(s, ".%lu%n", &ts->tv_nsec, &len);
83 ts->tv_nsec = 0;
85 sscanf(s += len, "%lu%n", &ts->tv_nsec, &len);
91 if (ts->tv_nsec > 999999999) s = 0;
92 else while (len++ < 10) ts
[all...]
/external/webrtc/webrtc/system_wrappers/source/
H A Dcondition_variable_posix.cc92 timespec ts; local
95 clock_gettime(CLOCK_REALTIME, &ts);
97 clock_gettime(CLOCK_MONOTONIC, &ts);
102 ts.tv_sec = tv.tv_sec;
103 ts.tv_nsec = tv.tv_usec * MICROSECONDS_PER_MILLISECOND;
106 ts.tv_sec += max_time_inMS / MILLISECONDS_PER_SECOND;
107 ts.tv_nsec +=
112 if (ts.tv_nsec >= NANOSECONDS_PER_SECOND) {
113 ts.tv_sec += ts
[all...]
/external/skia/tests/
H A DPathOpsLineIntersectionTest.cpp88 const SkIntersections& ts, bool nearAllowed) {
89 for (int i = 0; i < ts.used(); ++i) {
90 SkDPoint result1 = line1.ptAtT(ts[0][i]);
91 SkDPoint result2 = line2.ptAtT(ts[1][i]);
95 if (!result1.approximatelyEqual(result2) && !ts.nearlySame(i)) {
96 REPORTER_ASSERT(reporter, ts.used() != 1);
97 result2 = line2.ptAtT(ts[1][i ^ 1]);
102 REPORTER_ASSERT(reporter, result1.approximatelyEqual(ts.pt(i).asSkPoint()));
123 SkIntersections ts; local
124 ts
87 check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, const SkIntersections& ts, bool nearAllowed) argument
130 SkIntersections ts; local
137 SkIntersections ts; local
144 SkIntersections ts; local
155 SkIntersections ts; local
166 SkIntersections ts; local
175 SkIntersections ts; local
184 SkIntersections ts; local
193 SkIntersections ts; local
217 SkIntersections ts; local
[all...]
/external/clang/test/CXX/drs/
H A Ddr13xx.cpp14 template<typename...Ts> void f(Ts ...ts) { // expected-error 0-1{{extension}} argument
15 auto x(ts...); // expected-error {{empty}} expected-error 0-1{{extension}}

Completed in 904 milliseconds

1234567891011>>