Home
last modified time | relevance | path

Searched refs:invalid_value (Results 1 – 19 of 19) sorted by relevance

/third_party/rust/crates/clap/src/error/
Dformat.rs179 let invalid_value = error.get(ContextKind::InvalidValue); in write_dynamic_context() localVariable
182 Some(ContextValue::String(invalid_value)), in write_dynamic_context()
183 ) = (invalid_arg, invalid_value) in write_dynamic_context()
185 if invalid_value.is_empty() { in write_dynamic_context()
191 styled.none(invalid_value); in write_dynamic_context()
275 let invalid_value = error.get(ContextKind::InvalidValue); in write_dynamic_context() localVariable
278 Some(ContextValue::String(invalid_value)), in write_dynamic_context()
279 ) = (invalid_arg, invalid_value) in write_dynamic_context()
282 styled.warning(invalid_value); in write_dynamic_context()
315 let invalid_value = error.get(ContextKind::InvalidValue); in write_dynamic_context() localVariable
[all …]
Dmod.rs376 Self::invalid_value(cmd, "".to_owned(), good_vals, arg) in empty_value()
395 pub(crate) fn invalid_value( in invalid_value() method
/third_party/mesa3d/src/mesa/main/
Dget.c2510 goto invalid_value; in find_value_indexed()
2520 goto invalid_value; in find_value_indexed()
2527 goto invalid_value; in find_value_indexed()
2536 goto invalid_value; in find_value_indexed()
2543 goto invalid_value; in find_value_indexed()
2550 goto invalid_value; in find_value_indexed()
2557 goto invalid_value; in find_value_indexed()
2565 goto invalid_value; in find_value_indexed()
2576 goto invalid_value; in find_value_indexed()
2587 goto invalid_value; in find_value_indexed()
[all …]
Dshaderapi.c2526 goto invalid_value; in program_parameteri()
2557 goto invalid_value; in program_parameteri()
2570 invalid_value: in program_parameteri()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_loop06.c19 static unsigned int invalid_value, half_value, unalign_value; variable
30 {&invalid_value, LOOP_SET_BLOCK_SIZE,
39 {&invalid_value, LOOP_CONFIGURE,
103 invalid_value = pg_size * 2 ; in setup()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl37.c25 static unsigned int invalid_value, half_value, sys_value; variable
32 {&invalid_value, EINVAL, "F_SETPIPE_SZ and size is beyond 1<<31"},
77 invalid_value = (1U << 31) + 1; in setup()
/third_party/rust/crates/serde/serde/src/de/
Dimpls.rs154 Err(Error::invalid_value(Unexpected::Unsigned(0), &self))
179 Err(Error::invalid_value(Unexpected::Unsigned(0), &self))
197 Err(Error::invalid_value(Unexpected::Signed(v as i64), &self))
214 Err(Error::invalid_value(Unexpected::Signed(v as i64), &self))
229 Err(Error::invalid_value(Unexpected::Signed(v as i64), &self))
244 Err(Error::invalid_value(Unexpected::Signed(v as i64), &self))
259 Err(Error::invalid_value(Unexpected::Unsigned(v as u64), &self))
274 Err(Error::invalid_value(Unexpected::Unsigned(v as u64), &self))
381 Err(Error::invalid_value(
400 Err(Error::invalid_value(Unexpected::Unsigned(0), &self))
[all …]
Dmod.rs226 fn invalid_value(unexp: Unexpected, exp: &Expected) -> Self {
/third_party/rust/crates/log/src/
Dserde.rs59 .map_err(|_| Error::invalid_value(Unexpected::Bytes(value), &self))?; in deserialize()
70 .ok_or_else(|| Error::invalid_value(Unexpected::Unsigned(v), &self))?; in deserialize()
154 .map_err(|_| Error::invalid_value(Unexpected::Bytes(value), &self))?; in deserialize()
165 .ok_or_else(|| Error::invalid_value(Unexpected::Unsigned(v), &self))?; in deserialize()
/third_party/rust/crates/serde/test_suite/tests/expand/
Dvoid.expanded.rs48 _ => _serde::__private::Err(_serde::de::Error::invalid_value( in deserialize()
Dlifetimes.expanded.rs131 _ => _serde::__private::Err(_serde::de::Error::invalid_value( in deserialize()
Dgeneric_enum.expanded.rs154 _ => _serde::__private::Err(_serde::de::Error::invalid_value( in deserialize()
Dde_enum.expanded.rs310 _ => _serde::__private::Err(_serde::de::Error::invalid_value( in deserialize()
/third_party/rust/crates/clap/src/builder/
Dvalue_parser.rs1056 crate::Error::invalid_value( in parse_ref()
1072 crate::Error::invalid_value( in parse_ref()
1184 Err(crate::Error::invalid_value( in parse()
1649 return Err(crate::Error::invalid_value( in parse_ref()
/third_party/rust/crates/quote/benches/
Dlib.rs54 _ => _serde::export::Err(_serde::de::Error::invalid_value(
/third_party/rust/crates/serde/serde/src/private/
Dde.rs100 Err(_) => Err(Error::invalid_value(Unexpected::Bytes(v), &self)), in borrow_cow_str()
110 Err(_) => Err(Error::invalid_value(Unexpected::Bytes(v), &self)), in borrow_cow_str()
120 Err(e) => Err(Error::invalid_value( in borrow_cow_str()
938 Err(de::Error::invalid_value(Unexpected::Str(field), &self)) in visit_str()
1382 return Err(de::Error::invalid_value( in deserialize_enum()
1390 return Err(de::Error::invalid_value( in deserialize_enum()
2102 return Err(de::Error::invalid_value( in deserialize_enum()
2110 return Err(de::Error::invalid_value( in deserialize_enum()
/third_party/rust/crates/serde/test_suite/tests/
Dtest_annotations.rs1228 _ => Err(de::Error::invalid_value(Unexpected::Signed(n as i64), &"0")), in deserialize_i8_as_unit_variant()
1256 return Err(de::Error::invalid_value( in deserialize_string_as_variant()
/third_party/rust/crates/nix/src/sys/
Dsignal.rs1058 #[cfg_attr(target_os = "fuchsia", allow(invalid_value))]
/third_party/rust/crates/serde/serde_derive/src/
Dde.rs2174 _serde::__private::Err(_serde::de::Error::invalid_value( in deserialize_identifier()