Home
last modified time | relevance | path

Searched refs:tval (Results 1 – 25 of 33) sorted by relevance

12

/third_party/libinput/src/
Dutil-input-event.h38 struct timeval tval = us2tv(time); in input_event_init() local
40 ev.input_event_sec = tval.tv_sec; in input_event_init()
41 ev.input_event_usec = tval.tv_usec; in input_event_init()
52 struct timeval tval; in input_event_time() local
54 tval.tv_sec = e->input_event_sec; in input_event_time()
55 tval.tv_usec = e->input_event_usec; in input_event_time()
57 return tv2us(&tval); in input_event_time()
65 struct timeval tval = us2tv(time); in input_event_set_time() local
67 e->input_event_sec = tval.tv_sec; in input_event_set_time()
68 e->input_event_usec = tval.tv_usec; in input_event_set_time()
/third_party/flatbuffers/include/flatbuffers/
Dminireflect.h108 template<typename T> const char *EnumName(T tval, const TypeTable *type_table) { in EnumName() argument
110 auto i = LookupEnum(static_cast<int64_t>(tval), type_table->values, in EnumName()
126 auto tval = ReadScalar<uint8_t>(val); in IterateValue() local
127 visitor->UType(tval, EnumName(tval, type_table)); in IterateValue()
135 auto tval = ReadScalar<int8_t>(val); in IterateValue() local
136 visitor->Char(tval, EnumName(tval, type_table)); in IterateValue()
140 auto tval = ReadScalar<uint8_t>(val); in IterateValue() local
141 visitor->UChar(tval, EnumName(tval, type_table)); in IterateValue()
145 auto tval = ReadScalar<int16_t>(val); in IterateValue() local
146 visitor->Short(tval, EnumName(tval, type_table)); in IterateValue()
[all …]
/third_party/boost/libs/scope_exit/test/
Dnative_tpl.cpp18 type tval in tpl_long() argument
25 type const remember(tval); in tpl_long()
28 BOOST_SCOPE_EXIT_TPL( (&tval) (&t) (&tc) (&tv) (&tcv) (&i) ) { in tpl_long()
29 tval = 1; in tpl_long()
35 BOOST_TEST(tval == remember); in tpl_long()
38 BOOST_TEST(tval == 1); in tpl_long()
/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstwarp.c166 xw = (gint) (sin ((warptv->tval + 100) * M_PI / 128) * 30); in gst_warptv_transform_frame()
167 yw = (gint) (sin ((warptv->tval) * M_PI / 256) * -35); in gst_warptv_transform_frame()
168 cw = (gint) (sin ((warptv->tval - 70) * M_PI / 64) * 50); in gst_warptv_transform_frame()
169 xw += (gint) (sin ((warptv->tval - 10) * M_PI / 512) * 40); in gst_warptv_transform_frame()
170 yw += (gint) (sin ((warptv->tval + 30) * M_PI / 512) * 40); in gst_warptv_transform_frame()
208 warptv->tval = (warptv->tval + 1) & 511; in gst_warptv_transform_frame()
219 warptv->tval = 0; in gst_warptv_start()
Dgstwarp.h55 gint tval; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrQPX.td1114 def : Pat<(v4f64 (selectcc i1:$lhs, i1:$rhs, v4f64:$tval, v4f64:$fval, SETLT)),
1115 (SELECT_QFRC (CRANDC $lhs, $rhs), $tval, $fval)>;
1116 def : Pat<(v4f64 (selectcc i1:$lhs, i1:$rhs, v4f64:$tval, v4f64:$fval, SETULT)),
1117 (SELECT_QFRC (CRANDC $rhs, $lhs), $tval, $fval)>;
1118 def : Pat<(v4f64 (selectcc i1:$lhs, i1:$rhs, v4f64:$tval, v4f64:$fval, SETLE)),
1119 (SELECT_QFRC (CRORC $lhs, $rhs), $tval, $fval)>;
1120 def : Pat<(v4f64 (selectcc i1:$lhs, i1:$rhs, v4f64:$tval, v4f64:$fval, SETULE)),
1121 (SELECT_QFRC (CRORC $rhs, $lhs), $tval, $fval)>;
1122 def : Pat<(v4f64 (selectcc i1:$lhs, i1:$rhs, v4f64:$tval, v4f64:$fval, SETEQ)),
1123 (SELECT_QFRC (CREQV $lhs, $rhs), $tval, $fval)>;
[all …]
DPPCInstrSPE.td848 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETLT)),
849 (SELECT_SPE4 (CRANDC $lhs, $rhs), $tval, $fval)>;
850 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETULT)),
851 (SELECT_SPE4 (CRANDC $rhs, $lhs), $tval, $fval)>;
852 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETLE)),
853 (SELECT_SPE4 (CRORC $lhs, $rhs), $tval, $fval)>;
854 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETULE)),
855 (SELECT_SPE4 (CRORC $rhs, $lhs), $tval, $fval)>;
856 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETEQ)),
857 (SELECT_SPE4 (CREQV $lhs, $rhs), $tval, $fval)>;
[all …]
DPPCInstrInfo.td3923 def : Pat<(i1 (select i1:$cond, i1:$tval, i1:$fval)),
3924 (CROR (CRAND $cond , $tval),
3928 // select (lhs == rhs), tval, fval is:
3929 // ((lhs == rhs) & tval) | (!(lhs == rhs) & fval)
3930 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETLT)),
3931 (CROR (CRAND (CRANDC $lhs, $rhs), $tval),
3933 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETULT)),
3934 (CROR (CRAND (CRANDC $rhs, $lhs), $tval),
3936 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETLE)),
3937 (CROR (CRAND (CRORC $lhs, $rhs), $tval),
[all …]
DPPCInstrVSX.td1144 def : Pat<(v2f64 (selectcc i1:$lhs, i1:$rhs, v2f64:$tval, v2f64:$fval, SETLT)),
1145 (SELECT_VSRC (CRANDC $lhs, $rhs), $tval, $fval)>;
1146 def : Pat<(v2f64 (selectcc i1:$lhs, i1:$rhs, v2f64:$tval, v2f64:$fval, SETULT)),
1147 (SELECT_VSRC (CRANDC $rhs, $lhs), $tval, $fval)>;
1148 def : Pat<(v2f64 (selectcc i1:$lhs, i1:$rhs, v2f64:$tval, v2f64:$fval, SETLE)),
1149 (SELECT_VSRC (CRORC $lhs, $rhs), $tval, $fval)>;
1150 def : Pat<(v2f64 (selectcc i1:$lhs, i1:$rhs, v2f64:$tval, v2f64:$fval, SETULE)),
1151 (SELECT_VSRC (CRORC $rhs, $lhs), $tval, $fval)>;
1152 def : Pat<(v2f64 (selectcc i1:$lhs, i1:$rhs, v2f64:$tval, v2f64:$fval, SETEQ)),
1153 (SELECT_VSRC (CREQV $lhs, $rhs), $tval, $fval)>;
[all …]
/third_party/toybox/toys/pending/
Darping.c121 struct timeval tval; in send_packet() local
123 gettimeofday(&tval, NULL); in send_packet()
124 TT.sent_at = tval.tv_sec * 1000000ULL + tval.tv_usec; in send_packet()
164 struct timeval tval; in recv_from() local
166 gettimeofday(&tval, NULL); in recv_from()
167 delta = (tval.tv_sec * 1000000ULL + (tval.tv_usec)) - TT.sent_at; in recv_from()
/third_party/libcoap/src/
Dencode.c72 uint64_t tval = val; in coap_encode_var_safe8() local
74 for (n = 0; tval && n < sizeof(val); ++n) in coap_encode_var_safe8()
75 tval >>= 8; in coap_encode_var_safe8()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/speculative/
D5-1.c23 int tval = BOGUSTIMERID; in main() local
24 tid = (timer_t) & tval; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/speculative/
D6-1.c23 int tval = BOGUSTID; in main() local
24 tid = (timer_t) & tval; in main()
/third_party/libsnd/src/
Dtest_conversions.c36 #define cmp_test(line, ival, tval, str) \ argument
37 if (ival != tval) \
38 { printf (str, line, ival, tval) ; \
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/speculative/
D6-1.c24 int tval = BOGUSTID; in main() local
25 tid = (timer_t) & tval; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/speculative/
D12-1.c23 int tval = BOGUSTID; in main() local
24 tid = (timer_t) & tval; in main()
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/
Dclock_gettime04.c62 struct timeval tval; in my_gettimeofday() local
67 if (gettimeofday(&tval, NULL) < 0) in my_gettimeofday()
74 *((struct timespec *)ts) = tst_timespec_from_us(tst_timeval_to_us(tval)); in my_gettimeofday()
/third_party/openssl/crypto/asn1/
Dtasn_fre.c125 ASN1_VALUE *tval; in asn1_template_free() local
127 tval = (ASN1_VALUE *)pval; in asn1_template_free()
128 pval = &tval; in asn1_template_free()
Dtasn_new.c206 ASN1_VALUE *tval; in asn1_template_new() local
209 tval = (ASN1_VALUE *)pval; in asn1_template_new()
210 pval = &tval; in asn1_template_new()
Dtasn_enc.c217 ASN1_VALUE *tval; in asn1_template_ex_i2d() local
225 tval = (ASN1_VALUE *)pval; in asn1_template_ex_i2d()
226 pval = &tval; in asn1_template_ex_i2d()
Dtasn_dec.c534 ASN1_VALUE *tval; in asn1_template_noexp_d2i() local
549 tval = (ASN1_VALUE *)val; in asn1_template_noexp_d2i()
550 val = &tval; in asn1_template_noexp_d2i()
/third_party/ffmpeg/libavformat/
Dlibamqp.c71 struct timeval tval = { 0 }; in amqp_proto_open() local
148 tval.tv_sec = s->connection_timeout / 1000000; in amqp_proto_open()
149 tval.tv_usec = s->connection_timeout % 1000000; in amqp_proto_open()
150 ret = amqp_socket_open_noblock(s->socket, hostname, port, &tval); in amqp_proto_open()
/third_party/openssl/crypto/x509v3/
Dv3_ncons.c125 CONF_VALUE tval, *val; in v2i_NAME_CONSTRAINTS() local
137 tval.name = val->name + 10; in v2i_NAME_CONSTRAINTS()
140 tval.name = val->name + 9; in v2i_NAME_CONSTRAINTS()
145 tval.value = val->value; in v2i_NAME_CONSTRAINTS()
149 if (!v2i_GENERAL_NAME_ex(sub->base, method, ctx, &tval, 1)) in v2i_NAME_CONSTRAINTS()
/third_party/benchmark/test/
Doutput_test.h136 T tval = static_cast<T>(dval); in GetCounterAs() local
137 return tval; in GetCounterAs()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dcontroller.c970 GstTimedValue *tval; in GST_START_TEST() local
988 tval = g_new0 (GstTimedValue, 1); in GST_START_TEST()
989 tval->timestamp = GST_CLOCK_TIME_NONE; in GST_START_TEST()
990 tval->value = 0.0; in GST_START_TEST()
992 list = g_slist_append (list, tval); in GST_START_TEST()
997 tval->timestamp = 0; in GST_START_TEST()
1001 g_free (tval); in GST_START_TEST()

12