Home
last modified time | relevance | path

Searched refs:ParseError (Results 1 – 25 of 84) sorted by relevance

1234

/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dparser_unittest.py65 parser.ParseError,
80 parser.ParseError,
97 parser.ParseError,
109 parser.ParseError,
126 parser.ParseError,
210 parser.ParseError,
223 parser.ParseError,
236 parser.ParseError,
252 parser.ParseError,
267 parser.ParseError,
[all …]
Drun_parser.py15 from mojom.parse.parser import Parse, ParseError
28 except ParseError, e:
/external/protobuf/python/google/protobuf/
Djson_format.py95 class ParseError(Error): class
375 raise ParseError('Failed to load JSON: duplicate key {0}.'.format(name))
414 raise ParseError('Failed to load JSON: {0}.'.format(str(e)))
489 raise ParseError('Message type {0} does not have extensions'.format(
505 raise ParseError(
511 raise ParseError('Message type "{0}" should not have multiple '
519 raise ParseError('Message type "{0}" should not have multiple '
541 raise ParseError('repeated field {0} must be in [] which is '
550 raise ParseError('null is not allowed to be used as an element'
557 raise ParseError('null is not allowed to be used as an element'
[all …]
Dtext_format.py76 class ParseError(Error): class
86 super(ParseError, self).__init__(message)
88 super(ParseError, self).__init__()
830 raise ParseError('Type %s not found in descriptor pool' %
1175 raise ParseError('Invalid field value: ' + tokenizer.token)
1275 raise self.ParseError('Expected "%s".' % token)
1280 raise self.ParseError('Expected comment.')
1304 except ParseError:
1318 raise self.ParseError('Expected identifier.')
1326 except ParseError:
[all …]
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dexpectations_parser_unittest.py49 with self.assertRaises(expectations_parser.ParseError):
62 with self.assertRaises(expectations_parser.ParseError):
77 with self.assertRaises(expectations_parser.ParseError):
123 with self.assertRaises(expectations_parser.ParseError):
128 with self.assertRaises(expectations_parser.ParseError):
133 with self.assertRaises(expectations_parser.ParseError):
138 with self.assertRaises(expectations_parser.ParseError):
143 with self.assertRaises(expectations_parser.ParseError):
148 with self.assertRaises(expectations_parser.ParseError):
Dexpectations_parser.py12 class ParseError(Exception): class
97 raise ParseError('Tag found after first expectation.')
108 raise ParseError(
117 raise ParseError(
/external/ImageMagick/Magick++/demo/
Dzoom.cpp27 static void ParseError (int position, char **argv) in ParseError() function
68 ParseError(argv_index,argv); in main()
112 ParseError(argv_index,argv); in main()
124 ParseError(argv_index,argv); in main()
137 ParseError(argv_index,argv); in main()
142 ParseError(argv_index,argv); in main()
146 ParseError(argv_index,argv); in main()
150 ParseError(argv_index,argv); in main()
/external/volley/src/main/java/com/android/volley/
DParseError.java21 public class ParseError extends VolleyError { class
22 public ParseError() {} in ParseError() method in ParseError
24 public ParseError(NetworkResponse networkResponse) { in ParseError() method in ParseError
28 public ParseError(Throwable cause) { in ParseError() method in ParseError
/external/swiftshader/third_party/subzero/unittest/
DIceParseInstsTest.cpp29 constexpr bool ParseError = true; variable
68 EXPECT_FALSE(Munger.runTest(ParseError)); in TEST()
74 EXPECT_DEATH(Munger.runTest(ParseError), ".*ERROR: Unable to continue.*"); in TEST()
124 EXPECT_FALSE(Munger.runTest(ARRAY(Align30), ParseError)); in TEST()
179 EXPECT_FALSE(Munger.runTest(ARRAY(Align0), ParseError)); in TEST()
192 EXPECT_FALSE(Munger.runTest(ARRAY(Align4), ParseError)); in TEST()
205 EXPECT_FALSE(Munger.runTest(ARRAY(Align29), ParseError)); in TEST()
218 EXPECT_FALSE(Munger.runTest(ARRAY(Align30), ParseError)); in TEST()
261 EXPECT_FALSE(Munger.runTest(ARRAY(Align0), ParseError)); in TEST()
284 EXPECT_FALSE(Munger.runTest(ARRAY(Align29), ParseError)); in TEST()
[all …]
/external/crosvm/devices/src/virtio/
Dpmem.rs63 enum ParseError { enum
78 impl Display for ParseError { implementation
80 use self::ParseError::*; in fmt()
101 ) -> result::Result<Request, ParseError> { in parse() argument
104 return Err(ParseError::UnexpectedWriteOnlyDescriptor); in parse()
108 return Err(ParseError::InvalidRequest); in parse()
113 .map_err(ParseError::GuestMemory)?; in parse()
118 return Err(ParseError::InvalidRequest); in parse()
123 .ok_or(ParseError::DescriptorChainTooShort)?; in parse()
127 return Err(ParseError::UnexpectedReadOnlyDescriptor); in parse()
[all …]
Dblock.rs154 enum ParseError { enum
169 impl Display for ParseError { implementation
171 use self::ParseError::*; in fmt()
187 ) -> result::Result<RequestType, ParseError> { in request_type() argument
190 .map_err(ParseError::GuestMemory)?; in request_type()
201 fn sector(mem: &GuestMemory, desc_addr: GuestAddress) -> result::Result<u64, ParseError> { in sector() argument
205 None => return Err(ParseError::CheckedOffset(desc_addr, SECTOR_OFFSET)), in sector()
209 .map_err(ParseError::GuestMemory) in sector()
215 ) -> result::Result<virtio_blk_discard_write_zeroes, ParseError> { in discard_write_zeroes_segment() argument
217 .map_err(ParseError::GuestMemory) in discard_write_zeroes_segment()
[all …]
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dtext_format_test.py350 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 …]
/external/protobuf/python/google/protobuf/internal/
Dtext_format_test.py613 with self.assertRaises(text_format.ParseError) as e:
621 six.assertRaisesRegex(self, text_format.ParseError, (
628 six.assertRaisesRegex(self, text_format.ParseError, (
641 six.assertRaisesRegex(self, text_format.ParseError,
650 six.assertRaisesRegex(self, text_format.ParseError,
686 with six.assertRaisesRegex(self, text_format.ParseError,
766 six.assertRaisesRegex(self, text_format.ParseError, (
775 six.assertRaisesRegex(self, text_format.ParseError, (
1169 six.assertRaisesRegex(self, text_format.ParseError, (
1177 text_format.ParseError,
[all …]
Djson_format_test.py108 json_format.ParseError,
795 json_format.ParseError,
841 json_format.ParseError,
882 self.assertRaises(json_format.ParseError,
923 json_format.ParseError,
928 json_format.ParseError,
934 json_format.ParseError,
941 json_format.ParseError,
946 json_format.ParseError,
955 json_format.ParseError,
[all …]
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/
Dparser.py25 class ParseError(Error): class
68 raise ParseError(self.filename,
72 raise ParseError(
82 raise ParseError(self.filename,
294 raise ParseError(self.filename, "Invalid handle type %r:" % p[3],
307 raise ParseError(self.filename, "Fixed array size %d invalid:" % value,
332 raise ParseError(self.filename, "Ordinal value %d too large:" % value,
424 raise ParseError(self.filename, "Unexpected end of file")
426 raise ParseError(self.filename, "Unexpected %r:" % e.value, lineno=e.lineno,
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs686 case ResultOneofCase.ParseError: in ConformanceResponse()
687 ParseError = other.ParseError; in ConformanceResponse()
730 public string ParseError { property in Conformance.ConformanceResponse
731 get { return resultCase_ == ResultOneofCase.ParseError ? (string) result_ : ""; }
734 resultCase_ = ResultOneofCase.ParseError;
850 ParseError = 1, enumerator
884 if (ParseError != other.ParseError) return false; in Equals()
899 if (resultCase_ == ResultOneofCase.ParseError) hash ^= ParseError.GetHashCode(); in GetHashCode()
921 if (resultCase_ == ResultOneofCase.ParseError) { in WriteTo()
923 output.WriteString(ParseError); in WriteTo()
[all …]
/external/volley/src/main/java/com/android/volley/toolbox/
DJsonArrayRequest.java21 import com.android.volley.ParseError;
78 return Response.error(new ParseError(e)); in parseNetworkResponse()
80 return Response.error(new ParseError(je)); in parseNetworkResponse()
DJsonObjectRequest.java21 import com.android.volley.ParseError;
88 return Response.error(new ParseError(e)); in parseNetworkResponse()
90 return Response.error(new ParseError(je)); in parseNetworkResponse()
/external/deqp/executor/
DxeXMLParser.hpp77 class ParseError : public xe::ParseError class
80 ParseError (const std::string& message) : xe::ParseError(message) {} in ParseError() function in xe::xml::ParseError
DxeDefs.hpp41 class ParseError : public Error class
44 ParseError (const std::string& message) : Error(message) {} in ParseError() function in xe::ParseError
/external/python/cpython3/Lib/lib2to3/pgen2/
Dparse.py16 class ParseError(Exception): class
158 raise ParseError("too much input",
162 raise ParseError("bad input", type, value, context)
175 raise ParseError("bad token", type, value, context)
/external/python/cpython2/Lib/lib2to3/pgen2/
Dparse.py16 class ParseError(Exception): class
155 raise ParseError("too much input",
159 raise ParseError("bad input", type, value, context)
172 raise ParseError("bad token", type, value, context)
/external/tensorflow/tensorflow/python/grappler/
Dcost_analyzer_tool.py48 except text_format.ParseError:
56 except text_format.ParseError:
63 except text_format.ParseError:
/external/llvm/utils/llvm-build/llvmbuild/
Dcomponentinfo.py14 class ParseError(Exception): class
395 raise ParseError("multiple values for scalar key: %r" % key)
401 raise ParseError("missing value for required string: %r" % key)
409 raise ParseError("invalid value(%r) for boolean property: %r" % (
416 raise ParseError("missing value for required boolean: %r" % key)
469 except ParseError:
/external/swiftshader/third_party/llvm-7.0/llvm/utils/llvm-build/llvmbuild/
Dcomponentinfo.py14 class ParseError(Exception): class
395 raise ParseError("multiple values for scalar key: %r" % key)
401 raise ParseError("missing value for required string: %r" % key)
409 raise ParseError("invalid value(%r) for boolean property: %r" % (
416 raise ParseError("missing value for required boolean: %r" % key)
469 except ParseError:

1234