/external/valgrind/none/tests/amd64/ |
D | fma.c | 11 } dt __attribute__((aligned (32))); variable 680 …sm __volatile__ ("vfmadd132sd %2, %3, %0" : "=x" (w) : "0" (dt.x[i]), "x" (dt.y[i]), "x" (dt.z[i])… in test_fma() 681 thisres |= test( w, dt.expected[i] ); in test_fma() 682 …sm __volatile__ ("vfmadd132sd %2, %3, %0" : "=x" (w) : "0" (dt.x[i]), "m" (dt.y[i]), "x" (dt.z[i])… in test_fma() 683 thisres |= test( w, dt.expected[i] ); in test_fma() 684 …sm __volatile__ ("vfmadd213sd %3, %2, %0" : "=x" (w) : "0" (dt.x[i]), "x" (dt.y[i]), "x" (dt.z[i])… in test_fma() 685 thisres |= test( w, dt.expected[i] ); in test_fma() 686 …sm __volatile__ ("vfmadd213sd %3, %2, %0" : "=x" (w) : "0" (dt.x[i]), "x" (dt.y[i]), "m" (dt.z[i])… in test_fma() 687 thisres |= test( w, dt.expected[i] ); in test_fma() 688 …sm __volatile__ ("vfmadd231sd %2, %1, %0" : "=x" (w) : "x" (dt.x[i]), "x" (dt.y[i]), "0" (dt.z[i])… in test_fma() [all …]
|
/external/python/cpython2/Doc/includes/ |
D | tzinfo-examples.py | 11 def utcoffset(self, dt): argument 14 def tzname(self, dt): argument 17 def dst(self, dt): argument 33 def utcoffset(self, dt): argument 36 def tzname(self, dt): argument 39 def dst(self, dt): argument 56 def utcoffset(self, dt): argument 57 if self._isdst(dt): 62 def dst(self, dt): argument 63 if self._isdst(dt): [all …]
|
/external/python/cpython3/Doc/includes/ |
D | tzinfo-examples.py | 23 def fromutc(self, dt): argument 24 assert dt.tzinfo is self 25 stamp = (dt - datetime(1970, 1, 1, tzinfo=self)) // SECOND 30 return datetime(*args, microsecond=dt.microsecond, 33 def utcoffset(self, dt): argument 34 if self._isdst(dt): 39 def dst(self, dt): argument 40 if self._isdst(dt): 45 def tzname(self, dt): argument 46 return _time.tzname[self._isdst(dt)] [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | types.cc | 116 bool DataTypeFromString(StringPiece sp, DataType* dt) { in DataTypeFromString() argument 121 *dt = static_cast<DataType>(non_ref + kDataTypeRefOffset); in DataTypeFromString() 129 *dt = DT_FLOAT; in DataTypeFromString() 132 *dt = DT_DOUBLE; in DataTypeFromString() 135 *dt = DT_INT32; in DataTypeFromString() 138 *dt = DT_UINT32; in DataTypeFromString() 141 *dt = DT_UINT8; in DataTypeFromString() 144 *dt = DT_UINT16; in DataTypeFromString() 147 *dt = DT_INT16; in DataTypeFromString() 150 *dt = DT_INT8; in DataTypeFromString() [all …]
|
D | fake_input.cc | 34 void SetDataType(DataType dt); 41 Status GetDataType(DataType* dt) const; 42 void NSources(int n, DataType dt) const; 75 void FakeInputImpl::SetDataType(DataType dt) { in SetDataType() argument 77 dt_ = dt; in SetDataType() 93 DataType dt; in AddInputToBuilder() local 95 TF_RETURN_IF_ERROR(GetDataType(&dt)); in AddInputToBuilder() 97 dt = DT_FLOAT; in AddInputToBuilder() 100 NSources(n, dt); in AddInputToBuilder() 114 DataType dt; in AddInputToBuilder() local [all …]
|
D | types_test.cc | 86 DataType dt; in TEST() local 87 ASSERT_TRUE(DataTypeFromString("int32", &dt)); in TEST() 88 EXPECT_EQ(DT_INT32, dt); in TEST() 89 ASSERT_TRUE(DataTypeFromString("int32_ref", &dt)); in TEST() 90 EXPECT_EQ(DT_INT32_REF, dt); in TEST() 91 EXPECT_FALSE(DataTypeFromString("int32_ref_ref", &dt)); in TEST() 92 EXPECT_FALSE(DataTypeFromString("foo", &dt)); in TEST() 93 EXPECT_FALSE(DataTypeFromString("foo_ref", &dt)); in TEST() 94 ASSERT_TRUE(DataTypeFromString("int64", &dt)); in TEST() 95 EXPECT_EQ(DT_INT64, dt); in TEST() [all …]
|
D | node_def_builder.cc | 26 NodeDefBuilder::NodeOut::NodeOut(StringPiece n, int i, DataType dt) in NodeOut() argument 27 : node(n.ToString()), index(i), data_type(dt) {} in NodeOut() 33 void NodeDefBuilder::NodeOut::Reset(StringPiece n, int i, DataType dt) { in Reset() argument 36 data_type = dt; in Reset() 88 DataType dt) { in Input() argument 90 if (arg != nullptr) SingleInput(arg, src_node, src_index, dt); in Input() 108 DataType dt) { in SingleInput() argument 120 VerifyInputType(input_arg, expected, dt); in SingleInput() 122 VerifyInputRef(input_arg, dt); in SingleInput() 123 Attr(input_arg->type_attr(), BaseType(dt)); in SingleInput() [all …]
|
/external/skia/src/core/ |
D | SkTime.cpp | 31 void SkTime::GetDateTime(DateTime* dt) { in GetDateTime() argument 32 if (dt) { in GetDateTime() 35 dt->fTimeZoneMinutes = 0; in GetDateTime() 36 dt->fYear = st.wYear; in GetDateTime() 37 dt->fMonth = SkToU8(st.wMonth); in GetDateTime() 38 dt->fDayOfWeek = SkToU8(st.wDayOfWeek); in GetDateTime() 39 dt->fDay = SkToU8(st.wDay); in GetDateTime() 40 dt->fHour = SkToU8(st.wHour); in GetDateTime() 41 dt->fMinute = SkToU8(st.wMinute); in GetDateTime() 42 dt->fSecond = SkToU8(st.wSecond); in GetDateTime() [all …]
|
/external/skqp/src/core/ |
D | SkTime.cpp | 31 void SkTime::GetDateTime(DateTime* dt) { in GetDateTime() argument 32 if (dt) { in GetDateTime() 35 dt->fTimeZoneMinutes = 0; in GetDateTime() 36 dt->fYear = st.wYear; in GetDateTime() 37 dt->fMonth = SkToU8(st.wMonth); in GetDateTime() 38 dt->fDayOfWeek = SkToU8(st.wDayOfWeek); in GetDateTime() 39 dt->fDay = SkToU8(st.wDay); in GetDateTime() 40 dt->fHour = SkToU8(st.wHour); in GetDateTime() 41 dt->fMinute = SkToU8(st.wMinute); in GetDateTime() 42 dt->fSecond = SkToU8(st.wSecond); in GetDateTime() [all …]
|
/external/vixl/src/aarch32/ |
D | assembler-aarch32.h | 344 typedef void (Assembler::*InstructionDtQQQ)(DataType dt, 365 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm); 367 Condition cond, DataType dt, QRegister rd, QRegister rn, QRegister rm); 369 Condition cond, DataType dt, QRegister rd, DRegister rn, DRegister rm); 371 DataType dt, 375 DataType dt, 379 DataType dt, 383 Condition cond, DataType dt, SRegister rd, SRegister rn, SRegister rm); 385 Condition cond, DataType dt, DRegister rd, QRegister rn, QRegister rm); 387 Condition cond, DataType dt, QRegister rd, QRegister rn, DRegister rm); [all …]
|
D | disasm-aarch32.cc | 826 DecodeNeon Index_1_Decode(uint32_t value, DataType dt) { in Index_1_Decode() argument 827 switch (dt.GetValue()) { in Index_1_Decode() 852 DecodeNeonAndAlign Align_index_align_1_Decode(uint32_t value, DataType dt) { in Align_index_align_1_Decode() argument 853 switch (dt.GetValue()) { in Align_index_align_1_Decode() 897 DecodeNeonAndAlign Align_index_align_2_Decode(uint32_t value, DataType dt) { in Align_index_align_2_Decode() argument 898 switch (dt.GetValue()) { in Align_index_align_2_Decode() 944 DecodeNeonAndAlign Align_index_align_3_Decode(uint32_t value, DataType dt) { in Align_index_align_3_Decode() argument 945 switch (dt.GetValue()) { in Align_index_align_3_Decode() 993 Alignment Align_a_1_Decode(uint32_t value, DataType dt) { in Align_a_1_Decode() argument 998 if (dt.Is(Untyped16)) return k16BitAlign; in Align_a_1_Decode() [all …]
|
D | disasm-aarch32.h | 155 DtPrinter(DataType dt, DataType default_dt) in DtPrinter() argument 156 : dt_(dt), default_dt_(default_dt) {} in DtPrinter() 159 friend std::ostream& operator<<(std::ostream& os, DtPrinter dt) { 160 if (dt.dt_.Is(dt.default_dt_)) return os; 161 return os << dt.dt_; 306 virtual DisassemblerStream& operator<<(const DtPrinter& dt) { 307 os_ << dt; 1448 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm); 1451 Condition cond, DataType dt, QRegister rd, QRegister rn, QRegister rm); 1454 Condition cond, DataType dt, QRegister rd, DRegister rn, DRegister rm); [all …]
|
D | macro-assembler-aarch32.h | 704 void Vldr(Condition cond, DataType dt, DRegister rd, RawLiteral* literal) { in Vldr() argument 712 bool can_encode = vldr_info(cond, dt, rd, literal, &info); in Vldr() 720 vldr(cond, dt, rd, literal); in Vldr() 723 void Vldr(DataType dt, DRegister rd, RawLiteral* literal) { in Vldr() argument 724 Vldr(al, dt, rd, literal); in Vldr() 733 void Vldr(Condition cond, DataType dt, SRegister rd, RawLiteral* literal) { in Vldr() argument 741 bool can_encode = vldr_info(cond, dt, rd, literal, &info); in Vldr() 749 vldr(cond, dt, rd, literal); in Vldr() 752 void Vldr(DataType dt, SRegister rd, RawLiteral* literal) { in Vldr() argument 753 Vldr(al, dt, rd, literal); in Vldr() [all …]
|
D | assembler-aarch32.cc | 104 explicit Dt_L_imm6_1(DataType dt); 108 Dt_L_imm6_1::Dt_L_imm6_1(DataType dt) { in Dt_L_imm6_1() argument 109 switch (dt.GetValue()) { in Dt_L_imm6_1() 153 explicit Dt_L_imm6_2(DataType dt); 157 Dt_L_imm6_2::Dt_L_imm6_2(DataType dt) { in Dt_L_imm6_2() argument 158 switch (dt.GetValue()) { in Dt_L_imm6_2() 184 explicit Dt_L_imm6_3(DataType dt); 187 Dt_L_imm6_3::Dt_L_imm6_3(DataType dt) { in Dt_L_imm6_3() argument 188 switch (dt.GetValue()) { in Dt_L_imm6_3() 208 explicit Dt_L_imm6_4(DataType dt); [all …]
|
/external/tensorflow/tensorflow/contrib/integrate/python/ops/ |
D | odes.py | 91 dt, argument 113 with ops.name_scope(name, 'runge_kutta_step', [y0, f0, t0, dt]) as scope: 117 dt = ops.convert_to_tensor(dt, name='dt') 118 dt_cast = math_ops.cast(dt, y0.dtype) 122 ti = t0 + alpha_i * dt 137 def _interp_fit(y0, y1, y_mid, f0, f1, dt): argument 167 a = _dot_product([-2 * dt, 2 * dt, -8, -8, 16], [f0, f1, y0, y1, y_mid]) 168 b = _dot_product([5 * dt, -3 * dt, 18, 14, -32], [f0, f1, y0, y1, y_mid]) 169 c = _dot_product([-4 * dt, dt, -11, -5, 16], [f0, f1, y0, y1, y_mid]) 170 d = dt * f0 [all …]
|
/external/python/cpython3/Lib/test/ |
D | datetimetester.py | 116 def utcoffset(self, dt): argument 118 def tzname(self, dt): argument 120 def dst(self, dt): argument 148 dt = datetime.max 149 self.assertRaises(NotImplementedError, useless.tzname, dt) 150 self.assertRaises(NotImplementedError, useless.utcoffset, dt) 151 self.assertRaises(NotImplementedError, useless.dst, dt) 162 dt = datetime.now() 163 self.assertRaises(NotImplementedError, ne.tzname, dt) 164 self.assertRaises(NotImplementedError, ne.utcoffset, dt) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/random/ |
D | random_ops_test.py | 52 for dt in dtypes.float16, dtypes.float32, dtypes.float64: 53 sampler = self._Sampler(1000, 0.0, 1.0, dt, use_gpu=True) 67 for dt in dtypes.float16, dtypes.float32, dtypes.float64: 71 1000000, 0.0, 1.0, dt, use_gpu=use_gpu, seed=12345) 73 if dt == dtypes.float16: 79 for dt in dtypes.float16, dtypes.float32, dtypes.float64: 80 sx = self._Sampler(1000, 0.0, 1.0, dt, use_gpu=True, seed=345) 81 sy = self._Sampler(1000, 0.0, 1.0, dt, use_gpu=True, seed=345) 115 for dt in dtypes.float16, dtypes.float32, dtypes.float64: 116 sampler = self._Sampler(1000, 0.0, 1.0, dt, use_gpu=False) [all …]
|
D | random_gamma_test.py | 62 def _testMoments(self, dt): argument 86 if dt == dtypes.float64: 93 20000, alpha, 1 / scale, dt, use_gpu=False, seed=12345) 124 error_per_moment = i * np.finfo(dt.as_numpy_dtype).eps 126 tiny = np.finfo(dt.as_numpy_dtype).tiny 156 for dt in dtypes.float16, dtypes.float32, dtypes.float64: 158 10000, alpha, 1.0, dt, use_gpu=use_gpu, seed=12345) 160 allowable = allowable_zeros[dt] * x.size 163 failures += [(use_gpu, dt)] 177 for dt in dtypes.float16, dtypes.float32, dtypes.float64: [all …]
|
/external/skqp/include/private/ |
D | GrOpList.h | 157 static void Output(GrOpList* dt, int /* index */) { in Output() 158 dt->setFlag(GrOpList::kWasOutput_Flag); in Output() 160 static bool WasOutput(const GrOpList* dt) { in WasOutput() 161 return dt->isSetFlag(GrOpList::kWasOutput_Flag); in WasOutput() 163 static void SetTempMark(GrOpList* dt) { in SetTempMark() 164 dt->setFlag(GrOpList::kTempMark_Flag); in SetTempMark() 166 static void ResetTempMark(GrOpList* dt) { in ResetTempMark() 167 dt->resetFlag(GrOpList::kTempMark_Flag); in ResetTempMark() 169 static bool IsTempMarked(const GrOpList* dt) { in IsTempMarked() 170 return dt->isSetFlag(GrOpList::kTempMark_Flag); in IsTempMarked() [all …]
|
/external/dng_sdk/source/ |
D | dng_date_time.cpp | 705 dng_date_time dt; in CurrentDateTimeAndZone() local 707 dt.fYear = t.tm_year + 1900; in CurrentDateTimeAndZone() 708 dt.fMonth = t.tm_mon + 1; in CurrentDateTimeAndZone() 709 dt.fDay = t.tm_mday; in CurrentDateTimeAndZone() 710 dt.fHour = t.tm_hour; in CurrentDateTimeAndZone() 711 dt.fMinute = t.tm_min; in CurrentDateTimeAndZone() 712 dt.fSecond = t.tm_sec; in CurrentDateTimeAndZone() 714 info.SetDateTime (dt); in CurrentDateTimeAndZone() 752 void DecodeUnixTime (uint32 unixTime, dng_date_time &dt) in DecodeUnixTime() argument 779 dt.Clear (); in DecodeUnixTime() [all …]
|
D | dng_date_time.h | 82 bool operator== (const dng_date_time &dt) const 84 return fYear == dt.fYear && 85 fMonth == dt.fMonth && 86 fDay == dt.fDay && 87 fHour == dt.fHour && 88 fMinute == dt.fMinute && 89 fSecond == dt.fSecond; 94 bool operator!= (const dng_date_time &dt) const 96 return !(*this == dt); 242 void SetDateTime (const dng_date_time &dt) in SetDateTime() argument [all …]
|
/external/libxml2/result/HTML/ |
D | test3.html.sax | 34 SAX.startElement(dt) 39 SAX.endElement(dt) 42 SAX.startElement(dt) 47 SAX.endElement(dt) 50 SAX.startElement(dt) 54 SAX.endElement(dt) 75 SAX.startElement(dt) 82 SAX.endElement(dt) 85 SAX.startElement(dt) 92 SAX.endElement(dt) [all …]
|
/external/pdfium/testing/ |
D | fx_string_testhelpers.cpp | 11 std::ostream& operator<<(std::ostream& os, const CFX_DateTime& dt) { in operator <<() argument 12 os << dt.GetYear() << "-" << std::to_string(dt.GetMonth()) << "-" in operator <<() 13 << std::to_string(dt.GetDay()) << " " << std::to_string(dt.GetHour()) in operator <<() 14 << ":" << std::to_string(dt.GetMinute()) << ":" in operator <<() 15 << std::to_string(dt.GetSecond()) << "." in operator <<() 16 << std::to_string(dt.GetMillisecond()); in operator <<()
|
/external/python/cpython2/Lib/test/ |
D | test_datetime.py | 54 def utcoffset(self, dt): argument 56 def tzname(self, dt): argument 58 def dst(self, dt): argument 72 dt = datetime.max 73 self.assertRaises(NotImplementedError, useless.tzname, dt) 74 self.assertRaises(NotImplementedError, useless.utcoffset, dt) 75 self.assertRaises(NotImplementedError, useless.dst, dt) 86 dt = datetime.now() 87 self.assertRaises(NotImplementedError, ne.tzname, dt) 88 self.assertRaises(NotImplementedError, ne.utcoffset, dt) [all …]
|
/external/python/cpython3/Lib/email/ |
D | utils.py | 159 dt = datetime.datetime.fromtimestamp(timeval, datetime.timezone.utc) 161 dt = datetime.datetime.utcfromtimestamp(timeval) 163 dt = dt.astimezone() 165 return format_datetime(dt, usegmt) 167 def format_datetime(dt, usegmt=False): argument 174 now = dt.timetuple() 176 if dt.tzinfo is None or dt.tzinfo != datetime.timezone.utc: 179 elif dt.tzinfo is None: 182 zone = dt.strftime("%z") 345 def localtime(dt=None, isdst=-1): argument [all …]
|