Searched defs:errorCode (Results 76 - 100 of 202) sorted by relevance

123456789

/external/icu4c/i18n/
H A Ducol_wgt.cpp474 UErrorCode errorCode=U_ZERO_ERROR; local
475 uprv_sortArray(ranges, rangeCount, sizeof(WeightRange), compareRanges, NULL, FALSE, &errorCode);
/external/icu4c/test/cintltst/
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...]
H A Dsprpdata.c43 doStringPrepTest(const char* binFileName, const char* txtFileName, int32_t options, UErrorCode* errorCode);
272 doStringPrepTest(const char* binFileName, const char* txtFileName, int32_t options, UErrorCode* errorCode){ argument
274 const char *testdatapath = loadTestData(errorCode);
288 profile = usprep_open(testdatapath, binFileName, errorCode);
290 if(*errorCode == U_FILE_ACCESS_ERROR) {
291 log_data_err("Failed to load %s data file. Error: %s \n", binFileName, u_errorName(*errorCode));
293 } else if(U_FAILURE(*errorCode)){
294 log_err("Failed to load %s data file. Error: %s \n", binFileName, u_errorName(*errorCode));
303 parseMappings(filename,profile, TRUE,errorCode);
H A Dutmstest.c448 UErrorCode errorCode; local
454 errorCode = U_ZERO_ERROR;
455 cal = ucal_open(utc, -1, "", UCAL_GREGORIAN, &errorCode);
456 ucal_setGregorianChange(cal, -1000000 * (dayMillis * (UDate)1), &errorCode);
457 if(U_FAILURE(errorCode)) {
458 log_data_err("ucal_open(UTC/proleptic Gregorian) failed: %s - (Are you missing data?)\n", u_errorName(errorCode));
465 millis = utmscale_toInt64(dt->ticks, UDTS_ICU4C_TIME, &errorCode);
467 ucal_setDate(cal, dt->year, dt->month - 1, dt->day, &errorCode); /* Java & ICU use January = month 0. */
468 icuDate = ucal_getMillis(cal, &errorCode);
476 ticks = utmscale_fromInt64((int64_t)icuDate, UDTS_ICU4C_TIME, &errorCode);
[all...]
/external/icu4c/test/intltest/
H A Dnormconf.cpp73 UErrorCode errorCode; local
88 errorCode=U_ZERO_ERROR;
89 folder=loadTestData(errorCode);
90 if(U_SUCCESS(errorCode)) {
103 errorCode=U_ZERO_ERROR;
104 folder=loadTestData(errorCode);
105 if(U_SUCCESS(errorCode)) {
116 errorCode=U_ZERO_ERROR;
117 folder=loadTestData(errorCode);
118 if(U_SUCCESS(errorCode)) {
[all...]
H A Dtestidn.cpp79 UErrorCode errorCode=U_ZERO_ERROR; local
82 LocalUStringPrepProfilePointer profile(usprep_openByType(USPREP_RFC3491_NAMEPREP, &errorCode));
83 if(U_FAILURE(errorCode)){
84 test.errcheckln(errorCode, "Failed to load IDNA data file. " + UnicodeString(u_errorName(errorCode)));
85 return errorCode;
126 parseMappings(filename,TRUE, test,&errorCode);
127 if(U_FAILURE(errorCode)) {
129 return errorCode;
136 return errorCode;
[all...]
H A Ducdtest.cpp35 UErrorCode errorCode=U_ZERO_ERROR; local
36 unknownPropertyNames=new U_NAMESPACE_QUALIFIER Hashtable(errorCode);
37 if(U_FAILURE(errorCode)) {
43 unknownPropertyNames->puti(UnicodeString(ignorePropNames[i], -1, US_INV), 1, errorCode); local
175 UErrorCode errorCode=U_ZERO_ERROR; local
176 me->unknownPropertyNames->puti(propName, 1, errorCode);
201 UErrorCode errorCode=U_ZERO_ERROR; local
212 strcpy(backupPath, loadTestData(errorCode));
219 u_parseDelimitedFile(newPath, ';', fields, 2, derivedPropsLineFn, this, &errorCode);
221 if(errorCode
292 UErrorCode errorCode=U_ZERO_ERROR; local
[all...]
H A Duobjtest.cpp578 UErrorCode errorCode = U_ZERO_ERROR; local
579 NumberFormat *nf = NumberFormat::createInstance("de", errorCode);
580 if (U_FAILURE(errorCode)) {
581 dataerrln("NumberFormat::createInstance(de) failed - %s", u_errorName(errorCode));
/external/icu4c/test/perf/utrie2perf/
H A Dutrie2perf.cpp123 UErrorCode errorCode=U_ZERO_ERROR; local
125 UNORM_FCD, &errorCode);
126 if(U_FAILURE(errorCode)) {
128 u_errorName(errorCode));
143 UErrorCode errorCode=U_ZERO_ERROR;
145 UNORM_FCD_ALWAYS_GET, &errorCode);
146 if(U_FAILURE(errorCode)) {
148 u_errorName(errorCode));
176 UErrorCode errorCode=U_ZERO_ERROR; local
180 &errorCode);
191 UErrorCode errorCode=U_ZERO_ERROR; local
[all...]
/external/icu4c/tools/gensprep/
H A Dgensprep.c144 UErrorCode errorCode=U_ZERO_ERROR; local
224 parseMappings(filename,FALSE, &errorCode);
225 if(U_FAILURE(errorCode)) {
226 fprintf(stderr, "Could not open file %s for reading. Error: %s \n", filename, u_errorName(errorCode));
227 return errorCode;
241 parseNormalizationCorrections(filename,&errorCode);
242 if(U_FAILURE(errorCode)){
244 return errorCode;
256 if(U_SUCCESS(errorCode)) {
267 return errorCode;
[all...]
/external/icu4c/tools/toolutil/
H A Dpkg_gencmn.c120 UErrorCode errorCode=U_ZERO_ERROR; local
216 &errorCode);
217 if(U_FAILURE(errorCode)) {
220 u_errorName(errorCode));
221 exit(errorCode);
279 udata_finish(out, &errorCode);
280 if(U_FAILURE(errorCode)) {
281 fprintf(stderr, "gencmn: udata_finish() failed - %s\n", u_errorName(errorCode));
282 exit(errorCode);
H A Ducmstate.c927 UErrorCode errorCode; local
962 errorCode=U_ZERO_ERROR; /* nothing bad will happen... */
965 compareFallbacks, NULL, FALSE, &errorCode);
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DEGLDisplayOpenVG.cpp239 EGLSurface EGLDisplayOpenVG::createPbufferSurface(const IntSize& size, const EGLConfig& config, EGLint* errorCode) argument
248 if (errorCode)
249 *errorCode = eglGetError();
267 EGLClientBuffer clientBuffer, EGLenum bufferType, const EGLConfig& config, EGLint* errorCode)
272 if (errorCode)
273 *errorCode = eglGetError();
266 createPbufferFromClientBuffer( EGLClientBuffer clientBuffer, EGLenum bufferType, const EGLConfig& config, EGLint* errorCode) argument
/external/webkit/Source/WebCore/storage/
H A DIDBRequest.cpp83 unsigned short IDBRequest::errorCode(ExceptionCode& ec) const function in class:WebCore::IDBRequest
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DDotZLib.cs92 /// <param name="errorCode">The zlib error code that caused the exception</param>
94 public ZLibException(int errorCode, string msg) : base(String.Format("ZLib error {0} {1}", errorCode, msg)) argument
102 /// <param name="errorCode">The zlib error code that caused the exception</param>
103 public ZLibException(int errorCode) : base(String.Format("ZLib error {0}", errorCode)) argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ecf.filetransfer_4.0.0.v20100529-0735.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/chromium/third_party/libjingle/source/talk/xmpp/
H A Dxmppengineimpl.cc431 XmppEngineImpl::SignalError(Error errorCode, int subCode) { argument
433 error_code_ = errorCode;
/external/icu4c/common/
H A Dstringtriebuilder.cpp44 StringTrieBuilder::createCompactBuilder(int32_t sizeGuess, UErrorCode &errorCode) { argument
45 if(U_FAILURE(errorCode)) {
49 sizeGuess, &errorCode);
50 if(U_SUCCESS(errorCode) && nodes==NULL) {
51 errorCode=U_MEMORY_ALLOCATION_ERROR;
53 if(U_SUCCESS(errorCode)) {
66 UErrorCode &errorCode) {
70 createCompactBuilder(2*elementsLength, errorCode);
71 Node *root=makeNode(0, elementsLength, 0, errorCode);
72 if(U_SUCCESS(errorCode)) {
65 build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode) argument
205 makeNode(int32_t start, int32_t limit, int32_t unitIndex, UErrorCode &errorCode) argument
257 makeBranchSubNode(int32_t start, int32_t limit, int32_t unitIndex, int32_t length, UErrorCode &errorCode) argument
316 registerNode(Node *newNode, UErrorCode &errorCode) argument
345 registerFinalValue(int32_t value, UErrorCode &errorCode) argument
[all...]
H A Dubidiln.c305 UErrorCode errorCode; local
309 errorCode=U_ZERO_ERROR;
310 RETURN_VOID_IF_BAD_RANGE(logicalPosition, 0, pBiDi->length, errorCode);
312 runCount=ubidi_countRuns((UBiDi *)pBiDi, &errorCode);
313 if(U_FAILURE(errorCode)) {
365 UErrorCode errorCode = U_ZERO_ERROR; local
366 RETURN_IF_NOT_VALID_PARA_OR_LINE(pBiDi, errorCode, UBIDI_LTR);
367 ubidi_getRuns(pBiDi, &errorCode);
368 if(U_FAILURE(errorCode)) {
371 RETURN_IF_BAD_RANGE(runIndex, 0, pBiDi->runCount, errorCode, UBIDI_LT
[all...]
H A Ducharstriebuilder.cpp37 void setTo(const UnicodeString &s, int32_t val, UnicodeString &strings, UErrorCode &errorCode);
64 UnicodeString &strings, UErrorCode &errorCode) {
65 if(U_FAILURE(errorCode)) {
71 errorCode=U_INDEX_OUTOFBOUNDS_ERROR;
85 UCharsTrieBuilder::UCharsTrieBuilder(UErrorCode & /*errorCode*/)
95 UCharsTrieBuilder::add(const UnicodeString &s, int32_t value, UErrorCode &errorCode) { argument
96 if(U_FAILURE(errorCode)) {
101 errorCode=U_NO_WRITE_PERMISSION;
113 errorCode=U_MEMORY_ALLOCATION_ERROR;
122 elements[elementsLength++].setTo(s, value, strings, errorCode);
63 setTo(const UnicodeString &s, int32_t val, UnicodeString &strings, UErrorCode &errorCode) argument
142 build(UStringTrieBuildOption buildOption, UErrorCode &errorCode) argument
158 buildUnicodeString(UStringTrieBuildOption buildOption, UnicodeString &result, UErrorCode &errorCode) argument
168 buildUChars(UStringTrieBuildOption buildOption, UErrorCode &errorCode) argument
[all...]
H A Ducnvhz.c69 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ argument
72 ucnv_canCreateConverter("GBK", errorCode); /* errorCode carries result */
75 gbConverter = ucnv_open("GBK", errorCode);
76 if(U_FAILURE(*errorCode)) {
90 *errorCode = U_MEMORY_ALLOCATION_ERROR;
H A Duprops.cpp84 UErrorCode errorCode=U_ZERO_ERROR; local
85 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode);
86 return U_SUCCESS(errorCode) && impl->isCompNo(impl->getNorm16(c));
97 UErrorCode errorCode=U_ZERO_ERROR; local
99 (UNormalizationMode)(which-UCHAR_NFD_INERT+UNORM_NFD), errorCode);
100 return U_SUCCESS(errorCode) && norm2->isInert(c);
111 UErrorCode errorCode=U_ZERO_ERROR; local
112 const Normalizer2 *nfcNorm2=Normalizer2Factory::getNFCInstance(errorCode);
113 if(U_FAILURE(errorCode)) {
141 U_FOLD_CASE_DEFAULT, &errorCode);
155 UErrorCode errorCode=U_ZERO_ERROR; local
183 UErrorCode errorCode=U_ZERO_ERROR; local
295 UErrorCode errorCode=U_ZERO_ERROR; local
306 UErrorCode errorCode=U_ZERO_ERROR; local
379 UErrorCode errorCode=U_ZERO_ERROR; local
[all...]
H A Dustrcase.c967 UErrorCode errorCode=U_ZERO_ERROR; local
970 &errorCode);
975 UErrorCode errorCode=U_ZERO_ERROR; local
978 &errorCode);
983 UErrorCode errorCode=U_ZERO_ERROR; local
986 &errorCode);
H A Dutrie2.cpp731 UErrorCode &errorCode) {
733 UTrie2 *instance=(UTrie2 *)singleton.getInstance(instantiator, context, duplicate, errorCode);
730 getInstance(InstantiatorFn *instantiator, const void *context, UErrorCode &errorCode) argument

Completed in 1191 milliseconds

123456789