Home
last modified time | relevance | path

Searched refs:xt (Results 1 – 25 of 66) sorted by relevance

123

/third_party/boost/libs/chrono/example/
Dxtime.cpp61 xtime_ xt; in to_xtime_truncate() local
62 xt.sec = static_cast<long>(duration_cast<seconds>(d).count()); in to_xtime_truncate()
63 xt.usec = static_cast<long>(duration_cast<microseconds>(d - seconds(xt.sec)).count()); in to_xtime_truncate()
64 return xt; in to_xtime_truncate()
71 xtime_ xt; in to_xtime_round_up() local
72 xt.sec = static_cast<long>(duration_cast<seconds>(d).count()); in to_xtime_round_up()
73 xt.usec = static_cast<unsigned long>(round_up<microseconds>(d - seconds(xt.sec)).count()); in to_xtime_round_up()
74 return xt; in to_xtime_round_up()
78 from_xtime(xtime_ xt) in from_xtime() argument
80 return seconds(xt.sec) + microseconds(xt.usec); in from_xtime()
[all …]
Dtimeval_demo.cpp190 xtime xt( tv.tv_sec, tv.tv_usec); in now() local
191 return time_point(duration(xt)); in now()
197 xtime xt( tv.tv_sec, tv.tv_usec); in now()
198 return time_point(duration(xt)); in now()
206 xtime xt( ts.tv_sec, ts.tv_nsec/1000); in now()
207 return time_point(duration(xt)); in now()
Dtime2_demo.cpp1271 xtime xt; in to_xtime_truncate() local
1272 xt.sec = static_cast<long>(duration_cast<seconds>(d).count()); in to_xtime_truncate()
1273 xt.usec = static_cast<long>(duration_cast<microseconds>(d - seconds(xt.sec)).count()); in to_xtime_truncate()
1274 return xt; in to_xtime_truncate()
1281 xtime xt; in to_xtime_round_up() local
1282 xt.sec = static_cast<long>(duration_cast<seconds>(d).count()); in to_xtime_round_up()
1283 xt.usec = static_cast<unsigned long>(round_up<microseconds>(d - seconds(xt.sec)).count()); in to_xtime_round_up()
1284 return xt; in to_xtime_round_up()
1288 from_xtime(xtime xt) in from_xtime() argument
1290 return seconds(xt.sec) + microseconds(xt.usec); in from_xtime()
[all …]
/third_party/mingw-w64/mingw-w64-crt/misc/
Dstrtold.c71 unsigned short yy[NI], xt[NI], tt[NI]; in __asctoe64() local
185 __emovz( yy, xt ); in __asctoe64()
186 __eshup1( xt ); in __asctoe64()
187 __eshup1( xt ); in __asctoe64()
188 __eaddm( xt, yy ); in __asctoe64()
189 __ecleaz( xt ); in __asctoe64()
190 xt[NI-2] = (unsigned short )k; in __asctoe64()
191 __eaddm( xt, yy ); in __asctoe64()
288 __emovz( yy, xt ); in __asctoe64()
289 __eshup1( xt ); in __asctoe64()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/TransformFunctions/
Darm_cfft_radix2_f32.c122 float32_t xt, yt, cosVal, sinVal; in arm_radix2_butterfly_f32() local
148 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_f32()
153 p0 = xt * cosVal; in arm_radix2_butterfly_f32()
156 p3 = xt * sinVal; in arm_radix2_butterfly_f32()
190 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_f32()
195 p0 = xt * cosVal; in arm_radix2_butterfly_f32()
198 p3 = xt * sinVal; in arm_radix2_butterfly_f32()
217 xt = pSrc[2 * i] - pSrc[2 * i + 2]; in arm_radix2_butterfly_f32()
224 pSrc[2 * i + 2] = xt; in arm_radix2_butterfly_f32()
253 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_f32()
[all …]
Darm_cfft_radix2_q31.c98 q31_t xt, yt, cosVal, sinVal; in arm_radix2_butterfly_q31() local
116 xt = (pSrc[2 * i] >> 1U) - (pSrc[2 * l] >> 1U); in arm_radix2_butterfly_q31()
123 mult_32x32_keep32_R(p0, xt, cosVal); in arm_radix2_butterfly_q31()
126 multSub_32x32_keep32_R(p1, xt, sinVal); in arm_radix2_butterfly_q31()
155 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_q31()
161 mult_32x32_keep32_R(p0, xt, cosVal); in arm_radix2_butterfly_q31()
164 multSub_32x32_keep32_R(p1, xt, sinVal); in arm_radix2_butterfly_q31()
189 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_q31()
195 pSrc[2U * l] = xt; in arm_radix2_butterfly_q31()
202 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_q31()
[all …]
Darm_cfft_radix2_q15.c283 q15_t xt, yt, cosVal, sinVal; in arm_radix2_butterfly_q15()
304 xt = (pSrc[2 * i] >> 1U) - (pSrc[2 * l] >> 1U); in arm_radix2_butterfly_q15()
311 pSrc[2 * l] = (((int16_t) (((q31_t) xt * cosVal) >> 16)) + in arm_radix2_butterfly_q15()
315 ((int16_t) (((q31_t) xt * sinVal) >> 16))); in arm_radix2_butterfly_q15()
341 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_q15()
347 pSrc[2 * l] = (((int16_t) (((q31_t) xt * cosVal) >> 16)) + in arm_radix2_butterfly_q15()
351 ((int16_t) (((q31_t) xt * sinVal) >> 16))); in arm_radix2_butterfly_q15()
376 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_q15()
382 pSrc[2 * l] = xt; in arm_radix2_butterfly_q15()
585 q15_t xt, yt, cosVal, sinVal; in arm_radix2_butterfly_inverse_q15()
[all …]
Darm_cfft_q31.c764 q31_t xt, yt, cosVal, sinVal; in arm_cfft_radix4by2_q31() local
775 xt = (pSrc[2 * i] >> 2U) - (pSrc[2 * l] >> 2U); in arm_cfft_radix4by2_q31()
781 mult_32x32_keep32_R(p0, xt, cosVal); in arm_cfft_radix4by2_q31()
784 multSub_32x32_keep32_R(p1, xt, sinVal); in arm_cfft_radix4by2_q31()
802 xt = pSrc[4 * i + 2]; in arm_cfft_radix4by2_q31()
807 xt <<= 1U; in arm_cfft_radix4by2_q31()
812 pSrc[4 * i + 2] = xt; in arm_cfft_radix4by2_q31()
825 q31_t xt, yt, cosVal, sinVal; in arm_cfft_radix4by2_inverse_q31() local
836 xt = (pSrc[2 * i] >> 2U) - (pSrc[2 * l] >> 2U); in arm_cfft_radix4by2_inverse_q31()
842 mult_32x32_keep32_R(p0, xt, cosVal); in arm_cfft_radix4by2_inverse_q31()
[all …]
Darm_cfft_f64.c202 float64_t xt, yt, cosVal, sinVal; in arm_cfft_radix4by2_f64() local
217 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_cfft_radix4by2_f64()
222 p0 = xt * cosVal; in arm_cfft_radix4by2_f64()
225 p3 = xt * sinVal; in arm_cfft_radix4by2_f64()
Darm_cfft_q15.c768 q15_t xt, yt, cosVal, sinVal; in arm_cfft_radix4by2_q15() local
809 xt = (pSrc[2 * i] >> 1U) - (pSrc[2 * l] >> 1U); in arm_cfft_radix4by2_q15()
815 pSrc[2 * l] = (((int16_t) (((q31_t) xt * cosVal) >> 16U)) + in arm_cfft_radix4by2_q15()
819 ((int16_t) (((q31_t) xt * sinVal) >> 16U)) ); in arm_cfft_radix4by2_q15()
867 q15_t xt, yt, cosVal, sinVal; in arm_cfft_radix4by2_inverse_q15() local
908 xt = (pSrc[2 * i] >> 1U) - (pSrc[2 * l] >> 1U); in arm_cfft_radix4by2_inverse_q15()
914 pSrc[2 * l] = (((int16_t) (((q31_t) xt * cosVal) >> 16U)) - in arm_cfft_radix4by2_inverse_q15()
918 ((int16_t) (((q31_t) xt * sinVal) >> 16U)) ); in arm_cfft_radix4by2_inverse_q15()
/third_party/uboot/u-boot-2020.01/arch/xtensa/include/asm/
Dldscript.h188 .xt.insn 0 : \
190 KEEP (*(.xt.insn)) \
193 .xt.prop 0 : \
195 KEEP (*(.xt.prop)) \
196 KEEP (*(.xt.prop.*)) \
199 .xt.lit 0 : \
201 KEEP (*(.xt.lit)) \
202 KEEP (*(.xt.lit.*)) \
205 .xt.profile_range 0 : \
207 KEEP (*(.xt.profile_range)) \
[all …]
/third_party/boost/libs/thread/example/
Dstarvephil.cpp54 boost::xtime xt; in put() local
55 boost::xtime_get(&xt, boost::TIME_UTC_); in put()
56 xt.sec += 3; in put()
57 boost::thread::sleep(xt); in put()
89 boost::xtime xt; in chef() local
90 boost::xtime_get(&xt, boost::TIME_UTC_); in chef()
91 xt.sec += 2; in chef()
92 boost::thread::sleep(xt); in chef()
115 boost::xtime xt; in run() local
116 boost::xtime_get(&xt, boost::TIME_UTC_); in run()
[all …]
Dxtime.cpp14 boost::xtime xt; in main() local
15 boost::xtime_get(&xt, boost::TIME_UTC_); in main()
16 xt.sec += 1; in main()
17 boost::thread::sleep(xt); // Sleep for 1 second in main()
Dthread.cpp18 boost::xtime xt; in operator ()() local
19 boost::xtime_get(&xt, boost::TIME_UTC_); in operator ()()
20 xt.sec += m_secs; in operator ()()
22 boost::thread::sleep(xt); in operator ()()
Dtennis.cpp108 boost::xtime xt; in main() local
109 boost::xtime_get(&xt, boost::TIME_UTC_); in main()
110 xt.sec += 1; in main()
111 boost::thread::sleep(xt); in main()
/third_party/boost/libs/thread/test/
Dutil.inl33 boost::xtime xt; local
34 if (boost::TIME_UTC_ != boost::xtime_get (&xt, boost::TIME_UTC_))
37 nsecs += xt.nsec;
41 xt.nsec = nsecs % NANOSECONDS_PER_SECOND;
42 xt.sec += secs + (nsecs / NANOSECONDS_PER_SECOND);
44 return xt;
54 inline bool in_range(const boost::xtime& xt, int secs=1) argument
58 return (boost::xtime_cmp(xt, min) >= 0) &&
59 (boost::xtime_cmp(xt, max) <= 0);
96 boost::xtime xt = delay(secs); local
[all …]
Dtest_thread.cpp47 boost::xtime xt = delay(3); in BOOST_AUTO_TEST_CASE() local
48 boost::thread::sleep(xt); in BOOST_AUTO_TEST_CASE()
52 BOOST_CHECK(boost::threads::test::in_range(xt, 2)); in BOOST_AUTO_TEST_CASE()
183 boost::system_time xt=delay(3); in do_test_timed_join() local
184 bool const joined=thrd.timed_join(xt); in do_test_timed_join()
185 BOOST_CHECK(boost::threads::test::in_range(boost::get_xtime(xt), 2)); in do_test_timed_join()
194 xt=delay(3); in do_test_timed_join()
195 bool const joined2=thrd.timed_join(xt); in do_test_timed_join()
197 BOOST_CHECK(xt>now); in do_test_timed_join()
Dtest_mutex.cpp46 boost::xtime xt = delay(0, 100); in operator ()() local
51 BOOST_CHECK(!condition.timed_wait(lock, xt)); in operator ()()
86 boost::xtime xt = delay(0, 100); in operator ()() local
91 BOOST_CHECK(!condition.timed_wait(lock, xt)); in operator ()()
207 boost::system_time xt = boost::get_system_time()+boost::posix_time::milliseconds(100); in operator ()() local
209 timed_lock_type lock(mutex, xt); in operator ()()
Dtest_condition.cpp79 boost::xtime xt = delay(10); in condition_test_waits() local
81 data->condition.timed_wait(lock, xt); in condition_test_waits()
88 xt = delay(10); in condition_test_waits()
90 BOOST_CHECK(data->condition.timed_wait(lock, xt, pred)); in condition_test_waits()
/third_party/boost/libs/interprocess/test/
Dutil.hpp35 inline void sleep(const boost::posix_time::ptime &xt) in sleep() argument
38 ((xt - microsec_clock::universal_time()).total_milliseconds()); in sleep()
53 inline bool in_range(const boost::posix_time::ptime& xt, int secs=1) in in_range() argument
57 return (xt > min) && (max > xt); in in_range()
/third_party/boost/libs/spirit/classic/test/
Dgrammar_mt_tests.cpp74 boost::xtime xt; in milli_sleep() local
75 boost::xtime_get(&xt, boost::TIME_UTC_); in milli_sleep()
76 xt.nsec+=1000*1000*milliseconds; in milli_sleep()
77 while (xt.nsec > nanoseconds_per_second) in milli_sleep()
79 xt.nsec -= nanoseconds_per_second; in milli_sleep()
80 xt.sec++; in milli_sleep()
83 boost::thread::sleep(xt); in milli_sleep()
/third_party/boost/libs/graph/doc/
Dlgrind.sty27 \newcount\ln@xt
109 \def\l@ftlno{\ifnum\lc@unt>\ln@xt
110 \global\advance\ln@xt by\LGnuminterval
114 \def\r@ghtlno{\ifnum\lc@unt>\ln@xt
115 \global\advance\ln@xt by\LGnuminterval
128 \ln@xt=\LGnuminterval\advance\ln@xt by-1%
129 \loop\ifnum\lc@unt>\ln@xt\advance\ln@xt by\LGnuminterval\repeat%
/third_party/curl/tests/data/
Dtest17117 Set-Cookie: XToken=xt;Domain=.z.x.com;Path=/
56 .z.x.com TRUE / FALSE 0 XToken xt
Dtest3929 …ESTNUMBER.txt\";type=mo/foo;filename=\"f\\\\\\\\ak\\\\\\er,\\\\an\\d;.t\\\"xt\"" -F 'file4=@"log/t…
88 Content-Disposition: form-data; name="file3"; filename="f\\\\ak\\\\er,\\an\\d;.t\"xt"
/third_party/minimp3/
Dminimp3.h1296 … f4 x0 = x[0], x1 = x[1], x2 = x[2], x3 = x[3], x4 = x[4], x5 = x[5], x6 = x[6], x7 = x[7], xt; in mp3d_DCT_II() local
1297 xt = VSUB(x0, x7); x0 = VADD(x0, x7); in mp3d_DCT_II()
1307 x7 = VADD(x7, xt); in mp3d_DCT_II()
1312 x0 = VSUB(xt, x6); xt = VADD(xt, x6); in mp3d_DCT_II()
1313 x[1] = VMUL_S(VADD(xt, x7), 0.50979561f); in mp3d_DCT_II()
1318 x[7] = VMUL_S(VSUB(xt, x7), 2.56291556f); in mp3d_DCT_II()
1382 … float x0 = x[0], x1 = x[1], x2 = x[2], x3 = x[3], x4 = x[4], x5 = x[5], x6 = x[6], x7 = x[7], xt; in mp3d_DCT_II()
1383 xt = x0 - x7; x0 += x7; in mp3d_DCT_II()
1393 x7 = x7 + xt; in mp3d_DCT_II()
1398 x0 = xt - x6; xt += x6; in mp3d_DCT_II()
[all …]

123