Home
last modified time | relevance | path

Searched refs:unknown_variant (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dlocnmtst.cpp444 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/
Dserde.rs51 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/
Dimpls.rs1378 _ => 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()
Dmod.rs245 fn unknown_variant(variant: &str, expected: &'static [&'static str]) -> Self {
/external/rust/crates/serde_derive/src/
Dde.rs2153 _serde::__private::Err(_serde::de::Error::unknown_variant(__value, VARIANTS)) in deserialize_identifier()