HomeSort by relevance Sort by last modified time
    Searched defs:errorCode (Results 151 - 175 of 302) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/icu4c/tools/toolutil/
pkgitems.cpp 83 UErrorCode errorCode=U_ZERO_ERROR;
84 pInfo=::getDataInfo(pItem->data, pItem->length, infoLength, itemHeaderLength, &errorCode);
85 if(U_FAILURE(errorCode)) {
86 exit(errorCode); // should succeed because readFile() checks headers
93 UDataSwapper *ds=udata_openSwapper((UBool)pInfo->isBigEndian, pInfo->charsetFamily, U_IS_BIG_ENDIAN, U_CHARSET_FAMILY, &errorCode);
94 if(U_FAILURE(errorCode)) {
96 pItem->name, u_errorName(errorCode));
97 exit(errorCode);
108 swap(ds, pItem->data, pItem->length, swapped, &errorCode);
109 pInfo=::getDataInfo(swapped, pItem->length, infoLength, itemHeaderLength, &errorCode);
    [all...]
ucm.c 221 UErrorCode errorCode;
228 errorCode=U_ZERO_ERROR;
233 FALSE, &errorCode);
256 FALSE, &errorCode);
258 if(U_FAILURE(errorCode)) {
260 u_errorName(errorCode));
261 exit(errorCode);
829 UErrorCode errorCode=U_ZERO_ERROR;
830 u_strFromUTF32(NULL, 0, &u16Length, codePoints, uLen, &errorCode);
831 if( (U_FAILURE(errorCode) && errorCode!=U_BUFFER_OVERFLOW_ERROR) |
    [all...]
  /frameworks/opt/net/voip/src/java/android/net/sip/
SipManager.java 611 public void onRegistrationFailed(ISipSession session, int errorCode,
613 mListener.onRegistrationFailed(getUri(session), errorCode, message);
  /libcore/luni/src/main/native/
libcore_icu_NativeConverter.cpp 214 UErrorCode errorCode = U_ZERO_ERROR;
215 ucnv_fromUnicode(cnv , &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, (UBool) flush, &errorCode);
220 if (errorCode == U_ILLEGAL_CHAR_FOUND || errorCode == U_INVALID_CHAR_FOUND) {
231 if (shouldCodecThrow(flush, errorCode)) {
232 maybeThrowIcuException(env, "ucnv_fromUnicode", errorCode);
234 return errorCode;
269 UErrorCode errorCode = U_ZERO_ERROR;
270 ucnv_toUnicode(cnv, &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, flush, &errorCode);
275 if (errorCode == U_ILLEGAL_CHAR_FOUND || errorCode == U_INVALID_CHAR_FOUND)
    [all...]
  /external/chromium_org/third_party/icu/source/common/
ucnv_bld.c     [all...]
unistr.cpp 429 UErrorCode errorCode = U_ZERO_ERROR;
434 &errorCode);
436 if(errorCode == U_BUFFER_OVERFLOW_ERROR) {
439 } else if(U_FAILURE(errorCode)) {
744 UErrorCode &errorCode) const {
746 if(U_SUCCESS(errorCode)) {
748 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
754 return u_terminateUChars(dest, destCapacity, len, &errorCode);
799 UErrorCode errorCode = U_ZERO_ERROR;
804 &errorCode);
    [all...]
utrie2_builder.c 323 UErrorCode errorCode;
335 utrie2_set32(nt->trie, start, value, &nt->errorCode);
337 utrie2_setRange32(nt->trie, start, end, value, TRUE, &nt->errorCode);
339 return U_SUCCESS(nt->errorCode);
387 context.errorCode=*pErrorCode;
389 *pErrorCode=context.errorCode;
426 context.errorCode=*pErrorCode;
428 *pErrorCode=context.errorCode;
    [all...]
uts46.cpp 69 IDNAInfo &info, UErrorCode &errorCode) const {
70 if(U_SUCCESS(errorCode)) {
73 info, errorCode).toUTF8(dest);
79 IDNAInfo &info, UErrorCode &errorCode) const {
80 if(U_SUCCESS(errorCode)) {
83 info, errorCode).toUTF8(dest);
89 IDNAInfo &info, UErrorCode &errorCode) const {
90 if(U_SUCCESS(errorCode)) {
93 info, errorCode).toUTF8(dest);
99 IDNAInfo &info, UErrorCode &errorCode) const
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
bocu1tst.c 884 UErrorCode errorCode;
894 errorCode=U_ZERO_ERROR;
895 bocu1ICULength=ucnv_fromUChars(bocu1, bocu1ICU, DEFAULT_BUFFER_SIZE, text, length, &errorCode);
896 if(U_FAILURE(errorCode)) {
897 log_err("ucnv_fromUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode));
913 roundtripICULength=ucnv_toUChars(bocu1, roundtripICU, DEFAULT_BUFFER_SIZE, bocu1ICU, bocu1ICULength, &errorCode);
914 if(U_FAILURE(errorCode)) {
915 log_err("ucnv_toUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode));
982 UErrorCode errorCode;
984 errorCode=U_ZERO_ERROR
    [all...]
crestst.c 473 UErrorCode errorCode;
480 errorCode=U_ZERO_ERROR;
481 idna_rules=ures_openDirect(loadTestData(&errorCode), "idna_rules", &errorCode);
482 if(U_FAILURE(errorCode)) {
483 log_data_err("ures_openDirect(\"idna_rules\") failed: %s\n", u_errorName(errorCode));
487 if(0!=uprv_strcmp("idna_rules", ures_getLocale(idna_rules, &errorCode))) {
490 errorCode=U_ZERO_ERROR;
493 item=ures_getByKey(idna_rules, "UnassignedSet", NULL, &errorCode);
494 if(U_FAILURE(errorCode)) {
    [all...]
custrtrn.c     [all...]
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...]
udatatst.c 157 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status));
181 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", path, memMap[i][0], memMap[i][1], myErrorName(status));
229 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", icuDataFilePath, memMap[i][0], memMap[i][1], myErrorName(status));
327 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
346 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
622 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[0], type, myErrorName(status));
634 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status));
638 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status));
651 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status));
655 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[2], type, myErrorName(status))
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
convtest.cpp 54 UErrorCode errorCode=U_ZERO_ERROR;
55 utf8Cnv=ucnv_open("UTF-8", &errorCode);
56 ucnv_setToUCallBack(utf8Cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode);
57 if(U_FAILURE(errorCode)) {
98 UErrorCode errorCode;
101 errorCode=U_ZERO_ERROR;
102 dataModule=TestDataModule::getTestDataModule("conversion", *this, errorCode);
103 if(U_SUCCESS(errorCode)) {
104 testData=dataModule->createTestData("toUnicode", errorCode);
105 if(U_SUCCESS(errorCode)) {
    [all...]
  /external/chromium_org/third_party/icu/source/test/letest/
letest.cpp     [all...]
  /external/chromium_org/third_party/icu/source/tools/makeconv/
gencnvex.c 333 UErrorCode errorCode;
344 errorCode=U_ZERO_ERROR;
345 u_strFromUTF32(NULL, 0, &u16Length, u32, m->uLen, &errorCode);
346 if(U_FAILURE(errorCode) && errorCode!=U_BUFFER_OVERFLOW_ERROR) {
347 exit(errorCode);
357 errorCode=U_ZERO_ERROR;
358 u_strFromUTF32(u, u16Length, NULL, u32, m->uLen, &errorCode);
359 if(U_FAILURE(errorCode) && errorCode!=U_BUFFER_OVERFLOW_ERROR)
    [all...]
  /external/chromium_org/third_party/icu/source/tools/toolutil/
package.cpp 285 UErrorCode errorCode;
290 errorCode=U_ZERO_ERROR;
295 uprv_mkdir(filename, &errorCode);
296 if(U_FAILURE(errorCode)) {
310 UErrorCode errorCode;
354 errorCode=U_ZERO_ERROR;
355 typeEnum=getTypeEnumForInputData(data, length, &errorCode);
356 if(typeEnum<0 || U_FAILURE(errorCode)) {
438 UErrorCode errorCode;
458 errorCode=U_ZERO_ERROR
    [all...]
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/
TransportManager.java 429 int errorCode = 0;
433 errorCode = Integer.parseInt(httpReponse.substring(9, 12));
440 if ((errorCode < 0) || (errorCode > 999))
445 if (errorCode != 200)
447 throw new HTTPProxyException(httpReponse.substring(13), errorCode);
  /external/icu4c/common/
locdispnames.cpp 54 UErrorCode errorCode=U_ZERO_ERROR;
65 &errorCode);
66 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0);
68 if(errorCode==U_BUFFER_OVERFLOW_ERROR) {
74 errorCode=U_ZERO_ERROR;
77 &errorCode);
78 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0);
94 UErrorCode errorCode=U_ZERO_ERROR;
105 &errorCode);
106 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0)
    [all...]
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...]
ucnv_bld.cpp     [all...]
utrie2_builder.cpp 323 UErrorCode errorCode;
335 utrie2_set32(nt->trie, start, value, &nt->errorCode);
337 utrie2_setRange32(nt->trie, start, end, value, TRUE, &nt->errorCode);
339 return U_SUCCESS(nt->errorCode);
387 context.errorCode=*pErrorCode;
389 *pErrorCode=context.errorCode;
426 context.errorCode=*pErrorCode;
428 *pErrorCode=context.errorCode;
    [all...]
uts46.cpp 74 IDNAInfo &info, UErrorCode &errorCode) const {
75 if(U_SUCCESS(errorCode)) {
78 info, errorCode).toUTF8(dest);
84 IDNAInfo &info, UErrorCode &errorCode) const {
85 if(U_SUCCESS(errorCode)) {
88 info, errorCode).toUTF8(dest);
94 IDNAInfo &info, UErrorCode &errorCode) const {
95 if(U_SUCCESS(errorCode)) {
98 info, errorCode).toUTF8(dest);
104 IDNAInfo &info, UErrorCode &errorCode) const
    [all...]
  /external/icu4c/test/cintltst/
bocu1tst.c 885 UErrorCode errorCode;
895 errorCode=U_ZERO_ERROR;
896 bocu1ICULength=ucnv_fromUChars(bocu1, bocu1ICU, DEFAULT_BUFFER_SIZE, text, length, &errorCode);
897 if(U_FAILURE(errorCode)) {
898 log_err("ucnv_fromUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode));
913 roundtripICULength=ucnv_toUChars(bocu1, roundtripICU, DEFAULT_BUFFER_SIZE, bocu1ICU, bocu1ICULength, &errorCode);
914 if(U_FAILURE(errorCode)) {
915 log_err("ucnv_toUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode));
983 UErrorCode errorCode;
985 errorCode=U_ZERO_ERROR
    [all...]
crestst.c 473 UErrorCode errorCode;
480 errorCode=U_ZERO_ERROR;
481 idna_rules=ures_openDirect(loadTestData(&errorCode), "idna_rules", &errorCode);
482 if(U_FAILURE(errorCode)) {
483 log_data_err("ures_openDirect(\"idna_rules\") failed: %s\n", u_errorName(errorCode));
487 if(0!=uprv_strcmp("idna_rules", ures_getLocale(idna_rules, &errorCode))) {
490 errorCode=U_ZERO_ERROR;
493 item=ures_getByKey(idna_rules, "UnassignedSet", NULL, &errorCode);
494 if(U_FAILURE(errorCode)) {
    [all...]

Completed in 1067 milliseconds

1 2 3 4 5 67 8 91011>>