/external/icu/icu4c/source/i18n/ |
collationbuilder.h | 40 CollationBuilder(const CollationTailoring *base, UErrorCode &errorCode); 49 UErrorCode &errorCode); 58 const char *&errorReason, UErrorCode &errorCode); 66 const char *&parserErrorReason, UErrorCode &errorCode); 71 const char *&errorReason, UErrorCode &errorCode); 78 UErrorCode &errorCode); 79 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode); 81 int32_t findOrInsertNodeForPrimary(uint32_t p, UErrorCode &errorCode); 84 UErrorCode &errorCode); 92 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode); [all...] |
collationsettings.cpp | 36 UErrorCode errorCode = U_ZERO_ERROR; 37 copyReorderingFrom(other, errorCode); 85 const uint8_t *table, UErrorCode &errorCode) { 86 if(U_FAILURE(errorCode)) { return; } 123 setReordering(data, codes, length, errorCode); 129 UErrorCode &errorCode) { 130 if(U_FAILURE(errorCode)) { return; } 135 UVector32 rangesList(errorCode); 136 data.makeReorderRanges(codes, codesLength, rangesList, errorCode); 137 if(U_FAILURE(errorCode)) { return; [all...] |
collationdatareader.cpp | 45 CollationTailoring &tailoring, UErrorCode &errorCode) { 46 if(U_FAILURE(errorCode)) { return; } 49 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 55 errorCode = U_INVALID_FORMAT_ERROR; 59 errorCode = U_COLLATOR_VERSION_MISMATCH; 70 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 76 errorCode = U_INVALID_FORMAT_ERROR; // Not enough indexes. 98 errorCode = U_INVALID_FORMAT_ERROR; 114 errorCode = U_INVALID_FORMAT_ERROR; 144 errorCode = U_INVALID_FORMAT_ERROR; // Reordering table without reordering codes [all...] |
/frameworks/base/core/java/android/speech/tts/ |
ITextToSpeechCallback.aidl | 49 * @param errorCode One of the values from 52 void onError(String utteranceId, int errorCode);
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipErrorCode.java | 66 public static String toString(int errorCode) { 67 switch (errorCode) {
|
/external/icu/icu4c/source/common/ |
normalizer2.cpp | 64 UErrorCode &errorCode) const { 65 if(U_SUCCESS(errorCode)) { 69 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 77 UErrorCode &errorCode) const { 78 if(U_SUCCESS(errorCode)) { 82 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 90 UErrorCode &errorCode) const { 91 if(U_SUCCESS(errorCode)) { 95 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 139 Norm2AllModes::createInstance(Normalizer2Impl *impl, UErrorCode &errorCode) { [all...] |
bytestrieiterator.cpp | 24 UErrorCode &errorCode) 29 if(U_FAILURE(errorCode)) { 39 stack_=new UVector32(errorCode); 40 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) { 41 errorCode=U_MEMORY_ALLOCATION_ERROR; 46 UErrorCode &errorCode) 51 if(U_FAILURE(errorCode)) { 55 stack_=new UVector32(errorCode); 56 if(U_FAILURE(errorCode)) { 60 errorCode=U_MEMORY_ALLOCATION_ERROR [all...] |
unistr_cnv.cpp | 79 UErrorCode &errorCode) { 81 if(U_SUCCESS(errorCode)) { 86 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 96 doCodepageCreate(src, srcLength, cnv, errorCode); 99 cnv=u_getDefaultConverter(&errorCode); 100 doCodepageCreate(src, srcLength, cnv, errorCode); 106 if(U_FAILURE(errorCode)) { 207 UErrorCode &errorCode) const 209 if(U_FAILURE(errorCode)) { 214 errorCode=U_ILLEGAL_ARGUMENT_ERROR [all...] |
/external/mesa3d/src/glx/ |
glx_error.c | 38 __glXSendError(Display * dpy, int_fast8_t errorCode, uint_fast32_t resourceID, 53 error.errorCode = errorCode; 56 error.errorCode = glx_dpy->codes->first_error + errorCode; 77 error.errorCode = err->error_code;
|
/external/icu/icu4c/source/test/intltest/ |
convtest.cpp | 53 UErrorCode errorCode=U_ZERO_ERROR; 54 utf8Cnv=ucnv_open("UTF-8", &errorCode); 55 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode); 56 if(U_FAILURE(errorCode)) { 99 UErrorCode errorCode; 102 errorCode=U_ZERO_ERROR; 103 dataModule=TestDataModule::getTestDataModule("conversion", *this, errorCode); 104 if(U_SUCCESS(errorCode)) { 105 testData=dataModule->createTestData("toUnicode", errorCode); 106 if(U_SUCCESS(errorCode)) { [all...] |
tstnrapi.cpp | 61 UErrorCode errorCode=U_ZERO_ERROR; 62 Normalizer::compose(tel, TRUE, 0, nfkc, errorCode); 63 Normalizer::decompose(tel, TRUE, 0, nfkd, errorCode); 64 if(U_FAILURE(errorCode)) { 65 dataerrln("error in Normalizer::(de)compose(): %s", u_errorName(errorCode)); 81 errorCode=U_ZERO_ERROR; 82 copy.setText(iter, errorCode); 83 if(U_FAILURE(errorCode)) { 84 errln("error Normalizer::setText() failed: %s", u_errorName(errorCode)); 97 errorCode=U_ZERO_ERROR [all...] |
collationtest.cpp | 17 #include "unicode/errorcode.h" 100 UBool readNonEmptyLine(UCHARBUF *f, IcuTestErrorCode &errorCode); 101 void parseString(int32_t &start, UnicodeString &prefix, UnicodeString &s, UErrorCode &errorCode); 102 Collation::Level parseRelationAndString(UnicodeString &s, IcuTestErrorCode &errorCode); 103 void parseAndSetAttribute(IcuTestErrorCode &errorCode); 104 void parseAndSetReorderCodes(int32_t start, IcuTestErrorCode &errorCode); 105 void buildTailoring(UCHARBUF *f, IcuTestErrorCode &errorCode); 106 void setRootCollator(IcuTestErrorCode &errorCode); 107 void setLocaleCollator(IcuTestErrorCode &errorCode); 109 UBool needsNormalization(const UnicodeString &s, UErrorCode &errorCode) const [all...] |
listformattertest.cpp | 29 UErrorCode errorCode = U_ZERO_ERROR; 30 formatter->format(data, dataSize, actualResult, errorCode); 39 UErrorCode errorCode = U_ZERO_ERROR; 40 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(Locale(locale_string), errorCode)); 41 if (U_FAILURE(errorCode)) { 42 dataerrln("ListFormatter::createInstance(Locale(\"%s\"), errorCode) failed in CheckFourCases: %s", locale_string, u_errorName(errorCode)); 60 UErrorCode errorCode = U_ZERO_ERROR; 61 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(locale, errorCode)); 62 if (U_FAILURE(errorCode)) { [all...] |
/external/icu/icu4c/source/test/cintltst/ |
custrtrn.c | [all...] |
crestst.c | 470 UErrorCode errorCode; 477 errorCode=U_ZERO_ERROR; 478 idna_rules=ures_openDirect(loadTestData(&errorCode), "idna_rules", &errorCode); 479 if(U_FAILURE(errorCode)) { 480 log_data_err("ures_openDirect(\"idna_rules\") failed: %s\n", u_errorName(errorCode)); 484 if(0!=uprv_strcmp("idna_rules", ures_getLocale(idna_rules, &errorCode))) { 487 errorCode=U_ZERO_ERROR; 490 item=ures_getByKey(idna_rules, "UnassignedSet", NULL, &errorCode); 491 if(U_FAILURE(errorCode)) { [all...] |
cpluralrulestest.c | 98 UErrorCode errorCode = U_ZERO_ERROR; 99 UPluralRules* upr = uplrules_openForType("en", UPLURAL_TYPE_ORDINAL, &errorCode); 100 if (U_FAILURE(errorCode)) { 101 log_err("uplrules_openForType(en, ordinal) failed - %s\n", u_errorName(errorCode)); 105 length = uplrules_select(upr, 2., keyword, 8, &errorCode); 106 if (U_FAILURE(errorCode) || u_strCompare(keyword, length, two, 3, FALSE) != 0) { 107 log_data_err("uplrules_select(en-ordinal, 2) failed - %s\n", u_errorName(errorCode));
|
cbiditst.c | 172 UErrorCode errorCode=U_ZERO_ERROR; 176 pBiDi=ubidi_openSized(MAXLEN, 0, &errorCode); 186 log_err("ubidi_openSized() returned NULL, errorCode %s\n", myErrorName(errorCode)); 204 UErrorCode errorCode; 209 errorCode=U_ZERO_ERROR; 212 ubidi_setPara(pBiDi, string, -1, paraLevel, NULL, &errorCode); 213 if(U_SUCCESS(errorCode)) { 220 ubidi_setLine(pBiDi, lineStart, tests[testNumber].lineLimit, pLine, &errorCode); 221 if(U_SUCCESS(errorCode)) { [all...] |
cldrtest.c | 75 UErrorCode errorCode = U_ZERO_ERROR; 84 errorCode = U_ZERO_ERROR; 87 subBundle = ures_getNextResource(currentBundle, NULL, &errorCode); 88 if (U_FAILURE(errorCode)) { 89 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode)); 95 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode); 96 if (U_FAILURE(errorCode)) { 121 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode); 122 const int32_t *subBundleArr = ures_getIntVector(subBundle, &subBundleSize, &errorCode); 157 UResourceBundle *subSubBundle = ures_getByIndex(subBundle, 0, NULL, &errorCode); [all...] |
sorttest.c | 36 UErrorCode errorCode; 39 errorCode=U_ZERO_ERROR; 40 uprv_sortArray(small, UPRV_LENGTHOF(small), sizeof(small[0]), uprv_uint16Comparator, NULL, TRUE, &errorCode); 41 if(U_FAILURE(errorCode)) { 42 log_err("uprv_sortArray(small) failed - %s\n", u_errorName(errorCode)); 58 uprv_sortArray(medium, UPRV_LENGTHOF(medium), sizeof(medium[0]), uprv_int32Comparator, NULL, TRUE, &errorCode); 59 if(U_FAILURE(errorCode)) { 60 log_err("uprv_sortArray(medium) failed - %s\n", u_errorName(errorCode)); 71 errorCode=U_ZERO_ERROR; 72 uprv_sortArray(large, UPRV_LENGTHOF(large), sizeof(large[0]), uprv_uint32Comparator, NULL, FALSE, &errorCode); [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
SourceDebugExtensionTest.java | 86 short errorCode = checkedReply.getErrorCode(); 88 switch ( errorCode ) { 95 logWriter.println("=> ERROR is returned: "+ errorCode 96 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 100 logWriter.println("=> ERROR is returned: "+ errorCode 101 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 106 + errorCode + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 108 + errorCode + "(" + JDWPConstants.Error.getName(errorCode) + ")") [all...] |
Signature002Test.java | 126 short errorCode = checkedReply.getErrorCode(); 127 if ( errorCode != JDWPConstants.Error.NONE ) { 128 if ( errorCode != JDWPConstants.Error.INVALID_CLASS ) { 130 + " returns unexpected ERROR = " + errorCode 131 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 133 + " returns unexpected ERROR = " + errorCode 134 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 155 errorCode = checkedReply.getErrorCode(); 156 if ( errorCode != JDWPConstants.Error.NONE ) { 157 if ( errorCode != JDWPConstants.Error.INVALID_OBJECT ) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyStream.java | 74 private ErrorCode errorCode = null; 107 if (errorCode != null) { 139 while (responseHeaders == null && errorCode == null) { 146 throw new IOException("stream was reset: " + errorCode); 153 public synchronized ErrorCode getErrorCode() { 154 return errorCode; 218 public void close(ErrorCode rstStatusCode) throws IOException { 229 public void closeLater(ErrorCode errorCode) { [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
ppucd.h | 96 PreparsedUCD(const char *filename, UErrorCode &errorCode); 108 LineType readLine(UErrorCode &errorCode); 129 const UniProps *getProps(UnicodeSet &newValues, UErrorCode &errorCode); 135 * Returns U_SUCCESS(errorCode). 137 UBool getRangeForAlgNames(UChar32 &start, UChar32 &end, UErrorCode &errorCode); 148 UErrorCode &errorCode); 149 UChar32 parseCodePoint(const char *s, UErrorCode &errorCode); 150 UBool parseCodePointRange(const char *s, UChar32 &start, UChar32 &end, UErrorCode &errorCode); 151 void parseString(const char *s, UnicodeString &uni, UErrorCode &errorCode); 152 void parseScriptExtensions(const char *s, UnicodeSet &scx, UErrorCode &errorCode); [all...] |
/external/icu/icu4c/source/test/iotest/ |
iotest.cpp | 197 UErrorCode errorCode; 222 errorCode=U_ZERO_ERROR; 223 dataModule=TestDataModule::getTestDataModule("icuio", logger, errorCode); 224 if(U_SUCCESS(errorCode)) { 225 testData=dataModule->createTestData("printf", errorCode); 226 if(U_SUCCESS(errorCode)) { 227 for(i=0; testData->nextCase(testCase, errorCode); ++i) { 228 if(U_FAILURE(errorCode)) { 230 i, u_errorName(errorCode)); 231 errorCode=U_ZERO_ERROR [all...] |
/external/icu/icu4c/source/common/unicode/ |
messagepattern.h | 362 * @param errorCode Standard ICU error code. Its input value must 368 MessagePattern(UErrorCode &errorCode); 373 * @param errorCode Standard ICU error code. Its input value must 379 MessagePattern(UMessagePatternApostropheMode mode, UErrorCode &errorCode); 388 * @param errorCode Standard ICU error code. Its input value must 399 MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode); 428 * @param errorCode Standard ICU error code. Its input value must 440 UParseError *parseError, UErrorCode &errorCode); 448 * @param errorCode Standard ICU error code. Its input value must 460 UParseError *parseError, UErrorCode &errorCode); [all...] |