/external/libevent/ |
evthread_pthread.c | 143 struct timespec ts; local 146 ts.tv_sec = abstime.tv_sec; 147 ts.tv_nsec = abstime.tv_usec*1000; 148 r = pthread_cond_timedwait(cond, lock, &ts);
|
/external/libweave/examples/provider/ |
event_task_runner.cc | 65 timespec ts = delay.ToTimeSpec(); local 66 timeval tv = {ts.tv_sec, ts.tv_nsec / 1000};
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
MessageLog.java | 98 long ts = Long.parseLong(timeStamp); local 99 if (ts < 0) 101 this.timeStamp = ts; 131 throw new IllegalArgumentException("negative ts");
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTabHost.java | 92 ShadowTabSpec ts = Robolectric.shadowOf(getCurrentTabSpec()); local 93 View v = ts.getContentView(); 95 int viewId = ts.getContentViewId();
|
/external/skia/src/pathops/ |
SkAddIntersections.cpp | 283 SkIntersections ts; local 295 pts = ts.lineHorizontal(wn.pts(), wt.left(), 297 debugShowLineIntersection(pts, wn, wt, ts); 300 pts = ts.quadHorizontal(wn.pts(), wt.left(), 302 debugShowQuadLineIntersection(pts, wn, wt, ts); 305 pts = ts.conicHorizontal(wn.pts(), wn.weight(), wt.left(), 307 debugShowConicLineIntersection(pts, wn, wt, ts); 310 pts = ts.cubicHorizontal(wn.pts(), wt.left(), 312 debugShowCubicLineIntersection(pts, wn, wt, ts); 324 pts = ts.lineVertical(wn.pts(), wt.top() [all...] |
/external/skia/tests/ |
PathOpsLineIntersectionTest.cpp | 88 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.horizontal(line2, left, right, line1[0].fY, line1[0].fX != left) 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/valgrind/helgrind/tests/ |
annotate_hbefore.c | 349 struct timespec ts = { 0, 1 * 1000 * 1000 }; local 356 nanosleep(&ts, NULL);
|
tc08_hbl2.c | 156 struct timespec ts = { 0, 1000 * 1000 }; local 166 nanosleep(&ts, 0);
|
/external/webrtc/webrtc/base/ |
timeutils_unittest.cc | 156 uint32_t ts = 0xfffffff2; local 157 int64_t unwrapped_ts = ts; 158 EXPECT_EQ(ts, wraparound_handler_.Unwrap(ts)); 159 ts = 2; 161 EXPECT_EQ(unwrapped_ts, wraparound_handler_.Unwrap(ts)); 162 ts = 0xfffffff2; 164 EXPECT_EQ(unwrapped_ts, wraparound_handler_.Unwrap(ts)); 165 ts = 0; 167 EXPECT_EQ(unwrapped_ts, wraparound_handler_.Unwrap(ts)); [all...] |
/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...] |
/packages/apps/Nfc/nxp/jni/ |
com_android_nfc_NativeLlcpConnectionlessSocket.cpp | 61 struct timespec ts; local 123 struct timespec ts; local
|
com_android_nfc_NativeLlcpServiceSocket.cpp | 74 struct timespec ts; local
|
com_android_nfc_NativeLlcpSocket.cpp | 115 struct timespec ts; local 169 struct timespec ts; local 251 struct timespec ts; local 312 struct timespec ts; local
|
/prebuilts/go/darwin-x86/src/runtime/cgo/ |
gcc_darwin_arm.c | 52 _cgo_sys_thread_start(ThreadStart *ts) 67 ts->g->stackhi = size; 68 err = pthread_create(&p, &attr, threadentry, ts); 82 ThreadStart ts; local 84 ts = *(ThreadStart*)v; 89 crosscall_arm1(ts.fn, setg_gcc, (void*)ts.g);
|
gcc_darwin_arm64.c | 53 _cgo_sys_thread_start(ThreadStart *ts) 61 //fprintf(stderr, "runtime/cgo: _cgo_sys_thread_start: fn=%p, g=%p\n", ts->fn, ts->g); // debug 69 ts->g->stackhi = size; 70 err = pthread_create(&p, &attr, threadentry, ts); 84 ThreadStart ts; local 86 ts = *(ThreadStart*)v; 91 crosscall1(ts.fn, setg_gcc, (void*)ts.g);
|
gcc_openbsd_386.c | 134 _cgo_sys_thread_start(ThreadStart *ts) 148 ts->g->stackhi = size; 149 err = sys_pthread_create(&p, &attr, threadentry, ts); 162 ThreadStart ts; local 166 ts = *(ThreadStart*)v; 172 setg_gcc((void*)ts.g); 174 crosscall_386(ts.fn);
|
gcc_openbsd_amd64.c | 134 _cgo_sys_thread_start(ThreadStart *ts) 149 ts->g->stackhi = size; 150 err = sys_pthread_create(&p, &attr, threadentry, ts); 163 ThreadStart ts; local 167 ts = *(ThreadStart*)v; 173 setg_gcc((void*)ts.g); 175 crosscall_amd64(ts.fn);
|
/prebuilts/go/linux-x86/src/runtime/cgo/ |
gcc_darwin_arm.c | 52 _cgo_sys_thread_start(ThreadStart *ts) 67 ts->g->stackhi = size; 68 err = pthread_create(&p, &attr, threadentry, ts); 82 ThreadStart ts; local 84 ts = *(ThreadStart*)v; 89 crosscall_arm1(ts.fn, setg_gcc, (void*)ts.g);
|
gcc_darwin_arm64.c | 53 _cgo_sys_thread_start(ThreadStart *ts) 61 //fprintf(stderr, "runtime/cgo: _cgo_sys_thread_start: fn=%p, g=%p\n", ts->fn, ts->g); // debug 69 ts->g->stackhi = size; 70 err = pthread_create(&p, &attr, threadentry, ts); 84 ThreadStart ts; local 86 ts = *(ThreadStart*)v; 91 crosscall1(ts.fn, setg_gcc, (void*)ts.g);
|
gcc_openbsd_386.c | 134 _cgo_sys_thread_start(ThreadStart *ts) 148 ts->g->stackhi = size; 149 err = sys_pthread_create(&p, &attr, threadentry, ts); 162 ThreadStart ts; local 166 ts = *(ThreadStart*)v; 172 setg_gcc((void*)ts.g); 174 crosscall_386(ts.fn);
|
gcc_openbsd_amd64.c | 134 _cgo_sys_thread_start(ThreadStart *ts) 149 ts->g->stackhi = size; 150 err = sys_pthread_create(&p, &attr, threadentry, ts); 163 ThreadStart ts; local 167 ts = *(ThreadStart*)v; 173 setg_gcc((void*)ts.g); 175 crosscall_amd64(ts.fn);
|
/system/bt/btif/src/ |
btif_debug_conn.c | 31 uint64_t ts; member in struct:conn_event_t 40 static char *format_ts(const uint64_t ts, char *buffer, int len) { 41 const uint64_t ms = ts / 1000; 73 evt->ts = btif_debug_ts(); 86 if (connection_events[dump_event].ts == 0) 89 while (connection_events[dump_event].ts) { 92 format_ts(evt->ts, ts_buffer, sizeof(ts_buffer)),
|
/system/connectivity/shill/net/ |
shill_time.cc | 69 struct timespec ts; local 70 if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) { 74 tv->tv_sec = ts.tv_sec; 75 tv->tv_usec = ts.tv_nsec / 1000; 80 struct timespec ts; local 81 if (clock_gettime(CLOCK_BOOTTIME, &ts) != 0) { 85 tv->tv_sec = ts.tv_sec; 86 tv->tv_usec = ts.tv_nsec / 1000;
|