/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | transrt.cpp | 135 UErrorCode ec = U_ZERO_ERROR; local 136 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); 137 if (U_FAILURE(ec)) { 181 UErrorCode ec = U_ZERO_ERROR; local 182 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); 431 UErrorCode ec = U_ZERO_ERROR; local 432 Normalizer::decompose(a, FALSE, 0, aa, ec); 433 Normalizer::decompose(b, FALSE, 0, bb, ec);
|
H A D | tztest.cpp | 241 UErrorCode ec = U_ZERO_ERROR; local 243 UBool startsInDST = tz.inDaylightTime(min, ec); 244 if (failure(ec, "TimeZone::inDaylightTime")) return; 245 if (tz.inDaylightTime(max, ec) == startsInDST) { 250 if (failure(ec, "TimeZone::inDaylightTime")) return; 253 if (tz.inDaylightTime(mid, ec) == startsInDST) { 258 if (failure(ec, "TimeZone::inDaylightTime")) return; 370 UErrorCode ec = U_ZERO_ERROR; local 431 s_length = s->count(ec); 435 *buf += *s->snext(ec); 530 UErrorCode ec = U_ZERO_ERROR; local 735 UErrorCode ec = U_ZERO_ERROR; local 1694 UErrorCode ec = U_ZERO_ERROR; local 1802 UErrorCode ec = U_ZERO_ERROR; local 2013 UErrorCode ec = U_ZERO_ERROR; local 2101 TimeZone::getCanonicalID(UnicodeString(data[i].id), canonicalID, isSystemID, ec); local [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
H A D | bands.c | 646 ec_ctx *ec; member in struct:band_ctx 679 ec_ctx *ec; local 686 ec = ctx->ec; 703 tell = ec_tell_frac(ec); 720 ec_encode(ec,x<=x0?p0*x:(x-1-x0)+(x0+1)*p0,x<=x0?p0*(x+1):(x-x0)+(x0+1)*p0,ft); 723 fs=ec_decode(ec,ft); 728 ec_dec_update(ec,x<=x0?p0*x:(x-1-x0)+(x0+1)*p0,x<=x0?p0*(x+1):(x-x0)+(x0+1)*p0,ft); 734 ec_enc_uint(ec, itheta, qn+1); 736 itheta = ec_dec_uint(ec, q 846 ec_ctx *ec; local 901 ec_ctx *ec; local 1214 ec_ctx *ec; local 1355 quant_all_bands(int encode, const CELTMode *m, int start, int end, celt_norm *X_, celt_norm *Y_, unsigned char *collapse_masks, const celt_ener *bandE, int *pulses, int shortBlocks, int spread, int dual_stereo, int intensity, int *tf_res, opus_int32 total_bits, opus_int32 balance, ec_ctx *ec, int LM, int codedBands, opus_uint32 *seed) argument [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | msgfmt.cpp | 200 void formatAndAppend(const Format* formatter, const Formattable& arg, UErrorCode& ec) { argument 202 formatter->format(arg, s, ec); 203 if (U_SUCCESS(ec)) { 208 const UnicodeString &argString, UErrorCode& ec) { 210 if (U_SUCCESS(ec)) { 214 formatAndAppend(formatter, arg, ec); 314 UErrorCode ec = U_ZERO_ERROR; local 315 copyObjects(that, ec); 316 if (U_FAILURE(ec)) { 379 UErrorCode ec local 207 formatAndAppend(const Format* formatter, const Formattable& arg, const UnicodeString &argString, UErrorCode& ec) argument 410 UErrorCode ec = U_ZERO_ERROR; local 481 applyPattern(const UnicodeString& pattern, UParseError& parseError, UErrorCode& ec) argument 1308 copyObjects(const MessageFormat& that, UErrorCode& ec) argument 1501 UErrorCode ec = U_ZERO_ERROR; local 1568 makeRBNF(URBNFRuleSetTag tag, const Locale& locale, const UnicodeString& defaultRuleSet, UErrorCode& ec) argument 1677 createAppropriateFormat(UnicodeString& type, UnicodeString& style, Formattable::Type& formattableType, UParseError& parseError, UErrorCode& ec) argument [all...] |
H A D | numfmt.cpp | 738 UErrorCode ec = U_ZERO_ERROR; local 739 getEffectiveCurrency(curr, ec); 740 if (U_SUCCESS(ec)) { 741 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curr, ec)); 742 if (U_FAILURE(ec)) { 1167 void NumberFormat::setCurrency(const UChar* theCurrency, UErrorCode& ec) { argument 1168 if (U_FAILURE(ec)) { 1183 void NumberFormat::getEffectiveCurrency(UChar* result, UErrorCode& ec) const { 1189 const char* loc = getLocaleID(ULOC_VALID_LOCALE, ec); 1193 ucurr_forLocale(loc, result, 4, &ec); [all...] |
H A D | rbnf.cpp | 299 UErrorCode& ec; member in class:LocDataParser 303 : data(NULL), e(NULL), p(NULL), ch(0xffff), pe(parseError), ec(status) {} 358 if (U_FAILURE(ec)) { 369 ec = U_ILLEGAL_ARGUMENT_ERROR; 374 ec = U_ILLEGAL_ARGUMENT_ERROR; 403 array.add(elem, ec); 427 array.add(NULL, ec); 428 if (U_SUCCESS(ec)) { 441 if (U_FAILURE(ec)) { 458 array.add(elem, ec); [all...] |
H A D | rbt_pars.cpp | 856 UErrorCode& ec) { 857 if (U_SUCCESS(ec)) { 858 parseRules(rules, transDirection, ec); 853 parse(const UnicodeString& rules, UTransDirection transDirection, UParseError& pe, UErrorCode& ec) argument
|
H A D | timezone.cpp | 266 * @param ec input-output error code 271 UErrorCode& ec) 277 UResourceBundle *top = ures_openDirect(0, kZONEINFO, &ec); 279 /* &res = */ getZoneByName(top, id, &res, ec); 282 U_DEBUG_TZ_MSG(("Loading zone '%s' (%s, size %d) - %s\n", buf, ures_getKey((UResourceBundle*)&res), ures_getSize(&res), u_errorName(ec))); 284 int32_t deref = ures_getInt(&res, &ec) + 0; 285 U_DEBUG_TZ_MSG(("getInt: %s - type is %d\n", u_errorName(ec), ures_getType(&res))); 286 UResourceBundle *ares = ures_getByKey(top, kZONES, NULL, &ec); // dereference Zones section 287 ures_getByIndex(ares, deref, &res, &ec); 289 U_DEBUG_TZ_MSG(("alias to #%d (%s) - %s\n", deref, "??", u_errorName(ec))); 269 openOlsonResource(const UnicodeString& id, UResourceBundle& res, UErrorCode& ec) argument 378 createSystemTimeZone(const UnicodeString& id, UErrorCode& ec) argument 411 UErrorCode ec = U_ZERO_ERROR; local 567 initMap(USystemTimeZoneType type, UErrorCode& ec) argument 717 UErrorCode ec = U_ZERO_ERROR; local 733 getMap(USystemTimeZoneType type, int32_t& len, UErrorCode& ec) argument 769 create(USystemTimeZoneType type, const char* region, const int32_t* rawOffset, UErrorCode& ec) argument 932 createTimeZoneIDEnumeration( USystemTimeZoneType zoneType, const char* region, const int32_t* rawOffset, UErrorCode& ec) argument 942 UErrorCode ec = U_ZERO_ERROR; local 948 UErrorCode ec = U_ZERO_ERROR; local 954 UErrorCode ec = U_ZERO_ERROR; local 963 UErrorCode ec = U_ZERO_ERROR; local 986 UErrorCode ec = U_ZERO_ERROR; local 1031 UErrorCode ec = U_ZERO_ERROR; local 1050 UErrorCode ec = U_ZERO_ERROR; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdattst.c | 801 UErrorCode ec = U_ZERO_ERROR; local 803 ctest_setTimeZone(NULL, &ec); 806 date = udat_open(UDAT_NONE, UDAT_SHORT, "en_US", NULL, 0, NULL, 0, &ec); 807 if (U_FAILURE(ec)) { 809 u_errorName(ec)); 814 time = udat_open(UDAT_SHORT, UDAT_NONE, "en_US", NULL, 0, NULL, 0, &ec); 815 if (U_FAILURE(ec)) { 817 u_errorName(ec)); 822 full = udat_open(UDAT_FULL, UDAT_FULL, "en_US", NULL, 0, NULL, 0, &ec); 823 if (U_FAILURE(ec)) { 894 UErrorCode ec = U_ZERO_ERROR; local 1154 _aux1ExtremeDates(UDateFormat* fmt, UDate date, UChar* buf, int32_t buflen, char* cbuf, UErrorCode* ec) argument 1174 _aux2ExtremeDates(UDateFormat* fmt, UDate small, UDate large, UChar* buf, int32_t buflen, char* cbuf, int32_t count, UErrorCode* ec) argument 1205 UErrorCode ec; local [all...] |
H A D | cldrtest.c | 1126 UErrorCode ec = U_ZERO_ERROR; local 1147 avail = ures_openAvailableLocales(NULL, &ec); 1148 if (!assertSuccess("ures_openAvailableLocales", &ec)) goto END; 1149 n = uenum_count(avail, &ec); 1150 if (!assertSuccess("uenum_count", &ec)) goto END; 1153 unassignedSet = uset_openPattern(ubuf, -1, &ec); 1154 if (!assertSuccess("uset_openPattern", &ec)) goto END; 1157 const char* locale = uenum_next(avail, NULL, &ec); 1158 if (!assertSuccess("uenum_next", &ec)) goto END; 1162 ULocaleData *uld = ulocdata_open(locale,&ec); [all...] |
H A D | cucdtst.c | 1823 UErrorCode ec = U_ZERO_ERROR; local 1861 buf, BUFSIZE, &ec); 1862 if (U_FAILURE(ec)) { 1909 l1 = uset_toPattern(set, pat, BUFSIZE, TRUE, &ec); 1910 l2 = uset_toPattern(dumb, dumbPat, BUFSIZE, TRUE, &ec); 1911 if (U_FAILURE(ec)) { 2991 UErrorCode ec; local 3029 ec = U_ZERO_ERROR; 3032 script = uscript_getScript(-1, &ec); 3043 /* We don't explicitly test ec [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | intltest.cpp | 1794 UBool IntlTest::assertSuccess(const char* message, UErrorCode ec, UBool possibleDataError, const char *file, int line) { argument 1798 if (U_FAILURE(ec)) { 1800 dataerrln("FAIL: %s:%d: %s (%s)", file, line, message, u_errorName(ec)); 1802 errcheckln(ec, "FAIL: %s:%d: %s (%s)", file, line, message, u_errorName(ec)); 1806 logln("OK: %s:%d: %s - (%s)", file, line, message, u_errorName(ec)); 1947 UBool IntlTest::assertSuccess(const UnicodeString& message, UErrorCode ec) { argument 1948 return assertSuccess(extractToAssertBuf(message), ec);
|
H A D | loctest.cpp | 1838 UErrorCode ec = U_ZERO_ERROR; local 1845 Calendar* cal = Calendar::createInstance(Locale::createFromName(req), ec); 1846 if (U_FAILURE(ec)) { 1847 dataerrln("FAIL: Calendar::createInstance failed - %s", u_errorName(ec)); 1849 valid = cal->getLocale(ULOC_VALID_LOCALE, ec); 1850 actual = cal->getLocale(ULOC_ACTUAL_LOCALE, ec); 1851 if (U_FAILURE(ec)) { 1857 ec = U_FILE_ACCESS_ERROR; 1858 if (cal->getLocale(ULOC_VALID_LOCALE, ec).getName()[0] != 0) { 1861 ec [all...] |
H A D | tmsgfmt.cpp | 1462 UErrorCode ec = U_ZERO_ERROR; local 1470 MessageFormat msg(pattern, ec); 1471 if (U_FAILURE(ec)) { 1472 dataerrln("FAIL: constructor failed - %s", u_errorName(ec)); 1502 msg.format(ARGS_OBJ, result, ec); 1516 UErrorCode ec = U_ZERO_ERROR; local 1537 NumberFormat* numFmt = NumberFormat::createInstance(locale, ec); 1538 if (U_FAILURE(ec)) { 1544 MessageFormat* fmt = new MessageFormat(formats[i], locale, ec); 1548 ec 1633 UErrorCode ec = U_ZERO_ERROR; local [all...] |
H A D | transrt.cpp | 135 UErrorCode ec = U_ZERO_ERROR; local 136 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); 137 if (U_FAILURE(ec)) { 181 UErrorCode ec = U_ZERO_ERROR; local 182 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); 431 UErrorCode ec = U_ZERO_ERROR; local 432 Normalizer::decompose(a, FALSE, 0, aa, ec); 433 Normalizer::decompose(b, FALSE, 0, bb, ec);
|
H A D | tztest.cpp | 232 UErrorCode ec = U_ZERO_ERROR; local 234 UBool startsInDST = tz.inDaylightTime(min, ec); 235 if (failure(ec, "TimeZone::inDaylightTime")) return; 236 if (tz.inDaylightTime(max, ec) == startsInDST) { 241 if (failure(ec, "TimeZone::inDaylightTime")) return; 244 if (tz.inDaylightTime(mid, ec) == startsInDST) { 249 if (failure(ec, "TimeZone::inDaylightTime")) return; 361 UErrorCode ec = U_ZERO_ERROR; local 422 s_length = s->count(ec); 426 *buf += *s->snext(ec); 521 UErrorCode ec = U_ZERO_ERROR; local 726 UErrorCode ec = U_ZERO_ERROR; local 1685 UErrorCode ec = U_ZERO_ERROR; local 1793 UErrorCode ec = U_ZERO_ERROR; local 1948 UErrorCode ec = U_ZERO_ERROR; local 2032 UErrorCode ec = U_ZERO_ERROR; local 2120 TimeZone::getCanonicalID(UnicodeString(data[i].id), canonicalID, isSystemID, ec); local [all...] |
/external/libopus/celt/ |
H A D | bands.c | 646 ec_ctx *ec; member in struct:band_ctx 679 ec_ctx *ec; local 686 ec = ctx->ec; 703 tell = ec_tell_frac(ec); 720 ec_encode(ec,x<=x0?p0*x:(x-1-x0)+(x0+1)*p0,x<=x0?p0*(x+1):(x-x0)+(x0+1)*p0,ft); 723 fs=ec_decode(ec,ft); 728 ec_dec_update(ec,x<=x0?p0*x:(x-1-x0)+(x0+1)*p0,x<=x0?p0*(x+1):(x-x0)+(x0+1)*p0,ft); 734 ec_enc_uint(ec, itheta, qn+1); 736 itheta = ec_dec_uint(ec, q 846 ec_ctx *ec; local 901 ec_ctx *ec; local 1214 ec_ctx *ec; local 1355 quant_all_bands(int encode, const CELTMode *m, int start, int end, celt_norm *X_, celt_norm *Y_, unsigned char *collapse_masks, const celt_ener *bandE, int *pulses, int shortBlocks, int spread, int dual_stereo, int intensity, int *tf_res, opus_int32 total_bits, opus_int32 balance, ec_ctx *ec, int LM, int codedBands, opus_uint32 *seed) argument [all...] |
/external/llvm/include/llvm/Object/ |
H A D | COFF.h | 456 std::error_code ec = getSymbol(index, s); local 458 return ec;
|
H A D | ELF.h | 296 void LoadVersionNeeds(const Elf_Shdr *ec) const; 321 ELFFile(StringRef Object, std::error_code &ec); 625 ELFFile<ELFT>::ELFFile(StringRef Object, std::error_code &ec) argument 747 ec = std::error_code();
|
/external/llvm/include/llvm/Support/ |
H A D | FileSystem.h | 671 /// \param ec This is set to errc::success if the map was constructed 674 uint64_t offset, std::error_code &ec); 680 uint64_t offset, std::error_code &ec); 766 explicit directory_iterator(const Twine &path, std::error_code &ec) { argument 769 ec = detail::directory_iterator_construct(*State, 773 explicit directory_iterator(const directory_entry &de, std::error_code &ec) { argument 775 ec = detail::directory_iterator_construct(*State, de.path()); 782 directory_iterator &increment(std::error_code &ec) { argument 783 ec = directory_iterator_increment(*State); 828 explicit recursive_directory_iterator(const Twine &path, std::error_code &ec) argument 835 increment(std::error_code &ec) argument 884 std::error_code ec; local [all...] |
/external/llvm/lib/Object/ |
H A D | MachOObjectFile.cpp | 315 std::error_code ec; local 319 if ((ec = Symbol.getAddress(Addr))) 320 report_fatal_error(ec.message()); 323 if ((ec = Symbol.getName(Name))) 324 report_fatal_error(ec.message()); 332 std::error_code ec; local 336 if ((ec = Section.getAddress(Addr))) 337 report_fatal_error(ec.message()); 340 if ((ec = Section.getName(Name))) 341 report_fatal_error(ec [all...] |
/external/openssl/ssl/ |
H A D | s3_srvr.c | 161 #include <openssl/ec.h> 1407 SSL_CIPHER *ec=NULL; local 1418 ec=c; 1422 else if (ec != NULL) 1423 s->s3->tmp.new_cipher=ec; 2723 tkey = s->cert->pkeys[SSL_PKEY_ECC].privatekey->pkey.ec; 2784 EC_KEY_get0_public_key(clnt_pub_pkey->pkey.ec)) == 0) 3208 SHA_DIGEST_LENGTH,p,i,pkey->pkey.ec);
|
/external/valgrind/main/coregrind/ |
H A D | m_errormgr.c | 357 ExeContext* ec; local 364 ec = VG_(get_error_where)(err); 365 vg_assert(ec); 396 UInt n_ips = VG_(get_ExeContext_n_ips)(ec); 402 VG_(get_ExeContext_StackTrace)(ec), 431 VG_(get_ExeContext_StackTrace)(ec), 432 VG_(get_ExeContext_n_ips)(ec));
|
H A D | m_transtab.c | 1015 /* Add tteno to the set of entries listed for equivalence class ec in 1019 UInt addEClassNo ( /*MOD*/Sector* sec, Int ec, UShort tteno ) argument 1024 vg_assert(ec >= 0 && ec < ECLASS_N); 1027 if (DEBUG_TRANSTAB) VG_(printf)("ec %d gets %d\n", ec, (Int)tteno); 1029 if (sec->ec2tte_used[ec] >= sec->ec2tte_size[ec]) { 1031 vg_assert(sec->ec2tte_used[ec] == sec->ec2tte_size[ec]); 1829 delete_translations_in_sector_eclass( Sector* sec, UInt secNo, Addr64 guest_start, ULong range, Int ec, VexArch vex_arch ) argument 1892 Int sno, ec; local [all...] |
/external/valgrind/main/exp-dhat/ |
H A D | dh_main.c | 75 ExeContext* ap; /* allocation ec */ 308 VG_(printf)("ec %p api->c_by_l %llu bk->rszB %llu\n", 404 /* This handles block resizing. When a block with AP 'ec' has a 406 static void apinfo_change_cur_bytes_live( ExeContext* ec, Long delta ) argument 412 &keyW, &valW, (UWord)ec ); 416 tl_assert(api->ap == ec);
|