/third_party/protobuf/python/google/protobuf/ |
H A D | json_format.py | 96 class ParseError(Error): class 392 raise ParseError('Failed to load JSON: duplicate key {0}.'.format(name)) 425 ParseError: On JSON parsing problems. 431 raise ParseError('Failed to load JSON: {0}.'.format(str(e))) 474 ParseError: In case of convert problems. 493 ParseError: In case of problems converting. 506 raise ParseError('Message type {0} does not have extensions'.format( 522 raise ParseError( 528 raise ParseError('Message type "{0}" should not have multiple ' 536 raise ParseError('Messag [all...] |
H A D | text_format.py | 79 class ParseError(Error): class 89 super(ParseError, self).__init__(message) 91 super(ParseError, self).__init__() 667 text_format.Parse(repr(a), b) # ParseError 689 ParseError: On text parsing problems. 726 ParseError: On text parsing problems. 762 ParseError: On text parsing problems. 796 ParseError: On text parsing problems. 838 ParseError: On text parsing problems. 859 ParseError 1536 def ParseError(self, message): global() member in Tokenizer [all...] |
/third_party/rust/crates/nom/src/number/ |
H A D | streaming.rs | 7 use crate::error::{ErrorKind, ParseError}; 30 pub fn be_u8<I, E: ParseError<I>>(input: I) -> IResult<I, u8, E> in be_u8() 60 pub fn be_u16<I, E: ParseError<I>>(input: I) -> IResult<I, u16, E> in be_u16() 93 pub fn be_u24<I, E: ParseError<I>>(input: I) -> IResult<I, u32, E> in be_u24() 126 pub fn be_u32<I, E: ParseError<I>>(input: I) -> IResult<I, u32, E> in be_u32() 159 pub fn be_u64<I, E: ParseError<I>>(input: I) -> IResult<I, u64, E> in be_u64() 191 pub fn be_u128<I, E: ParseError<I>>(input: I) -> IResult<I, u128, E> in be_u128() 221 pub fn be_i8<I, E: ParseError<I>>(input: I) -> IResult<I, i8, E> in be_i8() 241 pub fn be_i16<I, E: ParseError<I>>(input: I) -> IResult<I, i16, E> in be_i16() 261 pub fn be_i24<I, E: ParseError< [all...] |
H A D | complete.rs | 7 use crate::error::ParseError; 32 pub fn be_u8<I, E: ParseError<I>>(input: I) -> IResult<I, u8, E> in be_u8() 62 pub fn be_u16<I, E: ParseError<I>>(input: I) -> IResult<I, u16, E> in be_u16() 95 pub fn be_u24<I, E: ParseError<I>>(input: I) -> IResult<I, u32, E> in be_u24() 128 pub fn be_u32<I, E: ParseError<I>>(input: I) -> IResult<I, u32, E> in be_u32() 161 pub fn be_u64<I, E: ParseError<I>>(input: I) -> IResult<I, u64, E> in be_u64() 194 pub fn be_u128<I, E: ParseError<I>>(input: I) -> IResult<I, u128, E> in be_u128() 227 pub fn be_i8<I, E: ParseError<I>>(input: I) -> IResult<I, i8, E> in be_i8() 250 pub fn be_i16<I, E: ParseError<I>>(input: I) -> IResult<I, i16, E> in be_i16() 273 pub fn be_i24<I, E: ParseError< [all...] |
/third_party/rust/crates/nom/src/combinator/ |
H A D | mod.rs | 8 use crate::error::{ErrorKind, FromExternalError, ParseError}; 31 pub fn rest<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in rest() 48 pub fn rest_len<T, E: ParseError<T>>(input: T) -> IResult<T, usize, E> in rest_len() 142 pub fn map_opt<I: Clone, O1, O2, E: ParseError<I>, F, G>( in map_opt() 176 pub fn map_parser<I, O1, O2, E: ParseError<I>, F, G>( in map_parser() 206 pub fn flat_map<I, O1, O2, E: ParseError<I>, F, G, H>( in flat_map() 239 pub fn opt<I: Clone, O, E: ParseError<I>, F>(mut f: F) -> impl FnMut(I) -> IResult<I, Option<O>, E> in opt() 271 pub fn cond<I, O, E: ParseError<I>, F>( in cond() 304 pub fn peek<I: Clone, O, E: ParseError<I>, F>(mut f: F) -> impl FnMut(I) -> IResult<I, O, E> in peek() 333 pub fn eof<I: InputLength + Clone, E: ParseError< [all...] |
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
H A D | text_format_test.py | 350 self.assertRaises(text_format.ParseError, text_format.Merge, text, message) 356 text_format.ParseError, 365 text_format.ParseError, 374 text_format.ParseError, 378 text_format.ParseError, 387 text_format.ParseError, '1:16 : Expected ">".', 392 text_format.ParseError, '1:16 : Expected "}".', 412 text_format.ParseError, 421 text_format.ParseError, 431 text_format.ParseError, [all...] |
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | function.rs | 11 use crate::parse::{ClangSubItemParser, ParseError, ParseResult}; 406 ) -> Result<Self, ParseError> { in from_ty() 413 return Err(ParseError::Continue); in from_ty() 424 return Err(ParseError::Continue); in from_ty() 433 return Err(ParseError::Continue); in from_ty() 502 return Err(ParseError::Continue); in from_ty() 545 .ok_or(ParseError::Continue)? in from_ty() 547 ty.ret_type().ok_or(ParseError::Continue)? in from_ty() 658 ) -> Result<ParseResult<Self>, ParseError> { in parse() 662 None => return Err(ParseError in parse() [all...] |
H A D | var.rs | 13 use crate::parse::{ClangSubItemParser, ParseError, ParseResult}; 177 ) -> Result<ParseResult<Self>, ParseError> { in parse() 186 return Err(ParseError::Continue); in parse() 194 return Err(ParseError::Continue); in parse() 202 None => return Err(ParseError::Continue), in parse() 217 return Err(ParseError::Continue); in parse() 226 EvalResult::Invalid => return Err(ParseError::Continue), in parse() 291 return Err(ParseError::Continue); in parse() 369 Err(ParseError::Continue) in parse()
|
H A D | module.rs | 7 use crate::parse::{ClangSubItemParser, ParseError, ParseResult}; 79 ) -> Result<ParseResult<Self>, ParseError> { in parse() 92 _ => Err(ParseError::Continue), in parse()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/ |
H A D | IceParseInstsTest.cpp | 27 // The ParseError constant is passed to the BitcodeMunger to prevent translation 29 constexpr bool ParseError = true; member 62 EXPECT_FALSE(Munger.runTest(ParseError)); in TEST() 68 EXPECT_DEATH(Munger.runTest(ParseError), ".*ERROR: Unable to continue.*"); in TEST() 176 EXPECT_FALSE(Munger.runTest(ARRAY(Align30), ParseError)); in TEST() 287 EXPECT_FALSE(Munger.runTest(ARRAY(Align0), ParseError)); in TEST() 306 EXPECT_FALSE(Munger.runTest(ARRAY(Align4), ParseError)); in TEST() 325 EXPECT_FALSE(Munger.runTest(ARRAY(Align29), ParseError)); in TEST() 344 EXPECT_FALSE(Munger.runTest(ARRAY(Align30), ParseError)); in TEST() 440 EXPECT_FALSE(Munger.runTest(ARRAY(Align0), ParseError)); in TEST() [all...] |
/third_party/rust/crates/nom/src/bytes/ |
H A D | streaming.rs | 4 use crate::error::ParseError; 31 pub fn tag<T, Input, Error: ParseError<Input>>( in tag() 73 pub fn tag_no_case<T, Input, Error: ParseError<Input>>( in tag_no_case() 117 pub fn is_not<T, Input, Error: ParseError<Input>>( in is_not() 153 pub fn is_a<T, Input, Error: ParseError<Input>>( in is_a() 188 pub fn take_while<F, Input, Error: ParseError<Input>>( in take_while() 222 pub fn take_while1<F, Input, Error: ParseError<Input>>( in take_while1() 260 pub fn take_while_m_n<F, Input, Error: ParseError<Input>>( in take_while_m_n() 343 pub fn take_till<F, Input, Error: ParseError<Input>>( in take_till() 375 pub fn take_till1<F, Input, Error: ParseError<Inpu [all...] |
H A D | complete.rs | 4 use crate::error::ParseError; 32 pub fn tag<T, Input, Error: ParseError<Input>>( in tag() 74 pub fn tag_no_case<T, Input, Error: ParseError<Input>>( in tag_no_case() 117 pub fn is_not<T, Input, Error: ParseError<Input>>( in is_not() 151 pub fn is_a<T, Input, Error: ParseError<Input>>( in is_a() 183 pub fn take_while<F, Input, Error: ParseError<Input>>( in take_while() 213 pub fn take_while1<F, Input, Error: ParseError<Input>>( in take_while1() 249 pub fn take_while_m_n<F, Input, Error: ParseError<Input>>( in take_while_m_n() 330 pub fn take_till<F, Input, Error: ParseError<Input>>( in take_till() 361 pub fn take_till1<F, Input, Error: ParseError<Inpu [all...] |
/third_party/rust/crates/nom/src/sequence/ |
H A D | mod.rs | 6 use crate::error::ParseError; 29 pub fn pair<I, O1, O2, E: ParseError<I>, F, G>( in pair() 63 pub fn preceded<I, O1, O2, E: ParseError<I>, F, G>( in preceded() 97 pub fn terminated<I, O1, O2, E: ParseError<I>, F, G>( in terminated() 133 pub fn separated_pair<I, O1, O2, O3, E: ParseError<I>, F, G, H>( in separated_pair() 172 pub fn delimited<I, O1, O2, O3, E: ParseError<I>, F, G, H>( in delimited() 197 impl<Input, Output, Error: ParseError<Input>, F: Parser<Input, Output, Error>> 222 Input: Clone, $($ty),+ , Error: ParseError<Input>, 258 impl<I, E: ParseError<I>> Tuple<I, (), E> for () { 275 pub fn tuple<I, O, E: ParseError< [all...] |
/third_party/rust/crates/nom/src/ |
H A D | traits.rs | 2 use crate::error::{ErrorKind, ParseError}; 454 fn split_at_position<P, E: ParseError<Self>>(&self, predicate: P) -> IResult<Self, Self, E> in split_at_position() 464 fn split_at_position1<P, E: ParseError<Self>>( in split_at_position1() 476 fn split_at_position_complete<P, E: ParseError<Self>>( in split_at_position_complete() 489 fn split_at_position1_complete<P, E: ParseError<Self>>( in split_at_position1_complete() 503 fn split_at_position<P, E: ParseError<Self>>(&self, predicate: P) -> IResult<Self, Self, E> in split_at_position() 513 fn split_at_position1<P, E: ParseError<Self>>( in split_at_position1() 528 fn split_at_position_complete<P, E: ParseError<Self>>( in split_at_position_complete() 541 fn split_at_position1_complete<P, E: ParseError<Self>>( in split_at_position1_complete() 565 fn split_at_position<P, E: ParseError<Sel [all...] |
/third_party/rust/crates/nom/src/character/ |
H A D | streaming.rs | 8 use crate::error::ParseError; 31 pub fn char<I, Error: ParseError<I>>(c: char) -> impl Fn(I) -> IResult<I, char, Error> in char() 61 pub fn satisfy<F, I, Error: ParseError<I>>(cond: F) -> impl Fn(I) -> IResult<I, char, Error> in satisfy() 90 pub fn one_of<I, T, Error: ParseError<I>>(list: T) -> impl Fn(I) -> IResult<I, char, Error> in one_of() 115 pub fn none_of<I, T, Error: ParseError<I>>(list: T) -> impl Fn(I) -> IResult<I, char, Error> in none_of() 140 pub fn crlf<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in crlf() 171 pub fn not_line_ending<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in not_line_ending() 218 pub fn line_ending<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in line_ending() 250 pub fn newline<I, Error: ParseError<I>>(input: I) -> IResult<I, char, Error> in newline() 270 pub fn tab<I, Error: ParseError< [all...] |
H A D | complete.rs | 8 use crate::error::ParseError; 32 pub fn char<I, Error: ParseError<I>>(c: char) -> impl Fn(I) -> IResult<I, char, Error> in char() 61 pub fn satisfy<F, I, Error: ParseError<I>>(cond: F) -> impl Fn(I) -> IResult<I, char, Error> in satisfy() 89 pub fn one_of<I, T, Error: ParseError<I>>(list: T) -> impl Fn(I) -> IResult<I, char, Error> in one_of() 113 pub fn none_of<I, T, Error: ParseError<I>>(list: T) -> impl Fn(I) -> IResult<I, char, Error> in none_of() 141 pub fn crlf<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in crlf() 177 pub fn not_line_ending<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in not_line_ending() 227 pub fn line_ending<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in line_ending() 262 pub fn newline<I, Error: ParseError<I>>(input: I) -> IResult<I, char, Error> in newline() 286 pub fn tab<I, Error: ParseError< [all...] |
/third_party/rust/crates/nom/examples/ |
H A D | json.rs | 8 error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError}, 30 fn sp<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { in sp() 53 fn parse_str<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { in parse_str() 65 fn boolean<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, bool, E> { in parse_str() 79 fn null<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, (), E> { in null() 94 fn string<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in string() 107 fn array<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in array() 122 fn key_value<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in array() 132 fn hash<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in hash() 156 fn json_value<'a, E: ParseError< [all...] |
/third_party/rust/crates/nom/src/multi/ |
H A D | mod.rs | 7 use crate::error::ParseError; 57 E: ParseError<I>, in many0() 112 E: ParseError<I>, in many1() 173 E: ParseError<I>, in many_till() 236 E: ParseError<I>, in separated_list0() 310 E: ParseError<I>, in separated_list1() 388 E: ParseError<I>, in many_m_n() 456 E: ParseError<I>, in many0_count() 514 E: ParseError<I>, in many1_count() 573 E: ParseError< in count() [all...] |
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | text_format_test.py | 768 with self.assertRaises(text_format.ParseError) as e: 776 six.assertRaisesRegex(self, text_format.ParseError, ( 783 six.assertRaisesRegex(self, text_format.ParseError, ( 796 six.assertRaisesRegex(self, text_format.ParseError, 805 six.assertRaisesRegex(self, text_format.ParseError, 841 with six.assertRaisesRegex(self, text_format.ParseError, 921 six.assertRaisesRegex(self, text_format.ParseError, ( 930 six.assertRaisesRegex(self, text_format.ParseError, ( 938 six.assertRaisesRegex(self, text_format.ParseError, 1349 six.assertRaisesRegex(self, text_format.ParseError, ( [all...] |
H A D | json_format_test.py | 110 json_format.ParseError, 812 json_format.ParseError, 900 json_format.ParseError, 958 self.assertRaises(json_format.ParseError, 1014 json_format.ParseError, 1019 json_format.ParseError, 1025 json_format.ParseError, 1032 json_format.ParseError, 1037 json_format.ParseError, 1046 json_format.ParseError, [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/ |
H A D | Conformance.cs | 54 new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceResponse), global::Conformance.ConformanceResponse.Parser, new[]{ "ParseError", "SerializeError", "RuntimeError", "ProtobufPayload", "JsonPayload", "Skipped", "JspbPayload", "TextPayload" }, new[]{ "Result" }, null, null, null), in ConformanceReflection() 840 case ResultOneofCase.ParseError: in ConformanceResponse() 841 ParseError = other.ParseError; in ConformanceResponse() 884 public string ParseError { property in Conformance.ConformanceResponse 885 get { return resultCase_ == ResultOneofCase.ParseError ? (string) result_ : ""; } 888 resultCase_ = ResultOneofCase.ParseError; 1004 ParseError = 1, enumerator 1038 if (ParseError != other.ParseError) retur in Equals() [all...] |
/third_party/rust/crates/nom/src/bits/ |
H A D | mod.rs | 7 use crate::error::{ErrorKind, ParseError}; 42 E1: ParseError<(I, usize)> + ErrorConvert<E2>, in bits() 43 E2: ParseError<I>, in bits() 88 E1: ParseError<I> + ErrorConvert<E2>, in bytes() 89 E2: ParseError<(I, usize)>, in bytes()
|
/third_party/rust/crates/nom/src/branch/ |
H A D | mod.rs | 7 use crate::error::ParseError; 47 pub fn alt<I: Clone, O, E: ParseError<I>, List: Alt<I, O, E>>( in alt() 106 pub fn permutation<I: Clone, O, E: ParseError<I>, List: Permutation<I, O, E>>( in permutation() 130 Input: Clone, Output, Error: ParseError<Input>, 162 impl<Input, Output, Error: ParseError<Input>, A: Parser<Input, Output, Error>> 193 Input: Clone, $($ty),+ , Error: ParseError<Input>,
|
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | parse.py | 16 class ParseError(Exception): class 38 if p.addtoken(...): # parse a token; may raise ParseError 54 the ParseError exception. There is no error recovery; the parser 158 raise ParseError("too much input", 162 raise ParseError("bad input", type, value, context) 175 raise ParseError("bad token", type, value, context)
|
/third_party/vk-gl-cts/framework/xexml/ |
H A D | xeXMLParser.hpp | 77 class ParseError : public xe::ParseError class 80 ParseError (const std::string& message) : xe::ParseError(message) {} in ParseError() function in xe::xml::ParseError
|