Home
last modified time | relevance | path

Searched refs:cvt (Results 1 – 25 of 111) sorted by relevance

12345

/third_party/mesa3d/src/nouveau/codegen/lib/
Dgk104.asm19 long cvt u32 $r1 neg u32 $r1
34 long cvt u32 $r2 neg u32 $r1
55 long cvt s32 $r0 abs s32 $r0
56 long cvt s32 $r1 abs s32 $r1
61 cvt u32 $r1 neg u32 $r1
76 long cvt u32 $r2 neg u32 $r1
85 long $p3 cvt s32 $r0 neg s32 $r0
87 $p2 cvt s32 $r1 neg s32 $r1
108 cvt rn f32 $r3 u16 1 $r1 label
109 cvt rn f32 $r2 u16 0 $r1 label
[all …]
Dgk110.asm19 cvt u32 $r1 neg u32 $r1
34 cvt u32 $r2 neg u32 $r1
55 cvt s32 $r0 abs s32 $r0
56 cvt s32 $r1 abs s32 $r1
61 cvt u32 $r1 neg u32 $r1
76 cvt u32 $r2 neg u32 $r1
85 $p3 cvt s32 $r0 neg s32 $r0
87 $p2 cvt s32 $r1 neg s32 $r1
157 cvt rz f32 $r5 f64 $r6d
163 cvt f64 $r0d f32 $r0
[all …]
Dgf100.asm18 cvt u32 $r1 neg u32 $r1
31 cvt u32 $r2 neg u32 $r1
50 cvt s32 $r0 abs s32 $r0
51 cvt s32 $r1 abs s32 $r1
56 cvt u32 $r1 neg u32 $r1
69 cvt u32 $r2 neg u32 $r1
77 $p3 cvt s32 $r0 neg s32 $r0
78 $p2 cvt s32 $r1 neg s32 $r1
/third_party/rust/crates/rust-openssl/openssl/src/
Dpkey_ctx.rs74 use crate::{cvt, cvt_p};
151 cvt(ffi::EVP_PKEY_encrypt_init(self.as_ptr()))?; in encrypt_init()
162 cvt(ffi::EVP_PKEY_verify_init(self.as_ptr()))?; in verify_init()
173 cvt(ffi::EVP_PKEY_verify_recover_init(self.as_ptr()))?; in verify_recover_init()
188 cvt(ffi::EVP_PKEY_encrypt( in encrypt()
261 cvt(ffi::EVP_PKEY_verify_recover( in verify_recover()
283 cvt(ffi::EVP_PKEY_decrypt_init(self.as_ptr()))?; in decrypt_init()
294 cvt(ffi::EVP_PKEY_sign_init(self.as_ptr()))?; in sign_init()
307 cvt(ffi::EVP_PKEY_derive_set_peer(self.as_ptr(), key.as_ptr()))?; in derive_set_peer()
322 cvt(ffi::EVP_PKEY_decrypt( in decrypt()
[all …]
Dencrypt.rs50 use crate::{cvt, cvt_p};
105 cvt(ffi::EVP_PKEY_CTX_get_rsa_padding(self.pctx, &mut pad)) in rsa_padding()
119 cvt(ffi::EVP_PKEY_CTX_set_rsa_padding( in set_rsa_padding()
136 cvt(ffi::EVP_PKEY_CTX_set_rsa_mgf1_md( in set_rsa_mgf1_md()
154 cvt(ffi::EVP_PKEY_CTX_set_rsa_oaep_md( in set_rsa_oaep_md()
175 cvt(ffi::EVP_PKEY_CTX_set0_rsa_oaep_label( in set_rsa_oaep_label()
224 cvt(ffi::EVP_PKEY_encrypt( in encrypt()
244 cvt(ffi::EVP_PKEY_encrypt( in encrypt_len()
309 cvt(ffi::EVP_PKEY_CTX_get_rsa_padding(self.pctx, &mut pad)) in rsa_padding()
323 cvt(ffi::EVP_PKEY_CTX_set_rsa_padding( in set_rsa_padding()
[all …]
Dbn.rs36 use crate::{cvt, cvt_n, cvt_p, LenType};
169 unsafe { cvt(ffi::BN_add_word(self.as_ptr(), w as ffi::BN_ULONG)).map(|_| ()) } in add_word()
175 unsafe { cvt(ffi::BN_sub_word(self.as_ptr(), w as ffi::BN_ULONG)).map(|_| ()) } in sub_word()
181 unsafe { cvt(ffi::BN_mul_word(self.as_ptr(), w as ffi::BN_ULONG)).map(|_| ()) } in mul_word()
216 unsafe { cvt(ffi::BN_rand_range(rnd.as_ptr(), self.as_ptr())).map(|_| ()) } in rand_range()
223 unsafe { cvt(ffi::BN_pseudo_rand_range(rnd.as_ptr(), self.as_ptr())).map(|_| ()) } in pseudo_rand_range()
232 unsafe { cvt(ffi::BN_set_bit(self.as_ptr(), n.into())).map(|_| ()) } in set_bit()
241 unsafe { cvt(ffi::BN_clear_bit(self.as_ptr(), n.into())).map(|_| ()) } in clear_bit()
257 unsafe { cvt(ffi::BN_mask_bits(self.as_ptr(), n.into())).map(|_| ()) } in mask_bits()
263 unsafe { cvt(ffi::BN_lshift1(self.as_ptr(), a.as_ptr())).map(|_| ()) } in lshift1()
[all …]
Dmd_ctx.rs88 use crate::{cvt, cvt_n, cvt_p};
132 cvt(ffi::EVP_DigestInit_ex( in digest_init()
157 cvt(ffi::EVP_DigestSignInit( in digest_sign_init()
183 cvt(ffi::EVP_DigestVerifyInit( in digest_verify_init()
199 cvt(ffi::EVP_DigestUpdate( in digest_update()
214 cvt(ffi::EVP_DigestSignUpdate( in digest_sign_update()
229 cvt(ffi::EVP_DigestVerifyUpdate( in digest_verify_update()
246 cvt(ffi::EVP_DigestFinal( in digest_final()
264 cvt(ffi::EVP_DigestFinalXOF( in digest_final_xof()
284 cvt(ffi::EVP_DigestSignFinal( in digest_sign_final()
[all …]
Dec.rs29 use crate::{cvt, cvt_n, cvt_p, init};
180 cvt(ffi::EC_GROUP_get_curve_GFp( in components_gfp()
207 cvt(ffi::EC_GROUP_get_curve_GF2m( in components_gf2m()
226 cvt(ffi::EC_GROUP_get_cofactor( in cofactor()
266 cvt(ffi::EC_GROUP_set_generator( in set_generator()
284 cvt(ffi::EC_GROUP_get_order( in order()
344 cvt(ffi::EC_POINT_add( in add()
366 cvt(ffi::EC_POINT_mul( in mul()
388 cvt(ffi::EC_POINT_mul( in mul_generator()
411 cvt(ffi::EC_POINT_mul( in mul_full()
[all …]
Dderive.rs58 use crate::{cvt, cvt_p};
81 .and_then(|ctx| cvt(ffi::EVP_PKEY_derive_init(ctx.0)).map(|_| ctx)) in new()
91 unsafe { cvt(ffi::EVP_PKEY_derive_set_peer(self.0, key.as_ptr())).map(|_| ()) } in set_peer()
108 cvt(ffi::EVP_PKEY_derive_set_peer_ex( in set_peer_ex()
128 cvt(ffi::EVP_PKEY_derive(self.0, ptr::null_mut(), &mut len)).map(|_| len) in len()
142 cvt(ffi::EVP_PKEY_derive( in derive()
Dsign.rs81 use crate::{cvt, cvt_p};
206 cvt(ffi::EVP_PKEY_CTX_get_rsa_padding(self.pctx, &mut pad)) in rsa_padding()
220 cvt(ffi::EVP_PKEY_CTX_set_rsa_padding( in set_rsa_padding()
237 cvt(ffi::EVP_PKEY_CTX_set_rsa_pss_saltlen( in set_rsa_pss_saltlen()
254 cvt(ffi::EVP_PKEY_CTX_set_rsa_mgf1_md( in set_rsa_mgf1_md()
272 cvt(ffi::EVP_DigestUpdate( in update()
297 cvt(ffi::EVP_DigestSignFinal( in len_intern()
310 cvt(ffi::EVP_DigestSign( in len_intern()
332 cvt(ffi::EVP_DigestSignFinal( in sign()
371 cvt(ffi::EVP_DigestSign( in sign_oneshot()
[all …]
Ddh.rs11 use crate::{cvt, cvt_p};
48 cvt(ffi::DH_check(self.as_ptr(), &mut codes))?; in check_key()
68 cvt(DH_set0_pqg( in from_pqg()
83 cvt(DH_set0_key(dh_ptr, pub_key.as_ptr(), ptr::null_mut()))?; in set_public_key()
93 cvt(DH_set0_key(dh_ptr, ptr::null_mut(), priv_key.as_ptr()))?; in set_private_key()
96 cvt(ffi::DH_generate_key(dh_ptr))?; in set_private_key()
106 cvt(DH_set0_key(dh_ptr, pub_key.as_ptr(), priv_key.as_ptr()))?; in set_key()
117 cvt(ffi::DH_generate_parameters_ex( in generate_params()
132 cvt(ffi::DH_generate_key(dh_ptr))?; in generate_key()
251 cvt(ffi::DH_compute_key( in compute_key()
Dcipher_ctx.rs57 use crate::{cvt, cvt_p};
172 cvt(f( in cipher_init()
226 cvt(ffi::EVP_SealInit( in seal_init()
272 cvt(ffi::EVP_OpenInit( in open_init()
333 cvt(ffi::EVP_CIPHER_CTX_rand_key( in rand_key()
354 cvt(ffi::EVP_CIPHER_CTX_set_key_length( in set_key_length()
407 cvt(ffi::EVP_CIPHER_CTX_ctrl( in set_iv_length()
446 cvt(ffi::EVP_CIPHER_CTX_ctrl( in tag()
465 cvt(ffi::EVP_CIPHER_CTX_ctrl( in set_tag_length()
482 cvt(ffi::EVP_CIPHER_CTX_ctrl( in set_tag()
[all …]
Dpkcs5.rs7 use crate::cvt;
57 let len = cvt(ffi::EVP_BytesToKey( in bytes_to_key()
74 cvt(ffi::EVP_BytesToKey( in bytes_to_key()
100 cvt(ffi::PKCS5_PBKDF2_HMAC( in pbkdf2_hmac()
131 cvt(ffi::EVP_PBE_scrypt( in scrypt()
Dfips.rs6 use crate::cvt;
14 unsafe { cvt(ffi::FIPS_mode_set(enabled as _)).map(|_| ()) } in enable()
Dmacros.rs43 cvt($f(bio.as_ptr(),
63 cvt($f(bio.as_ptr(),
82 cvt($f(bio.as_ptr(), self.as_ptr()))?;
94 let len = crate::cvt($f(::foreign_types::ForeignTypeRef::as_ptr(self),
97 crate::cvt($f(::foreign_types::ForeignTypeRef::as_ptr(self),
Drand.rs16 use crate::{cvt, LenType};
36 cvt(ffi::RAND_bytes(buf.as_mut_ptr(), buf.len() as LenType)).map(|_| ()) in rand_bytes()
Ddsa.rs20 use crate::{cvt, cvt_p};
200 cvt(DSA_set0_pqg(dsa.0, p.as_ptr(), q.as_ptr(), g.as_ptr()))?; in from_pqg()
212 cvt(ffi::DSA_generate_parameters_ex( in generate_params()
230 cvt(ffi::DSA_generate_key(dsa_ptr))?; in generate_key()
261 cvt(DSA_set0_pqg(dsa.0, p.as_ptr(), q.as_ptr(), g.as_ptr()))?; in from_private_components()
263 cvt(DSA_set0_key(dsa.0, pub_key.as_ptr(), priv_key.as_ptr()))?; in from_private_components()
302 cvt(DSA_set0_pqg(dsa.0, p.as_ptr(), q.as_ptr(), g.as_ptr()))?; in from_public_components()
304 cvt(DSA_set0_key(dsa.0, pub_key.as_ptr(), ptr::null_mut()))?; in from_public_components()
/third_party/rust/crates/rust-openssl/openssl/src/x509/
Dstore.rs55 use crate::{cvt, cvt_p};
98 unsafe { cvt(ffi::X509_STORE_add_cert(self.as_ptr(), cert.as_ptr())).map(|_| ()) } in add_cert()
108 unsafe { cvt(ffi::X509_STORE_set_default_paths(self.as_ptr())).map(|_| ()) } in set_default_paths()
125 unsafe { cvt(ffi::X509_STORE_set_flags(self.as_ptr(), flags.bits())).map(|_| ()) } in set_flags()
132 unsafe { cvt(ffi::X509_STORE_set_purpose(self.as_ptr(), purpose.as_raw())).map(|_| ()) } in set_purpose()
139 unsafe { cvt(ffi::X509_STORE_set1_param(self.as_ptr(), param.as_ptr())).map(|_| ()) } in set_param()
178 cvt(ffi::X509_LOOKUP_add_dir( in add_dir()
214 cvt(ffi::X509_load_cert_file( in load_cert_file()
232 cvt(ffi::X509_load_crl_file( in load_crl_file()
Dverify.rs9 use crate::{cvt, cvt_p};
97 unsafe { cvt(ffi::X509_VERIFY_PARAM_set_flags(self.as_ptr(), flags.bits)).map(|_| ()) } in set_flags()
104 cvt(ffi::X509_VERIFY_PARAM_clear_flags( in clear_flags()
125 cvt(ffi::X509_VERIFY_PARAM_set1_host( in set_host()
149 cvt(ffi::X509_VERIFY_PARAM_set1_ip( in set_ip()
188 unsafe { cvt(ffi::X509_VERIFY_PARAM_set_purpose(self.as_ptr(), purpose.0)).map(|_| ()) } in set_purpose()
Dmod.rs41 use crate::{cvt, cvt_n, cvt_p};
148 cvt(ffi::X509_STORE_CTX_init( in init()
229 unsafe { cvt(X509_set1_notAfter(self.0.as_ptr(), not_after.as_ptr())).map(|_| ()) } in set_not_after()
235 unsafe { cvt(X509_set1_notBefore(self.0.as_ptr(), not_before.as_ptr())).map(|_| ()) } in set_not_before()
245 unsafe { cvt(ffi::X509_set_version(self.0.as_ptr(), version as c_long)).map(|_| ()) } in set_version()
252 cvt(ffi::X509_set_serialNumber( in set_serial_number()
264 cvt(ffi::X509_set_issuer_name( in set_issuer_name()
293 cvt(ffi::X509_set_subject_name( in set_subject_name()
307 unsafe { cvt(ffi::X509_set_pubkey(self.0.as_ptr(), key.as_ptr())).map(|_| ()) } in set_pubkey()
356 cvt(ffi::X509_add_ext(self.0.as_ptr(), extension.as_ptr(), -1))?; in append_extension2()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/
Darm_float_to_q15.c143 int32x4_t cvt; in arm_float_to_q15() local
163 cvt = vcvtq_n_s32_f32(inV,15); in arm_float_to_q15()
164 outV = vqmovn_s32(cvt); in arm_float_to_q15()
175 cvt = vcvtq_n_s32_f32(inV,15); in arm_float_to_q15()
176 outV = vqmovn_s32(cvt); in arm_float_to_q15()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dmod.rs81 use crate::{cvt, cvt_n, cvt_p, init};
808 cvt(ffi::SSL_CTX_set0_verify_cert_store(self.as_ptr(), ptr) as c_int)?; in set_verify_cert_store()
849 unsafe { cvt(ffi::SSL_CTX_set_tmp_dh(self.as_ptr(), dh.as_ptr()) as c_int).map(|_| ()) } in set_tmp_dh()
876 unsafe { cvt(ffi::SSL_CTX_set_tmp_ecdh(self.as_ptr(), key.as_ptr()) as c_int).map(|_| ()) } in set_tmp_ecdh()
906 unsafe { cvt(ffi::SSL_CTX_set_default_verify_paths(self.as_ptr())).map(|_| ()) } in set_default_verify_paths()
916 cvt(ffi::SSL_CTX_load_verify_locations( in set_ca_file()
941 unsafe { cvt(ffi::SSL_CTX_add_client_CA(self.as_ptr(), cacert.as_ptr())).map(|_| ()) } in add_client_ca()
956 cvt(ffi::SSL_CTX_set_session_id_context( in set_session_id_context()
978 cvt(ffi::SSL_CTX_use_certificate_file( in set_certificate_file()
999 cvt(ffi::SSL_CTX_use_certificate_chain_file( in set_certificate_chain_file()
[all …]
Dbio.rs195 use crate::cvt;
208 cvt(ffi::BIO_meth_set_write__fixed_rust(method.0, Some(bwrite::<S>)))?;
209 cvt(ffi::BIO_meth_set_read__fixed_rust(method.0, Some(bread::<S>)))?;
210 cvt(ffi::BIO_meth_set_puts__fixed_rust(method.0, Some(bputs::<S>)))?;
211 cvt(ffi::BIO_meth_set_ctrl__fixed_rust(method.0, Some(ctrl::<S>)))?;
212 cvt(ffi::BIO_meth_set_create__fixed_rust(method.0, Some(create)))?;
213 cvt(ffi::BIO_meth_set_destroy__fixed_rust(method.0, Some(destroy::<S>)))?;
/third_party/gstreamer/gstplugins_good/tests/examples/v4l2/
Dcamctrl.c118 GstElement *src, *cvt, *fmt, *enc, *sink; in main() local
149 if (!(cvt = gst_element_factory_make ("videoconvert", NULL))) { in main()
160 gst_bin_add_many (GST_BIN (bin), src, cvt, fmt, enc, sink, NULL); in main()
163 if (!gst_element_link_many (src, cvt, fmt, enc, sink, NULL)) { in main()
/third_party/mesa3d/src/asahi/compiler/test/
Dtest-optimizer.cpp108 agx_index cvt = agx_temp(b->shader, AGX_SIZE_32); in TEST_F()
109 agx_mov_to(b, cvt, hx); in TEST_F()
110 agx_xor_to(b, wz, cvt, wy); in TEST_F()

12345