Home
last modified time | relevance | path

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

12345678

/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 …]
/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
241 return Err(error::Unspecified); in chunk()
256 pub fn chunk(mut dest: &mut [u8]) -> Result<usize, error::Unspecified> { in chunk() argument
265 .ok_or(error::Unspecified)? in chunk()
267 .map_err(|_| error::Unspecified)? in chunk()
[all …]
Derror.rs77 pub struct Unspecified; struct
79 impl Unspecified { impl
86 impl core::fmt::Display for Unspecified { implementation
93 impl std::error::Error for Unspecified { implementation
104 impl From<untrusted::EndOfInput> for Unspecified { implementation
106 Unspecified in from()
110 impl From<core::array::TryFromSliceError> for Unspecified { implementation
112 Unspecified in from()
222 impl From<KeyRejected> for Unspecified { implementation
224 Unspecified in from()
Daead.rs51 fn advance(&mut self) -> Result<Nonce, error::Unspecified>; in advance() argument
112 ) -> Result<&'in_out mut [u8], error::Unspecified> in open_in_place()
168 ) -> Result<&'in_out mut [u8], error::Unspecified> in open_within()
189 ) -> Result<&'in_out mut [u8], error::Unspecified> { in open_within_() argument
196 ) -> Result<&'in_out mut [u8], error::Unspecified> { in open_within_() argument
201 .ok_or(error::Unspecified)?; in open_within_()
204 .ok_or(error::Unspecified)?; in open_within_()
223 return Err(error::Unspecified); in open_within_()
278 ) -> Result<(), error::Unspecified> in seal_in_place()
300 ) -> Result<(), error::Unspecified> in seal_in_place_append_tag()
[all …]
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.rs29 pub fn from_usize_bytes(bytes: usize) -> Result<Self, error::Unspecified> { in from_usize_bytes() argument
30 let bits = bytes.checked_mul(8).ok_or(error::Unspecified)?; in from_usize_bytes()
60 pub fn try_sub_1(self) -> Result<BitLength, error::Unspecified> { in try_sub_1() argument
61 let sum = self.0.checked_sub(1).ok_or(error::Unspecified)?; in try_sub_1()
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__()
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/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
34 ) -> Result<Self, error::Unspecified> { in generate() argument
48 ) -> Result<Seed, error::Unspecified> { in from_bytes() argument
51 return Err(error::Unspecified); in from_bytes()
67 pub fn compute_public_key(&self) -> Result<PublicKey, error::Unspecified> { in compute_public_key() argument
/external/rust/crates/ring/src/rsa/
Dpadding.rs40 ) -> Result<(), error::Unspecified>; in encode() argument
53 ) -> Result<(), error::Unspecified>; in verify() argument
84 ) -> Result<(), error::Unspecified> { in encode() argument
96 ) -> Result<(), error::Unspecified> { in verify() argument
103 return Err(error::Unspecified); in verify()
243 ) -> Result<(), error::Unspecified> { in encode() argument
287 *(masked_db.next().ok_or(error::Unspecified)?) ^= 0x01; in encode()
314 ) -> Result<(), error::Unspecified> { in verify() argument
328 return Err(error::Unspecified); in verify()
346 return Err(error::Unspecified); in verify()
[all …]
Dsigning.rs177 .map_err(|error::Unspecified| KeyRejected::invalid_encoding())?; in from_der_reader()
186 .map_err(|error::Unspecified| KeyRejected::invalid_encoding()) in from_der_reader()
199 .map_err(|error::Unspecified| KeyRejected::invalid_encoding())?; in from_der_reader()
201 .map_err(|error::Unspecified| KeyRejected::invalid_encoding())?; in from_der_reader()
209 Err(error::Unspecified) => { in from_der_reader()
282 .map_err(|error::Unspecified| KeyRejected::inconsistent_components())?; in from_der_reader()
302 .map_err(|error::Unspecified| KeyRejected::inconsistent_components())?; in from_der_reader()
323 .map_err(|error::Unspecified| KeyRejected::inconsistent_components())?; in from_der_reader()
343 .map_err(|error::Unspecified| KeyRejected::invalid_component())? in from_der_reader()
349 .map_err(|error::Unspecified| KeyRejected::unexpected_error())? in from_der_reader()
[all …]
Dverification.rs63 .map_err(|error::Unspecified| error::KeyRejected::unexpected_error())?; in from_modulus_and_exponent()
92 ) -> Result<(), error::Unspecified> { in verify() argument
264 ) -> Result<(), error::Unspecified> { in verify() argument
283 ) -> Result<(), error::Unspecified> { in verify_rsa_() argument
294 return Err(error::Unspecified); in verify_rsa_()
302 return Err(error::Unspecified); in verify_rsa_()
315 untrusted::Input::from(decoded).read_all(error::Unspecified, |m| { in verify_rsa_()
/external/llvm-project/clang/test/CodeGenCXX/
Dmicrosoft-abi-member-pointers.cpp226 struct Unspecified;
235 int Unspecified::*u_d_memptr;
257 struct Unspecified : Multiple, Virtual { struct
271 void (Unspecified::*u_f_mp)() = &Unspecified::foo; argument
337 void (Unspecified::*u_f_memptr)() = &Unspecified::foo; in EmitNonVirtualMemberPointers()
401 bool nullTestDataUnspecified(int Unspecified::*mp) { in nullTestDataUnspecified()
423 bool nullTestFunctionUnspecified(void (Unspecified::*mp)()) { in nullTestFunctionUnspecified()
464 int loadDataMemberPointerUnspecified(Unspecified *o, int Unspecified::*memptr) { in loadDataMemberPointerUnspecified()
570 bool unspecFuncMemptrEq(void (Unspecified::*l)(), void (Unspecified::*r)()) { in unspecFuncMemptrEq()
597 bool unspecFuncMemptrNeq(void (Unspecified::*l)(), void (Unspecified::*r)()) { in unspecFuncMemptrNeq()
[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()
126 if (getFormat() == oboe::AudioFormat::Unspecified) { in openStream()
129 if (getChannelCount() == oboe::Unspecified) { in openStream()
132 if (getSampleRate() == oboe::Unspecified) { in openStream()
135 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/llvm-project/clang/lib/CodeGen/
DCGLoopInfo.cpp90 else if (Attrs.UnrollEnable != LoopAttributes::Unspecified || in createPartialUnrollMetadata()
218 else if (Attrs.VectorizeEnable != LoopAttributes::Unspecified || in createLoopVectorizeMetadata()
219 Attrs.VectorizePredicateEnable != LoopAttributes::Unspecified || in createLoopVectorizeMetadata()
254 if (Attrs.VectorizePredicateEnable != LoopAttributes::Unspecified && in createLoopVectorizeMetadata()
290 if (Attrs.VectorizeEnable != LoopAttributes::Unspecified || in createLoopVectorizeMetadata()
432 : IsParallel(IsParallel), VectorizeEnable(LoopAttributes::Unspecified), in LoopAttributes()
433 UnrollEnable(LoopAttributes::Unspecified), in LoopAttributes()
434 UnrollAndJamEnable(LoopAttributes::Unspecified), in LoopAttributes()
435 VectorizePredicateEnable(LoopAttributes::Unspecified), VectorizeWidth(0), in LoopAttributes()
437 DistributeEnable(LoopAttributes::Unspecified), PipelineDisabled(false), in LoopAttributes()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DSpecifiers.h32 enum class ConstexprSpecKind { Unspecified, Constexpr, Consteval, Constinit }; enumerator
35 enum class TypeSpecifierWidth { Unspecified, Short, Long, LongLong }; enumerator
38 enum class TypeSpecifierSign { Unspecified, Signed, Unsigned }; enumerator
40 enum class TypeSpecifiersPipe { Unspecified, Pipe }; enumerator
312 Unspecified, enumerator
356 Unspecified = 3, enumerator
/external/rust/crates/ring/src/aead/
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], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
/external/rust/crates/ring/tests/
Daead_tests.rs111 ) -> Result<(), error::Unspecified>, in test_aead() argument
119 ) -> Result<&'a mut [u8], error::Unspecified>, in test_aead()
244 assert_eq!(Err(error::Unspecified), s_result); in test_aead()
245 assert_eq!(Err(error::Unspecified), o_result); in test_aead()
263 ) -> Result<(), error::Unspecified> { in seal_with_key() argument
275 ) -> Result<&'a mut [u8], error::Unspecified> { in open_with_key() argument
286 ) -> Result<(), error::Unspecified> { in seal_with_less_safe_key() argument
298 ) -> Result<&'a mut [u8], error::Unspecified> { in open_with_less_safe_key() argument
333 fn test_aead_nonce_sizes() -> Result<(), error::Unspecified> { in test_aead_nonce_sizes()
475 fn advance(&mut self) -> Result<aead::Nonce, error::Unspecified> { in advance() argument
[all …]
/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/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()
166 Err(error::Unspecified) in verify_digest()
175 ) -> Result<(untrusted::Input<'a>, untrusted::Input<'a>), error::Unspecified> { in split_rs_fixed() argument
185 ) -> Result<(untrusted::Input<'a>, untrusted::Input<'a>), error::Unspecified> { in split_rs_asn1() argument
186 der::nested(input, der::Tag::Sequence, error::Unspecified, |input| { in split_rs_asn1()
/external/rust/crates/ring/src/ec/curve25519/
Dx25519.rs43 fn x25519_check_private_key_bytes(bytes: &[u8]) -> Result<(), error::Unspecified> { in x25519_check_private_key_bytes() argument
51 ) -> Result<(), error::Unspecified> { in x25519_generate_private_key() argument
58 ) -> Result<(), error::Unspecified> { in x25519_public_from_private() argument
96 ) -> Result<(), error::Unspecified> { in x25519_ecdh() argument
141 return Err(error::Unspecified); in x25519_ecdh()

12345678