Home
last modified time | relevance | path

Searched refs:ErrorType (Results 1 – 15 of 15) sorted by relevance

/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DNumberParseException.java26 public enum ErrorType { enum in NumberParseException
43 private ErrorType errorType;
46 public NumberParseException(ErrorType errorType, String message) { in NumberParseException()
55 public ErrorType getErrorType() { in getErrorType()
DPhoneNumberUtil.java2396 throw new NumberParseException(NumberParseException.ErrorType.TOO_SHORT_AFTER_IDD,
2408 throw new NumberParseException(NumberParseException.ErrorType.INVALID_COUNTRY_CODE,
2730 throw new NumberParseException(NumberParseException.ErrorType.NOT_A_NUMBER,
2733 throw new NumberParseException(NumberParseException.ErrorType.TOO_LONG,
2741 throw new NumberParseException(NumberParseException.ErrorType.NOT_A_NUMBER,
2748 throw new NumberParseException(NumberParseException.ErrorType.INVALID_COUNTRY_CODE,
2775 if (e.getErrorType() == NumberParseException.ErrorType.INVALID_COUNTRY_CODE &&
2782 throw new NumberParseException(NumberParseException.ErrorType.INVALID_COUNTRY_CODE,
2808 throw new NumberParseException(NumberParseException.ErrorType.TOO_SHORT_NSN,
2820 throw new NumberParseException(NumberParseException.ErrorType.TOO_SHORT_NSN,
[all …]
/external/chromium/chrome/browser/ssl/
Dssl_error_info.h23 enum ErrorType { enum
40 static ErrorType NetErrorToErrorType(int net_error);
42 static SSLErrorInfo CreateError(ErrorType error_type,
Dssl_error_info.cc29 SSLErrorInfo SSLErrorInfo::CreateError(ErrorType error_type, in CreateError()
204 SSLErrorInfo::ErrorType SSLErrorInfo::NetErrorToErrorType(int net_error) { in NetErrorToErrorType()
248 const ErrorType kErrorTypes[] = { in GetErrorsForCertStatus()
/external/webkit/Source/WebCore/dom/
DXMLDocumentParser.h54 enum ErrorType { warning, nonFatal, fatal }; enum
77 void error(ErrorType type, const char* m, int lineNumber, int columnNumber);
197 enum ErrorType { warning, nonFatal, fatal }; enum
198 void handleError(ErrorType, const char* message, int lineNumber, int columnNumber);
199 void handleError(ErrorType, const char* message, TextPosition1);
262 void error(ErrorType, const char* message, va_list args) WTF_ATTRIBUTE_PRINTF(3, 0);
DXMLDocumentParser.cpp145 void XMLDocumentParser::handleError(ErrorType type, const char* m, int lineNumber, int columnNumber) in handleError()
150 void XMLDocumentParser::handleError(ErrorType type, const char* m, TextPosition1 position) in handleError()
Dxml_expat_tokenizer.cpp134 …void appendErrorCallback(XMLTokenizer::ErrorType type, const char* message, int lineNumber, int co… in appendErrorCallback()
245 XMLTokenizer::ErrorType type;
784 ErrorType type = nonFatal; in reportError()
799 void XMLTokenizer::error(ErrorType type, const char* m, int lineNumber, int columnNumber) in error()
DXMLDocumentParserLibxml2.cpp176 …void appendErrorCallback(XMLDocumentParser::ErrorType type, const xmlChar* message, int lineNumber… in appendErrorCallback()
330 XMLDocumentParser::ErrorType type;
936 void XMLDocumentParser::error(ErrorType type, const char* message, va_list args) in error()
DXMLDocumentParserQt.cpp447 ErrorType type = (m_stream.error() == QXmlStreamReader::NotWellFormedError) ? in parse()
/external/clang/tools/scan-build/
Dc++-analyzer95 my ($Clang, $Lang, $file, $Args, $HtmlDir, $ErrorType, $ofile) = @_;
100 if ($ErrorType eq $ParserRejects) {
103 elsif ($ErrorType eq $AttributeIgnored) {
106 elsif ($ErrorType eq $OtherError) {
120 print OUT "$ErrorType\n";
Dccc-analyzer95 my ($Clang, $Lang, $file, $Args, $HtmlDir, $ErrorType, $ofile) = @_;
100 if ($ErrorType eq $ParserRejects) {
103 elsif ($ErrorType eq $AttributeIgnored) {
106 elsif ($ErrorType eq $OtherError) {
120 print OUT "$ErrorType\n";
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DPhoneNumberUtilTest.java1552 NumberParseException.ErrorType.INVALID_COUNTRY_CODE, in testMaybeExtractCountryCode()
1704 NumberParseException.ErrorType.TOO_LONG, in testParseMaliciousInput()
1718 NumberParseException.ErrorType.TOO_LONG, in testParseMaliciousInput()
1836 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
1846 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
1856 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
1866 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
1876 NumberParseException.ErrorType.TOO_LONG, in testFailedParseOnInvalidNumbers()
1886 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
1896 NumberParseException.ErrorType.NOT_A_NUMBER, in testFailedParseOnInvalidNumbers()
[all …]
/external/webkit/Source/WebCore/bindings/v8/
DV8Proxy.h127 enum ErrorType { enum
248 static v8::Handle<v8::Value> throwError(ErrorType, const char* message);
392 …inline v8::Handle<v8::Primitive> throwError(const char* message, V8Proxy::ErrorType type = V8Proxy…
DV8Proxy.cpp691 v8::Handle<v8::Value> V8Proxy::throwError(ErrorType type, const char* message) in throwError()
/external/chromium/chrome/browser/sync/protocol/
Dsync.proto568 enum ErrorType { enum
601 optional ErrorType error_code = 4 [default = UNKNOWN];