Home
last modified time | relevance | path

Searched refs:dt (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstdatetime.c41 GstDateTime *dt; in GST_START_TEST() local
47 dt = gst_date_time_new_now_local_time (); in GST_START_TEST()
53 assert_equals_int (gst_date_time_get_year (dt), 1900 + tm.tm_year); in GST_START_TEST()
54 assert_equals_int (gst_date_time_get_month (dt), 1 + tm.tm_mon); in GST_START_TEST()
55 assert_equals_int (gst_date_time_get_day (dt), tm.tm_mday); in GST_START_TEST()
56 assert_equals_int (gst_date_time_get_hour (dt), tm.tm_hour); in GST_START_TEST()
57 assert_equals_int (gst_date_time_get_minute (dt), tm.tm_min); in GST_START_TEST()
58 assert_almost_equals_int (gst_date_time_get_second (dt), tm.tm_sec); in GST_START_TEST()
59 gst_date_time_unref (dt); in GST_START_TEST()
66 GstDateTime *dt; in GST_START_TEST() local
[all …]
/third_party/python/Doc/includes/
Dtzinfo_examples.py23 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 …]
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.h222 struct blitter_context *blitter dt; member
223 void *clear_rs_state[2] dt;
226 struct slab_child_pool transfer_pool dt; member
229 struct fd_autotune autotune dt; member
236 struct slab_mempool sample_pool dt; member
237 struct slab_mempool sample_period_pool dt; member
244 struct list_head hw_active_queries dt; member
251 struct list_head acc_active_queries dt; member
259 bool update_active_queries dt; member
264 bool active_queries dt; member
[all …]
/third_party/vixl/src/aarch32/
Dassembler-aarch32.h270 typedef void (Assembler::*InstructionDtQQ)(DataType dt,
355 typedef void (Assembler::*InstructionDtQQQ)(DataType dt,
376 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm);
378 Condition cond, DataType dt, QRegister rd, QRegister rn, QRegister rm);
380 Condition cond, DataType dt, QRegister rd, DRegister rn, DRegister rm);
382 DataType dt,
386 DataType dt,
390 DataType dt,
394 Condition cond, DataType dt, SRegister rd, SRegister rn, SRegister rm);
396 Condition cond, DataType dt, DRegister rd, QRegister rn, QRegister rm);
[all …]
Ddisasm-aarch32.cc837 DecodeNeon Index_1_Decode(uint32_t value, DataType dt) { in Index_1_Decode() argument
838 switch (dt.GetValue()) { in Index_1_Decode()
863 DecodeNeonAndAlign Align_index_align_1_Decode(uint32_t value, DataType dt) { in Align_index_align_1_Decode() argument
864 switch (dt.GetValue()) { in Align_index_align_1_Decode()
908 DecodeNeonAndAlign Align_index_align_2_Decode(uint32_t value, DataType dt) { in Align_index_align_2_Decode() argument
909 switch (dt.GetValue()) { in Align_index_align_2_Decode()
955 DecodeNeonAndAlign Align_index_align_3_Decode(uint32_t value, DataType dt) { in Align_index_align_3_Decode() argument
956 switch (dt.GetValue()) { in Align_index_align_3_Decode()
1004 Alignment Align_a_1_Decode(uint32_t value, DataType dt) { in Align_a_1_Decode() argument
1009 if (dt.Is(Untyped16)) return k16BitAlign; in Align_a_1_Decode()
[all …]
Ddisasm-aarch32.h155 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_;
307 virtual DisassemblerStream& operator<<(const DtPrinter& dt) {
308 os_ << dt;
1459 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm);
1462 Condition cond, DataType dt, QRegister rd, QRegister rn, QRegister rm);
1465 Condition cond, DataType dt, QRegister rd, DRegister rn, DRegister rm);
[all …]
Dmacro-assembler-aarch32.h812 void Vldr(Condition cond, DataType dt, DRegister rd, RawLiteral* literal) { in Assembler() argument
820 bool can_encode = vldr_info(cond, dt, rd, literal, &info); in Assembler()
832 vldr(cond, dt, rd, literal); in Assembler()
835 void Vldr(DataType dt, DRegister rd, RawLiteral* literal) { in Assembler() argument
836 Vldr(al, dt, rd, literal); in Assembler()
845 void Vldr(Condition cond, DataType dt, SRegister rd, RawLiteral* literal) { in Assembler() argument
853 bool can_encode = vldr_info(cond, dt, rd, literal, &info); in Assembler()
865 vldr(cond, dt, rd, literal); in Assembler()
868 void Vldr(DataType dt, SRegister rd, RawLiteral* literal) { in Assembler() argument
869 Vldr(al, dt, rd, literal); in Assembler()
[all …]
Dassembler-aarch32.cc104 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 …]
/third_party/skia/src/core/
DSkTime.cpp34 void SkTime::GetDateTime(DateTime* dt) { in GetDateTime() argument
35 if (dt) { in GetDateTime()
38 dt->fTimeZoneMinutes = 0; in GetDateTime()
39 dt->fYear = st.wYear; in GetDateTime()
40 dt->fMonth = SkToU8(st.wMonth); in GetDateTime()
41 dt->fDayOfWeek = SkToU8(st.wDayOfWeek); in GetDateTime()
42 dt->fDay = SkToU8(st.wDay); in GetDateTime()
43 dt->fHour = SkToU8(st.wHour); in GetDateTime()
44 dt->fMinute = SkToU8(st.wMinute); in GetDateTime()
45 dt->fSecond = SkToU8(st.wSecond); in GetDateTime()
[all …]
/third_party/musl/porting/liteos_a/kernel/src/math/
Dcbrtl.c33 double_t dr, dt, dx; in cbrtl() local
84 dt = ft; in cbrtl()
85 dr = dt * dt * dt; in cbrtl()
86 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
89 dr = dt * dt * dt; in cbrtl()
90 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
98 t = dt + (0x1.0p32L + 0x1.0p-31L) - 0x1.0p32; in cbrtl()
108 t = dt + 0x2.0p-46 + 0x1.0p60L - 0x1.0p60; in cbrtl()
/third_party/musl/src/math/
Dcbrtl.c33 double_t dr, dt, dx; in cbrtl() local
84 dt = ft; in cbrtl()
85 dr = dt * dt * dt; in cbrtl()
86 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
89 dr = dt * dt * dt; in cbrtl()
90 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
98 t = dt + (0x1.0p32L + 0x1.0p-31L) - 0x1.0p32; in cbrtl()
108 t = dt + 0x2.0p-46 + 0x1.0p60L - 0x1.0p60; in cbrtl()
/third_party/python/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py97 def from_datetime(cls, dt): argument
99 dt.year,
100 dt.month,
101 dt.day,
102 dt.hour,
103 dt.minute,
104 dt.second,
105 dt.microsecond,
106 tzinfo=dt.tzinfo,
107 fold=dt.fold,
[all …]
/third_party/python/Lib/test/
Ddatetimetester.py127 def utcoffset(self, dt): argument
129 def tzname(self, dt): argument
131 def dst(self, dt): argument
159 dt = datetime.max
160 self.assertRaises(NotImplementedError, useless.tzname, dt)
161 self.assertRaises(NotImplementedError, useless.utcoffset, dt)
162 self.assertRaises(NotImplementedError, useless.dst, dt)
173 dt = datetime.now()
174 self.assertRaises(NotImplementedError, ne.tzname, dt)
175 self.assertRaises(NotImplementedError, ne.utcoffset, dt)
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_date_time.cpp705 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 …]
Ddng_date_time.h82 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 …]
/third_party/ffmpeg/libavutil/
Dparseutils.c489 char *av_small_strptime(const char *p, const char *fmt, struct tm *dt) in av_small_strptime() argument
511 dt->tm_hour = val; in av_small_strptime()
517 dt->tm_min = val; in av_small_strptime()
523 dt->tm_sec = val; in av_small_strptime()
529 dt->tm_year = val - 1900; in av_small_strptime()
535 dt->tm_mon = val - 1; in av_small_strptime()
541 dt->tm_mday = val; in av_small_strptime()
544 p = av_small_strptime(p, "%H:%M:%S", dt); in av_small_strptime()
554 dt->tm_mon = val; in av_small_strptime()
592 struct tm dt = { 0 }, tmbuf; in av_parse_time() local
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstdatetime.c83 gst_date_time_new_from_g_date_time (GDateTime * dt) in gst_date_time_new_from_g_date_time() argument
87 if (!dt) in gst_date_time_new_from_g_date_time()
95 gst_dt->datetime = dt; in gst_date_time_new_from_g_date_time()
476 GDateTime *dt, *datetime; in gst_date_time_new_from_unix_epoch_local_time_usecs() local
480 dt = g_date_time_new_from_unix_local (secs); in gst_date_time_new_from_unix_epoch_local_time_usecs()
481 if (!dt) in gst_date_time_new_from_unix_epoch_local_time_usecs()
483 datetime = g_date_time_add_seconds (dt, (gdouble) usec_part / G_USEC_PER_SEC); in gst_date_time_new_from_unix_epoch_local_time_usecs()
484 g_date_time_unref (dt); in gst_date_time_new_from_unix_epoch_local_time_usecs()
506 GDateTime *dt, *datetime; in gst_date_time_new_from_unix_epoch_utc_usecs() local
510 dt = g_date_time_new_from_unix_utc (secs); in gst_date_time_new_from_unix_epoch_utc_usecs()
[all …]
/third_party/python/Lib/email/
Dutils.py147 dt = datetime.datetime.fromtimestamp(timeval, datetime.timezone.utc)
149 dt = datetime.datetime.utcfromtimestamp(timeval)
151 dt = dt.astimezone()
153 return format_datetime(dt, usegmt)
155 def format_datetime(dt, usegmt=False): argument
162 now = dt.timetuple()
164 if dt.tzinfo is None or dt.tzinfo != datetime.timezone.utc:
167 elif dt.tzinfo is None:
170 zone = dt.strftime("%z")
334 def localtime(dt=None, isdst=-1): argument
[all …]
/third_party/toybox/toys/posix/
Dls.c131 static void entrylen(struct dirtree *dt, unsigned *len) in entrylen() argument
133 struct stat *st = &(dt->st); in entrylen()
137 *len = strwidth(dt->name); in entrylen()
156 len[7] = (flags & FLAG_Z) ? strwidth((char *)dt->extra) : 0; in entrylen()
307 struct dirtree *dt, **sort; in listfiles() local
326 dt = indir->child; in listfiles()
327 if (dt && S_ISDIR(dt->st.st_mode) && !dt->next && !(flags&(FLAG_d|FLAG_R))) in listfiles()
329 listfiles(open(dt->name, 0), TT.singledir = dt); in listfiles()
335 for (;dt; dt = dt->next) filter(dt); in listfiles()
346 for (dtlen = 0, dt = indir->child; dt; dt = dt->next, dtlen++) in listfiles()
[all …]
/third_party/toybox/porting/liteos_a/toys/posix/
Dls.c130 static void entrylen(struct dirtree *dt, unsigned *len) in entrylen() argument
132 struct stat *st = &(dt->st); in entrylen()
136 *len = strwidth(dt->name); in entrylen()
155 len[7] = (flags & FLAG_Z) ? strwidth((char *)dt->extra) : 0; in entrylen()
299 struct dirtree *dt, **sort; in listfiles() local
318 dt = indir->child; in listfiles()
319 if (dt && S_ISDIR(dt->st.st_mode) && !dt->next && !(flags&(FLAG_d|FLAG_R))) in listfiles()
321 listfiles(open(dt->name, O_DIRECTORY), TT.singledir = dt); in listfiles()
326 for (;dt; dt = dt->next) filter(dt); in listfiles()
337 for (dtlen = 0, dt = indir->child; dt; dt = dt->next, dtlen++) in listfiles()
[all …]
/third_party/toybox/porting/liteos_a/lib/
Ddirtree.c38 struct dirtree *dt = 0; in dirtree_add_node() local
58 dt = xmalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node()
59 memset(dt, 0, statless ? offsetof(struct dirtree, again) in dirtree_add_node()
61 dt->parent = parent; in dirtree_add_node()
62 dt->again = statless ? 2 : 0; in dirtree_add_node()
63 if (!statless) memcpy(&dt->st, &st, sizeof(struct stat)); in dirtree_add_node()
64 strcpy(dt->name, name ? name : ""); in dirtree_add_node()
65 if (linklen) dt->symlink = memcpy(len+(char *)dt, libbuf, linklen); in dirtree_add_node()
67 return dt; in dirtree_add_node()
77 free(dt); in dirtree_add_node()
/third_party/toybox/lib/
Ddirtree.c30 struct dirtree *dt = 0; in dirtree_add_node() local
50 dt = xmalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node()
51 memset(dt, 0, statless ? offsetof(struct dirtree, again) in dirtree_add_node()
53 dt->parent = parent; in dirtree_add_node()
54 dt->again = statless ? 2 : 0; in dirtree_add_node()
55 if (!statless) memcpy(&dt->st, &st, sizeof(struct stat)); in dirtree_add_node()
56 strcpy(dt->name, name ? name : ""); in dirtree_add_node()
57 if (linklen) dt->symlink = memcpy(len+(char *)dt, libbuf, linklen); in dirtree_add_node()
59 return dt; in dirtree_add_node()
69 free(dt); in dirtree_add_node()
/third_party/mesa3d/src/gallium/winsys/sw/gdi/
Dgdi_sw_winsys.c93 struct sw_displaytarget *dt, in gdi_sw_displaytarget_map() argument
96 struct gdi_sw_displaytarget *gdt = gdi_sw_displaytarget(dt); in gdi_sw_displaytarget_map()
104 struct sw_displaytarget *dt ) in gdi_sw_displaytarget_unmap() argument
112 struct sw_displaytarget *dt) in gdi_sw_displaytarget_destroy() argument
114 struct gdi_sw_displaytarget *gdt = gdi_sw_displaytarget(dt); in gdi_sw_displaytarget_destroy()
187 struct sw_displaytarget *dt, in gdi_sw_displaytarget_get_handle() argument
197 struct sw_displaytarget *dt, in gdi_sw_display() argument
200 struct gdi_sw_displaytarget *gdt = gdi_sw_displaytarget(dt); in gdi_sw_display()
210 struct sw_displaytarget *dt, in gdi_sw_displaytarget_display() argument
218 gdi_sw_display(winsys, dt, hDC); in gdi_sw_displaytarget_display()
/third_party/python/Lib/turtledemo/
Dplanet_and_moon.py28 self.dt = 0.01
34 self.t += self.dt
50 dt = self.gravSys.dt
52 self.v = self.v + 0.5*dt*self.a
61 dt = self.gravSys.dt
62 self.setpos(self.pos() + dt*self.v)
66 self.v = self.v + dt*self.a
/third_party/python/Lib/zoneinfo/
D_zoneinfo.py105 def utcoffset(self, dt): argument
106 return self._find_trans(dt).utcoff
108 def dst(self, dt): argument
109 return self._find_trans(dt).dstoff
111 def tzname(self, dt): argument
112 return self._find_trans(dt).tzname
114 def fromutc(self, dt): argument
117 if not isinstance(dt, datetime):
119 if dt.tzinfo is not self:
122 timestamp = self._get_local_timestamp(dt)
[all …]

12345678910>>...18