| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
| 3-2.c | 54 struct timespec ts; local 70 ts.tv_sec = time(NULL) + 1; 71 ts.tv_nsec = 0; 72 if (mq_timedsend(queue, msgptr3, strlen(msgptr3), PRI3, &ts) != 0) { 78 ts.tv_sec++; 79 if (mq_timedsend(queue, msgptr1, strlen(msgptr1), PRI1, &ts) != 0) { 85 ts.tv_sec++; 86 if (mq_timedsend(queue, msgptr4, strlen(msgptr4), PRI4, &ts) != 0) { 92 ts.tv_sec++; 93 if (mq_timedsend(queue, msgptr2, strlen(msgptr2), PRI2, &ts) != 0) [all...] |
| 5-3.c | 75 struct timespec ts; local 85 ts.tv_sec = time(NULL) + TIMEOUT; 86 ts.tv_nsec = 0; 90 strlen(msgptr), 1, &ts) != 0) {
|
| /external/ltp/testcases/realtime/func/gtod_latency/ |
| gtod_infinite.c | 105 struct timespec ts, p_ts; local 165 rc = clock_gettime(CLOCK_TO_USE, &ts); 172 ts_to_nsec(&ts, &e_time); 182 tt = (time_t) ts.tv_sec;
|
| /external/ltp/testcases/realtime/func/thread_clock/ |
| tc-2.c | 93 struct timespec *ts = &workts[tid]; local 100 if ((clock_gettime(CLOCK_THREAD_CPUTIME_ID, ts)) < 0) { 106 tid, ts->tv_sec, ts->tv_nsec); 115 struct timespec *ts = &sleepts[tid]; local 123 if ((clock_gettime(CLOCK_THREAD_CPUTIME_ID, ts)) < 0) { 129 tid, ts->tv_sec, ts->tv_nsec);
|
| /external/mesa3d/src/gallium/auxiliary/tgsi/ |
| tgsi_aa_point.c | 65 struct aa_transform_context *ts = aa_transform_context(ctx); local 70 ts->color_out = decl->Range.First; 73 ts->num_input++; 76 ts->num_tmp = MAX2(ts->num_tmp, decl->Range.Last + 1); 89 struct aa_transform_context *ts = aa_transform_context(ctx); local 92 ts->num_imm++; 101 struct aa_transform_context *ts = aa_transform_context(ctx); local 109 ts->tmp = ts->num_tmp++ 211 struct aa_transform_context *ts = aa_transform_context(ctx); local 235 struct aa_transform_context *ts = aa_transform_context(ctx); local [all...] |
| tgsi_two_side.c | 74 struct two_side_transform_context *ts = two_side_transform_context(ctx); local 80 ts->front_color_input[decl->Semantic.Index] = decl->Range.First; 81 ts->front_color_interp[decl->Semantic.Index] = decl->Interp.Interpolate; 84 ts->face_input = decl->Range.First; 86 ts->num_inputs = MAX2(ts->num_inputs, decl->Range.Last + 1); 89 ts->num_temps = MAX2(ts->num_temps, decl->Range.Last + 1); 99 struct two_side_transform_context *ts = two_side_transform_context(ctx); local 107 if (ts->front_color_input[i] != INVALID_INDEX) 173 struct two_side_transform_context *ts = two_side_transform_context(ctx); local [all...] |
| /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/python/cpython3/Python/ |
| condvar.h | 95 struct timespec ts; local 100 ts.tv_sec = deadline.tv_sec; 101 ts.tv_nsec = deadline.tv_usec * 1000; 103 r = pthread_cond_timedwait((cond), (mut), &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/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/skqp/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/strace/tests/ |
| threads-execve.c | 130 struct timespec ts = { .tv_nsec = 100000000 }; local 131 (void) clock_nanosleep(CLOCK_REALTIME, 0, &ts, NULL); 133 ts.tv_nsec = 12345; 135 tid, (unsigned int) ts.tv_nsec); 168 (void) nanosleep(&ts, NULL); 180 struct timespec ts = { .tv_nsec = 1 }; local 181 if (clock_nanosleep(CLOCK_REALTIME, 0, &ts, NULL)) 213 struct timespec ts = { .tv_sec = 123 }; local 237 leader_str, (unsigned int) ts.tv_sec); 239 (void) nanosleep(&ts, 0) [all...] |
| /external/strace/tests-m32/ |
| threads-execve.c | 130 struct timespec ts = { .tv_nsec = 100000000 }; local 131 (void) clock_nanosleep(CLOCK_REALTIME, 0, &ts, NULL); 133 ts.tv_nsec = 12345; 135 tid, (unsigned int) ts.tv_nsec); 168 (void) nanosleep(&ts, NULL); 180 struct timespec ts = { .tv_nsec = 1 }; local 181 if (clock_nanosleep(CLOCK_REALTIME, 0, &ts, NULL)) 213 struct timespec ts = { .tv_sec = 123 }; local 237 leader_str, (unsigned int) ts.tv_sec); 239 (void) nanosleep(&ts, 0) [all...] |
| /external/strace/tests-mx32/ |
| threads-execve.c | 130 struct timespec ts = { .tv_nsec = 100000000 }; local 131 (void) clock_nanosleep(CLOCK_REALTIME, 0, &ts, NULL); 133 ts.tv_nsec = 12345; 135 tid, (unsigned int) ts.tv_nsec); 168 (void) nanosleep(&ts, NULL); 180 struct timespec ts = { .tv_nsec = 1 }; local 181 if (clock_nanosleep(CLOCK_REALTIME, 0, &ts, NULL)) 213 struct timespec ts = { .tv_sec = 123 }; local 237 leader_str, (unsigned int) ts.tv_sec); 239 (void) nanosleep(&ts, 0) [all...] |
| /external/stressapptest/src/ |
| queue.h | 46 uint64 ts; // Timestamp of the last read from this page. member in struct:page_entry 56 pe->ts = 0;
|
| /external/swiftshader/src/Shader/ |
| PixelPipeline.hpp | 42 Vector4s ts[6]; member in class:sw::PixelPipeline
|
| /external/syslinux/com32/lib/sys/ |
| ansicon_write.c | 53 static struct term_state ts; variable in typeref:struct:term_state 65 .ts = &ts, 93 firmware->o_ops->get_cursor(&ti.ts->xy.x, &ti.ts->xy.y);
|
| vesacon_write.c | 54 static struct term_state ts; variable in typeref:struct:term_state 66 .ts = &ts,
|
| /external/syslinux/com32/lua/src/ |
| lstring.c | 100 TString *ts; local 103 ts = &luaC_newobj(L, tag, totalsize, list, 0)->ts; 104 ts->tsv.len = l; 105 ts->tsv.hash = h; 106 ts->tsv.extra = 0; 107 memcpy(ts+1, str, l*sizeof(char)); 108 ((char *)(ts+1))[l] = '\0'; /* ending 0 */ 109 return ts; 140 TString *ts = rawgco2ts(o) local [all...] |
| /external/toybox/toys/lsb/ |
| dmesg.c | 83 char *ts = ctime(&t); local 85 printf("[%.*s] ", (int)(strlen(ts)-1), ts);
|
| /external/toybox/toys/posix/ |
| date.c | 176 struct timespec ts; local 181 ts = st.st_mtim; 182 } else clock_gettime(CLOCK_REALTIME, &ts); 184 ((toys.optflags & FLAG_u) ? gmtime_r : localtime_r)(&ts.tv_sec, &tm); 185 TT.nano = ts.tv_nsec;
|
| /external/valgrind/helgrind/tests/ |
| annotate_hbefore.c | 339 struct timespec ts = { 0, 1 * 1000 * 1000 }; local 346 nanosleep(&ts, NULL);
|
| tc08_hbl2.c | 147 struct timespec ts = { 0, 1000 * 1000 }; local 157 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...] |
| /frameworks/native/cmds/dumpstate/ |
| DumpstateInternal.cpp | 43 timespec ts; local 44 clock_gettime(CLOCK_MONOTONIC, &ts); 45 return static_cast<uint64_t>(ts.tv_sec * NANOS_PER_SEC + ts.tv_nsec);
|