HomeSort by relevance Sort by last modified time
    Searched defs:ts (Results 351 - 375 of 1050) sorted by null

<<11121314151617181920>>

  /hardware/google/av/codec2/vndk/bufferpool/
BufferStatus.cpp 32 struct timespec ts; local
34 clock_gettime(CLOCK_MONOTONIC, &ts);
35 stamp = ts.tv_nsec / 1000;
36 stamp += (ts.tv_sec * 1000000LL);
  /hardware/qcom/gps/msm8084/utils/
loc_timer.c 56 struct timespec ts; local
63 clock_gettime(CLOCK_REALTIME, &ts);
65 ts.tv_sec += t->time_msec/1000;
69 ts.tv_nsec += t->time_msec * 1000000;
70 if(ts.tv_nsec > 999999999) {
72 ts.tv_sec += 1;
73 ts.tv_nsec -= 1000000000;
75 LOC_LOGD("%s:%d]: ts.tv_sec:%d; ts.tv_nsec:%d\n"
77 __func__, __LINE__, (int)ts.tv_sec, (int)ts.tv_nsec
    [all...]
  /hardware/qcom/gps/msm8994/utils/
loc_timer.c 56 struct timespec ts; local
63 clock_gettime(CLOCK_REALTIME, &ts);
65 ts.tv_sec += t->time_msec/1000;
69 ts.tv_nsec += t->time_msec * 1000000;
70 if(ts.tv_nsec > 999999999) {
72 ts.tv_sec += 1;
73 ts.tv_nsec -= 1000000000;
75 LOC_LOGD("%s:%d]: ts.tv_sec:%d; ts.tv_nsec:%d\n"
77 __func__, __LINE__, (int)ts.tv_sec, (int)ts.tv_nsec
    [all...]
  /hardware/qcom/gps/utils/
loc_timer.c 56 struct timespec ts; local
63 clock_gettime(CLOCK_REALTIME, &ts);
65 ts.tv_sec += t->time_msec/1000;
69 ts.tv_nsec += t->time_msec * 1000000;
70 if(ts.tv_nsec > 999999999) {
72 ts.tv_sec += 1;
73 ts.tv_nsec -= 1000000000;
75 LOC_LOGD("%s:%d]: ts.tv_sec:%d; ts.tv_nsec:%d\n"
77 __func__, __LINE__, (int)ts.tv_sec, (int)ts.tv_nsec
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/cgo/
gcc_darwin_arm.c 53 _cgo_sys_thread_start(ThreadStart *ts)
68 ts->g->stackhi = size;
69 err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
83 ThreadStart ts; local
85 ts = *(ThreadStart*)v;
90 crosscall_arm1(ts.fn, setg_gcc, (void*)ts.g);
gcc_darwin_arm64.c 54 _cgo_sys_thread_start(ThreadStart *ts)
62 //fprintf(stderr, "runtime/cgo: _cgo_sys_thread_start: fn=%p, g=%p\n", ts->fn, ts->g); // debug
70 ts->g->stackhi = size;
71 err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
85 ThreadStart ts; local
87 ts = *(ThreadStart*)v;
92 crosscall1(ts.fn, setg_gcc, (void*)ts.g);
  /prebuilts/go/linux-x86/src/runtime/cgo/
gcc_darwin_arm.c 53 _cgo_sys_thread_start(ThreadStart *ts)
68 ts->g->stackhi = size;
69 err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
83 ThreadStart ts; local
85 ts = *(ThreadStart*)v;
90 crosscall_arm1(ts.fn, setg_gcc, (void*)ts.g);
gcc_darwin_arm64.c 54 _cgo_sys_thread_start(ThreadStart *ts)
62 //fprintf(stderr, "runtime/cgo: _cgo_sys_thread_start: fn=%p, g=%p\n", ts->fn, ts->g); // debug
70 ts->g->stackhi = size;
71 err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
85 ThreadStart ts; local
87 ts = *(ThreadStart*)v;
92 crosscall1(ts.fn, setg_gcc, (void*)ts.g);
  /system/bt/btif/src/
btif_debug_conn.cc 30 uint64_t ts; member in struct:conn_event_t
39 static char* format_ts(const uint64_t ts, char* buffer, int len) {
40 const uint64_t ms = ts / 1000;
72 evt->ts = time_gettimeofday_us();
85 if (connection_events[dump_event].ts == 0) dprintf(fd, " None\n");
87 while (connection_events[dump_event].ts) {
89 dprintf(fd, " %s %s %s", format_ts(evt->ts, ts_buffer, sizeof(ts_buffer)),
  /system/connectivity/wificond/tests/
shell_utils.cpp 51 struct timespec ts; local
52 clock_gettime(CLOCK_MONOTONIC, &ts);
53 return (int64_t{ts.tv_sec} * kMillisecondsPerSecond) +
54 (ts.tv_nsec / kNanosecondsPerMillisecond);
  /system/core/libcutils/
trace-container.cpp 118 struct timespec ts; local
119 clock_gettime(clk_id, &ts);
120 return ts.tv_sec * 1000000 + ts.tv_nsec / 1000;
129 uint64_t ts = gettime(CLOCK_MONOTONIC); \
134 pid, tid, ts, tts, name, value); \
143 pid, tid, ts, tts, name_len, name, value); \
  /system/core/liblog/
pmsg_writer.c 40 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
99 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
149 header.realtime.tv_sec = ts->tv_sec;
150 header.realtime.tv_nsec = ts->tv_nsec;
215 struct timespec ts; local
226 clock_gettime(android_log_clockid(), &ts); local
252 for (ts.tv_nsec = 0, length = len; length;
253 ts.tv_nsec += ANDROID_LOG_PMSG_FILE_SEQUENCE) {
257 if ((ts.tv_nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >=
288 ret = pmsgWrite(logId, &ts, vec, sizeof(vec) / sizeof(vec[0]))
    [all...]
  /system/core/libutils/include/utils/
Condition.h 121 struct timespec ts; local
123 clock_gettime(CLOCK_MONOTONIC, &ts);
128 ts.tv_sec = t.tv_sec;
129 ts.tv_nsec = t.tv_usec*1000;
135 ts.tv_nsec += static_cast<long>(reltime%1000000000);
136 if (reltime_sec < INT64_MAX && ts.tv_nsec >= 1000000000) {
137 ts.tv_nsec -= 1000000000;
141 int64_t time_sec = ts.tv_sec;
148 ts.tv_sec = (time_sec > LONG_MAX) ? LONG_MAX : static_cast<long>(time_sec);
150 return -pthread_cond_timedwait(&mCond, &mutex.mMutex, &ts);
    [all...]
  /system/core/storaged/
storaged_diskstats.cpp 69 bool get_time(struct timespec* ts) {
72 int ret = clock_gettime(CLOCK_MONOTONIC, ts);
80 void init_disk_stats_other(const struct timespec& ts, struct disk_stats* stats) {
82 stats->end_time = (uint64_t)ts.tv_sec * SEC_TO_MSEC + ts.tv_nsec / (MSEC_TO_USEC * USEC_TO_NSEC);
89 struct timespec ts; local
90 if (!get_time(&ts)) {
106 init_disk_stats_other(ts, stats);
125 struct timespec ts; local
126 if (!get_time(&ts)) {
    [all...]
  /system/extras/sane_schedstat/
sane_schedstat.c 113 unsigned long long ts; local
122 if (!b || sscanf(b, "timestamp %llu\n", &ts) != 1) {
  /system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/
native-lib.cpp 65 timespec ts; local
66 clock_gettime(CLOCK_MONOTONIC, &ts);
67 return ts.tv_sec * 1000000000ULL + ts.tv_nsec;
  /tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/utils/
CachedSupplierTest.java 31 TestSupplier ts = new TestSupplier(); local
32 CachedSupplier<String> cs = new CachedSupplier<>(ts);
35 ts.value = "foo";
36 assertEquals(0, ts.invocationCount);
38 assertEquals(1, ts.invocationCount);
41 ts.value = "bar";
43 assertEquals(1, ts.invocationCount);
49 TestSupplier ts = new TestSupplier(); local
50 ts.value = "foo";
51 CachedSupplier<String> cs = new CachedSupplier<>(ts);
85 TestSupplier ts = new TestSupplier(); local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
TailoredSet.java 66 private void enumTailoredRange(int start, int end, int ce32, TailoredSet ts) {
70 ts.handleCE32(start, end, ce32);
295 String ts = null; // Tailoring suffix. local
303 if (ts == null) {
306 ts = te.chars.toString();
309 ts = none;
321 if (Utility.sameObjects(ts, none) && Utility.sameObjects(bs, none)) {
324 int cmp = ts.compareTo(bs);
326 // ts occurs in the tailoring but not in the base.
327 addSuffix(c, ts);
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
TailoredSet.java 64 private void enumTailoredRange(int start, int end, int ce32, TailoredSet ts) {
68 ts.handleCE32(start, end, ce32);
293 String ts = null; // Tailoring suffix. local
301 if (ts == null) {
304 ts = te.chars.toString();
307 ts = none;
319 if (Utility.sameObjects(ts, none) && Utility.sameObjects(bs, none)) {
322 int cmp = ts.compareTo(bs);
324 // ts occurs in the tailoring but not in the base.
325 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 231 timespec ts; local
234 absolute_timespec_from_timespec(ts, *rel_timeout, CLOCK_MONOTONIC);
235 abs_timeout = &ts;
242 timespec ts; local
243 timespec_from_ms(ts, ms);
244 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 158 struct timespec ts; local
159 memset(&ts, 0, sizeof(ts));
160 ts.tv_sec = 5;
161 ts.tv_nsec = 0;
163 static_cast<size_t>(recvmmsg(fd_acc, msgs, NUM_RECV_MSGS, 0, &ts)))
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
ComparisonReport.java 66 TestSuite ts,
77 for (TestSuite.Package pkg : ts.getPackagesList()) {
200 TestSuite ts = TestSuite.parseFrom(new FileInputStream(testSuiteFileName)); local
204 ts,
  /device/google/contexthub/util/stm32_flash/
flash.c 93 struct timespec ts; local
171 ts.tv_sec = 0;
172 ts.tv_nsec = 200000000;
173 nanosleep(&ts, NULL);

Completed in 1940 milliseconds

<<11121314151617181920>>