Home
last modified time | relevance | path

Searched refs:dt2 (Results 1 – 19 of 19) sorted by relevance

/external/python/dateutil/dateutil/
Drelativedelta.py91 def __init__(self, dt1=None, dt2=None, argument
98 if dt1 and dt2:
101 isinstance(dt2, datetime.date)):
107 isinstance(dt2, datetime.datetime)):
110 elif not isinstance(dt2, datetime.datetime):
111 dt2 = datetime.datetime.fromordinal(dt2.toordinal())
132 months = (dt1.year - dt2.year) * 12 + (dt1.month - dt2.month)
137 dtm = self.__radd__(dt2)
140 if dt1 < dt2:
150 dtm = self.__radd__(dt2)
Dutils.py58 def within_delta(dt1, dt2, delta): argument
64 difference = dt1 - dt2
/external/python/cpython2/Lib/test/
Dtest_datetime.py549 dt2 = dt + delta
550 self.assertEqual(dt2, dt + days)
552 dt2 = delta + dt
553 self.assertEqual(dt2, dt + days)
555 dt2 = dt - delta
556 self.assertEqual(dt2, dt - days)
562 dt2 = dt + delta
563 self.assertEqual(dt2, dt + days)
565 dt2 = delta + dt
566 self.assertEqual(dt2, dt + days)
[all …]
/external/clang/tools/scan-build/share/scan-build/
Dsorttable.js281 dt2 = y+m+d;
282 if (dt1==dt2) return 0;
283 if (dt1<dt2) return -1;
296 dt2 = y+m+d;
297 if (dt1==dt2) return 0;
298 if (dt1<dt2) return -1;
/external/clang/tools/scan-build-py/libscanbuild/resources/
Dsorttable.js281 dt2 = y+m+d;
282 if (dt1==dt2) return 0;
283 if (dt1<dt2) return -1;
296 dt2 = y+m+d;
297 if (dt1==dt2) return 0;
298 if (dt1<dt2) return -1;
/external/vixl/src/aarch32/
Dmacro-assembler-aarch32.h6276 Condition cond, DataType dt1, DataType dt2, DRegister rd, SRegister rm) { in Vcvt() argument
6283 vcvt(cond, dt1, dt2, rd, rm); in Vcvt()
6285 void Vcvt(DataType dt1, DataType dt2, DRegister rd, SRegister rm) { in Vcvt() argument
6286 Vcvt(al, dt1, dt2, rd, rm); in Vcvt()
6290 Condition cond, DataType dt1, DataType dt2, SRegister rd, DRegister rm) { in Vcvt() argument
6297 vcvt(cond, dt1, dt2, rd, rm); in Vcvt()
6299 void Vcvt(DataType dt1, DataType dt2, SRegister rd, DRegister rm) { in Vcvt() argument
6300 Vcvt(al, dt1, dt2, rd, rm); in Vcvt()
6305 DataType dt2, in Vcvt() argument
6315 vcvt(cond, dt1, dt2, rd, rm, fbits); in Vcvt()
[all …]
Ddisasm-aarch32.h1673 Condition cond, DataType dt1, DataType dt2, DRegister rd, SRegister rm);
1676 Condition cond, DataType dt1, DataType dt2, SRegister rd, DRegister rm);
1680 DataType dt2,
1687 DataType dt2,
1694 DataType dt2,
1700 Condition cond, DataType dt1, DataType dt2, DRegister rd, DRegister rm);
1703 Condition cond, DataType dt1, DataType dt2, QRegister rd, QRegister rm);
1706 Condition cond, DataType dt1, DataType dt2, DRegister rd, QRegister rm);
1709 Condition cond, DataType dt1, DataType dt2, QRegister rd, DRegister rm);
1712 Condition cond, DataType dt1, DataType dt2, SRegister rd, SRegister rm);
[all …]
Dassembler-aarch32.h410 Condition cond, DataType dt1, DataType dt2, DRegister rd, SRegister rm);
412 Condition cond, DataType dt1, DataType dt2, SRegister rd, DRegister rm);
415 DataType dt2,
421 DataType dt2,
427 DataType dt2,
432 Condition cond, DataType dt1, DataType dt2, DRegister rd, DRegister rm);
434 Condition cond, DataType dt1, DataType dt2, QRegister rd, QRegister rm);
436 Condition cond, DataType dt1, DataType dt2, DRegister rd, QRegister rm);
438 Condition cond, DataType dt1, DataType dt2, QRegister rd, DRegister rm);
440 Condition cond, DataType dt1, DataType dt2, SRegister rd, SRegister rm);
[all …]
Dassembler-aarch32.cc649 Dt_op_1(DataType dt1, DataType dt2);
652 Dt_op_1::Dt_op_1(DataType dt1, DataType dt2) { in Dt_op_1() argument
653 if ((dt1.GetValue() == F32) && (dt2.GetValue() == S32)) { in Dt_op_1()
657 if ((dt1.GetValue() == F32) && (dt2.GetValue() == U32)) { in Dt_op_1()
661 if ((dt1.GetValue() == S32) && (dt2.GetValue() == F32)) { in Dt_op_1()
665 if ((dt1.GetValue() == U32) && (dt2.GetValue() == F32)) { in Dt_op_1()
733 Dt_op_U_1(DataType dt1, DataType dt2);
736 Dt_op_U_1::Dt_op_U_1(DataType dt1, DataType dt2) { in Dt_op_U_1() argument
737 if ((dt1.GetValue() == F32) && (dt2.GetValue() == S32)) { in Dt_op_U_1()
741 if ((dt1.GetValue() == F32) && (dt2.GetValue() == U32)) { in Dt_op_U_1()
[all …]
Ddisasm-aarch32.cc4410 Condition cond, DataType dt1, DataType dt2, DRegister rd, SRegister rm) { in vcvt() argument
4412 os() << ToCString(kVcvt) << ConditionPrinter(it_block_, cond) << dt1 << dt2 in vcvt()
4417 Condition cond, DataType dt1, DataType dt2, SRegister rd, DRegister rm) { in vcvt() argument
4419 os() << ToCString(kVcvt) << ConditionPrinter(it_block_, cond) << dt1 << dt2 in vcvt()
4425 DataType dt2, in vcvt() argument
4430 os() << ToCString(kVcvt) << ConditionPrinter(it_block_, cond) << dt1 << dt2 in vcvt()
4436 DataType dt2, in vcvt() argument
4441 os() << ToCString(kVcvt) << ConditionPrinter(it_block_, cond) << dt1 << dt2 in vcvt()
4447 DataType dt2, in vcvt() argument
4452 os() << ToCString(kVcvt) << ConditionPrinter(it_block_, cond) << dt1 << dt2 in vcvt()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
DContinuousOutputModel.java313 final double dt2 = time - tMed; in setInterpolatedTime() local
315 final double iLagrange = ((dt2 * dt3 * d23) * iMax - in setInterpolatedTime()
317 (dt1 * dt2 * d12) * iMin) / in setInterpolatedTime()
/external/python/cpython3/Lib/test/
Ddatetimetester.py960 dt2 = dt + delta
961 self.assertEqual(dt2, dt + days)
963 dt2 = delta + dt
964 self.assertEqual(dt2, dt + days)
966 dt2 = dt - delta
967 self.assertEqual(dt2, dt - days)
973 dt2 = dt + delta
974 self.assertEqual(dt2, dt + days)
976 dt2 = delta + dt
977 self.assertEqual(dt2, dt + days)
[all …]
/external/python/dateutil/dateutil/test/
Dtest_tz.py849 dt2 = datetime(2015, 5, 1, 12, 0, tzinfo=tz.tzlocal()) # DST
852 self.assertEqual(func(dt2), dst_val)
1659 dt2 = datetime(2003, 3, 9, 2, 00)
1663 dt2 = datetime(2003, 11, 2, 1, 00)
1667 for dt, f in zip((dt1, dt2), fold))
Dtest_parser.py784 dt2 = parse("00:12:10.01")
786 self.assertEqual(dt2.microsecond, 10000)
/external/python/cpython2/Doc/library/
Ddatetime.rst1155 >>> dt2 = datetime(2006, 6, 14, 13, 0, tzinfo=gmt1)
1156 >>> dt2.dst()
1158 >>> dt2.utcoffset()
1161 >>> dt3 = dt2.astimezone(GMT2())
1164 >>> dt2 # doctest: +ELLIPSIS
1166 >>> dt2.utctimetuple() == dt3.utctimetuple()
/external/python/cpython3/Doc/library/
Ddatetime.rst1388 >>> dt2 = datetime(2006, 6, 14, 13, 0, tzinfo=gmt1)
1389 >>> dt2.dst()
1391 >>> dt2.utcoffset()
1394 >>> dt3 = dt2.astimezone(GMT2())
1397 >>> dt2 # doctest: +ELLIPSIS
1399 >>> dt2.utctimetuple() == dt3.utctimetuple()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3620 UDate dt2 = date(2008-1900, UCAL_JUNE, 10, 12, 00); in Test6338() local
3622 str2 = fmt2->format(dt2, str2); in Test6338()
/external/guice/extensions/struts2/lib/
Dxwork-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF xwork-validator-definition-1.0. ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...