/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
D | 3-1.c | 23 struct timespec ts1, ts2, ts3, ts4; in main() local 36 if (clock_gettime(CLOCK_MONOTONIC, &ts2) != 0) { in main() 54 if ((ts1.tv_sec <= ts2.tv_sec) && in main() 55 (ts2.tv_sec <= ts3.tv_sec) && (ts3.tv_sec <= ts4.tv_sec)) { in main() 61 ts1.tv_sec, ts2.tv_sec, ts3.tv_sec, ts4.tv_sec); in main()
|
D | 4-1.c | 37 struct timespec ts1, ts2, ts3, ts4; in main() 51 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts2) != 0) { in main() 70 if ((ts1.tv_sec <= ts2.tv_sec) && in main() 71 (ts2.tv_sec <= ts3.tv_sec) && (ts3.tv_sec <= ts4.tv_sec)) { in main() 77 ts1.tv_sec, ts2.tv_sec, ts3.tv_sec, ts4.tv_sec); in main()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TestUtilities.java | 31 TreeSet ts2 = new TreeSet(); in TestCollectionUtilitySpeed() local 38 ts2.add(prefix + String.valueOf(i) + postfix); in TestCollectionUtilitySpeed() 41 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed() 42 ts1.containsAll(ts2); in TestCollectionUtilitySpeed() 44 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed() 47 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed() 48 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed() 51 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument 52 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare() 53 …double standardTimeSorted = timeStandardContainsAll(iterations, ts1, ts2, expected)/(double)iterat… in timeAndCompare()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/ |
D | TestUtilities.java | 28 TreeSet ts2 = new TreeSet(); in TestCollectionUtilitySpeed() local 35 ts2.add(prefix + String.valueOf(i) + postfix); in TestCollectionUtilitySpeed() 38 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed() 39 ts1.containsAll(ts2); in TestCollectionUtilitySpeed() 41 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed() 44 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed() 45 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed() 48 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument 49 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare() 50 …double standardTimeSorted = timeStandardContainsAll(iterations, ts1, ts2, expected)/(double)iterat… in timeAndCompare()
|
/external/python/cpython3/Lib/test/ |
D | test_graphlib.py | 105 ts2 = graphlib.TopologicalSorter({1: {2, 3, 4, 5}}) 106 self.assertEqual([*ts.static_order()], [*ts2.static_order()]) 211 ts2 = graphlib.TopologicalSorter() 212 ts2.add(1, 0) 213 ts2.add(3, 2, 1) 214 ts2.add(4, 7) 215 ts2.add(6, 7) 216 ts2.add(4, 5) 218 self.assertEqual(list(get_groups(ts)), list(get_groups(ts2)))
|
/external/llvm-project/compiler-rt/test/tsan/ |
D | cond_version.c | 20 struct timespec ts0, ts1, ts2; in main() local 39 clock_gettime(CLOCK_MONOTONIC, &ts2); in main() 40 sleep = (u64)ts2.tv_sec * 1000000000 + ts2.tv_nsec - in main()
|
/external/compiler-rt/test/tsan/ |
D | cond_version.c | 20 struct timespec ts0, ts1, ts2; in main() local 39 clock_gettime(CLOCK_MONOTONIC, &ts2); in main() 40 sleep = (u64)ts2.tv_sec * 1000000000 + ts2.tv_nsec - in main()
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | freq-step.c | 43 static double diff_timespec(struct timespec *ts1, struct timespec *ts2) in diff_timespec() argument 45 return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9; in diff_timespec() 51 struct timespec ts1, ts2, ts3; in get_sample() local 56 clock_gettime(CLOCK_MONOTONIC, &ts2); in get_sample() 60 ts2.tv_sec -= mono_base; in get_sample() 70 sample->offset = diff_timespec(&ts2, &ts1); in get_sample()
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
D | struct5.c | 15 static test_structure_5 ABI_ATTR struct5(test_structure_5 ts1, test_structure_5 ts2) in struct5() argument 17 ts1.c1 += ts2.c1; in struct5() 18 ts1.c2 -= ts2.c2; in struct5()
|
/external/libffi/testsuite/libffi.call/ |
D | struct5.c | 15 static test_structure_5 ABI_ATTR struct5(test_structure_5 ts1, test_structure_5 ts2) in struct5() argument 17 ts1.c1 += ts2.c1; in struct5() 18 ts1.c2 -= ts2.c2; in struct5()
|
/external/aac/libSBRdec/src/ |
D | hbe.cpp | 1696 int tr, ti1, ti2, mTr = 0, ts1 = 0, ts2 = 0, mVal_e = 0, temp_e = 0; in QmfTransposerApply() local 1768 ts2 = ti2; in QmfTransposerApply() 1777 ts2 < 2 * hQmfTransposer->synthSize) { in QmfTransposerApply() 1801 hQmfTransposer->qmfInBufReal_F[slotOffset - 1 + k][ts2]; in QmfTransposerApply() 1803 hQmfTransposer->qmfInBufImag_F[slotOffset - 1 + k][ts2]; in QmfTransposerApply() 1826 ->qmfInBufReal_F[slotOffset + 2 * (k - 1)][ts2]; in QmfTransposerApply() 1829 ->qmfInBufImag_F[slotOffset + 2 * (k - 1)][ts2]; in QmfTransposerApply() 1840 ->qmfInBufReal_F[slotOffset + (k - 1)][ts2]; in QmfTransposerApply() 1843 ->qmfInBufImag_F[slotOffset + (k - 1)][ts2]; in QmfTransposerApply() 1853 hQmfTransposer->qmfInBufReal_F[slotOffset][ts2]; in QmfTransposerApply() [all …]
|
/external/llvm-project/llvm/test/Transforms/SROA/ |
D | pointer-offset-size.ll | 8 define i16 @test(%struct.test* %ts2.i) { 21 %0 = bitcast %struct.test* %ts2.i to i8* 24 %x1.i.i = getelementptr inbounds %struct.test, %struct.test* %ts2.i, i32 0, i32 0, i32 0
|
/external/python/pyasn1/tests/type/ |
D | test_tag.py | 53 self.ts2 = tag.initTagSet( 65 assert self.ts1 == self.ts2, 'tag set comparison fails' 68 assert hash(self.ts1) == hash(self.ts2), 'tag set hash comp. fails' 71 assert len(self.ts1) == len(self.ts2), 'tag length comparison fails'
|
/external/perfetto/ui/src/controller/ |
D | trace_converter.ts | 43 pid: number, src: TraceSource, ts1: number, ts2?: number) { 44 const timestamps = `${ts1}${ts2 === undefined ? '' : `,${ts2}`}`; constant
|
/external/llvm-project/clang/test/PCH/ |
D | pragma-diag-section.cpp | 43 TS2<int> ts2; in f() local 44 ts2.m(); in f()
|
/external/clang/test/PCH/ |
D | pragma-diag-section.cpp | 40 TS2<int> ts2; in f() local 41 ts2.m(); in f()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | concatenate_dataset_op.cc | 197 const PartialTensorShape& ts1, const PartialTensorShape& ts2) { in MostSpecificCompatibleShape() argument 198 if (ts1.dims() != ts2.dims() || ts1.unknown_rank() || ts2.unknown_rank()) in MostSpecificCompatibleShape() 202 auto dims2 = ts2.dim_sizes(); in MostSpecificCompatibleShape()
|
/external/python/cpython2/Lib/sqlite3/test/ |
D | types.py | 378 ts2 = self.cur.fetchone()[0] 379 self.assertEqual(ts, ts2) 397 ts2 = self.cur.fetchone()[0] 398 self.assertEqual(ts, ts2) 404 ts2 = self.cur.fetchone()[0] 405 self.assertEqual(ts, ts2)
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | directed_interleave_dataset_op.cc | 259 const PartialTensorShape& ts1, const PartialTensorShape& ts2) { in MostSpecificCompatibleShape() argument 261 if (ts1.dims() != ts2.dims() || ts1.unknown_rank() || ts2.unknown_rank()) in MostSpecificCompatibleShape() 264 auto dims2 = ts2.dim_sizes(); in MostSpecificCompatibleShape()
|
/external/python/cpython3/Lib/sqlite3/test/ |
D | types.py | 401 ts2 = self.cur.fetchone()[0] 402 self.assertEqual(ts, ts2) 418 ts2 = self.cur.fetchone()[0] 419 self.assertEqual(ts, ts2) 425 ts2 = self.cur.fetchone()[0] 426 self.assertEqual(ts, ts2)
|
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/ |
D | JaegerExporterHandlerIntegrationTest.java | 193 long ts2 = log2.get("timestamp").getAsLong(); in exportToJaeger() local 194 assertThat(ts2).isAtLeast(MILLISECONDS.toMicros(startTimeInMillis)); in exportToJaeger() 195 assertThat(ts2).isAtMost(MILLISECONDS.toMicros(endTimeInMillis)); in exportToJaeger() 196 assertThat(ts2).isAtLeast(ts1); in exportToJaeger()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/ |
D | last_write_time.pass.cpp | 91 bool CompareTimeExact(TimeSpec ts, TimeSpec ts2) { in CompareTimeExact() argument 92 return ts2.tv_sec == ts.tv_sec && ts2.tv_nsec == ts.tv_nsec; in CompareTimeExact() 95 TimeSpec ts2 = {}; in CompareTimeExact() local 96 if (!ConvertToTimeSpec(ts2, ft)) in CompareTimeExact() 98 return CompareTimeExact(ts, ts2); in CompareTimeExact()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/ |
D | last_write_time.pass.cpp | 93 bool CompareTimeExact(TimeSpec ts, TimeSpec ts2) { in CompareTimeExact() argument 94 return ts2.tv_sec == ts.tv_sec && ts2.tv_nsec == ts.tv_nsec; in CompareTimeExact() 97 TimeSpec ts2 = {}; in CompareTimeExact() local 98 if (!ConvertToTimeSpec(ts2, ft)) in CompareTimeExact() 100 return CompareTimeExact(ts, ts2); in CompareTimeExact()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | logging_ops_test.cc | 148 double ts2 = *((*GetOutput(0)).flat<double>().data()); in TEST_F() local 150 EXPECT_LE(1.0, ts2 - ts1); in TEST_F()
|
/external/tensorflow/tensorflow/python/data/experimental/ops/ |
D | interleave_ops.py | 129 ts1.most_specific_compatible_shape(ts2) for (ts1, ts2) in zip(
|