/external/autotest/client/site_tests/camera_V4L2/src/ |
media_v4l2_device.cc | 820 struct timespec ts; local 821 int res = clock_gettime(CLOCK_MONOTONIC, &ts); 823 return static_cast<uint64_t>(ts.tv_sec);
|
/external/autotest/client/tests/monotonic_time/src/ |
time_test.c | 127 struct timespec ts; local 129 clock_gettime(CLOCK_MONOTONIC, &ts); 130 return (uint64_t)ts.tv_sec * 1000000000 + ts.tv_nsec; 236 struct timespec ts = { .tv_sec = 0, .tv_nsec = 200000000 }; local 237 struct timespec *timeout = (verbose || duration) ? &ts : NULL;
|
/external/boringssl/src/tool/ |
speed.cc | 79 struct timespec ts; local 80 clock_gettime(CLOCK_MONOTONIC, &ts); 82 uint64_t ret = ts.tv_sec; 84 ret += ts.tv_nsec / 1000;
|
/external/clang/test/Analysis/ |
taint-generic.c | 140 size_t ts; local 141 scanf("%zd", &ts); 143 int *buf1 = (int*)malloc(ts*sizeof(int)); // expected-warning {{Untrusted data is used to specify the buffer size}} 144 char *dst = (char*)calloc(ts, sizeof(char)); //expected-warning {{Untrusted data is used to specify the buffer size}} 145 bcopy(buf1, dst, ts); // expected-warning {{Untrusted data is used to specify the buffer size}} 146 __builtin_memcpy(dst, buf1, (ts + 4)*sizeof(char)); // expected-warning {{Untrusted data is used to specify the buffer size}} 149 char *dst2 = (char*)malloc(ts*sizeof(char)); // expected-warning {{Untrusted data is used to specify the buffer size}} 150 strncat(dst2, dst, ts); // no-warning
|
/external/drm_hwcomposer/ |
drmdisplaycompositor.cpp | 258 struct timespec ts; local 259 if (clock_gettime(CLOCK_MONOTONIC, &ts)) 261 dump_last_timestamp_ns_ = ts.tv_sec * 1000 * 1000 * 1000 + ts.tv_nsec; [all...] |
/external/e2fsprogs/debugfs/ |
util.c | 4 * Copyright (C) 1993, 1994 Theodore Ts'o. This file may be 215 struct tm ts; local 229 memset(&ts, 0, sizeof(ts)); 231 strptime(arg, "%Y%m%d%H%M%S", &ts); 233 sscanf(arg, "%4d%2d%2d%2d%2d%2d", &ts.tm_year, &ts.tm_mon, 234 &ts.tm_mday, &ts.tm_hour, &ts.tm_min, &ts.tm_sec) [all...] |
/external/eigen/Eigen/src/Core/products/ |
TriangularMatrixMatrix.h | 304 Index ts = (IsLower && actual_k2>=cols) ? 0 : actual_kc; local 306 Scalar* geb = blockB+ts*ts; 311 if(ts>0) 347 if(ts>0)
|
/external/icu/icu4c/source/i18n/ |
collationsets.cpp | 37 TailoredSet *ts = (TailoredSet *)context; local 38 return ts->handleCE32(start, end, ce32); 264 const UnicodeString *ts = NULL; // Tailoring suffix. local 272 if(ts == NULL) { 274 ts = &suffixes.getString(); 276 ts = &none; 286 if(ts == &none && bs == &none) { break; } 287 int32_t cmp = ts->compare(*bs); 289 // ts occurs in the tailoring but not in the base. 290 addSuffix(c, *ts); [all...] |
/external/icu/icu4c/source/test/intltest/ |
cpdtrtst.cpp | 216 UnicodeSet ts; local 218 retUS = &ct1->getTargetSet(ts); 219 if (retUS != &ts || ts.size() == 0) {
|
/external/iproute2/ip/ |
tcp_metrics.c | 275 unsigned long long ts; local 278 ts = a ? rta_getattr_u64(a) : 0; 281 syn_loss, ts / 1000, ts % 1000);
|
/external/iw/ |
iw.h | 121 struct timeval ts; /* internal */ member in struct:print_event_args
|
/external/jhead/ |
jhead.c | 133 struct tm ts; local 134 ts = *localtime(&ImageInfo.FileDateTime); 135 strftime(TimeStr, 20, "%Y:%m:%d %H:%M:%S", &ts); [all...] |
/external/junit/src/org/junit/internal/runners/ |
JUnit38ClassRunner.java | 100 TestSuite ts= (TestSuite) test; local 101 String name= ts.getName() == null ? createSuiteDescription(ts) : ts.getName(); 103 int n= ts.testCount(); 105 Description made= makeDescription(ts.testAt(i)); 121 private static String createSuiteDescription(TestSuite ts) { 122 int count= ts.countTestCases(); 123 String example = count == 0 ? "" : String.format(" [example: %s]", ts.testAt(0));
|
/external/kernel-headers/original/uapi/linux/ |
ptp_clock.h | 81 struct ptp_clock_time ts[2 * PTP_MAX_SAMPLES + 1]; member in struct:ptp_sys_offset
|
/external/libbrillo/brillo/streams/ |
file_stream.cc | 144 const timespec ts = timeout.ToTimeSpec(); variable 145 TIMESPEC_TO_TIMEVAL(&timeout_val, &ts);
|
/external/opencv3/modules/imgproc/src/ |
gcgraph.hpp | 64 int ts; member in class:GCGraph::Vtx 168 v->ts = 0; 207 u->ts = v->ts; 223 if( u->dist > v->dist+1 && u->ts <= v->ts ) 227 u->ts = v->ts; 310 if( u->ts == curr_ts ) 323 u->ts = curr_ts [all...] |
/external/opencv3/modules/videoio/test/ |
test_ffmpeg.cpp | 140 ts->set_failed_test_info(ts->FAIL_INVALID_OUTPUT); 161 ts->set_failed_test_info(ts->FAIL_INVALID_OUTPUT); 169 ts->set_failed_test_info(ts->FAIL_INVALID_OUTPUT); 177 ts->set_failed_test_info(ts->FAIL_INVALID_OUTPUT); 179 ts->set_failed_test_info(cvtest::TS::OK) 394 cvtest::TS* ts; member in class:ReadImageAndTest 402 cvtest::TS* ts = cvtest::TS::ptr(); local [all...] |
/external/rmi4utils/rmidevice/ |
rmidevice.cpp | 335 struct timespec ts; local 338 ts.tv_sec = ms / 1000; 339 ts.tv_nsec = (ms % 1000) * 1000 * 1000; 341 if (nanosleep(&ts, &rem) == 0) { 345 ts = rem;
|
/external/skia/tests/ |
PathOpsTestCommon.cpp | 39 static bool add_simple_ts(const SkDCubic& cubic, double precision, SkTArray<double, true>* ts) { 45 ts->push_back(0.5); 52 SkTArray<double, true>* ts) { 58 ts->push_back(newT); 63 static void toQuadraticTs(const SkDCubic* cubic, double precision, SkTArray<double, true>* ts) { 109 if (inflections == 0 && add_simple_ts(*cubic, precision, ts)) { 114 addTs(pair.first(), precision, 0, inflectT[0], ts); 115 addTs(pair.second(), precision, inflectT[0], 1, ts); 120 addTs(part, precision, 0, inflectT[0], ts); 124 addTs(part, precision, inflectT[idx], inflectT[idx + 1], ts); 134 SkTArray<double, true> ts; local [all...] |
/external/srtp/include/ |
srtp_priv.h | 79 uint32_t ts; /* timestamp */ member in struct:__anon22821 93 uint32_t ts; /* timestamp */ member in struct:__anon22822
|
/external/webrtc/webrtc/base/ |
timeutils.cc | 51 struct timespec ts; local 54 clock_gettime(CLOCK_MONOTONIC, &ts); 55 ticks = kNumNanosecsPerSec * static_cast<int64_t>(ts.tv_sec) + 56 static_cast<int64_t>(ts.tv_nsec); 196 int64_t TimestampWrapAroundHandler::Unwrap(uint32_t ts) { 197 if (ts < last_ts_) { 198 if (last_ts_ > 0xf0000000 && ts < 0x0fffffff) { 202 last_ts_ = ts; 203 int64_t unwrapped_ts = ts + (num_wrap_ << 32);
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
packet_buffer_unittest.cc | 28 PacketGenerator(uint16_t seq_no, uint32_t ts, uint8_t pt, int frame_size); 30 void Reset(uint16_t seq_no, uint32_t ts, uint8_t pt, int frame_size); 39 PacketGenerator::PacketGenerator(uint16_t seq_no, uint32_t ts, uint8_t pt, 41 Reset(seq_no, ts, pt, frame_size); 44 void PacketGenerator::Reset(uint16_t seq_no, uint32_t ts, uint8_t pt, 47 ts_ = ts; 311 uint32_t ts; local 312 EXPECT_EQ(PacketBuffer::kOK, buffer.NextTimestamp(&ts)); 313 EXPECT_EQ(current_ts, ts); 437 Packet* a = gen.NextPacket(10); // SN = 0, TS = 0 [all...] |
/external/webrtc/webrtc/modules/audio_coding/test/ |
insert_packet_with_timing.cc | 168 uint32_t ts = SendTimestamp(); local 171 channel_->set_send_timestamp(ts); 181 << " timestamp " << ts << std::endl; 184 << " timestamp " << ts << std::endl;
|
/frameworks/av/media/libnbaio/ |
NBLog.cpp | 136 struct timespec ts; local 137 if (!clock_gettime(CLOCK_MONOTONIC, &ts)) { 138 log(EVENT_TIMESTAMP, &ts, sizeof(struct timespec)); 142 void NBLog::Writer::logTimestamp(const struct timespec& ts) 147 log(EVENT_TIMESTAMP, &ts, sizeof(struct timespec)); 255 void NBLog::LockedWriter::logTimestamp(const struct timespec& ts) 258 Writer::logTimestamp(ts); 321 struct timespec ts; local 334 memcpy(&ts, ©[i - length - 1], sizeof(struct timespec)); 335 if (ts.tv_sec > maxSec) [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
ZenModeFiltering.java | 62 pw.println(ts(REPEAT_CALLERS.mCalls.valueAt(i))); method 68 private static String ts(long time) { method in class:ZenModeFiltering
|