Searched refs:invalid_utf8 (Results 1 – 7 of 7) sorted by relevance
72 const char invalid_utf8[] = "\xff"; in test_utf8() local73 const upb_strview invalid_utf8_view = upb_strview_make(invalid_utf8, 1); in test_utf8()
195 invalid_utf8 = int.from_bytes(200 self.assertRaises(UnicodeDecodeError, encoder.setstate, invalid_utf8)
424 local invalid_utf8 = "\xff"426 optional_string = invalid_utf8,
1098 let invalid_utf8 = b"\xff"; in error() localVariable1099 let res = if let Err(error) = ::std::str::from_utf8(invalid_utf8) { in error()
640 pub fn invalid_utf8<U>(usage: U, color: ColorWhen) -> Self in invalid_utf8() method
102 return Err(Error::invalid_utf8( in validate_arg_values()
1139 return Err(Error::invalid_utf8( in get_matches_with()1153 return Err(Error::invalid_utf8( in get_matches_with()