| /external/icu/icu4c/source/i18n/ |
| collationbasedatabuilder.cpp | 84 CollationBaseDataBuilder::CollationBaseDataBuilder(UErrorCode &errorCode) 85 : CollationDataBuilder(errorCode), 88 rootElements(errorCode) { 95 CollationBaseDataBuilder::init(UErrorCode &errorCode) { 96 if(U_FAILURE(errorCode)) { return; } 98 errorCode = U_INVALID_STATE_ERROR; 114 trie = utrie2_open(Collation::UNASSIGNED_CE32, Collation::FFFD_CE32, &errorCode); 118 utrie2_set32(trie, c, Collation::UNASSIGNED_CE32, &errorCode); 121 utrie2_set32(trie, 0xfffe, Collation::MERGE_SEPARATOR_CE32, &errorCode); 127 utrie2_setRange32(trie, Hangul::HANGUL_BASE, Hangul::HANGUL_END, hangulCE32, TRUE, &errorCode); [all...] |
| utf16collationiterator.h | 55 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 57 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 65 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 71 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 73 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); 102 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 104 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 107 virtual uint32_t handleNextCE32(UChar32 &c, UErrorCode &errorCode); 111 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 113 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); [all...] |
| collationdatabuilder.cpp | 133 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 134 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 137 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 138 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); 141 virtual uint32_t getCE32FromBuilderData(uint32_t ce32, UErrorCode &errorCode); 177 UErrorCode errorCode = U_ZERO_ERROR; 178 while(U_SUCCESS(errorCode) && pos < s->length()) { 191 appendCEsFromCE32(d, c, ce32, /*forward=*/ TRUE, errorCode); 192 U_ASSERT(U_SUCCESS(errorCode)); 218 DataBuilderCollationIterator::nextCodePoint(UErrorCode & /*errorCode*/) { [all...] |
| collationdatabuilder.h | 61 CollationDataBuilder(UErrorCode &errorCode); 65 void initForTailoring(const CollationData *b, UErrorCode &errorCode); 93 int64_t getSingleCE(UChar32 c, UErrorCode &errorCode) const; 97 UErrorCode &errorCode); 105 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode); 107 uint32_t ce32, UErrorCode &errorCode); 118 * @param errorCode ICU in/out error code 123 UErrorCode &errorCode); 134 * @param errorCode ICU in/out error code 139 UErrorCode &errorCode); [all...] |
| collationiterator.h | 45 inline void append(int64_t ce, UErrorCode &errorCode) { 46 if(length < INITIAL_CAPACITY || ensureAppendCapacity(1, errorCode)) { 55 UBool ensureAppendCapacity(int32_t appCap, UErrorCode &errorCode); 57 inline UBool incLength(UErrorCode &errorCode) { 60 if(length < INITIAL_CAPACITY || ensureAppendCapacity(1, errorCode)) { 112 inline int64_t nextCE(UErrorCode &errorCode) { 118 if(!ceBuffer.incLength(errorCode)) { 122 uint32_t ce32 = handleNextCE32(c, errorCode); 153 return nextCEFromCE32(d, c, ce32, errorCode); 160 int32_t fetchCEs(UErrorCode &errorCode); [all...] |
| ucol_imp.h | 65 UErrorCode &errorCode); 67 UErrorCode &errorCode); 71 static void loadRootRules(UErrorCode &errorCode);
|
| collationbuilder.cpp | 61 const char *&errorReason, UErrorCode &errorCode); 74 const char *& /*errorReason*/, UErrorCode &errorCode) { 76 return rules = CollationLoader::loadRules(localeID, collationType, errorCode); 98 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, UErrorCode &errorCode) 105 internalBuildTailoring(rules, UCOL_DEFAULT, UCOL_DEFAULT, NULL, NULL, errorCode); 109 UErrorCode &errorCode) 116 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); 121 UErrorCode &errorCode) 128 internalBuildTailoring(rules, UCOL_DEFAULT, decompositionMode, NULL, NULL, errorCode); 134 UErrorCode &errorCode) [all...] |
| collationiterator.cpp | 35 CollationIterator::CEBuffer::ensureAppendCapacity(int32_t appCap, UErrorCode &errorCode) { 38 if(U_FAILURE(errorCode)) { return FALSE; } 48 errorCode = U_MEMORY_ALLOCATION_ERROR; 153 UErrorCode errorCode = U_ZERO_ERROR; 155 if(length > 0 && ceBuffer.ensureAppendCapacity(length, errorCode)) { 196 CollationIterator::fetchCEs(UErrorCode &errorCode) { 197 while(U_SUCCESS(errorCode) && nextCE(errorCode) != Collation::NO_CE) { 205 CollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) { 206 c = nextCodePoint(errorCode); [all...] |
| collationbuilder.h | 40 CollationBuilder(const CollationTailoring *base, UErrorCode &errorCode); 49 UErrorCode &errorCode); 58 const char *&errorReason, UErrorCode &errorCode); 61 const char *&parserErrorReason, UErrorCode &errorCode); 66 const char *&errorReason, UErrorCode &errorCode); 73 UErrorCode &errorCode); 74 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode); 76 int32_t findOrInsertNodeForPrimary(uint32_t p, UErrorCode &errorCode); 79 UErrorCode &errorCode); 87 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode); [all...] |
| collationcompare.h | 30 UErrorCode &errorCode);
|
| /external/chromium_org/third_party/icu/source/test/cintltst/ |
| trie2test.c | 488 UErrorCode errorCode; 502 errorCode=U_ZERO_ERROR; 504 utrie2_set32(trie, 1, 234, &errorCode); 506 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 508 testName, u_errorName(errorCode)); 512 errorCode=U_ZERO_ERROR; 513 utrie2_setRange32(trie, 1, 5, 234, TRUE, &errorCode); 515 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 517 testName, u_errorName(errorCode)); 521 errorCode=U_ZERO_ERROR [all...] |
| cldrtest.c | 72 UErrorCode errorCode = U_ZERO_ERROR; 81 errorCode = U_ZERO_ERROR; 83 subBundle = ures_getNextResource(currentBundle, NULL, &errorCode); 84 if (U_FAILURE(errorCode)) { 85 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode)); 91 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode); 92 if (U_FAILURE(errorCode)) { 117 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode); 118 const int32_t *subBundleArr = ures_getIntVector(subBundle, &subBundleSize, &errorCode); 153 UResourceBundle *subSubBundle = ures_getByIndex(subBundle, 0, NULL, &errorCode); [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| trie2test.c | 488 UErrorCode errorCode; 502 errorCode=U_ZERO_ERROR; 504 utrie2_set32(trie, 1, 234, &errorCode); 506 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 508 testName, u_errorName(errorCode)); 512 errorCode=U_ZERO_ERROR; 513 utrie2_setRange32(trie, 1, 5, 234, TRUE, &errorCode); 515 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 517 testName, u_errorName(errorCode)); 521 errorCode=U_ZERO_ERROR [all...] |
| /external/icu/icu4c/source/samples/numfmt/ |
| main.cpp | 100 * @param errorCode ICU error code, must pass U_SUCCESS() on input. 103 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 105 if(U_FAILURE(errorCode)) { 109 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 118 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 163 errorCode=U_UNSUPPORTED_ERROR; 189 * @param errorCode ICU error code, must pass U_SUCCESS() on input. 192 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 193 if(U_FAILURE(errorCode)) { 197 errorCode=U_ILLEGAL_ARGUMENT_ERROR [all...] |
| /external/icu/icu4c/source/common/unicode/ |
| listformatter.h | 81 * @param errorCode ICU error code, set if no data available for default locale. 86 static ListFormatter* createInstance(UErrorCode& errorCode); 92 * @param errorCode ICU error code, set if no data available for the given locale. 97 static ListFormatter* createInstance(const Locale& locale, UErrorCode& errorCode); 105 * @param errorCode ICU error code, set if no data available for the given locale. 110 static ListFormatter* createInstance(const Locale& locale, const char* style, UErrorCode& errorCode); 127 * @param errorCode ICU error code, set if there is an error. 132 UnicodeString& appendTo, UErrorCode& errorCode) const; 144 UErrorCode& errorCode) const; 156 static void initializeHash(UErrorCode& errorCode); [all...] |
| idna.h | 82 * @param errorCode Standard ICU error code. Its input value must 90 createUTS46Instance(uint32_t options, UErrorCode &errorCode); 105 * @param errorCode Standard ICU error code. Its input value must 114 IDNAInfo &info, UErrorCode &errorCode) const = 0; 127 * @param errorCode Standard ICU error code. Its input value must 136 IDNAInfo &info, UErrorCode &errorCode) const = 0; 151 * @param errorCode Standard ICU error code. Its input value must 160 IDNAInfo &info, UErrorCode &errorCode) const = 0; 173 * @param errorCode Standard ICU error code. Its input value must 182 IDNAInfo &info, UErrorCode &errorCode) const = 0 [all...] |
| /external/chromium_org/third_party/icu/source/common/unicode/ |
| idna.h | 76 * @param errorCode Standard ICU error code. Its input value must 84 createUTS46Instance(uint32_t options, UErrorCode &errorCode); 99 * @param errorCode Standard ICU error code. Its input value must 108 IDNAInfo &info, UErrorCode &errorCode) const = 0; 121 * @param errorCode Standard ICU error code. Its input value must 130 IDNAInfo &info, UErrorCode &errorCode) const = 0; 145 * @param errorCode Standard ICU error code. Its input value must 154 IDNAInfo &info, UErrorCode &errorCode) const = 0; 167 * @param errorCode Standard ICU error code. Its input value must 176 IDNAInfo &info, UErrorCode &errorCode) const = 0 [all...] |
| /external/chromium_org/third_party/icu/source/test/intltest/ |
| ucdtest.cpp | 34 UErrorCode errorCode=U_ZERO_ERROR; 35 unknownPropertyNames=new U_NAMESPACE_QUALIFIER Hashtable(errorCode); 36 if(U_FAILURE(errorCode)) { 42 unknownPropertyNames->puti(UnicodeString(ignorePropNames[i], -1, US_INV), 1, errorCode); 172 UErrorCode errorCode=U_ZERO_ERROR; 173 me->unknownPropertyNames->puti(propName, 1, errorCode); 198 UErrorCode errorCode=U_ZERO_ERROR; 209 strcpy(backupPath, loadTestData(errorCode)); 216 u_parseDelimitedFile(newPath, ';', fields, 2, derivedPropsLineFn, this, &errorCode); 218 if(errorCode==U_FILE_ACCESS_ERROR) [all...] |
| /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omaha/ |
| RequestFailureException.java | 23 public int errorCode = ERROR_UNDEFINED; 31 errorCode = error; 40 errorCode = error;
|
| /external/chromium_org/third_party/icu/source/io/ |
| ustream.cpp | 46 UErrorCode errorCode = U_ZERO_ERROR; 49 converter = u_getDefaultConverter(&errorCode); 50 if(U_SUCCESS(errorCode)) { 55 errorCode = U_ZERO_ERROR; 57 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 64 } while(errorCode == U_BUFFER_OVERFLOW_ERROR); 86 UErrorCode errorCode = U_ZERO_ERROR; 89 converter = u_getDefaultConverter(&errorCode); 90 if(U_SUCCESS(errorCode)) { 112 errorCode = U_ZERO_ERROR [all...] |
| /external/icu/icu4c/source/io/ |
| ustream.cpp | 42 UErrorCode errorCode = U_ZERO_ERROR; 45 converter = u_getDefaultConverter(&errorCode); 46 if(U_SUCCESS(errorCode)) { 51 errorCode = U_ZERO_ERROR; 53 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 60 } while(errorCode == U_BUFFER_OVERFLOW_ERROR); 82 UErrorCode errorCode = U_ZERO_ERROR; 85 converter = u_getDefaultConverter(&errorCode); 86 if(U_SUCCESS(errorCode)) { 108 errorCode = U_ZERO_ERROR [all...] |
| /external/icu/icu4c/source/samples/ustring/ |
| ustring.cpp | 40 UErrorCode errorCode=U_ZERO_ERROR; 47 ucnv_fromUChars(cnv, out, sizeof(out), s, length, &errorCode); 48 if(U_FAILURE(errorCode) || errorCode==U_STRING_NOT_TERMINATED_WARNING) { 49 printf("%sproblem converting string from Unicode: %s\n", announce, u_errorName(errorCode)); 198 UErrorCode errorCode; 287 errorCode=U_ZERO_ERROR; 288 length=u_strToLower(buffer, LENGTHOF(buffer), input, -1, "en", &errorCode); 289 if(U_SUCCESS(errorCode)) { 292 printf("error in u_strToLower(en)=%ld error=%s\n", length, u_errorName(errorCode)); [all...] |
| /external/icu/icu4c/source/common/ |
| messagepattern.cpp | 94 UErrorCode &errorCode); 95 UBool ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode); 111 UErrorCode &errorCode) { 112 if(U_SUCCESS(errorCode) && length>0) { 114 errorCode=U_MEMORY_ALLOCATION_ERROR; 123 MessagePatternList<T, stackCapacity>::ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode) { 124 if(U_FAILURE(errorCode)) { 130 errorCode=U_MEMORY_ALLOCATION_ERROR; 144 MessagePattern::MessagePattern(UErrorCode &errorCode) 149 init(errorCode); [all...] |
| /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
| armVCM4P2_EncodeVLCZigzag_intra.c | 83 OMXResult errorCode; 117 errorCode = armVCM4P2_PutVLCBits ( 137 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
|
| omxVCM4P2_DecodeVLCZigzag_Inter.c | 81 OMXResult errorCode; 90 errorCode = armVCM4P2_GetVLCBits ( 110 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
|