/external/icu/icu4c/source/i18n/ |
H A D | measfmt.cpp | 1192 UErrorCode& ec) { 1194 if (U_SUCCESS(ec)) { 1195 fmt = new CurrencyFormat(locale, ec); 1196 if (U_FAILURE(ec)) { 1204 MeasureFormat* U_EXPORT2 MeasureFormat::createCurrencyFormat(UErrorCode& ec) { argument 1205 if (U_FAILURE(ec)) { 1208 return MeasureFormat::createCurrencyFormat(Locale::getDefault(), ec); 1191 createCurrencyFormat(const Locale& locale, UErrorCode& ec) argument
|
H A D | msgfmt.cpp | 201 void formatAndAppend(const Format* formatter, const Formattable& arg, UErrorCode& ec) { argument 203 formatter->format(arg, s, ec); 204 if (U_SUCCESS(ec)) { 209 const UnicodeString &argString, UErrorCode& ec) { 211 if (U_SUCCESS(ec)) { 215 formatAndAppend(formatter, arg, ec); 315 UErrorCode ec = U_ZERO_ERROR; local 316 copyObjects(that, ec); 317 if (U_FAILURE(ec)) { 380 UErrorCode ec local 208 formatAndAppend(const Format* formatter, const Formattable& arg, const UnicodeString &argString, UErrorCode& ec) argument 411 UErrorCode ec = U_ZERO_ERROR; local 482 applyPattern(const UnicodeString& pattern, UParseError& parseError, UErrorCode& ec) argument 1305 copyObjects(const MessageFormat& that, UErrorCode& ec) argument 1498 UErrorCode ec = U_ZERO_ERROR; local 1565 makeRBNF(URBNFRuleSetTag tag, const Locale& locale, const UnicodeString& defaultRuleSet, UErrorCode& ec) argument 1674 createAppropriateFormat(UnicodeString& type, UnicodeString& style, Formattable::Type& formattableType, UParseError& parseError, UErrorCode& ec) argument [all...] |
H A D | numfmt.cpp | 737 UErrorCode ec = U_ZERO_ERROR; local 738 getEffectiveCurrency(curr, ec); 739 if (U_SUCCESS(ec)) { 740 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curr, ec), ec); 741 if (U_FAILURE(ec)) { 1176 void NumberFormat::setCurrency(const UChar* theCurrency, UErrorCode& ec) { argument 1177 if (U_FAILURE(ec)) { 1192 void NumberFormat::getEffectiveCurrency(UChar* result, UErrorCode& ec) const { 1198 const char* loc = getLocaleID(ULOC_VALID_LOCALE, ec); [all...] |
H A D | rbnf.cpp | 300 UErrorCode& ec; member in class:LocDataParser 304 : data(NULL), e(NULL), p(NULL), ch(0xffff), pe(parseError), ec(status) {} 359 if (U_FAILURE(ec)) { 370 ec = U_ILLEGAL_ARGUMENT_ERROR; 375 ec = U_ILLEGAL_ARGUMENT_ERROR; 404 array.add(elem, ec); 428 array.add(NULL, ec); 429 if (U_SUCCESS(ec)) { 442 if (U_FAILURE(ec)) { 459 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 589 initMap(USystemTimeZoneType type, UErrorCode& ec) argument 739 UErrorCode ec = U_ZERO_ERROR; local 755 getMap(USystemTimeZoneType type, int32_t& len, UErrorCode& ec) argument 791 create(USystemTimeZoneType type, const char* region, const int32_t* rawOffset, UErrorCode& ec) argument 954 createTimeZoneIDEnumeration( USystemTimeZoneType zoneType, const char* region, const int32_t* rawOffset, UErrorCode& ec) argument 964 UErrorCode ec = U_ZERO_ERROR; local 970 UErrorCode ec = U_ZERO_ERROR; local 976 UErrorCode ec = U_ZERO_ERROR; local 985 UErrorCode ec = U_ZERO_ERROR; local 1008 UErrorCode ec = U_ZERO_ERROR; local 1053 UErrorCode ec = U_ZERO_ERROR; local 1072 UErrorCode ec = U_ZERO_ERROR; local [all...] |
H A D | ucurr.cpp | 310 _findMetaData(const UChar* currency, UErrorCode& ec) { argument 313 if (U_SUCCESS(ec)) { 314 ec = U_ILLEGAL_ARGUMENT_ERROR; 322 UResourceBundle* currencyData = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &ec); 323 UResourceBundle* currencyMeta = ures_getByKey(currencyData, CURRENCY_META, currencyData, &ec); 325 if (U_FAILURE(ec)) { 337 rb = ures_getByKey(currencyMeta,DEFAULT_META, NULL, &ec); 338 if (U_FAILURE(ec)) { 347 const int32_t *data = ures_getIntVector(rb, &len, &ec); 348 if (U_FAILURE(ec) || le 370 idForLocale(const char* locale, char* countryAndVariant, int capacity, UErrorCode* ec) argument 549 ucurr_forLocale(const char* locale, UChar* buff, int32_t buffCapacity, UErrorCode* ec) argument 668 ucurr_getName(const UChar* currency, const char* locale, UCurrNameStyle nameStyle, UBool* isChoiceFormat, int32_t* len, UErrorCode* ec) argument 767 ucurr_getPluralName(const UChar* currency, const char* locale, UBool* isChoiceFormat, const char* pluralCount, int32_t* len, UErrorCode* ec) argument 965 UErrorCode ec = U_ZERO_ERROR; local 985 collectCurrencyNames(const char* locale, CurrencyNameStruct** currencyNames, int32_t* total_currency_name_count, CurrencyNameStruct** currencySymbols, int32_t* total_currency_symbol_count, UErrorCode& ec) argument 1454 uprv_parseCurrency(const char* locale, const icu::UnicodeString& text, icu::ParsePosition& pos, int8_t type, UChar* result, UErrorCode& ec) argument 1610 uprv_getStaticCurrencyName(const UChar* iso, const char* loc, icu::UnicodeString& result, UErrorCode& ec) argument 1624 ChoiceFormat f(UnicodeString(TRUE, currname, len), ec); local 1637 ucurr_getDefaultFractionDigits(const UChar* currency, UErrorCode* ec) argument 1642 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency, const UCurrencyUsage usage, UErrorCode* ec) argument 1660 ucurr_getRoundingIncrement(const UChar* currency, UErrorCode* ec) argument 1665 ucurr_getRoundingIncrementForUsage(const UChar* currency, const UCurrencyUsage usage, UErrorCode* ec) argument 2271 ucurr_countCurrencies(const char* locale, UDate date, UErrorCode* ec) argument 2378 ucurr_forLocaleAndDate(const char* locale, UDate date, int32_t index, UChar* buff, int32_t buffCapacity, UErrorCode* ec) argument [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdattst.c | 839 UErrorCode ec = U_ZERO_ERROR; local 845 ctest_setTimeZone(NULL, &ec); 848 date = udat_open(UDAT_NONE, UDAT_SHORT, "en_US", NULL, 0, NULL, 0, &ec); 849 if (U_FAILURE(ec)) { 851 u_errorName(ec)); 856 time = udat_open(UDAT_SHORT, UDAT_NONE, "en_US", NULL, 0, NULL, 0, &ec); 857 if (U_FAILURE(ec)) { 859 u_errorName(ec)); 864 full = udat_open(UDAT_FULL, UDAT_FULL, "en_US", NULL, 0, NULL, 0, &ec); 865 if (U_FAILURE(ec)) { 962 UErrorCode ec = U_ZERO_ERROR; local 1223 _aux1ExtremeDates(UDateFormat* fmt, UDate date, UChar* buf, int32_t buflen, char* cbuf, UErrorCode* ec) argument 1243 _aux2ExtremeDates(UDateFormat* fmt, UDate small, UDate large, UChar* buf, int32_t buflen, char* cbuf, int32_t count, UErrorCode* ec) argument 1274 UErrorCode ec; local [all...] |
H A D | cldrtest.c | 1134 UErrorCode ec = U_ZERO_ERROR; local 1155 avail = ures_openAvailableLocales(NULL, &ec); 1156 if (!assertSuccess("ures_openAvailableLocales", &ec)) goto END; 1157 n = uenum_count(avail, &ec); 1158 if (!assertSuccess("uenum_count", &ec)) goto END; 1161 unassignedSet = uset_openPattern(ubuf, -1, &ec); 1162 if (!assertSuccess("uset_openPattern", &ec)) goto END; 1165 const char* locale = uenum_next(avail, NULL, &ec); 1166 if (!assertSuccess("uenum_next", &ec)) goto END; 1170 ULocaleData *uld = ulocdata_open(locale,&ec); [all...] |
H A D | cucdtst.c | 1824 UErrorCode ec = U_ZERO_ERROR; local 1862 buf, BUFSIZE, &ec); 1863 if (U_FAILURE(ec)) { 1910 l1 = uset_toPattern(set, pat, BUFSIZE, TRUE, &ec); 1911 l2 = uset_toPattern(dumb, dumbPat, BUFSIZE, TRUE, &ec); 1912 if (U_FAILURE(ec)) { 3029 UErrorCode ec; local 3067 ec = U_ZERO_ERROR; 3070 script = uscript_getScript(-1, &ec); 3081 /* We don't explicitly test ec [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | dtfmrgts.cpp | 577 UErrorCode ec = U_ZERO_ERROR; local 578 SimpleDateFormat fmt("MM/dd/yy", Locale::getUK(), ec); 579 if (U_FAILURE(ec)) { 580 dataerrln("FAIL: SimpleDateFormat constructor - %s", u_errorName(ec));
|
H A D | intltest.cpp | 1842 UBool IntlTest::assertSuccess(const char* message, UErrorCode ec, UBool possibleDataError, const char *file, int line) { argument 1846 if (U_FAILURE(ec)) { 1848 dataerrln("FAIL: %s:%d: %s (%s)", file, line, message, u_errorName(ec)); 1850 errcheckln(ec, "FAIL: %s:%d: %s (%s)", file, line, message, u_errorName(ec)); 1854 logln("OK: %s:%d: %s - (%s)", file, line, message, u_errorName(ec)); 2013 UBool IntlTest::assertSuccess(const UnicodeString& message, UErrorCode ec) { argument 2014 return assertSuccess(extractToAssertBuf(message), ec);
|
H A D | loctest.cpp | 1852 UErrorCode ec = U_ZERO_ERROR; // give each resource type its own error code local 1854 Calendar* cal = Calendar::createInstance(Locale::createFromName(req), ec); 1855 if (U_FAILURE(ec)) { 1856 dataerrln("FAIL: Calendar::createInstance failed - %s", u_errorName(ec)); 1858 valid = cal->getLocale(ULOC_VALID_LOCALE, ec); 1859 actual = cal->getLocale(ULOC_ACTUAL_LOCALE, ec); 1860 if (U_FAILURE(ec)) { 1866 ec = U_FILE_ACCESS_ERROR; 1867 if (cal->getLocale(ULOC_VALID_LOCALE, ec).getName()[0] != 0) { 1870 ec 1879 UErrorCode ec = U_ZERO_ERROR; // give each resource type its own error code local 1918 UErrorCode ec = U_ZERO_ERROR; // give each resource type its own error code local 1959 UErrorCode ec = U_ZERO_ERROR; // give each resource type its own error code local 2024 UErrorCode ec = U_ZERO_ERROR; // give each resource type its own error code local [all...] |
H A D | tmsgfmt.cpp | 1461 UErrorCode ec = U_ZERO_ERROR; local 1469 MessageFormat msg(pattern, ec); 1470 if (U_FAILURE(ec)) { 1471 dataerrln("FAIL: constructor failed - %s", u_errorName(ec)); 1501 msg.format(ARGS_OBJ, result, ec); 1515 UErrorCode ec = U_ZERO_ERROR; local 1536 NumberFormat* numFmt = NumberFormat::createInstance(locale, ec); 1537 if (U_FAILURE(ec)) { 1543 MessageFormat* fmt = new MessageFormat(formats[i], locale, ec); 1547 ec 1630 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 | 237 UErrorCode ec = U_ZERO_ERROR; local 239 UBool startsInDST = tz.inDaylightTime(min, ec); 240 if (failure(ec, "TimeZone::inDaylightTime")) return; 241 if (tz.inDaylightTime(max, ec) == startsInDST) { 246 if (failure(ec, "TimeZone::inDaylightTime")) return; 249 if (tz.inDaylightTime(mid, ec) == startsInDST) { 254 if (failure(ec, "TimeZone::inDaylightTime")) return; 366 UErrorCode ec = U_ZERO_ERROR; local 427 s_length = s->count(ec); 431 *buf += *s->snext(ec); 526 UErrorCode ec = U_ZERO_ERROR; local 731 UErrorCode ec = U_ZERO_ERROR; local 1690 UErrorCode ec = U_ZERO_ERROR; local 1798 UErrorCode ec = U_ZERO_ERROR; local 1953 UErrorCode ec = U_ZERO_ERROR; local 2086 UErrorCode ec = U_ZERO_ERROR; local 2174 TimeZone::getCanonicalID(UnicodeString(data[i].id), canonicalID, isSystemID, ec); local [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
H A D | TestFmwk.java | 607 int ec = 0; 614 ec = _params.errorCount; 625 ec += _params.errorCount; 640 ec++; 645 return ec; 1385 int ec; field in class:TestFmwk.TestParams.State 1404 this.ec = errorCount; 1582 && (errorCount == stack.ec + 1)) { 1654 int errorDelta = errorCount - stack.ec;
|
/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/Support/ |
H A D | FileSystem.h | 666 std::error_code &ec); 751 explicit directory_iterator(const Twine &path, std::error_code &ec) { argument 754 ec = detail::directory_iterator_construct(*State, 758 explicit directory_iterator(const directory_entry &de, std::error_code &ec) { argument 760 ec = detail::directory_iterator_construct(*State, de.path()); 767 directory_iterator &increment(std::error_code &ec) { argument 768 ec = directory_iterator_increment(*State); 813 explicit recursive_directory_iterator(const Twine &path, std::error_code &ec) argument 815 State->Stack.push(directory_iterator(path, ec)); 820 recursive_directory_iterator &increment(std::error_code &ec) { argument 869 std::error_code ec; local [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.cpp | 55 DyldELFObject(MemoryBufferRef Wrapper, std::error_code &ec); 121 std::error_code &ec) { 126 llvm::make_unique<DyldELFObject<ELFT>>(Buffer, ec); 157 std::error_code ec; local 163 ec); 167 ec); 171 ec); 175 ec); 179 assert(!ec && "Could not construct copy ELF object file"); 118 createRTDyldELFObject(MemoryBufferRef Buffer, const ObjectFile &SourceObject, const LoadedELFObjectInfo &L, std::error_code &ec) argument
|
/external/valgrind/coregrind/ |
H A D | m_errormgr.c | 364 ExeContext* ec; local 371 ec = VG_(get_error_where)(err); 372 vg_assert(ec); 411 UInt n_ips = VG_(get_ExeContext_n_ips)(ec); 417 VG_(get_ExeContext_StackTrace)(ec), 446 VG_(get_ExeContext_StackTrace)(ec), 447 VG_(get_ExeContext_n_ips)(ec));
|
H A D | m_signals.c | 1870 ExeContext* ec = VG_(am_is_valid_for_client) local 1875 vg_assert(ec); 1876 VG_(pp_ExeContext)( ec );
|
/external/valgrind/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);
|
/external/valgrind/memcheck/ |
H A D | mc_errors.c | 282 static void mc_pp_origin ( ExeContext* ec, UInt okind ) argument 285 tl_assert(ec); 298 VG_(pp_ExeContext)( ec ); 301 VG_(pp_ExeContext)( ec );
|
/external/boringssl/src/ssl/ |
H A D | t1_lib.c | 441 * TLS curve ID and point format, respectively, for |ec|. It returns one on 444 uint8_t *out_comp_id, EC_KEY *ec) { 449 if (ec == NULL) { 453 grp = EC_KEY_get0_group(ec); 468 if (EC_KEY_get0_public_key(ec) == NULL) { 471 if (EC_KEY_get_conv_form(ec) == POINT_CONVERSION_COMPRESSED) { 443 tls1_curve_params_from_ec_key(uint16_t *out_curve_id, uint8_t *out_comp_id, EC_KEY *ec) argument
|