/external/icu4c/test/perf/unisetperf/draft/ |
bitset.cpp | 86 BitSet(const UnicodeSet &set, UErrorCode &errorCode) : bits(shortBits), restSet(set.clone()) { 87 if(U_FAILURE(errorCode)) { 92 errorCode=U_MEMORY_ALLOCATION_ERROR; 156 errorCode=U_MEMORY_ALLOCATION_ERROR;
|
/external/webkit/JavaScriptCore/jit/ |
ExecutableAllocatorSymbian.cpp | 54 TInt errorCode = codeChunk->CreateLocalCode(n, n);
|
/external/chromium/third_party/icu/source/tools/genprops/ |
genprops.c | 83 UErrorCode errorCode=U_ZERO_ERROR; 164 parseDB(filename, &errorCode); 168 generateAdditionalProperties(filename, suffix, &errorCode); 171 if(U_SUCCESS(errorCode)) { 178 return errorCode; 513 UErrorCode errorCode; 547 errorCode=U_ZERO_ERROR; 548 upvec_setValue(pv, 0xac00, 0xd7a3, 2, (uint32_t)U_DT_CANONICAL, UPROPS_DT_MASK, &errorCode); 549 if(U_FAILURE(errorCode)) { 550 fprintf(stderr, "genprops error: unable to set decomposition type: %s\n", u_errorName(errorCode)); [all...] |
/external/icu4c/tools/genprops/ |
genprops.c | 83 UErrorCode errorCode=U_ZERO_ERROR; 164 parseDB(filename, &errorCode); 168 generateAdditionalProperties(filename, suffix, &errorCode); 171 if(U_SUCCESS(errorCode)) { 178 return errorCode; 513 UErrorCode errorCode; 547 errorCode=U_ZERO_ERROR; 548 upvec_setValue(pv, 0xac00, 0xd7a3, 2, (uint32_t)U_DT_CANONICAL, UPROPS_DT_MASK, &errorCode); 549 if(U_FAILURE(errorCode)) { 550 fprintf(stderr, "genprops error: unable to set decomposition type: %s\n", u_errorName(errorCode)); [all...] |
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
ChunkHandler.java | 61 public static Chunk createFailChunk(int errorCode, String msg) { 67 out.putInt(errorCode);
|
/external/chromium/third_party/icu/public/common/unicode/ |
normlzr.h | 305 * @param errorCode ICU error code in/out parameter. 314 isNormalized(const UnicodeString &src, UNormalizationMode mode, UErrorCode &errorCode); 323 * @param errorCode ICU error code in/out parameter. 332 isNormalized(const UnicodeString &src, UNormalizationMode mode, int32_t options, UErrorCode &errorCode); 352 * @param errorCode ICU error code in/out parameter. 367 UErrorCode &errorCode); 421 * @param errorCode ICU error code in/out parameter. 436 UErrorCode &errorCode); 811 UErrorCode &errorCode) { 816 &errorCode); [all...] |
/external/chromium/third_party/icu/source/tools/gennames/ |
gennames.c | 356 UErrorCode errorCode = U_ZERO_ERROR; 361 u_init(&errorCode); 362 if (U_FAILURE(errorCode) && errorCode != U_FILE_ACCESS_ERROR) { 367 fprintf(stderr, "%s: can not initialize ICU. errorCode = %s\n", 368 argv[0], u_errorName(errorCode)); 555 UErrorCode errorCode=U_ZERO_ERROR; 557 u_parseDelimitedFile(filename, ';', fields, 15, lineFn, storeOptions, &errorCode); 558 if(U_FAILURE(errorCode)) { 559 fprintf(stderr, "gennames parse error: %s\n", u_errorName(errorCode)); [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
strcase.cpp | 397 UErrorCode errorCode; 399 errorCode=U_ZERO_ERROR; 400 csm=ucasemap_open(localeID, options, &errorCode); 405 UBreakIterator *clone=ubrk_safeClone((UBreakIterator *)iter, NULL, &size, &errorCode); 406 ucasemap_setBreakIterator(csm, clone, &errorCode); 410 u_strToUTF8(utf8In, (int32_t)sizeof(utf8In), &utf8InLength, input.getBuffer(), input.length(), &errorCode); 416 utf8In, utf8InLength, &errorCode); 422 utf8In, utf8InLength, &errorCode); 429 utf8In, utf8InLength, &errorCode); 436 utf8In, utf8InLength, &errorCode); [all...] |
/external/icu4c/test/intltest/ |
strcase.cpp | 398 IcuTestErrorCode errorCode(*this, "TestCasingImpl"); 399 LocalUCaseMapPointer csm(ucasemap_open(localeID, options, errorCode)); 404 UBreakIterator *clone=ubrk_safeClone((UBreakIterator *)iter, NULL, &size, errorCode); 405 ucasemap_setBreakIterator(csm.getAlias(), clone, errorCode); 409 u_strToUTF8(utf8In, (int32_t)sizeof(utf8In), &utf8InLength, input.getBuffer(), input.length(), errorCode); 415 utf8In, utf8InLength, errorCode); 421 utf8In, utf8InLength, errorCode); 428 utf8In, utf8InLength, errorCode); 435 utf8In, utf8InLength, errorCode); 443 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode); [all...] |
ustrtest.cpp | 228 UErrorCode errorCode=U_ZERO_ERROR; 230 cnv=ucnv_open("ISO-8859-1", &errorCode); 231 UnicodeString v(cs, -1, cnv, errorCode); 234 errln("UnicodeString(const char *, length, cnv, errorCode) does not work with length==-1"); 541 UErrorCode errorCode; 544 errorCode=U_ZERO_ERROR; 545 length=s.extract((UChar *)NULL, 0, errorCode); 546 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || length!=s.length()) { 547 errln("UnicodeString.extract(NULL, 0)==%d (%s) expected %d (U_BUFFER_OVERFLOW_ERROR)", length, s.length(), u_errorName(errorCode)); 550 errorCode=U_ZERO_ERROR [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
utmstest.c | 448 UErrorCode errorCode; 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_err("ucal_open(UTC/proleptic Gregorian) failed: %s\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...] |
trietest.c | 31 #define u_errorName(errorCode) "some error code" 266 UErrorCode errorCode; 316 errorCode=U_ZERO_ERROR; 320 &errorCode); 321 if(U_FAILURE(errorCode)) { 322 log_err("error: utrie_serialize(%s) failed: %s\n", testName, u_errorName(errorCode)); 350 errorCode=U_ZERO_ERROR; 351 if(!utrie_unserialize(&trie, storage, length, &errorCode)) { 352 log_err("error: utrie_unserialize() failed, %s\n", u_errorName(errorCode)); 460 UErrorCode errorCode; [all...] |
ncnvtst.c | [all...] |
bocu1tst.c | 884 UErrorCode errorCode; 894 errorCode=U_ZERO_ERROR; 895 bocu1ICULength=ucnv_fromUChars(bocu1, bocu1ICU, DEFAULT_BUFFER_SIZE, text, length, &errorCode); 896 if(U_FAILURE(errorCode)) { 897 log_err("ucnv_fromUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode)); 912 roundtripICULength=ucnv_toUChars(bocu1, roundtripICU, DEFAULT_BUFFER_SIZE, bocu1ICU, bocu1ICULength, &errorCode); 913 if(U_FAILURE(errorCode)) { 914 log_err("ucnv_toUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode)); 981 UErrorCode errorCode; 983 errorCode=U_ZERO_ERROR [all...] |
/external/icu4c/test/cintltst/ |
utmstest.c | 448 UErrorCode errorCode; 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...] |
trietest.c | 31 #define u_errorName(errorCode) "some error code" 266 UErrorCode errorCode; 316 errorCode=U_ZERO_ERROR; 320 &errorCode); 321 if(U_FAILURE(errorCode)) { 322 log_err("error: utrie_serialize(%s) failed: %s\n", testName, u_errorName(errorCode)); 350 errorCode=U_ZERO_ERROR; 351 if(!utrie_unserialize(&trie, storage, length, &errorCode)) { 352 log_err("error: utrie_unserialize() failed, %s\n", u_errorName(errorCode)); 460 UErrorCode errorCode; [all...] |
bocu1tst.c | 884 UErrorCode errorCode; 894 errorCode=U_ZERO_ERROR; 895 bocu1ICULength=ucnv_fromUChars(bocu1, bocu1ICU, DEFAULT_BUFFER_SIZE, text, length, &errorCode); 896 if(U_FAILURE(errorCode)) { 897 log_err("ucnv_fromUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode)); 913 roundtripICULength=ucnv_toUChars(bocu1, roundtripICU, DEFAULT_BUFFER_SIZE, bocu1ICU, bocu1ICULength, &errorCode); 914 if(U_FAILURE(errorCode)) { 915 log_err("ucnv_toUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode)); 982 UErrorCode errorCode; 984 errorCode=U_ZERO_ERROR [all...] |
/external/chromium/third_party/icu/source/common/ |
unorm.cpp | 277 loadNormData(UErrorCode &errorCode) { 301 if(&errorCode==NULL || U_FAILURE(errorCode)) { 306 data=udata_openChoice(NULL, DATA_TYPE, DATA_NAME, isAcceptable, NULL, &errorCode); 307 dataErrorCode=errorCode; 308 if(U_FAILURE(errorCode)) { 314 utrie_unserialize(&_normTrie, pb, p[_NORM_INDEX_TRIE_SIZE], &errorCode); 319 utrie_unserialize(&_fcdTrie, pb, p[_NORM_INDEX_FCD_TRIE_SIZE], &errorCode); 324 utrie_unserialize(&_auxTrie, pb, p[_NORM_INDEX_AUX_TRIE_SIZE], &errorCode); 328 if(U_FAILURE(errorCode)) { [all...] |
/external/chromium/third_party/icu/source/tools/toolutil/ |
pkg_gencmn.c | 118 UErrorCode errorCode=U_ZERO_ERROR; 214 &errorCode); 215 if(U_FAILURE(errorCode)) { 218 u_errorName(errorCode)); 219 exit(errorCode); 277 udata_finish(out, &errorCode); 278 if(U_FAILURE(errorCode)) { 279 fprintf(stderr, "gencmn: udata_finish() failed - %s\n", u_errorName(errorCode)); 280 exit(errorCode);
|
pkgitems.cpp | 622 UErrorCode errorCode; 624 errorCode=U_ZERO_ERROR; 625 pInfo=getDataInfo(pItem->data,pItem->length, infoLength, itemHeaderLength, &errorCode); 626 if(U_FAILURE(errorCode)) { 636 ds=udata_openSwapper((UBool)pInfo->isBigEndian, pInfo->charsetFamily, U_IS_BIG_ENDIAN, U_CHARSET_FAMILY, &errorCode); 637 if(U_FAILURE(errorCode)) { 639 pItem->name, u_errorName(errorCode)); 640 exit(errorCode); 651 ures_enumDependencies(ds, pItem->name, pInfo, inBytes, length, check, context, &errorCode); 654 ucnv_enumDependencies(ds, pItem->name, pInfo, inBytes, length, check, context, &errorCode); [all...] |
/external/icu4c/tools/toolutil/ |
pkg_gencmn.c | 118 UErrorCode errorCode=U_ZERO_ERROR; 214 &errorCode); 215 if(U_FAILURE(errorCode)) { 218 u_errorName(errorCode)); 219 exit(errorCode); 277 udata_finish(out, &errorCode); 278 if(U_FAILURE(errorCode)) { 279 fprintf(stderr, "gencmn: udata_finish() failed - %s\n", u_errorName(errorCode)); 280 exit(errorCode);
|
/external/sqlite/android/ |
PhonebookIndex.cpp | 132 UErrorCode errorCode = U_ZERO_ERROR; 134 0 /* options */, TRUE /* normalize */, NULL, &errorCode); 135 if (U_FAILURE(errorCode)) {
|
/external/webkit/WebKit/win/ |
WebError.cpp | 118 *result = m_error.errorCode(); 142 if (int code = m_error.errorCode()) 209 && m_error.errorCode() == WebKitErrorFrameLoadInterruptedByPolicyChange;
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_framedecoder.cpp | 161 ERROR_CODE errorCode = NO_DECODING_ERROR; 180 errorCode = pvmp3_decode_header(&pVars->inputStream, 184 if (errorCode != NO_DECODING_ERROR) 187 return errorCode; 242 errorCode = pvmp3_get_side_info(&pVars->inputStream, 247 if (errorCode != NO_DECODING_ERROR) 250 return errorCode; 324 errorCode = NO_ENOUGH_MAIN_DATA_ERROR; 360 if (errorCode != NO_ENOUGH_MAIN_DATA_ERROR) 439 } /* if ( errorCode != NO_ENOUGH_MAIN_DATA_ERROR) * [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
ChunkHandler.java | 75 int errorCode, msgLen; 78 errorCode = data.getInt(); 81 Log.w("ddms", "WARNING: failure code=" + errorCode + " msg=" + msg);
|