Searched defs:errorCode (Results 51 - 75 of 215) sorted by relevance

123456789

/external/icu4c/tools/gentest/
H A Dgentest.c65 UErrorCode errorCode = U_ZERO_ERROR; local
96 createData(options[2].value, &errorCode);
98 return U_FAILURE(errorCode);
103 createData(const char* outputDirectory, UErrorCode *errorCode) { argument
112 U_COPYRIGHT_STRING, errorCode);
113 if(U_FAILURE(*errorCode)) {
114 fprintf(stderr, "gentest: unable to create data memory, %s\n", u_errorName(*errorCode));
115 exit(*errorCode);
124 dataLength=udata_finish(pData, errorCode);
125 if(U_FAILURE(*errorCode)) {
[all...]
/external/icu4c/tools/icuinfo/
H A Dicuinfo.cpp65 void cmd_version(UBool /* noLoad */, UErrorCode &errorCode) argument
82 errorCode=U_INTERNAL_PROGRAM_ERROR;
90 errorCode=U_INTERNAL_PROGRAM_ERROR;
106 errorCode=U_INTERNAL_PROGRAM_ERROR;
211 UErrorCode errorCode = U_ZERO_ERROR; local
253 cmd_version(FALSE, errorCode);
276 cmd_version(FALSE, errorCode); /* at least print the version # */
279 return U_FAILURE(errorCode);
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/
H A Dmain.cpp158 void error(EGLint errorCode) argument
160 egl::setCurrentError(errorCode);
/external/webkit/Source/WebCore/fileapi/
H A DFileException.h65 static int ErrorCodeToExceptionCode(int errorCode) argument
67 if (!errorCode)
69 return errorCode + FileExceptionOffset;
H A DFileReaderLoader.h78 int errorCode() const { return m_errorCode; } function in class:WebCore::FileReaderLoader
86 void failed(int errorCode);
H A DFileWriter.cpp192 void FileWriter::setError(FileError::ErrorCode errorCode, ExceptionCode& ec) argument
194 ec = FileException::ErrorCodeToExceptionCode(errorCode);
195 m_error = FileError::create(errorCode);
H A DFileReader.cpp212 void FileReader::didFail(int errorCode) argument
220 m_error = FileError::create(static_cast<FileError::ErrorCode>(errorCode));
H A DFileReaderLoader.cpp199 void FileReaderLoader::failed(int errorCode) argument
201 m_errorCode = errorCode;
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DSurfaceOpenVG.cpp48 SurfaceOpenVG::SurfaceOpenVG(const IntSize& size, const EGLDisplay& display, EGLConfig* confPtr, EGLint* errorCode) argument
58 m_eglSurface = displayManager->createPbufferSurface(size, config, errorCode);
67 SurfaceOpenVG::SurfaceOpenVG(EGLClientBuffer buffer, EGLenum bufferType, const EGLDisplay& display, EGLConfig* confPtr, EGLint* errorCode) argument
77 m_eglSurface = displayManager->createPbufferFromClientBuffer(buffer, bufferType, config, errorCode);
/external/webkit/Source/WebCore/platform/network/
H A DResourceErrorBase.h45 int errorCode() const { lazyInit(); return m_errorCode; } function in class:WebCore::ResourceErrorBase
62 ResourceErrorBase(const String& domain, int errorCode, const String& failingURL, const String& localizedDescription) argument
64 , m_errorCode(errorCode)
/external/webkit/Source/WebCore/platform/network/cf/
H A DResourceErrorCF.cpp49 ResourceError::ResourceError(const String& domain, int errorCode, const String& failingURL, const String& localizedDescription, CFDataRef certificate) argument
50 : ResourceErrorBase(domain, errorCode, failingURL, localizedDescription)
/external/webkit/Source/WebCore/storage/
H A DIDBDatabaseException.h62 static int ErrorCodeToExceptionCode(int errorCode) argument
64 if (!errorCode)
66 return errorCode + IDBDatabaseExceptionOffset;
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/sftp/
H A DErrorCodes.java100 public static final String[] getDescription(int errorCode) argument
102 if ((errorCode < 0) || (errorCode >= messages.length))
105 return messages[errorCode];
/external/icu4c/common/
H A Dunistr_case.cpp65 UErrorCode errorCode=U_ZERO_ERROR; local
67 options|U_COMPARE_IGNORE_CASE, &errorCode);
125 UErrorCode errorCode; local
128 errorCode = U_ZERO_ERROR;
130 oldArray, oldLength, &errorCode);
132 } while(errorCode==U_BUFFER_OVERFLOW_ERROR && cloneArrayIfNeeded(newLength, newLength, FALSE));
137 if(U_FAILURE(errorCode)) {
H A Dunistr_cnv.cpp87 UErrorCode &errorCode)
91 if(U_SUCCESS(errorCode)) {
96 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
106 doCodepageCreate(src, srcLength, cnv, errorCode);
109 cnv=u_getDefaultConverter(&errorCode);
110 doCodepageCreate(src, srcLength, cnv, errorCode);
116 if(U_FAILURE(errorCode)) {
217 UErrorCode &errorCode) const
219 if(U_FAILURE(errorCode)) {
224 errorCode
85 UnicodeString(const char *src, int32_t srcLength, UConverter *cnv, UErrorCode &errorCode) argument
[all...]
/external/icu4c/i18n/
H A Dsortkey.cpp174 UErrorCode errorCode = U_ZERO_ERROR; local
175 return static_cast<Collator::EComparisonResult>(compareTo(target, errorCode));
/external/icu4c/samples/ustring/
H A Dustring.cpp40 UErrorCode errorCode=U_ZERO_ERROR; local
47 ucnv_fromUChars(cnv, out, sizeof(out), s, length, &errorCode);
48 if(U_FAILURE(errorCode) || errorCode==U_STRING_NOT_TERMINATED_WARNING) {
49 printf("%sproblem converting string from Unicode: %s\n", announce, u_errorName(errorCode));
198 UErrorCode errorCode; local
287 errorCode=U_ZERO_ERROR;
288 length=u_strToLower(buffer, LENGTHOF(buffer), input, -1, "en", &errorCode);
289 if(U_SUCCESS(errorCode)) {
292 printf("error in u_strToLower(en)=%ld error=%s\n", length, u_errorName(errorCode));
578 UErrorCode errorCode=U_ZERO_ERROR; local
[all...]
/external/icu4c/test/cintltst/
H A Dcucdapi.c384 UErrorCode errorCode=U_ZERO_ERROR; local
386 USCRIPT_COMMON==uscript_getScript(0x0640, &errorCode) &&
387 USCRIPT_INHERITED==uscript_getScript(0x0650, &errorCode) &&
388 USCRIPT_ARABIC==uscript_getScript(0xfdf2, &errorCode)) ||
389 U_FAILURE(errorCode)
446 UErrorCode errorCode; local
449 errorCode=U_PARSE_ERROR;
450 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode);
451 if(errorCode!=U_PARSE_ERROR) {
453 u_errorName(errorCode));
[all...]
/external/icu4c/test/intltest/
H A Ditutil.cpp106 ErrorCode errorCode; local
107 if(errorCode.get()!=U_ZERO_ERROR || !errorCode.isSuccess() || errorCode.isFailure()) {
111 errorCode.assertSuccess();
112 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) {
115 RefPlusOne(errorCode);
116 if(errorCode.get()!=U_ILLEGAL_ARGUMENT_ERROR || errorCode.isSuccess() || !errorCode
[all...]
H A Dlistformattertest.cpp29 UErrorCode errorCode = U_ZERO_ERROR; local
30 formatter->format(data, dataSize, actualResult, errorCode);
39 UErrorCode errorCode = U_ZERO_ERROR; local
40 ListFormatter* formatter = ListFormatter::createInstance(Locale(locale_string), errorCode);
41 if (formatter == NULL || U_FAILURE(errorCode)) {
74 UErrorCode errorCode = U_ZERO_ERROR; local
75 ListFormatter::getFallbackLocale(in, out, errorCode);
76 if (U_FAILURE(errorCode)) {
77 errln("Error in getLocaleFallback: %s", u_errorName(errorCode));
186 UErrorCode errorCode local
[all...]
/external/icu4c/test/perf/unisetperf/draft/
H A Dbitset.cpp86 BitSet(const UnicodeSet &set, UErrorCode &errorCode) : bits(shortBits), restSet(set.clone()) { argument
87 if(U_FAILURE(errorCode)) {
92 errorCode=U_MEMORY_ALLOCATION_ERROR;
156 errorCode=U_MEMORY_ALLOCATION_ERROR;
/external/webkit/Source/WebCore/dom/
H A DViewportArguments.cpp334 static const char* viewportErrorMessageTemplate(ViewportErrorCode errorCode) argument
344 return errors[errorCode];
347 static MessageLevel viewportErrorMessageLevel(ViewportErrorCode errorCode) argument
349 switch (errorCode) {
375 void reportViewportWarning(Document* document, ViewportErrorCode errorCode, const String& replacement1, const String& replacement2) argument
381 String message = viewportErrorMessageTemplate(errorCode);
387 frame->domWindow()->console()->addMessage(HTMLMessageSource, LogMessageType, viewportErrorMessageLevel(errorCode), message, parserLineNumber(document), document->url().string());
/external/webkit/Source/WebCore/platform/gtk/
H A DGeolocationServiceGtk.cpp208 void GeolocationServiceGtk::setError(PositionError::ErrorCode errorCode, const char* message) argument
211 m_lastError = PositionError::create(errorCode, String::fromUTF8(message));
/external/webkit/Source/WebKit/chromium/src/
H A DWebGeolocationClientMock.cpp61 void WebGeolocationClientMock::setError(int errorCode, const WebString& message) argument
64 switch (errorCode) {
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
H A DHandlerTest.java368 public void error(String msg, Exception ex, int errorCode) { argument
371 CallVerificationStack.getInstance().push(errorCode);

Completed in 2088 milliseconds

123456789