/external/icu/icu4c/source/common/ |
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...] |
ucharstrieiterator.cpp | 23 UErrorCode &errorCode) 29 if(U_FAILURE(errorCode)) { 38 stack_=new UVector32(errorCode); 40 errorCode=U_MEMORY_ALLOCATION_ERROR; 45 UErrorCode &errorCode) 51 if(U_FAILURE(errorCode)) { 54 stack_=new UVector32(errorCode); 55 if(U_FAILURE(errorCode)) { 59 errorCode=U_MEMORY_ALLOCATION_ERROR; 99 UCharsTrie::Iterator::next(UErrorCode &errorCode) { [all...] |
simplepatternformatter.cpp | 65 UErrorCode &errorCode) { 66 if (U_FAILURE(errorCode)) { 124 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 150 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 159 UnicodeString &appendTo, UErrorCode &errorCode) const { 161 return formatAndAppend(values, 1, appendTo, NULL, 0, errorCode); 167 UnicodeString &appendTo, UErrorCode &errorCode) const { 169 return formatAndAppend(values, 2, appendTo, NULL, 0, errorCode); 176 UnicodeString &appendTo, UErrorCode &errorCode) const { 178 return formatAndAppend(values, 3, appendTo, NULL, 0, errorCode); [all...] |
bytestriebuilder.cpp | 38 void setTo(const StringPiece &s, int32_t val, CharString &strings, UErrorCode &errorCode); 90 CharString &strings, UErrorCode &errorCode) { 91 if(U_FAILURE(errorCode)) { 97 errorCode=U_INDEX_OUTOFBOUNDS_ERROR; 103 strings.append((char)(length>>8), errorCode); 105 strings.append((char)length, errorCode); 108 strings.append(s, errorCode); 127 BytesTrieBuilder::BytesTrieBuilder(UErrorCode &errorCode) 130 if(U_FAILURE(errorCode)) { 135 errorCode=U_MEMORY_ALLOCATION_ERROR [all...] |
/external/icu/icu4c/source/test/cintltst/ |
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/ |
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/framed/ |
FramedStream.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/genrb/ |
reslist.h | 69 SRBRoot(const UString *comment, UBool isPoolBundle, UErrorCode &errorCode); 73 char *writtenFilename, int writtenFilenameLen, UErrorCode &errorCode); 75 void setLocale(UChar *locale, UErrorCode &errorCode); 76 int32_t addTag(const char *tag, UErrorCode &errorCode); 81 int32_t addKeyBytes(const char *keyBytes, int32_t length, UErrorCode &errorCode); 83 void compactKeys(UErrorCode &errorCode); 89 void compactStringsV2(UHashtable *stringSet, UErrorCode &errorCode); 161 UErrorCode &errorCode); 178 void preflightStrings(SRBRoot *bundle, UHashtable *stringSet, UErrorCode &errorCode); 179 virtual void handlePreflightStrings(SRBRoot *bundle, UHashtable *stringSet, UErrorCode &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...] |
/external/icu/icu4c/source/i18n/ |
collationdatawriter.h | 33 UErrorCode &errorCode); 37 UErrorCode &errorCode); 46 UErrorCode &errorCode);
|
standardplural.cpp | 103 int32_t StandardPlural::indexFromString(const char *keyword, UErrorCode &errorCode) { 104 if (U_FAILURE(errorCode)) { return OTHER; } 109 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 114 int32_t StandardPlural::indexFromString(const UnicodeString &keyword, UErrorCode &errorCode) { 115 if (U_FAILURE(errorCode)) { return OTHER; } 120 errorCode = U_ILLEGAL_ARGUMENT_ERROR;
|
/external/icu/icu4c/source/samples/props/ |
props.cpp | 28 UErrorCode errorCode; 31 errorCode=U_ZERO_ERROR; 32 u_charName(codePoint, U_UNICODE_CHAR_NAME, buffer, sizeof(buffer), &errorCode);
|
/external/icu/icu4c/source/tools/gentest/ |
gentest.c | 65 UErrorCode errorCode = U_ZERO_ERROR; 96 createData(options[2].value, &errorCode); 98 return U_FAILURE(errorCode); 103 createData(const char* outputDirectory, UErrorCode *errorCode) { 112 U_COPYRIGHT_STRING, errorCode); 113 if(U_FAILURE(*errorCode)) { 114 fprintf(stderr, "gentest: unable to create data memory, %s\n", u_errorName(*errorCode)); 115 exit(*errorCode); 124 dataLength=udata_finish(pData, errorCode); 125 if(U_FAILURE(*errorCode)) { [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipSessionAdapter.java | 49 public void onCallChangeFailed(ISipSession session, int errorCode, 53 public void onError(ISipSession session, int errorCode, String message) { 62 public void onRegistrationFailed(ISipSession session, int errorCode,
|
ISipSessionListener.aidl | 87 * @param errorCode error code defined in {@link SipErrorCode} 90 void onError(in ISipSession session, int errorCode, String errorMessage); 96 * @param errorCode error code defined in {@link SipErrorCode} 99 void onCallChangeFailed(in ISipSession session, int errorCode, 121 * @param errorCode error code defined in {@link SipErrorCode} 124 void onRegistrationFailed(in ISipSession session, int errorCode,
|
/frameworks/base/core/java/android/nfc/tech/ |
NdefFormatable.java | 126 int errorCode = tagService.formatNdef(serviceHandle, MifareClassic.KEY_DEFAULT); 127 switch (errorCode) { 145 errorCode = tagService.ndefWrite(serviceHandle, firstMessage); 146 switch (errorCode) { 161 errorCode = tagService.ndefMakeReadOnly(serviceHandle); 162 switch (errorCode) {
|
/external/lzma/CPP/7zip/UI/Explorer/ |
MyMessages.cpp | 29 void ShowErrorMessageDWORD(HWND window, DWORD errorCode)
31 ShowErrorMessage(window, NError::MyFormatMessage(errorCode));
|
/external/mesa3d/src/glx/ |
glx_error.h | 34 void __glXSendError(Display * dpy, int_fast8_t errorCode,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
ExecResultException.java | 29 protected ExecResultException(int errorCode, String[] output) { 30 mErrorCode = errorCode;
|