Home
last modified time | relevance | path

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

12

/external/libmojo/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/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.java23 public class ParseError extends VolleyError { class
24 public ParseError() { } in ParseError() method in ParseError
26 public ParseError(NetworkResponse networkResponse) { in ParseError() method in ParseError
30 public ParseError(Throwable cause) { in ParseError() method in ParseError
/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/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
Dparser.py37 class ParseError(Error): class
80 raise ParseError(self.filename,
84 raise ParseError(
94 raise ParseError(self.filename,
305 raise ParseError(self.filename, "Invalid handle type %r:" % p[3],
318 raise ParseError(self.filename, "Fixed array size %d invalid:" % value,
343 raise ParseError(self.filename, "Ordinal value %d too large:" % value,
427 raise ParseError(self.filename, "Unexpected end of file")
429 raise ParseError(self.filename, "Unexpected %r:" % e.value, lineno=e.lineno,
/external/volley/src/main/java/com/android/volley/toolbox/
DJsonArrayRequest.java20 import com.android.volley.ParseError;
68 return Response.error(new ParseError(e)); in parseNetworkResponse()
70 return Response.error(new ParseError(je)); in parseNetworkResponse()
DJsonObjectRequest.java20 import com.android.volley.ParseError;
71 return Response.error(new ParseError(e)); in parseNetworkResponse()
73 return Response.error(new ParseError(je)); in parseNetworkResponse()
DImageRequest.java26 import com.android.volley.ParseError;
162 return Response.error(new ParseError(e)); in parseNetworkResponse()
211 return Response.error(new ParseError(response)); in doParse()
/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/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()
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DProgram.cs102 return new ConformanceResponse { ParseError = e.Message }; in PerformRequest()
106 return new ConformanceResponse { ParseError = e.Message }; in PerformRequest()
DConformance.cs436 case ResultOneofCase.ParseError: in ConformanceResponse()
437 ParseError = other.ParseError; in ConformanceResponse()
471 public string ParseError { property in Conformance.ConformanceResponse
472 get { return resultCase_ == ResultOneofCase.ParseError ? (string) result_ : ""; }
475 resultCase_ = ResultOneofCase.ParseError;
555 ParseError = 1, enumerator
583 if (ParseError != other.ParseError) return false; in Equals()
595 if (resultCase_ == ResultOneofCase.ParseError) hash ^= ParseError.GetHashCode(); in GetHashCode()
610 if (resultCase_ == ResultOneofCase.ParseError) { in WriteTo()
612 output.WriteString(ParseError); in WriteTo()
[all …]
/external/deqp/scripts/log/
Dlog_parser.py66 class ParseError(Exception): class
179 raise ParseError(self.filename, self.curLine, message)
/external/clang/include/clang/Format/
DFormat.h35 enum class ParseError { Success = 0, Error, Unsuitable }; enum
42 std::error_code make_error_code(ParseError e);
884 struct is_error_code_enum<clang::format::ParseError> : std::true_type {};
/external/protobuf/ruby/lib/google/
Dprotobuf.rb39 class ParseError < Error; end class
/external/clang/lib/Format/
DFormat.cpp419 std::error_code make_error_code(ParseError e) { in make_error_code()
428 switch (static_cast<ParseError>(EV)) { in message()
429 case ParseError::Success: in message()
431 case ParseError::Error: in message()
433 case ParseError::Unsuitable: in message()
740 return make_error_code(ParseError::Error); in parseConfiguration()
756 return make_error_code(ParseError::Error); in parseConfiguration()
763 return make_error_code(ParseError::Error); in parseConfiguration()
775 return make_error_code(ParseError::Success); in parseConfiguration()
778 return make_error_code(ParseError::Unsuitable); in parseConfiguration()
[all …]

12