Searched refs:UnicodeEscapeInByteLiteral (Results 1 – 4 of 4) sorted by relevance
/aosp_15_r20/external/rust/android-crates-io/crates/litrs/src/byte/ |
D | tests.rs | 129 assert_err!(ByteLit, r"b'\u{0}'", UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 130 assert_err!(ByteLit, r"b'\u{00}'", UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 131 assert_err!(ByteLit, r"b'\u{b}'", UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 132 assert_err!(ByteLit, r"b'\u{B}'", UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 133 assert_err!(ByteLit, r"b'\u{7e}'", UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 134 assert_err!(ByteLit, r"b'\u{E4}'", UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 135 assert_err!(ByteLit, r"b'\u{e4}'", UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 136 assert_err!(ByteLit, r"b'\u{fc}'", UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 137 assert_err!(ByteLit, r"b'\u{Fc}'", UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 138 assert_err!(ByteLit, r"b'\u{fC}'", UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/litrs/src/bytestr/ |
D | tests.rs | 194 assert_err!(ByteStringLit, r#"b"\u{0}""#, UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 195 assert_err!(ByteStringLit, r#"b"\u{00}""#, UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 196 assert_err!(ByteStringLit, r#"b"\u{b}""#, UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 197 assert_err!(ByteStringLit, r#"b"\u{B}""#, UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 198 assert_err!(ByteStringLit, r#"b"\u{7e}""#, UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 199 assert_err!(ByteStringLit, r#"b"\u{E4}""#, UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 200 assert_err!(ByteStringLit, r#"b"\u{e4}""#, UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 201 assert_err!(ByteStringLit, r#"b"\u{fc}""#, UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 202 assert_err!(ByteStringLit, r#"b"\u{Fc}""#, UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() 203 assert_err!(ByteStringLit, r#"b"\u{fC}""#, UnicodeEscapeInByteLiteral, 2..4); in unicode_escape_not_allowed() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/litrs/src/ |
D | err.rs | 248 UnicodeEscapeInByteLiteral, enumerator 334 UnicodeEscapeInByteLiteral => r"`\u{...}` escape in byte (string) literal not allowed", in fmt()
|
D | escape.rs | 39 return Err(perr(offset..offset + 2, UnicodeEscapeInByteLiteral)); in unescape()
|