/external/icu/icu4c/source/i18n/ |
collationdatabuilder.cpp | 137 virtual UChar32 nextCodePoint(UErrorCode &errorCode); 138 virtual UChar32 previousCodePoint(UErrorCode &errorCode); 141 virtual void forwardNumCodePoints(int32_t num, UErrorCode &errorCode); 142 virtual void backwardNumCodePoints(int32_t num, UErrorCode &errorCode); 145 virtual uint32_t getCE32FromBuilderData(uint32_t ce32, UErrorCode &errorCode); 181 UErrorCode errorCode = U_ZERO_ERROR; 182 while(U_SUCCESS(errorCode) && pos < s->length()) { 195 appendCEsFromCE32(d, c, ce32, /*forward=*/ TRUE, errorCode); 196 U_ASSERT(U_SUCCESS(errorCode)); 222 DataBuilderCollationIterator::nextCodePoint(UErrorCode & /*errorCode*/) { [all...] |
collationdatabuilder.h | 63 CollationDataBuilder(UErrorCode &errorCode); 67 void initForTailoring(const CollationData *b, UErrorCode &errorCode); 95 int64_t getSingleCE(UChar32 c, UErrorCode &errorCode) const; 99 UErrorCode &errorCode); 107 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode); 109 uint32_t ce32, UErrorCode &errorCode); 120 * @param errorCode ICU in/out error code 125 UErrorCode &errorCode); 136 * @param errorCode ICU in/out error code 141 UErrorCode &errorCode); [all...] |
collationbuilder.cpp | 62 const char *&errorReason, UErrorCode &errorCode); 71 const char *& /*errorReason*/, UErrorCode &errorCode) { 72 CollationLoader::loadRules(localeID, collationType, rules, errorCode); 95 RuleBasedCollator::RuleBasedCollator(const UnicodeString &rules, UErrorCode &errorCode) 103 internalBuildTailoring(rules, UCOL_DEFAULT, UCOL_DEFAULT, NULL, NULL, errorCode); 107 UErrorCode &errorCode) 115 internalBuildTailoring(rules, strength, UCOL_DEFAULT, NULL, NULL, errorCode); 120 UErrorCode &errorCode) 128 internalBuildTailoring(rules, UCOL_DEFAULT, decompositionMode, NULL, NULL, errorCode); 134 UErrorCode &errorCode) [all...] |
collationiterator.h | 47 inline void append(int64_t ce, UErrorCode &errorCode) { 48 if(length < INITIAL_CAPACITY || ensureAppendCapacity(1, errorCode)) { 57 UBool ensureAppendCapacity(int32_t appCap, UErrorCode &errorCode); 59 inline UBool incLength(UErrorCode &errorCode) { 62 if(length < INITIAL_CAPACITY || ensureAppendCapacity(1, errorCode)) { 114 inline int64_t nextCE(UErrorCode &errorCode) { 120 if(!ceBuffer.incLength(errorCode)) { 124 uint32_t ce32 = handleNextCE32(c, errorCode); 155 return nextCEFromCE32(d, c, ce32, errorCode); 162 int32_t fetchCEs(UErrorCode &errorCode); [all...] |
collationiterator.cpp | 37 CollationIterator::CEBuffer::ensureAppendCapacity(int32_t appCap, UErrorCode &errorCode) { 40 if(U_FAILURE(errorCode)) { return FALSE; } 50 errorCode = U_MEMORY_ALLOCATION_ERROR; 155 UErrorCode errorCode = U_ZERO_ERROR; 157 if(length > 0 && ceBuffer.ensureAppendCapacity(length, errorCode)) { 198 CollationIterator::fetchCEs(UErrorCode &errorCode) { 199 while(U_SUCCESS(errorCode) && nextCE(errorCode) != Collation::NO_CE) { 207 CollationIterator::handleNextCE32(UChar32 &c, UErrorCode &errorCode) { 208 c = nextCodePoint(errorCode); [all...] |
collationbuilder.h | 42 CollationBuilder(const CollationTailoring *base, UErrorCode &errorCode); 51 UErrorCode &errorCode); 60 const char *&errorReason, UErrorCode &errorCode); 68 const char *&parserErrorReason, UErrorCode &errorCode); 73 const char *&errorReason, UErrorCode &errorCode); 80 UErrorCode &errorCode); 81 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode); 83 int32_t findOrInsertNodeForPrimary(uint32_t p, UErrorCode &errorCode); 86 UErrorCode &errorCode); 94 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode); [all...] |
collationcompare.h | 32 UErrorCode &errorCode);
|
collationsettings.cpp | 38 UErrorCode errorCode = U_ZERO_ERROR; 39 copyReorderingFrom(other, errorCode); 87 const uint8_t *table, UErrorCode &errorCode) { 88 if(U_FAILURE(errorCode)) { return; } 125 setReordering(data, codes, length, errorCode); 131 UErrorCode &errorCode) { 132 if(U_FAILURE(errorCode)) { return; } 137 UVector32 rangesList(errorCode); 138 data.makeReorderRanges(codes, codesLength, rangesList, errorCode); 139 if(U_FAILURE(errorCode)) { return; [all...] |
standardplural.h | 68 static Form fromString(const char *keyword, UErrorCode &errorCode) { 69 return static_cast<Form>(indexFromString(keyword, errorCode)); 78 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { 79 return static_cast<Form>(indexFromString(keyword, errorCode)); 118 static int32_t indexFromString(const char *keyword, UErrorCode &errorCode); 126 static int32_t indexFromString(const UnicodeString &keyword, UErrorCode &errorCode);
|
/external/icu/icu4c/source/samples/numfmt/ |
main.cpp | 102 * @param errorCode ICU error code, must pass U_SUCCESS() on input. 105 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 107 if(U_FAILURE(errorCode)) { 111 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 120 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 165 errorCode=U_UNSUPPORTED_ERROR; 191 * @param errorCode ICU error code, must pass U_SUCCESS() on input. 194 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 195 if(U_FAILURE(errorCode)) { 199 errorCode=U_ILLEGAL_ARGUMENT_ERROR [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cucdapi.c | 34 UErrorCode errorCode) { 37 if(U_FAILURE(errorCode)) { 38 log_err("Failed: %s - %s\n", msg, u_errorName(errorCode)); 478 UErrorCode errorCode=U_ZERO_ERROR; 480 USCRIPT_COMMON==uscript_getScript(0x0640, &errorCode) && 481 USCRIPT_INHERITED==uscript_getScript(0x0650, &errorCode) && 482 USCRIPT_ARABIC==uscript_getScript(0xfdf2, &errorCode)) || 483 U_FAILURE(errorCode) 553 UErrorCode errorCode; 556 errorCode=U_PARSE_ERROR [all...] |
/external/icu/icu4c/source/common/unicode/ |
idna.h | 84 * @param errorCode Standard ICU error code. Its input value must 92 createUTS46Instance(uint32_t options, UErrorCode &errorCode); 107 * @param errorCode Standard ICU error code. Its input value must 116 IDNAInfo &info, UErrorCode &errorCode) const = 0; 129 * @param errorCode Standard ICU error code. Its input value must 138 IDNAInfo &info, UErrorCode &errorCode) const = 0; 153 * @param errorCode Standard ICU error code. Its input value must 162 IDNAInfo &info, UErrorCode &errorCode) const = 0; 175 * @param errorCode Standard ICU error code. Its input value must 184 IDNAInfo &info, UErrorCode &errorCode) const = 0 [all...] |
/frameworks/base/core/java/android/net/metrics/ |
DhcpErrorEvent.java | 62 public final int errorCode; 64 public DhcpErrorEvent(int errorCode) { 65 this.errorCode = errorCode; 69 this.errorCode = in.readInt(); 74 out.writeInt(errorCode); 93 public static int errorCodeWithOption(int errorCode, int option) { 94 return (0xFFFF0000 & errorCode) | (0xFF & option); 103 return String.format("DhcpErrorEvent(%s)", Decoder.constants.get(errorCode));
|
/external/icu/icu4c/source/io/ |
ustream.cpp | 47 UErrorCode errorCode = U_ZERO_ERROR; 50 converter = u_getDefaultConverter(&errorCode); 51 if(U_SUCCESS(errorCode)) { 56 errorCode = U_ZERO_ERROR; 58 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 65 } while(errorCode == U_BUFFER_OVERFLOW_ERROR); 87 UErrorCode errorCode = U_ZERO_ERROR; 90 converter = u_getDefaultConverter(&errorCode); 91 if(U_SUCCESS(errorCode)) { 113 errorCode = U_ZERO_ERROR [all...] |
/external/icu/icu4c/source/samples/ustring/ |
ustring.cpp | 44 UErrorCode errorCode=U_ZERO_ERROR; 51 ucnv_fromUChars(cnv, out, sizeof(out), s, length, &errorCode); 52 if(U_FAILURE(errorCode) || errorCode==U_STRING_NOT_TERMINATED_WARNING) { 53 printf("%sproblem converting string from Unicode: %s\n", announce, u_errorName(errorCode)); 202 UErrorCode errorCode; 291 errorCode=U_ZERO_ERROR; 292 length=u_strToLower(buffer, UPRV_LENGTHOF(buffer), input, -1, "en", &errorCode); 293 if(U_SUCCESS(errorCode)) { 296 printf("error in u_strToLower(en)=%ld error=%s\n", length, u_errorName(errorCode)); [all...] |
/external/icu/icu4c/source/common/ |
messagepattern.cpp | 96 UErrorCode &errorCode); 97 UBool ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode); 113 UErrorCode &errorCode) { 114 if(U_SUCCESS(errorCode) && length>0) { 116 errorCode=U_MEMORY_ALLOCATION_ERROR; 125 MessagePatternList<T, stackCapacity>::ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode) { 126 if(U_FAILURE(errorCode)) { 132 errorCode=U_MEMORY_ALLOCATION_ERROR; 146 MessagePattern::MessagePattern(UErrorCode &errorCode) 151 init(errorCode); [all...] |
normalizer2.cpp | 67 UErrorCode &errorCode) const { 68 if(U_SUCCESS(errorCode)) { 72 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 80 UErrorCode &errorCode) const { 81 if(U_SUCCESS(errorCode)) { 85 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 93 UErrorCode &errorCode) const { 94 if(U_SUCCESS(errorCode)) { 98 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 142 Norm2AllModes::createInstance(Normalizer2Impl *impl, UErrorCode &errorCode) { [all...] |
bytestrieiterator.cpp | 26 UErrorCode &errorCode) 31 if(U_FAILURE(errorCode)) { 41 stack_=new UVector32(errorCode); 42 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) { 43 errorCode=U_MEMORY_ALLOCATION_ERROR; 48 UErrorCode &errorCode) 53 if(U_FAILURE(errorCode)) { 57 stack_=new UVector32(errorCode); 58 if(U_FAILURE(errorCode)) { 62 errorCode=U_MEMORY_ALLOCATION_ERROR [all...] |
/external/icu/icu4c/source/test/intltest/ |
listformattertest.cpp | 31 UErrorCode errorCode = U_ZERO_ERROR; 32 formatter->format(data, dataSize, actualResult, errorCode); 41 UErrorCode errorCode = U_ZERO_ERROR; 42 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(Locale(locale_string), errorCode)); 43 if (U_FAILURE(errorCode)) { 44 dataerrln("ListFormatter::createInstance(Locale(\"%s\"), errorCode) failed in CheckFourCases: %s", locale_string, u_errorName(errorCode)); 62 UErrorCode errorCode = U_ZERO_ERROR; 63 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(locale, errorCode)); 64 if (U_FAILURE(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/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,
|
SipErrorCode.java | 66 public static String toString(int errorCode) { 67 switch (errorCode) {
|
/system/chre/core/include/chre/core/ |
wifi_request_manager.h | 86 * @param errorCode an error code that is provided to indicate success or what 90 void handleScanMonitorStateChange(bool enabled, uint8_t errorCode); 98 * @param errorCode an error code that is used to indicate success or what 102 void handleScanResponse(bool pending, uint8_t errorCode); 229 * @param errorCode The error code when success is set to false. 235 uint32_t nanoappInstanceId, bool success, bool enable, uint8_t errorCode, 246 uint32_t nanoappInstanceId, bool success, bool enable, uint8_t errorCode, 255 * @param errorCode The error code when success is set to false. 261 uint32_t nanoappInstanceId, bool success, uint8_t errorCode, 272 uint32_t nanoappInstanceId, bool success, uint8_t errorCode, [all...] |