| /external/adhd/cras/src/tests/ |
| dev_stream_unittest.cc | 812 struct cras_timespec ts; local 816 cras_set_playback_timestamp(48000, 24000, &ts); 817 EXPECT_EQ(1, ts.tv_sec); 818 EXPECT_GE(ts.tv_nsec, 499900000); 819 EXPECT_LE(ts.tv_nsec, 500100000); 823 struct cras_timespec ts; local 827 cras_set_playback_timestamp(48000, 24000, &ts); 828 EXPECT_EQ(2, ts.tv_sec); 829 EXPECT_GE(ts.tv_nsec, 249900000); 830 EXPECT_LE(ts.tv_nsec, 250100000) 834 struct cras_timespec ts; local 846 struct cras_timespec ts; local 857 struct cras_timespec ts; local 868 struct cras_timespec ts; local [all...] |
| /external/autotest/client/tests/cyclictest/src/ |
| cyclictest.c | 167 static inline void tsnorm(struct timespec *ts) 169 while (ts->tv_nsec >= NSEC_PER_SEC) { 170 ts->tv_nsec -= NSEC_PER_SEC; 171 ts->tv_sec++; 484 struct timespec ts; local 486 if (clock_getres(CLOCK_MONOTONIC, &ts)) 489 return (ts.tv_sec != 0 || ts.tv_nsec != 1);
|
| /external/dhcpcd-6.8.2/ |
| dhcpcd.c | 1754 struct timespec ts; local [all...] |
| /external/fio/ |
| gettime.c | 134 static int fill_clock_gettime(struct timespec *ts) 137 return clock_gettime(CLOCK_MONOTONIC_RAW, ts); 139 return clock_gettime(CLOCK_MONOTONIC, ts); 141 return clock_gettime(CLOCK_REALTIME, ts); 156 struct timespec ts; local 158 if (fill_clock_gettime(&ts) < 0) { 163 tp->tv_sec = ts.tv_sec; 164 tp->tv_usec = ts.tv_nsec / 1000;
|
| gfio.h | 141 struct thread_stat ts; member in struct:end_results
|
| /external/fio/t/ |
| read-to-pipe-async.c | 483 struct timespec ts; local 486 ts.tv_sec = tv.tv_sec + 1; 487 ts.tv_nsec = tv.tv_usec * 1000ULL; 489 pthread_cond_timedwait(&thread->done_cond, &thread->done_lock, &ts); 613 struct timespec ts; local 636 ts.tv_sec = tv.tv_sec; 637 ts.tv_nsec = tv.tv_usec * 1000ULL; 638 ts.tv_nsec += max_us * 1000ULL; 639 if (ts.tv_nsec >= 1000000000ULL) { 640 ts.tv_nsec -= 1000000000ULL [all...] |
| /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
| CollationDataReader.java | 462 CollationSettings ts = tailoring.settings.readOnly(); local 466 tailoring.data, ts, fastLatinPrimaries); 467 if(options == ts.options && ts.variableTop != 0 && 468 Arrays.equals(reorderCodes, ts.reorderCodes) && 469 fastLatinOptions == ts.fastLatinOptions && 471 Arrays.equals(fastLatinPrimaries, ts.fastLatinPrimaries))) {
|
| /external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
| JavaParserClassDeclarationTest.java | 75 TypeSolver ts = new ReflectionTypeSolver(); local 76 string = new ReferenceTypeImpl(ts.solveType(String.class.getCanonicalName()), ts); 77 ResolvedReferenceType booleanC = new ReferenceTypeImpl(ts.solveType(Boolean.class.getCanonicalName()), ts); 78 listOfBoolean = new ReferenceTypeImpl(ts.solveType(List.class.getCanonicalName()), ImmutableList.of(booleanC), ts); [all...] |
| /external/kmod/testsuite/ |
| testsuite.c | 68 struct timespec ts; local 70 if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) 73 return ts_usec(&ts);
|
| /external/libcxx/src/experimental/filesystem/ |
| operations.cpp | 575 auto ts = detail::extract_mtime(st); local 576 if (!FSTime::is_representable(ts)) { 581 return FSTime::convert_timespec(ts);
|
| /external/libexif/libexif/ |
| exif-data.c | 234 unsigned int ts; local 272 ts = *ds + s; 280 ts++; 281 t = exif_mem_realloc (data->priv->mem, *d, ts); 283 EXIF_LOG_NO_MEMORY (data->priv->log, "ExifData", ts); 287 *ds = ts; 514 unsigned int ts; local 559 ts = *ds + (2 + (ifd->count + n_ptr + n_thumb) * 12 + 4); 560 t = exif_mem_realloc (data->priv->mem, *d, ts); 562 EXIF_LOG_NO_MEMORY (data->priv->log, "ExifData", ts); [all...] |
| /external/libpcap/pcap/ |
| pcap.h | 163 struct timeval ts; /* time stamp */ member in struct:pcap_pkthdr
|
| /external/libpcap/ |
| pcap-win32.c | 617 ULONGLONG ts; local 733 ts = header->ts; 734 pcap_header.ts.tv_sec = (int)(ts >> 32); 735 ts = (ts & 0xffffffffi64) * 1000000; 736 ts += 0x80000000; /* rounding */ 737 pcap_header.ts.tv_usec = (int)(ts >> 32) [all...] |
| /external/libxaac/decoder/ |
| ixheaacd_mps_dec.c | 232 WORD32 ts, qs, row, indx; local 234 for (ts = 0; ts < self->time_slots; ts++) { 239 self->w_dir[row][ts][qs].re = self->v[row][ts][qs].re; 240 self->w_dir[row][ts][qs].im = self->v[row][ts][qs].im; 246 self->w_dir[row][ts][qs].re = self->hyb_res[ts][qs].re 277 WORD32 ch, ts, qs; local [all...] |
| ixheaacd_mps_parse.c | 355 int ps, pg, ts, pb; local 480 for (ts = 0; ts < self->time_slots; ts++) { 481 self->env_shape_data[i][ts] = (float)pow( 482 2, (float)env_shape_data[ts] / [all...] |
| /external/mesa3d/src/compiler/ |
| glsl_types.cpp | 465 static const glsl_type *const ts[] = { local 468 return ts[components - 1]; 477 static const glsl_type *const ts[] = { local 480 return ts[components - 1]; 489 static const glsl_type *const ts[] = { local 492 return ts[components - 1]; 502 static const glsl_type *const ts[] = { local 505 return ts[components - 1]; 515 static const glsl_type *const ts[] = { local 518 return ts[components - 1] [all...] |
| /external/mksh/src/ |
| exec.c | 1263 struct tstate ts; local 1265 for (ktwalk(&ts, &taliases); (tp = ktnext(&ts)) != NULL; ) [all...] |
| /external/python/cpython3/Modules/ |
| signalmodule.c | 1028 struct timespec ts; local 1049 if (_PyTime_AsTimespec(timeout, &ts) < 0) 1053 res = sigtimedwait(&set, &si, &ts); [all...] |
| /external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
| STLExtras.h | 355 template <class... Ts> struct index_sequence_for; 381 zip_first(Iters &&... ts) : iterators(std::forward<Iters>(ts)...) {} 396 zip_shortest(Iters &&... ts) 397 : zip_first<Iters...>(std::forward<Iters>(ts)...) {} 405 std::tuple<Args...> ts; member in class:llvm::detail::zippy 408 return iterator(std::begin(std::get<Ns>(ts))...); 411 return iterator(std::end(std::get<Ns>(ts))...); 417 zippy(Args &&... ts_) : ts(std::forward<Args>(ts_)...) {} 477 template <class... Ts> [all...] |
| /external/syslinux/core/lwip/src/include/lwip/ |
| snmp_msg.h | 276 u32_t ts; member in struct:snmp_msg_trap
|
| /external/syslinux/gpxe/src/drivers/net/ath5k/ |
| ath5k.c | 1271 struct ath5k_tx_status ts; local [all...] |
| /external/tcpdump/ |
| print-wb.c | 331 uint32_t ts = EXTRACT_32BITS(&dh->dh_ts); local 332 ND_PRINT((ndo, "%d", ts - ss + 1)); 333 if (ss > ts || ts > es) { 335 if (ts < ss) 338 ss = ts;
|
| /external/v8/include/libplatform/ |
| v8-tracing.h | 54 unsigned int flags, int pid, int tid, int64_t ts, int64_t tts, 75 int64_t ts() { return ts_; } function in class:v8::platform::tracing::TraceObject
|
| /external/v8/src/base/platform/ |
| time.cc | 70 struct timespec ts; 71 if (clock_gettime(clk_id, &ts) != 0) { 75 v8::base::internal::CheckedNumeric<int64_t> result(ts.tv_sec); 81 result += (ts.tv_nsec / v8::base::Time::kNanosecondsPerMicrosecond); 84 result += (ts.tv_nsec / v8::base::Time::kNanosecondsPerMicrosecond); 189 TimeDelta TimeDelta::FromMachTimespec(struct mach_timespec ts) { 190 DCHECK_GE(ts.tv_nsec, 0); 191 DCHECK_LT(ts.tv_nsec, 193 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + 194 ts.tv_nsec / Time::kNanosecondsPerMicrosecond) 199 struct mach_timespec ts; local 222 struct timespec ts; local 371 struct timespec ts; local [all...] |
| /external/v8/src/ |
| perf-jit.cc | 187 struct timespec ts; local 188 int result = clock_gettime(CLOCK_MONOTONIC, &ts); 192 return (ts.tv_sec * kNsecPerSec) + ts.tv_nsec;
|