Home
last modified time | relevance | path

Searched refs:ParseError (Results 1 – 25 of 79) 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.py76 class ParseError(Error): class
293 raise ParseError('Failed to load JSON: duplicate key {0}.'.format(name))
319 raise ParseError('Failed to load JSON: {0}.'.format(str(e)))
340 raise ParseError(
344 raise ParseError(
352 raise ParseError('Message type "{0}" should not have multiple "{1}" '
369 raise ParseError('repeated field {0} must be in [] which is '
378 raise ParseError('null is not allowed to be used as an element'
385 raise ParseError('null is not allowed to be used as an element'
394 except ParseError as e:
[all …]
Dtext_format.py76 class ParseError(Error): class
759 raise ParseError('Invalid field value: ' + tokenizer.token)
857 except ParseError:
911 except ParseError:
934 except ParseError:
957 except ParseError:
996 except ParseError:
1071 return ParseError('%d:%d : %s' % (
1076 return ParseError('%d:%d : %s' % (
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dexpectations_parser_unittest.py44 with self.assertRaises(expectations_parser.ParseError):
57 with self.assertRaises(expectations_parser.ParseError):
72 with self.assertRaises(expectations_parser.ParseError):
118 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):
Dexpectations_parser.py8 class ParseError(Exception): class
93 raise ParseError('Tag found after first expectation.')
104 raise ParseError(
113 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/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/protobuf/python/google/protobuf/internal/
Dtext_format_test.py369 self.assertRaises(text_format.ParseError, text_format.Parse, text, message)
375 text_format.ParseError,
384 text_format.ParseError,
393 text_format.ParseError,
401 text_format.ParseError,
410 text_format.ParseError,
464 text_format.ParseError, ' is specified along with field '):
737 text_format.ParseError,
746 text_format.ParseError,
825 text_format.ParseError,
[all …]
Djson_format_test.py104 json_format.ParseError,
571 json_format.ParseError,
627 self.assertRaises(json_format.ParseError,
666 json_format.ParseError,
671 json_format.ParseError,
677 json_format.ParseError,
684 json_format.ParseError,
692 json_format.ParseError,
698 well_known_types.ParseError,
703 well_known_types.ParseError,
[all …]
Dwell_known_types.py62 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(
/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/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/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/python/cpython3/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/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/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
DxeContainerFormatParser.hpp47 class ContainerParseError : public ParseError
50 ContainerParseError (const std::string& message) : ParseError(message) {} in ContainerParseError()
DxeTestResultParser.hpp47 class TestResultParseError : public ParseError
50 TestResultParseError (const std::string& message) : ParseError(message) {} in TestResultParseError()
/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:
/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/lib/Support/
DSpecialCaseList.cpp60 std::string ParseError; in create() local
61 if (!SCL->parse(FileOrErr.get().get(), ParseError)) { in create()
62 Error = (Twine("error parsing file '") + Path + "': " + ParseError).str(); in create()

1234