Home
last modified time | relevance | path

Searched refs:Unspecified (Results 1 – 25 of 161) sorted by relevance

1234567

/external/rust/crates/ring/src/io/
Dder.rs58 ) -> Result<untrusted::Input<'a>, error::Unspecified> { in expect_tag_and_get_value() argument
61 return Err(error::Unspecified); in expect_tag_and_get_value()
68 ) -> Result<(u8, untrusted::Input<'a>), error::Unspecified> { in read_tag_and_get_value() argument
71 return Err(error::Unspecified); // High tag number form is not allowed. in read_tag_and_get_value()
82 return Err(error::Unspecified); // Not the canonical encoding. in read_tag_and_get_value()
91 return Err(error::Unspecified); // Not the canonical encoding. in read_tag_and_get_value()
96 return Err(error::Unspecified); // We don't support longer lengths. in read_tag_and_get_value()
106 ) -> Result<untrusted::Input<'a>, error::Unspecified> { in bit_string_with_no_unused_bits() argument
107 nested(input, Tag::BitString, error::Unspecified, |value| { in bit_string_with_no_unused_bits()
108 let unused_bits_at_end = value.read_byte().map_err(|_| error::Unspecified)?; in bit_string_with_no_unused_bits()
[all …]
Dpositive.rs27 ) -> Result<Self, error::Unspecified> { in new_non_empty_without_leading_zeros() argument
29 return Err(error::Unspecified); in new_non_empty_without_leading_zeros()
32 return Err(error::Unspecified); in new_non_empty_without_leading_zeros()
/external/rust/crates/ring/src/
Drand.rs33 fn fill(&self, dest: &mut [u8]) -> Result<(), error::Unspecified>; in fill() argument
41 fn fill(&self, dest: &mut [u8]) -> Result<(), error::Unspecified> { in fill() argument
64 ) -> Result<Random<T>, error::Unspecified> in generate()
78 fn fill_impl(&self, dest: &mut [u8]) -> Result<(), error::Unspecified>; in fill_impl() argument
159 fn fill_impl(&self, dest: &mut [u8]) -> Result<(), error::Unspecified> { in fill_impl() argument
203 pub fn chunk(dest: &mut [u8]) -> Result<usize, error::Unspecified> { in chunk() argument
225 return Err(error::Unspecified); in chunk()
240 pub fn chunk(mut dest: &mut [u8]) -> Result<usize, error::Unspecified> { in chunk() argument
249 .ok_or(error::Unspecified)? in chunk()
251 .map_err(|_| error::Unspecified)? in chunk()
[all …]
Derror.rs77 pub struct Unspecified; struct
80 impl core::fmt::Display for Unspecified { implementation
87 impl std::error::Error for Unspecified {} implementation
89 impl From<untrusted::EndOfInput> for Unspecified { implementation
95 impl From<core::array::TryFromSliceError> for Unspecified { implementation
194 impl From<KeyRejected> for Unspecified { implementation
Dconstant_time.rs23 pub fn verify_slices_are_equal(a: &[u8], b: &[u8]) -> Result<(), error::Unspecified> { in verify_slices_are_equal() argument
25 return Err(error::Unspecified); in verify_slices_are_equal()
30 _ => Err(error::Unspecified), in verify_slices_are_equal()
43 fn test_constant_time() -> Result<(), error::Unspecified> { in test_constant_time()
Dbits.rs32 pub fn from_usize_bytes(bytes: usize) -> Result<Self, error::Unspecified> { in from_usize_bytes() argument
33 let bits = bytes.checked_mul(8).ok_or(error::Unspecified)?; in from_usize_bytes()
63 pub(crate) fn try_sub_1(self) -> Result<Self, error::Unspecified> { in try_sub_1() argument
64 let sum = self.0.checked_sub(1).ok_or(error::Unspecified)?; in try_sub_1()
Dagreement.rs77 ) -> Result<(), error::Unspecified>,
108 ) -> Result<Self, error::Unspecified> { in generate() argument
124 pub fn compute_public_key(&self) -> Result<PublicKey, error::Unspecified> { in compute_public_key() argument
253 ) -> Result<R, error::Unspecified> { in agree_ephemeral() argument
265 ) -> Result<R, error::Unspecified> { in agree_ephemeral_() argument
272 return Err(error::Unspecified); in agree_ephemeral_()
Dpkcs8.rs109 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_key__()
121 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_key__()
136 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_key__()
141 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_key__()
151 error::Unspecified, in unwrap_key__()
154 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in unwrap_key__()
Dhkdf.rs131 ) -> Result<Okm<'a, L>, error::Unspecified> { in expand() argument
134 return Err(error::Unspecified); in expand()
183 pub fn fill(self, out: &mut [u8]) -> Result<(), error::Unspecified> { in fill() argument
193 ) -> Result<(), error::Unspecified> { in fill_okm() argument
195 return Err(error::Unspecified); in fill_okm()
Dec.rs26 check_private_key_bytes: fn(bytes: &[u8]) -> Result<(), error::Unspecified>,
29 fn(rng: &dyn rand::SecureRandom, &mut [u8]) -> Result<(), error::Unspecified>,
32 fn(public_out: &mut [u8], private_key: &Seed) -> Result<(), error::Unspecified>,
/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-member-pointers.cpp81 struct Unspecified;
90 int Unspecified::*u_d_memptr;
112 struct Unspecified : Multiple, Virtual { struct
126 void (Unspecified::*u_f_mp)() = &Unspecified::foo; argument
192 void (Unspecified::*u_f_memptr)() = &Unspecified::foo; in EmitNonVirtualMemberPointers()
256 bool nullTestDataUnspecified(int Unspecified::*mp) { in nullTestDataUnspecified()
278 bool nullTestFunctionUnspecified(void (Unspecified::*mp)()) { in nullTestFunctionUnspecified()
319 int loadDataMemberPointerUnspecified(Unspecified *o, int Unspecified::*memptr) { in loadDataMemberPointerUnspecified()
425 bool unspecFuncMemptrEq(void (Unspecified::*l)(), void (Unspecified::*r)()) { in unspecFuncMemptrEq()
452 bool unspecFuncMemptrNeq(void (Unspecified::*l)(), void (Unspecified::*r)()) { in unspecFuncMemptrNeq()
[all …]
/external/rust/crates/ring/src/aead/
Dless_safe_key.rs38 ) -> Result<Self, error::Unspecified> { in new_() argument
55 ) -> Result<&'in_out mut [u8], error::Unspecified> in open_in_place()
72 ) -> Result<&'in_out mut [u8], error::Unspecified> in open_within()
95 ) -> Result<(), error::Unspecified> in seal_in_place_append_tag()
114 ) -> Result<Tag, error::Unspecified> in seal_in_place_separate_tag()
144 ) -> Result<&'in_out mut [u8], error::Unspecified> { in open_within_() argument
148 .ok_or(error::Unspecified)?; in open_within_()
151 .ok_or(error::Unspecified)?; in open_within_()
163 return Err(error::Unspecified); in open_within_()
175 ) -> Result<Tag, error::Unspecified> { in seal_in_place_separate_tag_() argument
[all …]
Dquic.rs54 ) -> Result<Self, error::Unspecified> { in new() argument
64 pub fn new_mask(&self, sample: &[u8]) -> Result<[u8; 5], error::Unspecified> { in new_mask() argument
85 init: fn(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified>,
147 fn aes_init_128(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified> { in aes_init_128() argument
152 fn aes_init_256(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified> { in aes_init_256() argument
174 fn chacha20_init(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
/external/rust/crates/ring/src/ec/
Dsuite_b.rs35 ) -> Result<(), error::Unspecified> { in verify_affine_point_is_on_the_curve() argument
51 ) -> Result<Elem<R>, error::Unspecified> { in verify_jacobian_point_is_on_the_curve() argument
141 ) -> Result<(), error::Unspecified> { in verify_affine_point_is_on_the_curve_scaled() argument
150 return Err(error::Unspecified); in verify_affine_point_is_on_the_curve_scaled()
181 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in key_pair_from_pkcs8_()
187 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in key_pair_from_pkcs8_()
193 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in key_pair_from_pkcs8_()
204 error::Unspecified, in key_pair_from_pkcs8_()
207 .map_err(|error::Unspecified| error::KeyRejected::invalid_encoding())?; in key_pair_from_pkcs8_()
219 .map_err(|error::Unspecified| error::KeyRejected::invalid_component())?; in key_pair_from_bytes()
[all …]
Dkeys.rs10 pub fn derive(seed: Seed) -> Result<Self, error::Unspecified> { in derive() argument
35 ) -> Result<Self, error::Unspecified> { in generate() argument
49 ) -> Result<Self, error::Unspecified> { in from_bytes() argument
52 return Err(error::Unspecified); in from_bytes()
68 pub fn compute_public_key(&self) -> Result<PublicKey, error::Unspecified> { in compute_public_key() argument
/external/rust/crates/ring/src/rsa/
Dpadding.rs44 ) -> Result<(), error::Unspecified>; in encode() argument
57 ) -> Result<(), error::Unspecified>; in verify() argument
88 ) -> Result<(), error::Unspecified> { in encode() argument
100 ) -> Result<(), error::Unspecified> { in verify() argument
107 return Err(error::Unspecified); in verify()
243 ) -> Result<(), error::Unspecified> { in encode() argument
312 ) -> Result<(), error::Unspecified> { in verify() argument
326 return Err(error::Unspecified); in verify()
344 return Err(error::Unspecified); in verify()
353 masked_db.read_all(error::Unspecified, |masked_bytes| { in verify()
[all …]
Dverification.rs26 ) -> Result<(), error::Unspecified> { in verify() argument
174 ) -> Result<(), error::Unspecified> { in verify() argument
190 ) -> Result<(), error::Unspecified> { in verify() argument
198 untrusted::Input::from(decoded).read_all(error::Unspecified, |m| { in verify()
/external/rust/crates/ring/src/rsa/keypair/
Dcore.rs66 .map_err(|error::Unspecified| KeyRejected::invalid_encoding())?;
68 .map_err(|error::Unspecified| KeyRejected::invalid_encoding())?;
76 Err(error::Unspecified) => {
146 .map_err(|error::Unspecified| KeyRejected::inconsistent_components())?;
162 .map_err(|error::Unspecified| KeyRejected::inconsistent_components())?;
183 .map_err(|error::Unspecified| KeyRejected::inconsistent_components())?;
203 .map_err(|error::Unspecified| KeyRejected::invalid_component())?
209 .map_err(|error::Unspecified| KeyRejected::unexpected_error())?
219 .map_err(|error::Unspecified| KeyRejected::inconsistent_components())?;
308 .map_err(|error::Unspecified| KeyRejected::inconsistent_components())?; in new()
[all …]
/external/rust/crates/ring/tests/
Daead_tests.rs100 f: impl Fn(&'static aead::Algorithm, KnownAnswerTestCase) -> Result<(), error::Unspecified>, in test_aead() argument
117 Err(error::Unspecified) in test_aead()
143 ) -> Result<(), error::Unspecified> in test_seal_append_tag() argument
145 Seal: FnOnce(aead::Nonce, &mut Vec<u8>) -> Result<(), error::Unspecified>, in test_seal_append_tag()
161 ) -> Result<(), error::Unspecified> in test_seal_separate_tag() argument
163 Seal: Fn(aead::Nonce, &mut [u8]) -> Result<aead::Tag, error::Unspecified>, in test_seal_separate_tag()
176 ) -> Result<(), error::Unspecified> in test_open_in_place() argument
179 for<'a> FnOnce(aead::Nonce, &'a mut [u8]) -> Result<&'a mut [u8], error::Unspecified>, in test_open_in_place()
196 ) -> Result<(), error::Unspecified> in test_open_within() argument
202 ) -> Result<&'a mut [u8], error::Unspecified>, in test_open_within()
[all …]
/external/rust/crates/ring/src/ec/suite_b/
Dprivate_key.rs30 ) -> Result<Scalar, error::Unspecified> { in random_scalar() argument
42 ) -> Result<(), error::Unspecified> { in generate_private_scalar_bytes() argument
85 Err(error::Unspecified) in generate_private_scalar_bytes()
101 ) -> Result<(), error::Unspecified> { in check_scalar_big_endian_bytes() argument
114 ) -> Result<Scalar, error::Unspecified> { in scalar_from_big_endian_bytes() argument
137 ) -> Result<(), error::Unspecified> { in public_from_private() argument
153 ) -> Result<(Elem<R>, Elem<R>), error::Unspecified> { in affine_from_jacobian() argument
190 ) -> Result<(), error::Unspecified> { in big_endian_affine_from_jacobian() argument
/external/oboe/src/common/
DAudioStreamBuilder.cpp85 return (getSampleRate() == oboe::Unspecified || getSampleRate() == other.getSampleRate()) in isCompatible()
86 && (getFormat() == (AudioFormat)oboe::Unspecified || getFormat() == other.getFormat()) in isCompatible()
87 …&& (getFramesPerDataCallback() == oboe::Unspecified || getFramesPerDataCallback() == other.getFram… in isCompatible()
88 … && (getChannelCount() == oboe::Unspecified || getChannelCount() == other.getChannelCount()); in isCompatible()
127 if (getFormat() == oboe::AudioFormat::Unspecified) { in openStream()
130 if (getChannelCount() == oboe::Unspecified) { in openStream()
133 if (getSampleRate() == oboe::Unspecified) { in openStream()
136 if (getFramesPerDataCallback() == oboe::Unspecified) { in openStream()
/external/clang/lib/CodeGen/
DCGLoopInfo.cpp27 Attrs.VectorizeEnable == LoopAttributes::Unspecified && in createMetadata()
28 Attrs.UnrollEnable == LoopAttributes::Unspecified && in createMetadata()
29 Attrs.DistributeEnable == LoopAttributes::Unspecified && in createMetadata()
67 if (Attrs.VectorizeEnable != LoopAttributes::Unspecified) { in createMetadata()
76 if (Attrs.UnrollEnable != LoopAttributes::Unspecified) { in createMetadata()
88 if (Attrs.DistributeEnable != LoopAttributes::Unspecified) { in createMetadata()
103 : IsParallel(IsParallel), VectorizeEnable(LoopAttributes::Unspecified), in LoopAttributes()
104 UnrollEnable(LoopAttributes::Unspecified), VectorizeWidth(0), in LoopAttributes()
106 DistributeEnable(LoopAttributes::Unspecified) {} in LoopAttributes()
113 VectorizeEnable = LoopAttributes::Unspecified; in clear()
[all …]
/external/rust/crates/ring/src/ec/suite_b/ecdsa/
Dverification.rs36 -> Result<(untrusted::Input<'a>, untrusted::Input<'a>), error::Unspecified>,
58 ) -> Result<(), error::Unspecified> { in verify() argument
80 ) -> Result<(), error::Unspecified> { in verify_digest() argument
105 let (r, s) = signature.read_all(error::Unspecified, |input| { in verify_digest()
169 Err(error::Unspecified) in verify_digest()
178 ) -> Result<(untrusted::Input<'a>, untrusted::Input<'a>), error::Unspecified> { in split_rs_fixed() argument
188 ) -> Result<(untrusted::Input<'a>, untrusted::Input<'a>), error::Unspecified> { in split_rs_asn1() argument
189 der::nested(input, der::Tag::Sequence, error::Unspecified, |input| { in split_rs_asn1()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
Dcoverage.txt9 3 YES Unspecified.
16 10 YES Unspecified.
25 19 YES Unspecified.
36 29 YES Unspecified, need to reboot.
/external/rust/crates/ring/src/ec/curve25519/
Dx25519.rs44 fn x25519_check_private_key_bytes(bytes: &[u8]) -> Result<(), error::Unspecified> { in x25519_check_private_key_bytes() argument
52 ) -> Result<(), error::Unspecified> { in x25519_generate_private_key() argument
59 ) -> Result<(), error::Unspecified> { in x25519_public_from_private() argument
97 ) -> Result<(), error::Unspecified> { in x25519_ecdh() argument
142 return Err(error::Unspecified); in x25519_ecdh()

1234567