/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | json_format.py | 85 class ParseError(Error): class 289 raise ParseError('Failed to load JSON: duplicate key {0}.'.format(name)) 330 raise ParseError('Failed to load JSON: {0}.'.format(str(e))) 383 raise ParseError( 387 raise ParseError('Message type "{0}" should not have multiple ' 395 raise ParseError('Message type "{0}" should not have multiple ' 412 raise ParseError('repeated field {0} must be in [] which is ' 421 raise ParseError('null is not allowed to be used as an element' 428 raise ParseError('null is not allowed to be used as an element' 437 except ParseError as e: [all …]
|
D | text_format.py | 77 class ParseError(Error): class 87 super(ParseError, self).__init__(message) 89 super(ParseError, self).__init__() 732 raise ParseError('Descriptor pool required to parse expanded Any field') 736 raise ParseError('Type %s not found in descriptor pool' % 921 raise ParseError('Invalid field value: ' + tokenizer.token) 1019 raise self.ParseError('Expected "%s".' % token) 1024 raise self.ParseError('Expected comment.') 1032 except ParseError: 1046 raise self.ParseError('Expected identifier.') [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | text_format_test.py | 373 self.assertRaises(text_format.ParseError, text_format.Parse, text, message) 378 six.assertRaisesRegex(self, text_format.ParseError, ( 385 six.assertRaisesRegex(self, text_format.ParseError, ( 392 six.assertRaisesRegex(self, text_format.ParseError, 399 six.assertRaisesRegex(self, text_format.ParseError, 407 six.assertRaisesRegex(self, text_format.ParseError, 458 with self.assertRaisesRegexp(text_format.ParseError, 712 six.assertRaisesRegex(self, text_format.ParseError, ( 720 text_format.ParseError, 802 text_format.ParseError, [all …]
|
D | json_format_test.py | 104 json_format.ParseError, 604 json_format.ParseError, 673 self.assertRaises(json_format.ParseError, 712 json_format.ParseError, 717 json_format.ParseError, 723 json_format.ParseError, 730 json_format.ParseError, 738 json_format.ParseError, 744 well_known_types.ParseError, 749 well_known_types.ParseError, [all …]
|
D | well_known_types.py | 62 class ParseError(Error): class 143 raise ParseError( 158 raise ParseError( 168 raise ParseError('Failed to parse timestamp: invalid trailing' 174 raise ParseError( 284 raise ParseError( 298 raise ParseError(
|
D | well_known_types_test.py | 276 well_known_types.ParseError, 281 well_known_types.ParseError, 299 well_known_types.ParseError, 303 well_known_types.ParseError,
|
/frameworks/base/media/mca/ |
D | structgen.py | 98 class ParseError: class 235 raise ParseError(lineno, "Unknown field type '%s'!" % typestr) 238 raise ParseError(lineno, "Unknown command: '%s'!" % cmd) 244 raise ParseError(lineno, "Required field '@name' missing!") 246 raise ParseError(lineno, "Required field '@package' missing!") 248 raise ParseError(lineno, "Required field '@libname' missing!") 257 raise ParseError(lineno, "Not enough arguments specifed for command '%s'! Expected %d, " \ 260 raise ParseError(lineno, "Too many arguments specifed for command '%s'! Expected %d, " \
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/ |
D | Program.cs | 102 return new ConformanceResponse { ParseError = e.Message }; in PerformRequest() 106 return new ConformanceResponse { ParseError = e.Message }; in PerformRequest()
|
D | Conformance.cs | 457 case ResultOneofCase.ParseError: in ConformanceResponse() 458 ParseError = other.ParseError; in ConformanceResponse() 494 public string ParseError { property in Conformance.ConformanceResponse 495 get { return resultCase_ == ResultOneofCase.ParseError ? (string) result_ : ""; } 498 resultCase_ = ResultOneofCase.ParseError; 583 ParseError = 1, enumerator 615 if (ParseError != other.ParseError) return false; in Equals() 628 if (resultCase_ == ResultOneofCase.ParseError) hash ^= ParseError.GetHashCode(); in GetHashCode() 645 if (resultCase_ == ResultOneofCase.ParseError) { in WriteTo() 647 output.WriteString(ParseError); in WriteTo() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/lib/google/ |
D | protobuf.rb | 39 class ParseError < Error; end class
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/ |
D | conformance_python.py | 70 except json_format.ParseError as e:
|