Home
last modified time | relevance | path

Searched refs:invalid_type (Results 1 – 25 of 32) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/
D7-1.c33 int invalid_type = -1; in main() local
41 while (invalid_type == PTHREAD_MUTEX_NORMAL || in main()
42 invalid_type == PTHREAD_MUTEX_ERRORCHECK || in main()
43 invalid_type == PTHREAD_MUTEX_RECURSIVE || in main()
44 invalid_type == PTHREAD_MUTEX_DEFAULT) { in main()
45 invalid_type--; in main()
48 ret = pthread_mutexattr_settype(&mta, invalid_type); in main()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtypes.mlir24 func private @invalid_type(!tf<"variant>">) -> ()
29 func private @invalid_type(!tf.variant<>) -> ()
34 func private @invalid_type(!tf.variant<tensor<??xf32>>) -> ()
39 func private @invalid_type(!tf.variant<vector<3xf32>>) -> ()
44 func private @invalid_type(!tf.variant<tensor<vector<2xf32>>>) -> ()
69 func private @invalid_type(!tf<"resource>">) -> ()
74 func private @invalid_type(!tf.resource<>) -> ()
79 func private @invalid_type(!tf.resource<tensor<??xf32>>) -> ()
84 func private @invalid_type(!tf.resource<vector<3xf32>>) -> ()
89 func private @invalid_type(!tf.resource<tensor<vector<2xf32>>>) -> ()
/external/llvm-project/lldb/test/API/python_api/default-constructor/
Dsb_value.py50 invalid_type = lldb.SBType()
51 obj.CreateChildAtOffset("a", 12, invalid_type)
52 obj.Cast(invalid_type)
54 obj.CreateValueFromAddress("x", 0x123, invalid_type)
56 obj.CreateValueFromData("x", invalid_data, invalid_type)
/external/rust/crates/serde_json/src/value/
Dde.rs149 _ => Err(self.invalid_type(&visitor)),
281 return Err(serde::de::Error::invalid_type( in deserialize_enum()
319 _ => Err(self.invalid_type(&visitor)), in deserialize_bool()
344 _ => Err(self.invalid_type(&visitor)), in deserialize_string()
363 _ => Err(self.invalid_type(&visitor)), in deserialize_byte_buf()
373 _ => Err(self.invalid_type(&visitor)), in deserialize_unit()
390 _ => Err(self.invalid_type(&visitor)), in deserialize_seq()
419 _ => Err(self.invalid_type(&visitor)), in deserialize_map()
435 _ => Err(self.invalid_type(&visitor)), in deserialize_struct()
502 None => Err(serde::de::Error::invalid_type( in newtype_variant_seed()
[all …]
/external/rust/crates/serde/src/de/
Dmod.rs206 fn invalid_type(unexp: Unexpected, exp: &Expected) -> Self {
1297 Err(Error::invalid_type(Unexpected::Bool(v), &self)) in visit_bool()
1343 Err(Error::invalid_type(Unexpected::Signed(v), &self)) in visit_i64()
1356 Err(Error::invalid_type(Unexpected::Other("i128"), &self))
1403 Err(Error::invalid_type(Unexpected::Unsigned(v), &self)) in visit_u64()
1416 Err(Error::invalid_type(Unexpected::Other("u128"), &self))
1439 Err(Error::invalid_type(Unexpected::Float(v), &self)) in visit_f64()
1471 Err(Error::invalid_type(Unexpected::Str(v), &self)) in visit_str()
1531 Err(Error::invalid_type(Unexpected::Bytes(v), &self)) in visit_bytes()
1581 Err(Error::invalid_type(Unexpected::Option, &self)) in visit_none()
[all …]
Dvalue.rs1462 None => Err(de::Error::invalid_type(de::Unexpected::Map, &"enum")), in variant_seed()
1501 Err(de::Error::invalid_type( in newtype_variant_seed()
1511 Err(de::Error::invalid_type( in tuple_variant()
1525 Err(de::Error::invalid_type( in struct_variant()
/external/llvm-project/clang/test/AST/
Dast-dump-invalid.cpp45 double foo1(double, invalid_type);
47 double Str::foo1(double, invalid_type)
/external/clang/test/Misc/
Dast-dump-invalid.cpp47 double foo1(double, invalid_type);
49 double Str::foo1(double, invalid_type)
/external/rust/crates/serde/src/private/
Dde.rs1005 fn invalid_type(self, exp: &Expected) -> E { in invalid_type() function
1006 de::Error::invalid_type(self.content.unexpected(), exp) in invalid_type()
1022 _ => Err(self.invalid_type(&visitor)), in deserialize_integer()
1041 _ => Err(self.invalid_type(&visitor)), in deserialize_float()
1119 _ => Err(self.invalid_type(&visitor)), in deserialize_bool()
1201 _ => Err(self.invalid_type(&visitor)), in deserialize_char()
1221 _ => Err(self.invalid_type(&visitor)), in deserialize_string()
1242 _ => Err(self.invalid_type(&visitor)), in deserialize_byte_buf()
1264 _ => Err(self.invalid_type(&visitor)), in deserialize_unit()
1317 _ => Err(self.invalid_type(&visitor)), in deserialize_seq()
[all …]
/external/rust/crates/serde_json/src/
Dde.rs116 fn invalid_type(self, exp: &dyn Expected) -> Error { in invalid_type() method
118 ParserNumber::F64(x) => de::Error::invalid_type(Unexpected::Float(x), exp), in invalid_type()
119 ParserNumber::U64(x) => de::Error::invalid_type(Unexpected::Unsigned(x), exp), in invalid_type()
120 ParserNumber::I64(x) => de::Error::invalid_type(Unexpected::Signed(x), exp), in invalid_type()
122 ParserNumber::String(_) => de::Error::invalid_type(Unexpected::Other("number"), exp), in invalid_type()
260 de::Error::invalid_type(Unexpected::Unit, exp) in peek_invalid_type()
267 de::Error::invalid_type(Unexpected::Bool(true), exp) in peek_invalid_type()
274 de::Error::invalid_type(Unexpected::Bool(false), exp) in peek_invalid_type()
279 Ok(n) => n.invalid_type(exp), in peek_invalid_type()
284 Ok(n) => n.invalid_type(exp), in peek_invalid_type()
[all …]
Draw.rs311 return Err(de::Error::invalid_type(Unexpected::Map, &self)); in deserialize()
341 return Err(de::Error::invalid_type(Unexpected::Map, &self)); in deserialize()
Derror.rs364 fn invalid_type(unexp: de::Unexpected, exp: &dyn de::Expected) -> Self { in invalid_type() method
/external/llvm-project/llvm/test/MC/Disassembler/WebAssembly/
Dwasm-error.txt8 # CHECK: block invalid_type
/external/llvm-project/clang/test/Sema/
Dfunction.c77 inline foo_t invalid_type() { // expected-error {{unknown type name 'foo_t'}} in invalid_type() function
/external/clang/test/Sema/
Dfunction.c76 inline foo_t invalid_type() { // expected-error {{unknown type name 'foo_t'}} in invalid_type() function
/external/llvm-project/llvm/test/tools/llvm-objdump/ELF/
Dsymbol-table.test19 # CHECK-NEXT:0000000000000000 g .text 0000000000000000 invalid_type
85 - Name: invalid_type
/external/llvm-project/clang/test/SemaCXX/
Dalignof.cpp107 invalid_type a; // expected-error {{unknown type}}
/external/selinux/libsepol/tests/policies/test-linker/
Dsmall-base.conf500 type invalid_type;
512 allow g_b_type_1 invalid_type : sem { create destroy };
/external/tensorflow/tensorflow/core/graph/
Dtestlib.cc284 Node* InvalidRefType(Graph* g, DataType out_type, DataType invalid_type) { in InvalidRefType() argument
285 DCHECK(out_type != invalid_type); in InvalidRefType()
289 .Attr("TOut", invalid_type) in InvalidRefType()
Dtestlib.h138 Node* InvalidRefType(Graph* g, DataType out_type, DataType invalid_type);
/external/selinux/libsepol/tests/policies/test-hooks/
Dsmall-base.conf431 type invalid_type;
Dcmp_policy.conf431 type invalid_type;
/external/openscreen/discovery/mdns/
Dmdns_trackers_unittest.cc339 MdnsRecord invalid_type(a_record_.name(), DnsType::kPTR, in TEST_F() local
343 EXPECT_EQ(tracker->Update(invalid_type).error(), in TEST_F()
/external/rust/crates/serde_cbor/src/
Derror.rs226 fn invalid_type(unexp: de::Unexpected<'_>, exp: &dyn de::Expected) -> Error { in invalid_type() method
/external/rust/crates/csv/src/
Ddeserializer.rs594 Err(DeserializeError::invalid_type(unexp, &"newtype variant")) in newtype_variant_seed()
603 Err(DeserializeError::invalid_type(unexp, &"tuple variant")) in tuple_variant()
612 Err(DeserializeError::invalid_type(unexp, &"struct variant")) in struct_variant()

12