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

12345678

/external/webkit/Source/WebCore/fileapi/
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/icu4c/common/
H A Dunistr_case.cpp65 UErrorCode errorCode=U_ZERO_ERROR; local
67 options|U_COMPARE_IGNORE_CASE, &errorCode);
134 UErrorCode errorCode; local
137 errorCode = U_ZERO_ERROR;
141 locale, &errorCode);
145 locale, &errorCode);
148 errorCode=U_UNSUPPORTED_ERROR;
152 (UBreakIterator *)titleIter, locale, options, &errorCode);
158 &errorCode);
161 } while(errorCode
[all...]
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...]
H A Dnormlzr.cpp71 UErrorCode errorCode=U_ZERO_ERROR; local
72 fNorm2=Normalizer2Factory::getInstance(fUMode, errorCode);
76 new FilteredNormalizer2(*fNorm2, *uniset_getUnicode32Instance(errorCode));
78 if(U_FAILURE(errorCode)) {
79 errorCode=U_ZERO_ERROR;
80 fNorm2=Normalizer2Factory::getNoopInstance(errorCode);
209 UErrorCode &errorCode) {
210 if(left.isBogus() || right.isBogus() || U_FAILURE(errorCode)) {
212 if(U_SUCCESS(errorCode)) {
213 errorCode
206 concatenate(UnicodeString &left, UnicodeString &right, UnicodeString &result, UNormalizationMode mode, int32_t options, UErrorCode &errorCode) argument
492 UErrorCode errorCode=U_ZERO_ERROR; local
514 UErrorCode errorCode=U_ZERO_ERROR; local
[all...]
H A Ducasemap.c134 UErrorCode errorCode; local
161 errorCode=U_ZERO_ERROR;
165 &errorCode);
174 errorCode=U_ZERO_ERROR;
178 &errorCode);
H A Dunorm_it.c195 UErrorCode errorCode; local
208 errorCode=U_ZERO_ERROR;
210 uiter_setState(iter, uni->states[limit], &errorCode);
211 if(U_FAILURE(errorCode)) {
218 room=unorm_next(iter, uni->chars+limit, capacity-limit, uni->mode, 0, TRUE, NULL, &errorCode);
219 if(errorCode==U_BUFFER_OVERFLOW_ERROR) {
235 errorCode=U_ZERO_ERROR;
236 uiter_setState(iter, uni->states[limit], &errorCode);
237 room=unorm_next(iter, uni->chars+limit, capacity-limit, uni->mode, 0, TRUE, NULL, &errorCode);
239 if(U_FAILURE(errorCode) || roo
265 UErrorCode errorCode; local
[all...]
/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.c376 UErrorCode errorCode=U_ZERO_ERROR; local
378 USCRIPT_COMMON==uscript_getScript(0x0640, &errorCode) &&
379 USCRIPT_INHERITED==uscript_getScript(0x0650, &errorCode) &&
380 USCRIPT_ARABIC==uscript_getScript(0xfdf2, &errorCode)) ||
381 U_FAILURE(errorCode)
434 UErrorCode errorCode; local
437 errorCode=U_PARSE_ERROR;
438 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode);
439 if(errorCode!=U_PARSE_ERROR) {
441 u_errorName(errorCode));
[all...]
H A Dcstrcase.c43 UErrorCode errorCode; local
47 errorCode=U_ZERO_ERROR;
51 &errorCode);
52 if( U_FAILURE(errorCode) ||
59 u_errorName(errorCode),
69 errorCode=U_ZERO_ERROR;
73 &errorCode);
74 if( U_FAILURE(errorCode) ||
81 u_errorName(errorCode),
87 errorCode
141 UErrorCode errorCode; local
238 UErrorCode errorCode; local
342 UErrorCode errorCode; local
434 UErrorCode errorCode; local
635 UErrorCode errorCode; local
732 UErrorCode errorCode; local
877 UErrorCode errorCode; local
974 u_strToUTF8(utf8BeforeTitle, (int32_t)sizeof(utf8BeforeTitle), &utf8BeforeTitleLength, beforeTitle, LENGTHOF(beforeTitle), &errorCode); local
975 u_strToUTF8(utf8TitleSentNoLower, (int32_t)sizeof(utf8TitleSentNoLower), &utf8TitleSentNoLowerLength, titleSentNoLower, LENGTHOF(titleSentNoLower), &errorCode); local
[all...]
H A Dspreptst.c33 int32_t options, UErrorCode* errorCode);
65 UErrorCode errorCode = U_ZERO_ERROR; local
66 loadTestData(&errorCode);
67 if(U_FAILURE(errorCode)) {
68 log_data_err("Could not load testdata.dat, status = %s\n", u_errorName(errorCode));
73 doStringPrepTest("nfscsi","nfs4_cs_prep_ci.txt", USPREP_DEFAULT, &errorCode);
76 errorCode = U_ZERO_ERROR;
77 doStringPrepTest("nfscss","nfs4_cs_prep_cs.txt", USPREP_DEFAULT, &errorCode);
83 UErrorCode errorCode = U_ZERO_ERROR; local
85 doStringPrepTest("nfscis","nfs4_cis_prep.txt", USPREP_DEFAULT, &errorCode);
89 UErrorCode errorCode = U_ZERO_ERROR; local
492 UErrorCode errorCode = U_ZERO_ERROR; local
[all...]
/external/icu4c/test/intltest/
H A Ditutil.cpp88 ErrorCode errorCode; local
89 if(errorCode.get()!=U_ZERO_ERROR || !errorCode.isSuccess() || errorCode.isFailure()) {
93 errorCode.assertSuccess();
94 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) {
97 RefPlusOne(errorCode);
98 if(errorCode.get()!=U_ILLEGAL_ARGUMENT_ERROR || errorCode.isSuccess() || !errorCode
[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/icu4c/tools/genprops/
H A Dstore.c367 UErrorCode errorCode=U_ZERO_ERROR; local
372 trieSize=utrie_serialize(pTrie, trieBlock, sizeof(trieBlock), NULL, TRUE, &errorCode);
373 if(U_FAILURE(errorCode)) {
374 fprintf(stderr, "error: utrie_serialize failed: %s (length %ld)\n", u_errorName(errorCode), (long)trieSize);
375 exit(errorCode);
398 utrie_unserialize(&trie, trieBlock, trieSize, &errorCode);
399 if(U_FAILURE(errorCode)) {
403 u_errorName(errorCode));
404 exit(errorCode);
408 trie2=utrie2_fromUTrie(&trie, 0, &errorCode);
[all...]
/external/icu4c/tools/icuinfo/
H A Dicuinfo.cpp261 UErrorCode errorCode = U_ZERO_ERROR; local
316 return U_FAILURE(errorCode);
/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);
/external/icu4c/i18n/
H A Ducol_wgt.cpp461 UErrorCode errorCode=U_ZERO_ERROR; local
462 uprv_sortArray(ranges, rangeCount, sizeof(WeightRange), compareRanges, NULL, FALSE, &errorCode);

Completed in 1918 milliseconds

12345678