/external/python/pyasn1/tests/type/ |
D | test_tag.py | 49 self.ts1 = tag.initTagSet( 60 assert 'TagSet' in repr(self.ts1) 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' 76 t = self.ts1.tagImplicitly( 85 t = self.ts1.tagExplicitly( 97 t = self.ts1 + tag.Tag(tag.tagClassApplication, tag.tagFormatSimple, 2) 105 t = tag.Tag(tag.tagClassApplication, tag.tagFormatSimple, 2) + self.ts1 115 assert self.ts1.isSuperTagSetOf( [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TestUtilities.java | 30 TreeSet ts1 = new TreeSet(); in TestCollectionUtilitySpeed() local 37 ts1.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() 46 ts1.add("Able"); 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() [all …]
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/ |
D | TestUtilities.java | 27 TreeSet ts1 = new TreeSet(); in TestCollectionUtilitySpeed() local 34 ts1.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() 43 ts1.add("Able"); 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() [all …]
|
/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 55 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); in get_sample() 59 ts1.tv_sec -= mono_raw_base; in get_sample() 63 delay = diff_timespec(&ts3, &ts1); in get_sample() 70 sample->offset = diff_timespec(&ts2, &ts1); in get_sample() 72 sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9; in get_sample()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
D | 3-1.c | 23 struct timespec ts1, ts2, ts3, ts4; in main() local 31 if (clock_gettime(CLOCK_MONOTONIC, &ts1) != 0) { in main() 54 if ((ts1.tv_sec <= ts2.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() 44 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts1) != 0) { in main() 70 if ((ts1.tv_sec <= ts2.tv_sec) && in main() 77 ts1.tv_sec, ts2.tv_sec, ts3.tv_sec, ts4.tv_sec); in main()
|
/external/compiler-rt/test/tsan/ |
D | cond_version.c | 20 struct timespec ts0, ts1, ts2; in main() local 30 ts1 = ts0; in main() 31 ts1.tv_sec += 2; in main() 35 res = pthread_cond_timedwait(&c, &m, &ts1); in main()
|
/external/llvm-project/compiler-rt/test/tsan/ |
D | cond_version.c | 20 struct timespec ts0, ts1, ts2; in main() local 30 ts1 = ts0; in main() 31 ts1.tv_sec += 2; in main() 35 res = pthread_cond_timedwait(&c, &m, &ts1); in main()
|
/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() 20 return ts1; 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() 20 return ts1; 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 1767 ts1 = ti1; in QmfTransposerApply() 1776 if ((mVal_F >> shift2) > (sqmag0_F >> shift1) && ts1 >= 0 && in QmfTransposerApply() 1795 hQmfTransposer->qmfInBufReal_F[slotOffset][ts1]; in QmfTransposerApply() 1797 hQmfTransposer->qmfInBufImag_F[slotOffset][ts1]; in QmfTransposerApply() 1819 hQmfTransposer->qmfInBufReal_F[slotOffset][ts1]; in QmfTransposerApply() 1821 hQmfTransposer->qmfInBufImag_F[slotOffset][ts1]; in QmfTransposerApply() 1833 hQmfTransposer->qmfInBufReal_F[slotOffset][ts1]; in QmfTransposerApply() 1835 hQmfTransposer->qmfInBufImag_F[slotOffset][ts1]; in QmfTransposerApply() 1860 ->qmfInBufReal_F[slotOffset + 2 * (k - 1)][ts1]; in QmfTransposerApply() [all …]
|
/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() 201 auto dims1 = ts1.dim_sizes(); in MostSpecificCompatibleShape() 203 for (int d = 0; d < ts1.dims(); d++) { in MostSpecificCompatibleShape()
|
/external/llvm-project/clang/test/PCH/ |
D | pragma-diag-section.cpp | 39 TS1<int> ts1; in f() local 40 ts1.m(); in f()
|
/external/clang/test/PCH/ |
D | pragma-diag-section.cpp | 36 TS1<int> ts1; in f() local 37 ts1.m(); in f()
|
/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() 263 auto dims1 = ts1.dim_sizes(); in MostSpecificCompatibleShape() 265 for (int d = 0; d < ts1.dims(); ++d) { in MostSpecificCompatibleShape()
|
/external/python/setuptools/setuptools/tests/ |
D | test_setuptools.py | 296 ts1 = makeSetup(script_args=['test', '--test-suite=foo.tests.suite']) 297 ts1 = ts1.get_command_obj('test') 298 ts1.ensure_finalized() 299 assert ts1.test_suite == 'foo.tests.suite'
|
/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}`}`;
|
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/ |
D | JaegerExporterHandlerIntegrationTest.java | 182 long ts1 = log1.get("timestamp").getAsLong(); in exportToJaeger() local 183 assertThat(ts1).isAtLeast(MILLISECONDS.toMicros(startTimeInMillis)); in exportToJaeger() 184 assertThat(ts1).isAtMost(MILLISECONDS.toMicros(endTimeInMillis)); in exportToJaeger() 196 assertThat(ts2).isAtLeast(ts1); in exportToJaeger()
|
/external/adhd/cras/src/tests/ |
D | system_state_unittest.cc | 383 struct cras_timespec ts1; in TEST() local 384 cras_system_state_get_last_stream_active_time(&ts1); in TEST() 389 EXPECT_NE(0, memcmp(&ts1, &ts2, sizeof(ts1))); in TEST()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | logging_ops_test.cc | 142 double ts1 = *((*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(
|
/external/webrtc/video/ |
D | send_statistics_proxy.h | 208 bool operator()(uint32_t ts1, uint32_t ts2) const { in operator() 209 return IsNewerTimestamp(ts2, ts1); in operator()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/ |
D | last_write_time.pass.cpp | 265 TimeSpec ts1 = {}; in CompareTime() local 266 if (!ConvertToTimeSpec(ts1, t1)) in CompareTime() 268 return CompareTime(ts1, t2); in CompareTime()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/ |
D | last_write_time.pass.cpp | 269 TimeSpec ts1 = {}; in CompareTime() local 270 if (!ConvertToTimeSpec(ts1, t1)) in CompareTime() 272 return CompareTime(ts1, t2); in CompareTime()
|
/external/perfetto/ui/src/frontend/ |
D | heap_profile_panel.ts | 242 Actions.convertTraceToPprof({pid: this.pid, ts1: this.ts, src}));
|