HomeSort by relevance Sort by last modified time
    Searched refs:errorCode (Results 51 - 75 of 371) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/icu4c/test/intltest/
ucdtest.cpp 33 UErrorCode errorCode=U_ZERO_ERROR;
34 unknownPropertyNames=new U_NAMESPACE_QUALIFIER Hashtable(errorCode);
35 if(U_FAILURE(errorCode)) {
41 unknownPropertyNames->puti(UnicodeString(ignorePropNames[i], -1, US_INV), 1, errorCode);
170 UErrorCode errorCode=U_ZERO_ERROR;
171 me->unknownPropertyNames->puti(propName, 1, errorCode);
196 UErrorCode errorCode=U_ZERO_ERROR;
207 strcpy(backupPath, loadTestData(errorCode));
214 u_parseDelimitedFile(newPath, ';', fields, 2, derivedPropsLineFn, this, &errorCode);
216 if(errorCode==U_FILE_ACCESS_ERROR)
    [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...]
  /external/icu4c/samples/numfmt/
main.cpp 100 * @param errorCode ICU error code, must pass U_SUCCESS() on input.
103 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) {
105 if(U_FAILURE(errorCode)) {
109 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
117 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
162 errorCode=U_UNSUPPORTED_ERROR;
189 * @param errorCode ICU error code, must pass U_SUCCESS() on input.
192 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) {
193 if(U_FAILURE(errorCode)) {
197 errorCode=U_ILLEGAL_ARGUMENT_ERROR
    [all...]
  /external/chromium/third_party/icu/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);
62 } while(errorCode == U_BUFFER_OVERFLOW_ERROR);
84 UErrorCode errorCode = U_ZERO_ERROR;
87 converter = u_getDefaultConverter(&errorCode);
88 if(U_SUCCESS(errorCode)) {
110 errorCode = U_ZERO_ERROR
    [all...]
  /external/chromium/third_party/icu/source/tools/genprops/
store.c 405 UErrorCode errorCode=U_ZERO_ERROR;
410 trieSize=utrie_serialize(pTrie, trieBlock, sizeof(trieBlock), NULL, TRUE, &errorCode);
411 if(U_FAILURE(errorCode)) {
412 fprintf(stderr, "error: utrie_serialize failed: %s (length %ld)\n", u_errorName(errorCode), (long)trieSize);
413 exit(errorCode);
436 utrie_unserialize(&trie, trieBlock, trieSize, &errorCode);
437 if(U_FAILURE(errorCode)) {
441 u_errorName(errorCode));
442 exit(errorCode);
449 trie2=utrie2_fromUTrie(&trie, 0, &errorCode);
    [all...]
  /external/icu4c/io/
ustream.cpp 46 UErrorCode errorCode = U_ZERO_ERROR;
49 converter = u_getDefaultConverter(&errorCode);
50 if(U_SUCCESS(errorCode)) {
55 errorCode = U_ZERO_ERROR;
57 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode);
64 } while(errorCode == U_BUFFER_OVERFLOW_ERROR);
86 UErrorCode errorCode = U_ZERO_ERROR;
89 converter = u_getDefaultConverter(&errorCode);
90 if(U_SUCCESS(errorCode)) {
112 errorCode = U_ZERO_ERROR
    [all...]
  /external/icu4c/tools/genprops/
store.c 367 UErrorCode errorCode=U_ZERO_ERROR;
372 trieSize=utrie_serialize(pTrie, trieBlock, sizeof(trieBlock), NULL, TRUE, &errorCode);
373 if(U_FAILURE(errorCode)) {
374 fprintf(stderr, "error: utrie_serialize failed: %s (length %ld)\n", u_errorName(errorCode), (long)trieSize);
375 exit(errorCode);
398 utrie_unserialize(&trie, trieBlock, trieSize, &errorCode);
399 if(U_FAILURE(errorCode)) {
403 u_errorName(errorCode));
404 exit(errorCode);
408 trie2=utrie2_fromUTrie(&trie, 0, &errorCode);
    [all...]
  /external/icu4c/samples/ustring/
ustring.cpp 40 UErrorCode errorCode=U_ZERO_ERROR;
47 ucnv_fromUChars(cnv, out, sizeof(out), s, length, &errorCode);
48 if(U_FAILURE(errorCode) || errorCode==U_STRING_NOT_TERMINATED_WARNING) {
49 printf("%sproblem converting string from Unicode: %s\n", announce, u_errorName(errorCode));
198 UErrorCode errorCode;
287 errorCode=U_ZERO_ERROR;
288 length=u_strToLower(buffer, LENGTHOF(buffer), input, -1, "en", &errorCode);
289 if(U_SUCCESS(errorCode)) {
292 printf("error in u_strToLower(en)=%ld error=%s\n", length, u_errorName(errorCode));
    [all...]
  /external/chromium/third_party/icu/source/test/cintltst/
cldrtest.c 78 UErrorCode errorCode = U_ZERO_ERROR;
87 errorCode = U_ZERO_ERROR;
89 subBundle = ures_getNextResource(currentBundle, NULL, &errorCode);
90 if (U_FAILURE(errorCode)) {
91 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode));
97 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode);
98 if (U_FAILURE(errorCode)) {
123 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode);
124 const int32_t *subBundleArr = ures_getIntVector(subBundle, &subBundleSize, &errorCode);
159 UResourceBundle *subSubBundle = ures_getByIndex(subBundle, 0, NULL, &errorCode);
    [all...]
cbiditst.c 147 UErrorCode errorCode=U_ZERO_ERROR;
151 pBiDi=ubidi_openSized(MAXLEN, 0, &errorCode);
161 log_err("ubidi_openSized() returned NULL, errorCode %s\n", myErrorName(errorCode));
179 UErrorCode errorCode;
184 errorCode=U_ZERO_ERROR;
187 ubidi_setPara(pBiDi, string, -1, paraLevel, NULL, &errorCode);
188 if(U_SUCCESS(errorCode)) {
195 ubidi_setLine(pBiDi, lineStart, tests[testNumber].lineLimit, pLine, &errorCode);
196 if(U_SUCCESS(errorCode)) {
    [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...]
cnormtst.c 588 UErrorCode errorCode;
593 errorCode=U_ZERO_ERROR;
594 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) {
595 log_err("error: !isNormalized(<U+0300>, NFC) (%s)\n", u_errorName(errorCode));
599 errorCode=U_TRUNCATED_CHAR_FOUND;
600 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode);
601 if(errorCode!=U_TRUNCATED_CHAR_FOUND) {
602 log_err("error: isNormalized(U_TRUNCATED_CHAR_FOUND) changed the error code to %s\n", u_errorName(errorCode));
606 errorCode=U_ZERO_ERROR
    [all...]
  /external/icu4c/test/cintltst/
cldrtest.c 78 UErrorCode errorCode = U_ZERO_ERROR;
87 errorCode = U_ZERO_ERROR;
89 subBundle = ures_getNextResource(currentBundle, NULL, &errorCode);
90 if (U_FAILURE(errorCode)) {
91 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode));
97 subRootBundle = ures_getByKey(root, subBundleKey, NULL, &errorCode);
98 if (U_FAILURE(errorCode)) {
123 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode);
124 const int32_t *subBundleArr = ures_getIntVector(subBundle, &subBundleSize, &errorCode);
159 UResourceBundle *subSubBundle = ures_getByIndex(subBundle, 0, NULL, &errorCode);
    [all...]
custrtrn.c     [all...]
cbiditst.c 147 UErrorCode errorCode=U_ZERO_ERROR;
151 pBiDi=ubidi_openSized(MAXLEN, 0, &errorCode);
161 log_err("ubidi_openSized() returned NULL, errorCode %s\n", myErrorName(errorCode));
179 UErrorCode errorCode;
184 errorCode=U_ZERO_ERROR;
187 ubidi_setPara(pBiDi, string, -1, paraLevel, NULL, &errorCode);
188 if(U_SUCCESS(errorCode)) {
195 ubidi_setLine(pBiDi, lineStart, tests[testNumber].lineLimit, pLine, &errorCode);
196 if(U_SUCCESS(errorCode)) {
    [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...]
cnormtst.c 587 UErrorCode errorCode;
592 errorCode=U_ZERO_ERROR;
593 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) {
594 log_data_err("error: !isNormalized(<U+0300>, NFC) (%s) - (Are you missing data?)\n", u_errorName(errorCode));
598 errorCode=U_TRUNCATED_CHAR_FOUND;
599 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode);
600 if(errorCode!=U_TRUNCATED_CHAR_FOUND) {
601 log_err("error: isNormalized(U_TRUNCATED_CHAR_FOUND) changed the error code to %s\n", u_errorName(errorCode));
605 errorCode=U_ZERO_ERROR
    [all...]
  /frameworks/base/voip/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) {
  /libcore/luni/src/main/native/
NativeNormalizer.cpp 19 #include "ErrorCode.h"
28 UErrorCode errorCode = U_ZERO_ERROR;
30 Normalizer::normalize(src.unicodeString(), mode, 0, dst, errorCode);
31 icu4jni_error(env, errorCode);
38 UErrorCode errorCode = U_ZERO_ERROR;
39 UBool result = Normalizer::isNormalized(src.unicodeString(), mode, errorCode);
40 icu4jni_error(env, errorCode);
  /external/chromium/third_party/icu/source/common/
unistr_cnv.cpp 87 UErrorCode &errorCode)
91 if(U_SUCCESS(errorCode)) {
96 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
106 doCodepageCreate(src, srcLength, cnv, errorCode);
109 cnv=u_getDefaultConverter(&errorCode);
110 doCodepageCreate(src, srcLength, cnv, errorCode);
116 if(U_FAILURE(errorCode)) {
221 UErrorCode &errorCode) const
223 if(U_FAILURE(errorCode)) {
228 errorCode=U_ILLEGAL_ARGUMENT_ERROR
    [all...]
unistr_case.cpp 66 UErrorCode errorCode=U_ZERO_ERROR;
68 options|U_COMPARE_IGNORE_CASE, &errorCode);
103 UErrorCode errorCode;
105 errorCode = U_ZERO_ERROR;
106 const UCaseProps *csp=ucase_getSingleton(&errorCode);
107 if(U_FAILURE(errorCode)) {
144 errorCode = U_ZERO_ERROR;
148 locale, &errorCode);
152 locale, &errorCode);
155 errorCode=U_UNSUPPORTED_ERROR
    [all...]
  /external/icu4c/common/
unistr_cnv.cpp 87 UErrorCode &errorCode)
91 if(U_SUCCESS(errorCode)) {
96 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
106 doCodepageCreate(src, srcLength, cnv, errorCode);
109 cnv=u_getDefaultConverter(&errorCode);
110 doCodepageCreate(src, srcLength, cnv, errorCode);
116 if(U_FAILURE(errorCode)) {
221 UErrorCode &errorCode) const
223 if(U_FAILURE(errorCode)) {
228 errorCode=U_ILLEGAL_ARGUMENT_ERROR
    [all...]
unistr_case.cpp 65 UErrorCode errorCode=U_ZERO_ERROR;
67 options|U_COMPARE_IGNORE_CASE, &errorCode);
102 UErrorCode errorCode;
104 errorCode = U_ZERO_ERROR;
105 const UCaseProps *csp=ucase_getSingleton(&errorCode);
106 if(U_FAILURE(errorCode)) {
143 errorCode = U_ZERO_ERROR;
147 locale, &errorCode);
151 locale, &errorCode);
154 errorCode=U_UNSUPPORTED_ERROR
    [all...]
mutex.h 80 * The function need not check for U_FAILURE(errorCode).
82 typedef void *InstantiatorFn(const void *context, UErrorCode &errorCode);
104 UErrorCode &errorCode);
129 UErrorCode &errorCode) {
131 T *instance=(T *)singleton.getInstance(instantiator, context, duplicate, errorCode);
161 UErrorCode &errorCode);
186 UErrorCode &errorCode) {
188 T *instance=(T *)singleton.getInstance(instantiator, context, duplicate, errorCode);

Completed in 1398 milliseconds

1 23 4 5 6 7 8 91011>>