HomeSort by relevance Sort by last modified time
    Searched defs:ts2 (Results 1 - 25 of 36) sorted by null

1 2

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/
3-1.c 23 struct timespec ts1, ts2, ts3, ts4; local
36 if (clock_gettime(CLOCK_MONOTONIC, &ts2) != 0) {
54 if ((ts1.tv_sec <= ts2.tv_sec) &&
55 (ts2.tv_sec <= ts3.tv_sec) && (ts3.tv_sec <= ts4.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);
  /external/clang/test/PCH/
pragma-diag-section.cpp 26 struct TS2 {
40 TS2<int> ts2; local
41 ts2.m();
chain-cxx.cpp 37 template <typename T> struct TS2;
38 typedef TS2<int> TS2int;
99 template <typename T> struct TS2 { };
136 TS2int ts2; local
  /external/compiler-rt/test/tsan/
cond_version.c 20 struct timespec ts0, ts1, ts2; local
39 clock_gettime(CLOCK_MONOTONIC, &ts2);
40 sleep = (u64)ts2.tv_sec * 1000000000 + ts2.tv_nsec -
  /external/valgrind/memcheck/tests/linux/
syscalls-2007.c 62 struct timespec ts2[2] = { [0].tv_sec = 10000000, [1].tv_sec = 20000000 }; local
63 utimensat (AT_FDCWD, "/tmp/valgrind-utimensat-test", ts2, 0);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TestUtilities.java 31 TreeSet ts2 = new TreeSet(); local
38 ts2.add(prefix + String.valueOf(i) + postfix);
41 CollectionUtilities.containsAll(ts1, ts2);
42 ts1.containsAll(ts2);
44 timeAndCompare(ts1, ts2, iterations, true, .75);
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;
53 double standardTimeSorted = timeStandardContainsAll(iterations, ts1, ts2, expected)/(double)iterations
    [all...]
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
TestUtilities.java 28 TreeSet ts2 = new TreeSet(); local
35 ts2.add(prefix + String.valueOf(i) + postfix);
38 CollectionUtilities.containsAll(ts1, ts2);
39 ts1.containsAll(ts2);
41 timeAndCompare(ts1, ts2, iterations, true, .75);
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;
50 double standardTimeSorted = timeStandardContainsAll(iterations, ts1, ts2, expected)/(double)iterations
    [all...]
  /bionic/tests/
time_test.cpp 616 timespec ts2; local
617 ASSERT_EQ(0, syscall(__NR_clock_gettime, CLOCK_MONOTONIC, &ts2));
620 ts2.tv_sec -= ts1.tv_sec;
621 ts2.tv_nsec -= ts1.tv_nsec;
622 if (ts2.tv_nsec < 0) {
623 --ts2.tv_sec;
624 ts2.tv_nsec += NS_PER_S;
628 ASSERT_EQ(0, ts2.tv_sec);
629 ASSERT_LT(ts2.tv_nsec, 1000000);
  /external/adhd/cras/src/tests/
system_state_unittest.cc 319 struct cras_timespec ts2; local
320 cras_system_state_get_last_stream_active_time(&ts2);
321 EXPECT_NE(0, memcmp(&ts1, &ts2, sizeof(ts1)));
  /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
64 clock_gettime(CLOCK_MONOTONIC, &ts2);
68 ts2.tv_sec -= mono_base;
78 sample->offset = diff_timespec(&ts2, &ts1);
  /packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/
dbregtest.cpp 113 timeval ts1, ts2, ts3, ts4; local
206 gettimeofday(&ts2, 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/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 1267 MediaTimestamp ts2 = mPlayer.getTimestamp(); local
    [all...]
MediaPlayerTest.java 1351 MediaTimestamp ts2 = mMediaPlayer.getTimestamp(); local
    [all...]
  /external/selinux/libsepol/src/
module_to_cil.c 911 struct type_set *ts1 = NULL, *ts2; local
924 ts2 = (struct type_set *)node->set;
925 if (ts1->flags != ts2->flags)
927 if (ebitmap_cmp(&ts1->negset, &ts2->negset) == 0)
929 if (ebitmap_cmp(&ts1->types, &ts2->types) == 0)
    [all...]
  /frameworks/support/media/src/androidTest/java/androidx/media/
MediaPlayer2Test.java 1192 MediaTimestamp ts2 = mPlayer.getTimestamp(); local
    [all...]
  /external/annotation-tools/annotation-file-utilities/
annotation-file-utilities.jar 
  /prebuilts/tools/common/m2/repository/com/google/errorprone/javac/9-dev-r3297-4/
javac-9-dev-r3297-4.jar 
  /prebuilts/tools/linux-x86_64/kythe/extractors/
javac_extractor.jar 
  /prebuilts/tools/linux-x86_64/kythe/indexers/
java_indexer.jar 
  /prebuilts/tools/common/m2/repository/com/cenqua/clover/clover/3.1.12/
clover-3.1.12.jar 
  /prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0/
intellij-core-26.0.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0-alpha4/
intellij-core-26.0.0-alpha4.jar 
  /prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0-alpha5/
intellij-core-26.0.0-alpha5.jar 
  /prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0-alpha6/
intellij-core-26.0.0-alpha6.jar 

Completed in 1344 milliseconds

1 2