/external/compiler-rt/test/tsan/ |
cond_version.c | 20 struct timespec ts0, ts1, ts2; local 30 ts1 = ts0; 31 ts1.tv_sec += 2; 35 res = pthread_cond_timedwait(&c, &m, &ts1);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
3-1.c | 23 struct timespec ts1, ts2, ts3, ts4; local 31 if (clock_gettime(CLOCK_MONOTONIC, &ts1) != 0) { 54 if ((ts1.tv_sec <= ts2.tv_sec) && 60 printf("Test FAILED - ts1=%ld,ts2=%ld,ts3=%ld,ts4=%ld\n", 61 ts1.tv_sec, ts2.tv_sec, ts3.tv_sec, ts4.tv_sec);
|
4-1.c | 37 struct timespec ts1, ts2, ts3, ts4; 44 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts1) != 0) { 70 if ((ts1.tv_sec <= ts2.tv_sec) && 76 printf("Test FAILED - ts1=%ld,ts2=%ld,ts3=%ld,ts4=%ld\n", 77 ts1.tv_sec, ts2.tv_sec, ts3.tv_sec, ts4.tv_sec);
|
/external/webrtc/webrtc/base/ |
timeutils.h | 58 inline uint32_t TimeMax(uint32_t ts1, uint32_t ts2) { 59 return TimeIsLaterOrEqual(ts1, ts2) ? ts2 : ts1; 63 inline uint32_t TimeMin(uint32_t ts1, uint32_t ts2) { 64 return TimeIsLaterOrEqual(ts1, ts2) ? ts1 : ts2;
|
/external/clang/test/PCH/ |
pragma-diag-section.cpp | 14 struct TS1 { 36 TS1<int> ts1; local 37 ts1.m();
|
/external/libffi/testsuite/libffi.call/ |
struct5.c | 15 static test_structure_5 ABI_ATTR struct5(test_structure_5 ts1, test_structure_5 ts2) 17 ts1.c1 += ts2.c1; 18 ts1.c2 -= ts2.c2; 20 return ts1;
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
struct5.c | 15 static test_structure_5 ABI_ATTR struct5(test_structure_5 ts1, test_structure_5 ts2) 17 ts1.c1 += ts2.c1; 18 ts1.c2 -= ts2.c2; 20 return ts1;
|
/external/python/cpython3/Modules/_ctypes/libffi/testsuite/libffi.call/ |
struct5.c | 15 static test_structure_5 ABI_ATTR struct5(test_structure_5 ts1, test_structure_5 ts2) 17 ts1.c1 += ts2.c1; 18 ts1.c2 -= ts2.c2; 20 return ts1;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
TestUtilities.java | 30 TreeSet ts1 = new TreeSet(); local 37 ts1.add(prefix + String.valueOf(i) + postfix); 41 CollectionUtilities.containsAll(ts1, ts2); 42 ts1.containsAll(ts2); 44 timeAndCompare(ts1, ts2, iterations, true, .75); 46 ts1.add("Able"); 47 timeAndCompare(ts1, ts2, iterations, true, .75); 48 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); 51 private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double factorOfStandard) { 52 double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iterations [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/ |
TestUtilities.java | 27 TreeSet ts1 = new TreeSet(); local 34 ts1.add(prefix + String.valueOf(i) + postfix); 38 CollectionUtilities.containsAll(ts1, ts2); 39 ts1.containsAll(ts2); 41 timeAndCompare(ts1, ts2, iterations, true, .75); 43 ts1.add("Able"); 44 timeAndCompare(ts1, ts2, iterations, true, .75); 45 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); 48 private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double factorOfStandard) { 49 double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iterations [all...] |
/external/linux-kselftest/tools/testing/selftests/timers/ |
freq-step.c | 51 static double diff_timespec(struct timespec *ts1, struct timespec *ts2) 53 return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9; 59 struct timespec ts1, ts2, ts3; local 63 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); 67 ts1.tv_sec -= mono_raw_base; 71 delay = diff_timespec(&ts3, &ts1); 78 sample->offset = diff_timespec(&ts2, &ts1); 80 sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9 [all...] |
/external/tensorflow/tensorflow/contrib/graph_editor/ |
reroute.py | 41 def _check_ts_compatibility(ts0, ts1): 46 ts1: an object convertible to a list of `tf.Tensor`. 48 ValueError: if any pair of tensors (same index in ts0 and ts1) have 52 ts1 = _util.make_list_of_t(ts1) 53 if len(ts0) != len(ts1): 54 raise ValueError("ts0 and ts1 have different sizes: {} != {}".format( 55 len(ts0), len(ts1))) 56 for t0, t1 in zip(ts0, ts1): 135 def _reroute_ts(ts0, ts1, mode, can_modify=None, cannot_modify=None) [all...] |
/external/tensorflow/tensorflow/core/kernels/data/ |
concatenate_dataset_op.cc | 168 const PartialTensorShape& ts1, const PartialTensorShape& ts2) { 170 if (ts1.dims() != ts2.dims() || ts1.unknown_rank() || ts2.unknown_rank()) 172 auto dims1 = ts1.dim_sizes(); 174 for (int d = 0; d < ts1.dims(); d++) {
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
QCameraHAL3Test.cpp | 182 struct timespec ts1; local 191 clock_gettime(CLOCK_REALTIME, &ts1); 192 ts1.tv_nsec += 10000000L; 193 pthread_cond_timedwait(&mRequestAppCond, &thread->mutex, &ts1);
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
dbregtest.cpp | 113 timeval ts1, ts2, ts3, ts4; local 199 gettimeofday(&ts1, NULL); 208 double elapsedTime = (ts2.tv_sec - ts1.tv_sec)*1000.0; // sec to ms 209 elapsedTime += (ts2.tv_usec - ts1.tv_usec)/1000.0; // us to ms
|
/external/adhd/cras/src/tests/ |
system_state_unittest.cc | 315 struct cras_timespec ts1; local 316 cras_system_state_get_last_stream_active_time(&ts1); 321 EXPECT_NE(0, memcmp(&ts1, &ts2, sizeof(ts1)));
|
/external/aac/libSBRdec/src/ |
hbe.cpp | 1707 int tr, ti1, ti2, mTr = 0, ts1 = 0, ts2 = 0, mVal_e = 0, temp_e = 0; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayer2Test.java | 1244 MediaTimestamp ts1 = mPlayer.getTimestamp(); local [all...] |
MediaPlayerTest.java | 1330 MediaTimestamp ts1 = mMediaPlayer.getTimestamp(); local [all...] |
/frameworks/support/media/src/androidTest/java/androidx/media/ |
MediaPlayer2Test.java | 1169 MediaTimestamp ts1 = mPlayer.getTimestamp(); local [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TestCaseReport.java | 597 TestSuite ts1 = TestSuite.parseFrom(new FileInputStream(outputTestCaseListFilePath)); local 598 printTestSuite(ts1, tsContent.getKnownFailuresList()); 599 printTestSuiteSummary(ts1, outputSummaryFilePath, tsContent.getKnownFailuresList());
|
/bionic/tests/ |
time_test.cpp | 614 timespec ts1; local 615 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts1)); 620 ts2.tv_sec -= ts1.tv_sec; 621 ts2.tv_nsec -= ts1.tv_nsec;
|
/system/core/logd/tests/ |
logd_test.cpp | 957 log_time ts1(CLOCK_MONOTONIC); 972 __android_log_btwrite(0, EVENT_TYPE_LONG, &ts1, sizeof(ts1))); 1019 } else if (ts1 == tx) { [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
JobStoreTest.java | 460 private void compareTimestampsSubjectToIoLatency(String error, long ts1, long ts2) { 462 assertTrue(error, Math.abs(ts1 - ts2) < DELTA_MILLIS);
|
/system/core/liblog/tests/ |
liblog_test.cpp | 217 log_time ts1(CLOCK_MONOTONIC); 218 EXPECT_LT(0, __android_log_btwrite(0, EVENT_TYPE_LONG, &ts1, sizeof(ts1))); 257 } else if (ts1 == tx) { [all...] |