/system/core/liblog/ |
pmsg_writer.c | 41 static int pmsgWrite(log_id_t logId, struct timespec *ts, 98 static int pmsgWrite(log_id_t logId, struct timespec *ts, 149 header.realtime.tv_sec = ts->tv_sec; 150 header.realtime.tv_nsec = ts->tv_nsec; 213 struct timespec ts; local 224 clock_gettime(android_log_clockid(), &ts); local 259 for (ts.tv_nsec = 0, length = len; 261 ts.tv_nsec += ANDROID_LOG_PMSG_FILE_SEQUENCE) { 265 if ((ts.tv_nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >= 282 ret = pmsgWrite(logId, &ts, vec, sizeof(vec) / sizeof(vec[0])) [all...] |
/system/extras/sane_schedstat/ |
sane_schedstat.c | 113 unsigned long long ts; local 122 if (!b || sscanf(b, "timestamp %llu\n", &ts) != 1) {
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
TailoredSet.java | 63 private void enumTailoredRange(int start, int end, int ce32, TailoredSet ts) { 67 ts.handleCE32(start, end, ce32); 292 String ts = null; // Tailoring suffix. local 300 if (ts == null) { 303 ts = te.chars.toString(); 306 ts = none; 318 if (ts == none && bs == none) { 321 int cmp = ts.compareTo(bs); 323 // ts occurs in the tailoring but not in the base. 324 addSuffix(c, ts); [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
TailoredSet.java | 61 private void enumTailoredRange(int start, int end, int ce32, TailoredSet ts) { 65 ts.handleCE32(start, end, ce32); 290 String ts = null; // Tailoring suffix. local 298 if (ts == null) { 301 ts = te.chars.toString(); 304 ts = none; 316 if (ts == none && bs == none) { 319 int cmp = ts.compareTo(bs); 321 // ts occurs in the tailoring but not in the base. 322 addSuffix(c, ts); [all...] |
/external/testng/src/main/java/org/testng/junit/ |
JUnitTestRunner.java | 185 TestSuite ts = new TestSuite();
local 190 ts.addTest((Test) c.newInstance(m));
206 return ts;
|
/bionic/libc/bionic/ |
pthread_cond.cpp | 232 timespec ts; local 235 absolute_timespec_from_timespec(ts, *rel_timeout, CLOCK_MONOTONIC); 236 abs_timeout = &ts; 243 timespec ts; local 244 timespec_from_ms(ts, ms); 245 return pthread_cond_timedwait_relative_np(cond_interface, mutex, &ts);
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
res_random.c | 178 struct timespec ts; local 222 clock_gettime(CLOCK_MONOTONIC, &ts); 223 ru_reseed = ts.tv_sec + RU_OUT; 230 struct timespec ts; local 235 clock_gettime(CLOCK_MONOTONIC, &ts); 240 if (ru_counter >= RU_MAX || ts.tv_sec > ru_reseed || pid != ru_pid) {
|
/bionic/tests/ |
sys_socket_test.cpp | 156 struct timespec ts; local 157 memset(&ts, 0, sizeof(ts)); 158 ts.tv_sec = 5; 159 ts.tv_nsec = 0; 161 static_cast<size_t>(recvmmsg(fd_acc, msgs, NUM_RECV_MSGS, 0, &ts)))
|
/development/ndk/platforms/android-21/include/linux/ |
ptp_clock.h | 64 struct ptp_clock_time ts[2 * PTP_MAX_SAMPLES + 1]; member in struct:ptp_sys_offset
|
/device/google/contexthub/util/stm32_flash/ |
flash.c | 85 struct timespec ts; local 156 ts.tv_sec = 0; 157 ts.tv_nsec = 5000000; 158 nanosleep(&ts, NULL);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
CodeSignerTest.java | 42 private Timestamp ts = new Timestamp(now, cpath); field in class:CodeSignerTest 49 new CodeSigner(null, ts); 68 CodeSigner one = new CodeSigner(cpath, ts); 69 CodeSigner two = new CodeSigner(cpath, ts); 100 assertSame(new CodeSigner(cpath, ts).getTimestamp(), ts); 108 new CodeSigner(cpath, ts).toString();
|
/external/clang/test/Sema/ |
struct-decl.c | 16 } *ts; member in struct:s
|
/external/dhcpcd-6.8.2/ |
auth.c | 440 struct timespec ts; local 445 if (clock_gettime(CLOCK_REALTIME, &ts) != 0) 447 pack[0] = htonl((uint32_t)ts.tv_sec + JAN_1970); 448 frac = ((double)ts.tv_nsec / 1e9 * 0x100000000ULL);
|
eloop.c | 524 struct timespec now, ts, *tsp; local 554 timespecsub(&t->when, &now, &ts); 555 tsp = &ts;
|
/external/dhcpcd-6.8.2/dbus/ |
dbus-dict.c | 178 const char *tsa, *ts; local 181 ts = DBUS_TYPE_BYTE_AS_STRING; 184 dbus_message_iter_open_container(&var, DBUS_TYPE_ARRAY, ts, &array); 219 const char *tsa, *ts; local 231 ts = DBUS_TYPE_STRING_AS_STRING; 235 ts = DBUS_TYPE_UINT32_AS_STRING; 247 dbus_message_iter_open_container(&var, DBUS_TYPE_ARRAY, ts, &array);
|
/external/fio/ |
idletime.c | 187 struct timespec ts; local 286 ts.tv_sec = tp.tv_sec + 1; 287 ts.tv_nsec = tp.tv_usec * 1000; 288 pthread_cond_timedwait(&ipt->cond, &ipt->init_lock, &ts); 329 struct timespec ts; local 347 ts.tv_sec = tp.tv_sec + 1; 348 ts.tv_nsec = tp.tv_usec * 1000; 350 pthread_cond_timedwait(&ipt->cond, &ipt->start_lock, &ts);
|
/external/gemmlowp/profiling/ |
profiler.h | 271 timespec ts; local 272 ts.tv_sec = 0; 273 ts.tv_nsec = interval; 274 nanosleep(&ts, nullptr);
|
/external/icu/icu4c/source/i18n/ |
collationdatareader.cpp | 413 const CollationSettings &ts = *tailoring.settings; local 417 tailoring.data, ts, fastLatinPrimaries, UPRV_LENGTHOF(fastLatinPrimaries)); 418 if(options == ts.options && ts.variableTop != 0 && 419 reorderCodesLength == ts.reorderCodesLength && 420 uprv_memcmp(reorderCodes, ts.reorderCodes, reorderCodesLength * 4) == 0 && 421 fastLatinOptions == ts.fastLatinOptions && 423 uprv_memcmp(fastLatinPrimaries, ts.fastLatinPrimaries,
|
/external/libchrome/base/time/ |
time_posix.cc | 82 int64_t ConvertTimespecToMicros(const struct timespec& ts) { 83 base::CheckedNumeric<int64_t> result(ts.tv_sec); 85 result += (ts.tv_nsec / base::Time::kNanosecondsPerMicrosecond); 97 struct timespec ts; local 98 if (clock_gettime(clk_id, &ts) != 0) { 102 return ConvertTimespecToMicros(ts);
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
baseline_policy_unittest.cc | 334 struct timespec ts; local 335 clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
|
/external/libcxx/src/ |
thread.cpp | 114 timespec ts; local 115 typedef decltype(ts.tv_sec) ts_sec; 119 ts.tv_sec = static_cast<ts_sec>(s.count()); 120 ts.tv_nsec = static_cast<decltype(ts.tv_nsec)>((ns-s).count()); 124 ts.tv_sec = ts_sec_max; 125 ts.tv_nsec = giga::num - 1; 128 while (nanosleep(&ts, &ts) == -1 && errno == EINTR)
|
/external/libevent/ |
evport.c | 281 struct timespec ts; local 284 ts.tv_sec = tv->tv_sec; 285 ts.tv_nsec = tv->tv_usec * 1000; 286 ts_p = &ts;
|
kqueue.c | 261 struct timespec ts, *ts_p = NULL; local 265 TIMEVAL_TO_TIMESPEC(tv, &ts); 266 ts_p = &ts;
|
/external/libexif/libexif/canon/ |
exif-mnote-data-canon.c | 123 size_t ts; local 158 ts = *buf_size + s; 161 if (s & 1) ts += 1; 163 sizeof (char) * ts); 165 EXIF_LOG_NO_MEMORY(ne->log, "ExifMnoteCanon", ts); 169 *buf_size = ts;
|
/external/libexif/libexif/fuji/ |
exif-mnote-data-fuji.c | 85 size_t ts; local 126 ts = *buf_size + s; 129 if (s & 1) ts += 1; 130 t = exif_mem_realloc (ne->mem, *buf, ts); 135 *buf_size = ts;
|