Searched refs:unknown_variant (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | locnmtst.cpp | 444 static const char unknown_variant[] = "abc"; variable 474 ldn->variantDisplayName(unknown_variant, temp); in VerifySubstitute() 475 test_assert_equal(unknown_variant, temp); in VerifySubstitute() 527 ldn->variantDisplayName(unknown_variant, temp); in VerifyNoSubstitute()
|
/external/rust/crates/log/src/ |
D | serde.rs | 51 FromStr::from_str(s).map_err(|_| Error::unknown_variant(s, &LOG_LEVEL_NAMES[1..])) in deserialize() 146 FromStr::from_str(s).map_err(|_| Error::unknown_variant(s, &LOG_LEVEL_NAMES)) in deserialize()
|
/external/rust/crates/serde/src/de/ |
D | impls.rs | 1378 _ => Err(Error::unknown_variant(value, $variants_name)), 1392 Ok(value) => Err(Error::unknown_variant(value, $variants_name)), 2372 _ => Err(Error::unknown_variant(value, VARIANTS)), in deserialize() 2385 Ok(value) => Err(Error::unknown_variant(value, VARIANTS)), in deserialize() 2533 _ => Err(Error::unknown_variant(value, VARIANTS)), in deserialize() 2545 Ok(value) => Err(Error::unknown_variant(value, VARIANTS)), in deserialize()
|
D | mod.rs | 245 fn unknown_variant(variant: &str, expected: &'static [&'static str]) -> Self {
|
/external/rust/crates/serde_derive/src/ |
D | de.rs | 2153 _serde::__private::Err(_serde::de::Error::unknown_variant(__value, VARIANTS)) in deserialize_identifier()
|