| /external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/ |
| pitest-4.c | 100 struct timespec ts; local 119 ts.tv_sec = 0; 120 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; 127 rc = nanosleep(&ts, NULL); 145 struct timespec ts; local 158 ts.tv_sec = 0; 159 ts.tv_nsec = period * 1000 * 1000; 168 rc = nanosleep(&ts, NULL);
|
| pitest-5.c | 98 struct timespec ts; local 117 ts.tv_sec = 0; 118 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; 123 rc = nanosleep(&ts, NULL); 185 struct timespec ts; local 200 ts.tv_sec = 0; 201 ts.tv_nsec = period * 1000 * 1000; 211 rc = nanosleep(&ts, NULL); 222 struct timespec ts; local 223 ts.tv_sec = 2 [all...] |
| pitest-6.c | 96 struct timespec ts; local 114 ts.tv_sec = 0; 115 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; 120 rc = nanosleep(&ts, NULL); 168 struct timespec ts; local 180 ts.tv_sec = 0; 181 ts.tv_nsec = period * 1000 * 1000; 191 rc = nanosleep(&ts, NULL);
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
| stress1.c | 237 struct timespec ts; local 251 ret = clock_gettime(cd->cid, &ts); 256 ts.tv_sec += TIMEOUT; 258 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); 292 struct timespec ts; local 320 ret = clock_gettime(cd->cid, &ts); 325 ts.tv_sec += TIMEOUT; 327 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts);
|
| stress2.c | 227 struct timespec ts; local 239 ret = clock_gettime(cd->cid, &ts); 243 ts.tv_sec += TIMEOUT * SCALABILITY_FACTOR; 250 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); 322 struct timespec ts; local 348 ret = clock_gettime(cd->cid, &ts); 353 (ts.tv_sec + 354 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2); 372 cd->boolean = (ts.tv_sec & 1) ? -1 : 1;
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
| stress.c | 227 struct timespec ts; local 239 ret = clock_gettime(cd->cid, &ts); 243 ts.tv_sec += TIMEOUT * SCALABILITY_FACTOR; 250 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); 322 struct timespec ts; local 348 ret = clock_gettime(cd->cid, &ts); 353 (ts.tv_sec + 354 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2); 372 cd->boolean = (ts.tv_sec & 1) ? -1 : 1;
|
| stress2.c | 227 struct timespec ts; local 239 ret = clock_gettime(cd->cid, &ts); 243 ts.tv_sec += TIMEOUT * SCALABILITY_FACTOR; 250 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); 322 struct timespec ts; local 348 ret = clock_gettime(cd->cid, &ts); 353 (ts.tv_sec + 354 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2); 372 cd->boolean = (ts.tv_sec & 1) ? -1 : 1;
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/ |
| stress.c | 284 struct timespec ts; local 307 ret = clock_gettime(CLOCK_REALTIME, &ts); 312 ts.tv_sec++; /* We will wait for 1 second */ 313 ret = pthread_mutex_timedlock(&(c->mtx), &ts);
|
| /external/mesa3d/include/c11/ |
| threads_posix.h | 245 struct timespec ts; local 247 ts.tv_sec = xt->sec; 248 ts.tv_nsec = xt->nsec; 249 rt = pthread_mutex_timedlock(mtx, &ts);
|
| /external/mesa3d/src/gallium/auxiliary/tgsi/ |
| tgsi_point_sprite.c | 116 struct psprite_transform_context *ts = psprite_transform_context(ctx); local 120 ts->point_size_in = decl->Range.First; 123 ts->point_pos_in = decl->Range.First; 128 ts->point_size_out = decl->Range.First; 131 ts->point_pos_out = decl->Range.First; 135 ts->point_coord_decl |= 1 << decl->Semantic.Index; 136 ts->max_generic = MAX2(ts->max_generic, (int)decl->Semantic.Index); 138 ts->num_out = MAX2(ts->num_out, decl->Range.Last + 1) 157 struct psprite_transform_context *ts = psprite_transform_context(ctx); local 170 struct psprite_transform_context *ts = psprite_transform_context(ctx); local 273 struct psprite_transform_context *ts = psprite_transform_context(ctx); local 424 struct psprite_transform_context *ts = psprite_transform_context(ctx); local [all...] |
| /external/protobuf/src/google/protobuf/util/internal/ |
| protostream_objectsource_test.cc | 962 google::protobuf::Timestamp* ts = out.mutable_ts(); local 964 ts->set_seconds(kTimestampMinSeconds - 1); 973 google::protobuf::Timestamp* ts = out.mutable_ts(); local 975 ts->set_seconds(kTimestampMaxSeconds + 1);
|
| protostream_objectwriter_test.cc | 885 google::protobuf::Timestamp* ts = timestamp.mutable_ts(); local 886 ts->set_seconds(1448249855); 887 ts->set_nanos(33155000); 890 ->RenderString("ts", "2015-11-23T03:37:35.033155Z") 898 google::protobuf::Timestamp* ts = timestamp.mutable_ts(); local 899 ts->set_seconds(-61665654145); 900 ts->set_nanos(33155000); 903 ->RenderString("ts", "15-11-23T03:37:35.033155Z") 911 google::protobuf::Timestamp* ts = timestamp.mutable_ts(); local 912 ts->set_seconds(-61665654145) 924 google::protobuf::Timestamp* ts = timestamp.mutable_ts(); local 937 google::protobuf::Timestamp* ts = timestamp.mutable_ts(); local [all...] |
| /external/python/cpython3/Python/ |
| thread_pthread.h | 110 #define MICROSECONDS_TO_TIMESPEC(microseconds, ts) \ 118 ts.tv_sec = tv.tv_sec; \ 119 ts.tv_nsec = tv.tv_usec * 1000; \ 338 struct timespec ts; local 345 MICROSECONDS_TO_TIMESPEC(microseconds, ts); 348 status = fix_status(sem_timedwait(thelock, &ts)); 482 struct timespec ts; local 484 MICROSECONDS_TO_TIMESPEC(microseconds, ts); 494 &thelock->mut, &ts);
|
| /external/rmi4utils/rmidevice/ |
| rmidevice.cpp | 335 struct timespec ts; local 338 ts.tv_sec = ms / 1000; 339 ts.tv_nsec = (ms % 1000) * 1000 * 1000; 341 if (nanosleep(&ts, &rem) == 0) { 345 ts = rem;
|
| /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
| ShadowTabHost.java | 93 ShadowTabSpec ts = Shadows.shadowOf(getCurrentTabSpec()); local 94 View v = ts.getContentView(); 96 int viewId = ts.getContentViewId();
|
| /external/skia/src/jumper/ |
| SkJumper.h | 106 float* ts; member in struct:SkJumper_GradientCtx
|
| /external/skia/tests/ |
| PathOpsTestCommon.cpp | 39 static bool add_simple_ts(const SkDCubic& cubic, double precision, SkTArray<double, true>* ts) { 45 ts->push_back(0.5); 52 SkTArray<double, true>* ts) { 58 ts->push_back(newT); 63 static void toQuadraticTs(const SkDCubic* cubic, double precision, SkTArray<double, true>* ts) { 109 if (inflections == 0 && add_simple_ts(*cubic, precision, ts)) { 114 addTs(pair.first(), precision, 0, inflectT[0], ts); 115 addTs(pair.second(), precision, inflectT[0], 1, ts); 120 addTs(part, precision, 0, inflectT[0], ts); 124 addTs(part, precision, inflectT[idx], inflectT[idx + 1], ts); 134 SkTArray<double, true> ts; local [all...] |
| /external/skqp/src/jumper/ |
| SkJumper.h | 100 float* ts; member in struct:SkJumper_GradientCtx
|
| /external/skqp/tests/ |
| PathOpsTestCommon.cpp | 39 static bool add_simple_ts(const SkDCubic& cubic, double precision, SkTArray<double, true>* ts) { 45 ts->push_back(0.5); 52 SkTArray<double, true>* ts) { 58 ts->push_back(newT); 63 static void toQuadraticTs(const SkDCubic* cubic, double precision, SkTArray<double, true>* ts) { 109 if (inflections == 0 && add_simple_ts(*cubic, precision, ts)) { 114 addTs(pair.first(), precision, 0, inflectT[0], ts); 115 addTs(pair.second(), precision, inflectT[0], 1, ts); 120 addTs(part, precision, 0, inflectT[0], ts); 124 addTs(part, precision, inflectT[idx], inflectT[idx + 1], ts); 134 SkTArray<double, true> ts; local [all...] |
| /external/syslinux/com32/lib/sys/ |
| ansi.h | 59 struct term_state *ts; member in struct:term_info
|
| /external/syslinux/com32/lua/src/ |
| llex.c | 72 TString *ts = luaS_new(L, luaX_tokens[i]); local 73 luaS_fix(ts); /* reserved words are never collected */ 74 ts->tsv.extra = cast_byte(i+1); /* reserved word */ 131 TString *ts = luaS_newlstr(L, str, l); /* create new string */ local 132 setsvalue2s(L, L->top++, ts); /* temporarily anchor it in stack */ 141 ts = rawtsvalue(keyfromval(o)); /* re-use value previously stored */ 144 return ts; 304 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + (2 + sep), 400 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + 1, 494 TString *ts; local [all...] |
| llex.h | 39 TString *ts; member in union:__anon37059
|
| loslib.c | 251 struct tm ts; local 254 ts.tm_sec = getfield(L, "sec", 0); 255 ts.tm_min = getfield(L, "min", 0); 256 ts.tm_hour = getfield(L, "hour", 12); 257 ts.tm_mday = getfield(L, "day", -1); 258 ts.tm_mon = getfield(L, "month", -1) - 1; 259 ts.tm_year = getfield(L, "year", -1) - 1900; 260 ts.tm_isdst = getboolfield(L, "isdst"); 261 t = mktime(&ts);
|
| /external/syslinux/core/lwip/src/include/lwip/ |
| netif.h | 199 u32_t ts; member in struct:netif 234 (netif)->ts = 0; \
|
| /external/tensorflow/tensorflow/core/common_runtime/ |
| constant_folding.cc | 49 const auto& ts = n->type_string(); local 50 return ts == "Shape" || ts == "ShapeN" || ts == "Rank" || ts == "Size"; 185 const auto& ts = n->type_string(); local 186 if (ts == "Shape" || ts == "ShapeN") { 190 } else if (ts == "Rank") { 195 CHECK_EQ(ts, "Size") [all...] |