| /external/icu/icu4c/source/i18n/ |
| collationruleparser.h | 78 const char *&errorReason, UErrorCode &errorCode) = 0; 84 const char *&errorReason, UErrorCode &errorCode) = 0; 87 UErrorCode &errorCode); 90 UErrorCode &errorCode); 99 const char *&errorReason, UErrorCode &errorCode) = 0; 107 CollationRuleParser(const CollationData *base, UErrorCode &errorCode); 129 UErrorCode &errorCode); 146 void parse(const UnicodeString &ruleString, UErrorCode &errorCode); 147 void parseRuleChain(UErrorCode &errorCode); 148 int32_t parseResetAndPosition(UErrorCode &errorCode); [all...] |
| rulebasedcollator.cpp | 152 const RuleBasedCollator *base, UErrorCode &errorCode) 160 if(U_FAILURE(errorCode)) { return; } 162 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 165 const CollationTailoring *root = CollationRoot::getRoot(errorCode); 166 if(U_FAILURE(errorCode)) { return; } 168 errorCode = U_UNSUPPORTED_ERROR; 173 errorCode = U_MEMORY_ALLOCATION_ERROR; 176 CollationDataReader::read(base->tailoring, bin, length, *t, errorCode); 177 if(U_FAILURE(errorCode)) { return; } 179 adoptTailoring(t.orphan(), 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 | 135 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 136 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 139 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 140 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); 143 virtual uint32_t getCE32FromBuilderData(uint32_t ce32, UErrorCode &errorCode); 179 UErrorCode errorCode = U_ZERO_ERROR; 180 while(U_SUCCESS(errorCode) && pos < s->length()) { 193 appendCEsFromCE32(d, c, ce32, /*forward=*/ TRUE, errorCode); 194 U_ASSERT(U_SUCCESS(errorCode)); 220 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...] |
| collationbuilder.cpp | 60 const char *&errorReason, UErrorCode &errorCode); 69 const char *& /*errorReason*/, UErrorCode &errorCode) { 70 CollationLoader::loadRules(localeID, collationType, rules, errorCode); 93 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, UErrorCode &errorCode) 101 internalBuildTailoring(rules, UCOL_DEFAULT, UCOL_DEFAULT, NULL, NULL, errorCode); 105 UErrorCode &errorCode) 113 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); 118 UErrorCode &errorCode) 126 internalBuildTailoring(rules, UCOL_DEFAULT, decompositionMode, NULL, NULL, errorCode); 132 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...] |
| 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...] |
| collationcompare.h | 30 UErrorCode &errorCode);
|
| /external/icu/icu4c/source/test/cintltst/ |
| udatpg_test.c | 73 UErrorCode errorCode=U_ZERO_ERROR; 79 dtpg=udatpg_open(NULL, &errorCode); 80 if(U_FAILURE(errorCode)) { 81 log_err_status(errorCode, "udatpg_open(NULL) failed - %s\n", u_errorName(errorCode)); 87 dtpg=udatpg_open("de", &errorCode); 88 if(U_FAILURE(errorCode)) { 89 log_err("udatpg_open(de) failed - %s\n", u_errorName(errorCode)); 97 dtpg2=udatpg_clone(dtpg, &errorCode); 98 if(U_FAILURE(errorCode) || dtpg2==NULL) [all...] |
| trie2test.c | 486 UErrorCode errorCode; 500 errorCode=U_ZERO_ERROR; 502 utrie2_set32(trie, 1, 234, &errorCode); 504 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 506 testName, u_errorName(errorCode)); 510 errorCode=U_ZERO_ERROR; 511 utrie2_setRange32(trie, 1, 5, 234, TRUE, &errorCode); 513 if(errorCode!=U_NO_WRITE_PERMISSION || value2!=value) { 515 testName, u_errorName(errorCode)); 519 errorCode=U_ZERO_ERROR [all...] |
| cucdapi.c | 32 UErrorCode errorCode) { 35 if(U_FAILURE(errorCode)) { 36 log_err("Failed: %s - %s\n", msg, u_errorName(errorCode)); 472 UErrorCode errorCode=U_ZERO_ERROR; 474 USCRIPT_COMMON==uscript_getScript(0x0640, &errorCode) && 475 USCRIPT_INHERITED==uscript_getScript(0x0650, &errorCode) && 476 USCRIPT_ARABIC==uscript_getScript(0xfdf2, &errorCode)) || 477 U_FAILURE(errorCode) 547 UErrorCode errorCode; 550 errorCode=U_PARSE_ERROR [all...] |
| /external/icu/icu4c/source/samples/case/ |
| ucase.c | 24 UErrorCode errorCode = U_ZERO_ERROR; 51 sizeof(upper)/sizeof(upper[0]), "tr", &errorCode); 52 if(U_FAILURE(errorCode) || buffer[length]!=0) { 54 u_errorName(errorCode)); 64 sizeof(upper)/sizeof(upper[0]), "en", &errorCode); 65 if(U_FAILURE(errorCode) || buffer[length]!=0) { 67 u_errorName(errorCode)); 76 &errorCode); 77 if(U_FAILURE(errorCode) || buffer[length]!=0) { 79 u_errorName(errorCode)); [all...] |
| /external/icu/icu4c/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); 176 UErrorCode errorCode=U_ZERO_ERROR; 177 me->unknownPropertyNames->puti(propName, 1, errorCode); 208 UErrorCode errorCode=U_ZERO_ERROR; 209 u_parseDelimitedFile(path, ';', fields, 2, derivedPropsLineFn, this, &errorCode); 210 if(U_FAILURE(errorCode)) { 211 errln("error parsing DerivedCoreProperties.txt: %s\n", u_errorName(errorCode)); [all...] |
| /external/icu/icu4c/source/samples/numfmt/ |
| main.cpp | 98 * @param errorCode ICU error code, must pass U_SUCCESS() on input. 101 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 103 if(U_FAILURE(errorCode)) { 107 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 116 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 161 errorCode=U_UNSUPPORTED_ERROR; 187 * @param errorCode ICU error code, must pass U_SUCCESS() on input. 190 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 191 if(U_FAILURE(errorCode)) { 195 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/icu/icu4c/source/io/ |
| ustream.cpp | 45 UErrorCode errorCode = U_ZERO_ERROR; 48 converter = u_getDefaultConverter(&errorCode); 49 if(U_SUCCESS(errorCode)) { 54 errorCode = U_ZERO_ERROR; 56 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 63 } while(errorCode == U_BUFFER_OVERFLOW_ERROR); 85 UErrorCode errorCode = U_ZERO_ERROR; 88 converter = u_getDefaultConverter(&errorCode); 89 if(U_SUCCESS(errorCode)) { 111 errorCode = U_ZERO_ERROR [all...] |
| /external/icu/icu4c/source/samples/ustring/ |
| ustring.cpp | 38 UErrorCode errorCode=U_ZERO_ERROR; 45 ucnv_fromUChars(cnv, out, sizeof(out), s, length, &errorCode); 46 if(U_FAILURE(errorCode) || errorCode==U_STRING_NOT_TERMINATED_WARNING) { 47 printf("%sproblem converting string from Unicode: %s\n", announce, u_errorName(errorCode)); 196 UErrorCode errorCode; 285 errorCode=U_ZERO_ERROR; 286 length=u_strToLower(buffer, UPRV_LENGTHOF(buffer), input, -1, "en", &errorCode); 287 if(U_SUCCESS(errorCode)) { 290 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 | 98 OMXResult errorCode; 132 errorCode = armVCM4P2_PutVLCBits ( 152 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
|
| omxVCM4P2_DecodeVLCZigzag_Inter.c | 96 OMXResult errorCode; 105 errorCode = armVCM4P2_GetVLCBits ( 125 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
|
| /frameworks/base/core/java/android/bluetooth/le/ |
| AdvertiseCallback.java | 69 * @param errorCode Error code (see ADVERTISE_FAILED_* constants) for advertising start 72 public void onStartFailure(int errorCode) {
|
| /frameworks/base/core/java/android/speech/tts/ |
| SynthesisCallback.java | 102 * @param errorCode Error code to pass to the client. One of the ERROR_ values from 105 public void error(int errorCode);
|
| /frameworks/opt/net/voip/src/java/android/net/sip/ |
| SipRegistrationListener.java | 42 * @param errorCode error code of this error 46 void onRegistrationFailed(String localProfileUri, int errorCode,
|