/external/icu4c/test/intltest/ |
dtptngts.cpp | 286 UErrorCode status = U_ZERO_ERROR; local 293 DateTimePatternGenerator *instFromDefaultLocale=DateTimePatternGenerator::createInstance(status); 294 if (U_FAILURE(status)) { 304 status = U_ZERO_ERROR; 305 DateTimePatternGenerator *instFromLocale=DateTimePatternGenerator::createInstance(Locale::getFrench(), status); 306 if (U_FAILURE(status)) { 313 status = U_ZERO_ERROR; 338 status = U_ZERO_ERROR; 341 DateTimePatternGenerator *gen = DateTimePatternGenerator::createInstance(deLocale, status); 342 if (U_FAILURE(status)) { 799 UErrorCode status = U_ZERO_ERROR; local [all...] |
restsnew.cpp | 204 UErrorCode status = U_ZERO_ERROR; local 205 loadTestData(status); 206 if(U_FAILURE(status)) 208 dataerrln("Could not load testdata.dat %s " + UnicodeString(u_errorName(status))); 215 Locale::setDefault(Locale("en_US"), status); 229 Locale::setDefault(originalDefault, status); 413 UErrorCode status; local 416 status=U_ZERO_ERROR; 422 a.getString(status)==b.getString(status) 640 UErrorCode status = U_ZERO_ERROR; local 1011 UErrorCode status = U_ZERO_ERROR; local 1160 UErrorCode status = U_ZERO_ERROR; local [all...] |
srchtest.cpp | 46 UErrorCode status = U_ZERO_ERROR; local 48 m_en_us_ = (RuleBasedCollator *)Collator::createInstance("en_US", status); 49 m_fr_fr_ = (RuleBasedCollator *)Collator::createInstance("fr_FR", status); 50 m_de_ = (RuleBasedCollator *)Collator::createInstance("de_DE", status); 51 m_es_ = (RuleBasedCollator *)Collator::createInstance("es_ES", status); 52 if(U_FAILURE(status)) { 61 errln("Collator creation failed with %s", u_errorName(status)); 73 m_de_ = new RuleBasedCollator(rules, status); 80 m_es_ = new RuleBasedCollator(rules, status); 84 Locale::getEnglish(), status); 258 UErrorCode status = U_ZERO_ERROR; local 359 UErrorCode status = U_ZERO_ERROR; local 417 UErrorCode status = U_ZERO_ERROR; local 470 UErrorCode status = U_ZERO_ERROR; local 518 UErrorCode status = U_ZERO_ERROR; local 635 UErrorCode status = U_ZERO_ERROR; local 723 UErrorCode status = U_ZERO_ERROR; local 775 UErrorCode status = U_ZERO_ERROR; local 862 UErrorCode status = U_ZERO_ERROR; local 909 UErrorCode status = U_ZERO_ERROR; local 952 UErrorCode status = U_ZERO_ERROR; local 1028 UErrorCode status = U_ZERO_ERROR; local 1122 UErrorCode status = U_ZERO_ERROR; local 1185 UErrorCode status = U_ZERO_ERROR; local 1201 UErrorCode status = U_ZERO_ERROR; local 1262 UErrorCode status = U_ZERO_ERROR; local 1333 UErrorCode status = U_ZERO_ERROR; local 1389 UErrorCode status = U_ZERO_ERROR; local 1454 UErrorCode status = U_ZERO_ERROR; local 1503 UErrorCode status = U_ZERO_ERROR; local 1544 UErrorCode status = U_ZERO_ERROR; local 1582 UErrorCode status = U_ZERO_ERROR; local 1629 UErrorCode status = U_ZERO_ERROR; local 1656 UErrorCode status = U_ZERO_ERROR; local 1729 UErrorCode status = U_ZERO_ERROR; local 1768 UErrorCode status = U_ZERO_ERROR; local 1817 UErrorCode status = U_ZERO_ERROR; local 1883 UErrorCode status = U_ZERO_ERROR; local 1946 UErrorCode status = U_ZERO_ERROR; local 2010 UErrorCode status = U_ZERO_ERROR; local 2043 UErrorCode status = U_ZERO_ERROR; local 2112 UErrorCode status = U_ZERO_ERROR; local 2151 UErrorCode status = U_ZERO_ERROR; local 2315 UErrorCode status = U_ZERO_ERROR; local 2372 UErrorCode status = U_ZERO_ERROR; local [all...] |
idnaref.cpp | 99 static UErrorCode getError(enum punycode_status status){ 100 switch(status){ 131 UErrorCode& status){ 141 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); 142 if(status == U_BUFFER_OVERFLOW_ERROR){ 147 status = U_MEMORY_ALLOCATION_ERROR; 151 status = U_ZERO_ERROR; // reset error 153 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); 155 if(U_FAILURE(status)){ 162 status = getError(error) [all...] |
fldset.h | 53 * @param status will return U_ILLEGAL_ARGUMENT_ERROR if sets are not the same size 57 U_NAMESPACE_QUALIFIER UnicodeString diffFrom(const FieldsSet& other, UErrorCode &status) const; 63 * @param status status of parse 66 int32_t parseFrom(const U_NAMESPACE_QUALIFIER UnicodeString& str, UErrorCode& status) { 67 return parseFrom(str,NULL,status); 75 * @param status status of parse 80 UErrorCode& status) { 81 return parseFrom(str, &inheritFrom, status); [all...] |
itspoof.cpp | 24 #define TEST_ASSERT_SUCCESS(status) {if (U_FAILURE(status)) { \ 25 errcheckln(status, "Failure at file %s, line %d, error = %s", __FILE__, __LINE__, u_errorName(status));}} 45 UErrorCode status = U_ZERO_ERROR; \ 47 sc = uspoof_open(&status); \ 48 TEST_ASSERT_SUCCESS(status); \ 49 if (U_SUCCESS(status)){ 53 TEST_ASSERT_SUCCESS(status); \ 104 int32_t checkResults = uspoof_checkUnicodeString(sc, s, &position, &status); 214 UErrorCode status = U_ZERO_ERROR; local 320 UErrorCode status = U_ZERO_ERROR; local [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
BitmapManager.java | 69 * Get thread status and create one if specified. 72 ThreadStatus status = mThreadStatus.get(t); local 73 if (status == null) { 74 status = new ThreadStatus(); 75 mThreadStatus.put(t, status); 77 return status; 90 ThreadStatus status = mThreadStatus.get(t); local 91 status.mOptions = null; 99 ThreadStatus status = mThreadStatus.get(t); local 100 if (status == null) 114 ThreadStatus status = getOrCreateThreadStatus(t); local 141 ThreadStatus status = getOrCreateThreadStatus(t); local [all...] |
/external/icu4c/i18n/ |
ucal.cpp | 127 UErrorCode* status) 130 if(U_FAILURE(*status)) return 0; 133 : _createTimeZone(zoneID, len, status); 135 if (U_FAILURE(*status)) { 145 uloc_setKeywordValue("calendar", "gregorian", localeBuf, ULOC_LOCALE_IDENTIFIER_CAPACITY, status); 146 if (U_FAILURE(*status)) { 149 return (UCalendar*)Calendar::createInstance(zone, Locale(localeBuf), *status); 151 return (UCalendar*)Calendar::createInstance(zone, Locale(locale), *status); 163 UErrorCode* status) 165 if(U_FAILURE(*status)) return 0 530 TimeZone::getCanonicalID(UnicodeString(id, len), canonical, systemID, *status); local [all...] |
uspoof.cpp | 34 uspoof_open(UErrorCode *status) { 35 if (U_FAILURE(*status)) { 38 SpoofImpl *si = new SpoofImpl(SpoofData::getDefault(*status), *status); 39 if (U_FAILURE(*status)) { 49 UErrorCode *status) { 50 if (U_FAILURE(*status)) { 53 SpoofData *sd = new SpoofData(data, length, *status); 54 SpoofImpl *si = new SpoofImpl(sd, *status); 55 if (U_FAILURE(*status)) { 91 UErrorCode status = U_ZERO_ERROR; local [all...] |
decnumstr.cpp | 28 DecimalNumberString::DecimalNumberString(const StringPiece &source, UErrorCode &status) { 31 append(source, status); 34 DecimalNumberString & DecimalNumberString::append(char c, UErrorCode &status) { 35 if (ensureCapacity(fLength + 2, status) == FALSE) { 43 DecimalNumberString &DecimalNumberString::append(const StringPiece &str, UErrorCode &status) { 45 if (ensureCapacity(fLength + sLength + 1, status) == FALSE) { 68 void DecimalNumberString::setLength(int32_t length, UErrorCode &status) { 69 if (ensureCapacity(length+1, status) == FALSE) { 83 UBool DecimalNumberString::ensureCapacity(int32_t neededSize, UErrorCode &status) { 84 if (U_FAILURE(status)) { [all...] |
fphdlimp.cpp | 72 : iter(posIter), vec(NULL), status(_status) { 73 if (iter && U_SUCCESS(status)) { 74 vec = new UVector32(status); 79 // setData adopts the vec regardless of status, so it's safe to null it 81 iter->setData(vec, status); 89 if (iter && U_SUCCESS(status) && start < limit) { 91 vec->addElement(id, status); 92 vec->addElement(start, status); 93 vec->addElement(limit, status); 94 if (!U_SUCCESS(status)) { [all...] |
reldtfmt.h | 42 RelativeDateFormat( UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const Locale& locale, UErrorCode& status); 113 * @param status Output param filled with success/failure status. 120 UErrorCode& status) const; 179 * @param status Filled in with U_ZERO_ERROR if the parse was successful, and with 185 UErrorCode& status) const; 194 virtual UnicodeString& toPattern(UnicodeString& result, UErrorCode& status) const; 202 virtual UnicodeString& toPatternDate(UnicodeString& result, UErrorCode& status) const; 210 virtual UnicodeString& toPatternTime(UnicodeString& result, UErrorCode& status) const; 221 virtual void applyPatterns(const UnicodeString& datePattern, const UnicodeString& timePattern, UErrorCode &status); [all...] |
/external/icu4c/tools/genrb/ |
parse.c | 95 ParseResourceFunction(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UErrorCode *status); 97 static struct SResource *parseResource(ParseState* state, char *tag, const struct UString *comment, UErrorCode *status); 109 getToken(&value, NULL, status); 110 getToken(NULL, NULL, status); bad - value is now a different string 113 initLookahead(ParseState* state, UCHARBUF *buf, UErrorCode *status) 130 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status); 131 if (U_FAILURE(*status)) 137 *status = U_ZERO_ERROR; 153 getToken(ParseState* state, struct UString **tokenValue, struct UString* comment, uint32_t *linenumber, UErrorCode *status) 172 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); [all...] |
/external/icu4c/test/cintltst/ |
idnatest.c | 49 UErrorCode *status); 54 UErrorCode *status); 77 UErrorCode status = U_ZERO_ERROR; local 95 destLen = func(src,-1,NULL,0,options, &parseError , &status); 96 if(status == U_BUFFER_OVERFLOW_ERROR){ 97 status = U_ZERO_ERROR; /* reset error code */ 100 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status); 102 if(U_SUCCESS(status) && expectedStatus != U_IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){ 110 if(status != expectedStatus) 461 UErrorCode status = U_ZERO_ERROR; local 490 UErrorCode status = U_ZERO_ERROR; local 523 UErrorCode status = U_ZERO_ERROR; local 656 UErrorCode status = U_ZERO_ERROR; local 688 UErrorCode status = U_ZERO_ERROR; local 728 UErrorCode status = U_ZERO_ERROR; local 780 UErrorCode status = U_ZERO_ERROR; local 830 UErrorCode status = U_ZERO_ERROR; local [all...] |
cjaptst.c | 119 UErrorCode status = U_ZERO_ERROR; local 120 myCollation = ucol_open("ja_JP", &status); 121 if(U_FAILURE(status)){ 122 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status)); 127 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); 139 UErrorCode status = U_ZERO_ERROR; local 140 myCollation = ucol_open("ja_JP", &status); 141 if (U_FAILURE(status)) 143 log_err_status(status, "ERROR: in creation of rule based collator: %s\n" 160 UErrorCode status = U_ZERO_ERROR; local 184 UErrorCode status = U_ZERO_ERROR; local 209 UErrorCode status = U_ZERO_ERROR; local 235 UErrorCode status = U_ZERO_ERROR; local [all...] |
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.c | 240 * @return A status code. 243 FwdLockConv_Status_t status; local 250 status = FwdLockConv_Status_OutOfMemory; 254 status = FwdLockConv_Status_ProgramError; 261 status = FwdLockConv_Status_ProgramError; 268 status = FwdLockConv_Status_OK; 274 return status; 309 * @return A status code. 328 * @return A status code. 332 FwdLockConv_Status_t status = FwdLockConv_Status_OK local 469 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 526 FwdLockConv_Status_t status; local 548 FwdLockConv_Status_t status; local 595 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 867 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 935 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 1076 FwdLockConv_Status_t status; local 1109 FwdLockConv_Status_t status; local 1169 FwdLockConv_Status_t status; local 1199 FwdLockConv_Status_t status; local 1253 FwdLockConv_Status_t status; local 1321 FwdLockConv_Status_t status; local [all...] |
/external/chromium/chrome/browser/sync/notifier/ |
registration_manager.cc | 52 RegistrationStatus* status = ®istration_statuses_[model_type]; local 53 status->model_type = model_type; 54 status->registration_manager = this; 120 const RegistrationStatus& status = registration_statuses_[model_type]; local 121 if (status.registration_timer.IsRunning()) { 123 status.last_registration_request; 125 status.last_registration_attempt; 126 pending_registrations[model_type].delay = status.delay; 128 status.registration_timer.GetCurrentDelay(); 139 RegistrationStatus* status = ®istration_statuses_[model_type] local 176 RegistrationStatus* status = ®istration_statuses_[model_type]; local 225 RegistrationStatus* status = ®istration_statuses_[model_type]; local 238 RegistrationStatus* status = ®istration_statuses_[model_type]; local [all...] |
/external/icu4c/common/ |
ubrk.cpp | 35 UErrorCode *status) 38 if(U_FAILURE(*status)) return 0; 45 result = BreakIterator::createCharacterInstance(Locale(locale), *status); 49 result = BreakIterator::createWordInstance(Locale(locale), *status); 53 result = BreakIterator::createLineInstance(Locale(locale), *status); 57 result = BreakIterator::createSentenceInstance(Locale(locale), *status); 61 result = BreakIterator::createTitleInstance(Locale(locale), *status); 65 *status = U_ILLEGAL_ARGUMENT_ERROR; 69 if (U_FAILURE(*status)) { 73 *status = U_MEMORY_ALLOCATION_ERROR [all...] |
hash.h | 31 inline void init(UHashFunction *keyHash, UKeyComparator *keyComp, UValueComparator *valueComp, UErrorCode& status); 37 * @param status Error code 39 Hashtable(UBool ignoreKeyCase, UErrorCode& status); 45 * @param status Error code 47 Hashtable(UKeyComparator *keyComp, UValueComparator *valueComp, UErrorCode& status); 51 * @param status Error code 53 Hashtable(UErrorCode& status); 71 void* put(const UnicodeString& key, void* value, UErrorCode& status); 73 int32_t puti(const UnicodeString& key, int32_t value, UErrorCode& status); 104 UValueComparator *valueComp, UErrorCode& status) { 139 UErrorCode status = U_ZERO_ERROR; local [all...] |
/external/icu4c/samples/date/ |
date.c | 46 static void date(const UChar *tz, UDateFormatStyle style, char *format, UErrorCode *status); 66 UErrorCode status = U_ZERO_ERROR; local 138 date(tz, style, format, &status); 141 return (U_FAILURE(status) ? 1 : 0); 163 UErrorCode status = U_ZERO_ERROR; local 170 tzVer = ucal_getTZDataVersion(&status); 171 if(U_FAILURE(status)) { 172 tzVer = u_errorName(status); 180 status = U_ZERO_ERROR; 181 u_init(&status); [all...] |
/external/icu4c/common/unicode/ |
brkiter.h | 161 * @param status receives any error codes. 166 virtual UText *getUText(UText *fillIn, UErrorCode &status) const = 0; 186 * @param status receives any error codes. 189 virtual void setText(UText *text, UErrorCode &status) = 0; 291 * @param status the error code 292 * @return A BreakIterator for word-breaks. The UErrorCode& status 293 * parameter is used to return status information to the user. 306 createWordInstance(const Locale& where, UErrorCode& status); 315 * @param status The error code. 316 * @return A BreakIterator for line-breaks. The UErrorCode& status [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Scope/ |
scope-004.js | 29 var status = ''; variable 48 status = 'Section 1 of test'; 57 status = 'Section 2 of test'; 66 status = 'Section 3 of test'; 75 status = 'Section 4 of test'; 79 status = 'Section 5 of test'; 83 status = 'Section 6 of test'; 87 status = 'Section 7 of test'; 91 status = 'Section 8 of test'; 95 status = 'Section 9 of test' [all...] |
/packages/apps/Nfc/jni/ |
com_android_nfc_NativeNfcTag.cpp | 40 static void nfc_jni_tag_rw_callback(void *pContext, NFCSTATUS status) 43 LOG_CALLBACK("nfc_jni_tag_rw_callback", status); 45 /* Report the callback status and wake up the caller */ 46 pCallbackData->status = status; 52 phLibNfc_sRemoteDevInformation_t *psRemoteDevInfo, NFCSTATUS status) 55 LOG_CALLBACK("nfc_jni_connect_callback", status); 57 /* Report the callback status and wake up the caller */ 58 pCallbackData->status = status; 178 NFCSTATUS status; local 237 NFCSTATUS status; local 452 jint status; local 509 jint status; local 583 NFCSTATUS status; local 724 NFCSTATUS status; local 949 jint status; local 1022 NFCSTATUS status; local 1143 NFCSTATUS status; local 1194 NFCSTATUS status; local [all...] |
/external/icu4c/samples/translit/answers/ |
main_3.cpp | 35 UErrorCode status = U_ZERO_ERROR; local 40 cal = Calendar::createInstance(greece, status); 41 check(status, "Calendar::createInstance"); 62 status); 63 check(status, "RuleBasedTransliterator::ct"); 76 defFmt->format(cal->getTime(status), str, status); 77 check(status, "DateFormat::format"); 84 fmt->format(cal->getTime(status), str, status); [all...] |
main_4.cpp | 36 UErrorCode status = U_ZERO_ERROR; local 41 cal = Calendar::createInstance(greece, status); 42 check(status, "Calendar::createInstance"); 63 status); 64 check(status, "RuleBasedTransliterator::ct"); 80 defFmt->format(cal->getTime(status), str, status); 81 check(status, "DateFormat::format"); 88 fmt->format(cal->getTime(status), str, status); [all...] |