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

1 2 3 4 56 7 8 91011>>

  /external/icu4c/tools/toolutil/
xmlparser.h 134 UXMLElement(const UXMLParser *parser, const UnicodeString *name, UErrorCode &errorCode);
167 static UXMLParser *createParser(UErrorCode &errorCode);
178 UXMLElement *parse(const UnicodeString &src, UErrorCode &errorCode);
184 UXMLElement *parseFile(const char *filename, UErrorCode &errorCode);
211 const UnicodeString *intern(const UnicodeString &s, UErrorCode &errorCode);
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...]
  /external/chromium/third_party/icu/source/test/cintltst/
cstrtest.c 235 UErrorCode errorCode;
237 errorCode=U_ZERO_ERROR;
238 cnv=ucnv_open(NULL, &errorCode);
239 if(U_FAILURE(errorCode)) {
242 length=ucnv_fromUChars(cnv, cs, sizeof(cs), invariantUChars, -1, &errorCode);
243 if(U_FAILURE(errorCode)) {
244 log_err("ucnv_fromUChars(invariantUChars) failed - %s\n", u_errorName(errorCode));
249 errorCode=U_ZERO_ERROR;
250 length=ucnv_toUChars(cnv, us, LENGTHOF(us), invariantChars, -1, &errorCode);
251 if(U_FAILURE(errorCode)) {
    [all...]
sprpdata.c 43 doStringPrepTest(const char* binFileName, const char* txtFileName, int32_t options, UErrorCode* errorCode);
272 doStringPrepTest(const char* binFileName, const char* txtFileName, int32_t options, UErrorCode* errorCode){
274 const char *testdatapath = loadTestData(errorCode);
289 profile = usprep_open(testdatapath, binFileName, errorCode);
291 if(*errorCode == U_FILE_ACCESS_ERROR) {
292 log_data_err("Failed to load %s data file. Error: %s \n", binFileName, u_errorName(*errorCode));
294 } else if(U_FAILURE(*errorCode)){
295 log_err("Failed to load %s data file. Error: %s \n", binFileName, u_errorName(*errorCode));
303 parseMappings(filename,profile, TRUE,errorCode);
  /external/chromium/third_party/icu/source/i18n/
udat.cpp 446 // TODO: also needs an errorCode.
578 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
582 errorCode=U_INDEX_OUTOFBOUNDS_ERROR;
584 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
593 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
595 setSymbol(syms->fEras, syms->fErasCount, index, value, valueLength, errorCode);
600 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
602 setSymbol(syms->fEraNames, syms->fEraNamesCount, index, value, valueLength, errorCode);
607 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
609 setSymbol(syms->fMonths, syms->fMonthsCount, index, value, valueLength, errorCode);
    [all...]
  /external/icu4c/i18n/
udat.cpp 490 // TODO: also needs an errorCode.
622 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
626 errorCode=U_INDEX_OUTOFBOUNDS_ERROR;
628 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
637 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
639 setSymbol(syms->fEras, syms->fErasCount, index, value, valueLength, errorCode);
644 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
646 setSymbol(syms->fEraNames, syms->fEraNamesCount, index, value, valueLength, errorCode);
651 const UChar *value, int32_t valueLength, UErrorCode &errorCode)
653 setSymbol(syms->fMonths, syms->fMonthsCount, index, value, valueLength, errorCode);
    [all...]
  /external/chromium/third_party/icu/source/tools/genprops/
props2.c 412 UErrorCode errorCode=U_ZERO_ERROR;
413 pv=upvec_open(UPROPS_VECTOR_WORDS, &errorCode);
414 if(U_FAILURE(errorCode)) {
415 fprintf(stderr, "error: upvec_open() failed - %s\n", u_errorName(errorCode));
416 exit(errorCode);
706 UErrorCode errorCode;
711 errorCode=U_ZERO_ERROR;
712 length=utrie_serialize(newTrie, p, capacity, NULL, TRUE, &errorCode);
713 if(U_FAILURE(errorCode)) {
714 fprintf(stderr, "genprops error: unable to serialize trie for additional properties: %s\n", u_errorName(errorCode));
    [all...]
  /external/icu4c/tools/genprops/
props2.c 412 UErrorCode errorCode=U_ZERO_ERROR;
413 pv=upvec_open(UPROPS_VECTOR_WORDS, &errorCode);
414 if(U_FAILURE(errorCode)) {
415 fprintf(stderr, "error: upvec_open() failed - %s\n", u_errorName(errorCode));
416 exit(errorCode);
711 UErrorCode errorCode;
716 errorCode=U_ZERO_ERROR;
717 length=utrie_serialize(newTrie, p, capacity, NULL, TRUE, &errorCode);
718 if(U_FAILURE(errorCode)) {
719 fprintf(stderr, "genprops error: unable to serialize trie for additional properties: %s\n", u_errorName(errorCode));
    [all...]
  /external/icu4c/common/unicode/
normlzr.h 312 * @param errorCode ICU error code in/out parameter.
321 isNormalized(const UnicodeString &src, UNormalizationMode mode, UErrorCode &errorCode);
330 * @param errorCode ICU error code in/out parameter.
339 isNormalized(const UnicodeString &src, UNormalizationMode mode, int32_t options, UErrorCode &errorCode);
359 * @param errorCode ICU error code in/out parameter.
374 UErrorCode &errorCode);
428 * @param errorCode ICU error code in/out parameter.
443 UErrorCode &errorCode);
785 UErrorCode &errorCode) {
790 &errorCode);
    [all...]
  /frameworks/base/voip/java/com/android/server/sip/
SipSessionListenerProxy.java 127 final int errorCode, final String message) {
132 mListener.onCallChangeFailed(session, errorCode, message);
140 public void onError(final ISipSession session, final int errorCode,
146 mListener.onError(session, errorCode, message);
182 final int errorCode, final String message) {
187 mListener.onRegistrationFailed(session, errorCode, message);
  /external/icu4c/test/cintltst/
sprpdata.c 43 doStringPrepTest(const char* binFileName, const char* txtFileName, int32_t options, UErrorCode* errorCode);
272 doStringPrepTest(const char* binFileName, const char* txtFileName, int32_t options, UErrorCode* errorCode){
274 const char *testdatapath = loadTestData(errorCode);
289 profile = usprep_open(testdatapath, binFileName, errorCode);
291 if(*errorCode == U_FILE_ACCESS_ERROR) {
292 log_data_err("Failed to load %s data file. Error: %s \n", binFileName, u_errorName(*errorCode));
294 } else if(U_FAILURE(*errorCode)){
295 log_err("Failed to load %s data file. Error: %s \n", binFileName, u_errorName(*errorCode));
303 parseMappings(filename,profile, TRUE,errorCode);
cstrtest.c 237 UErrorCode errorCode;
239 errorCode=U_ZERO_ERROR;
240 cnv=ucnv_open(NULL, &errorCode);
241 if(U_FAILURE(errorCode)) {
244 length=ucnv_fromUChars(cnv, cs, sizeof(cs), invariantUChars, -1, &errorCode);
245 if(U_FAILURE(errorCode)) {
246 log_err("ucnv_fromUChars(invariantUChars) failed - %s\n", u_errorName(errorCode));
251 errorCode=U_ZERO_ERROR;
252 length=ucnv_toUChars(cnv, us, LENGTHOF(us), invariantChars, -1, &errorCode);
253 if(U_FAILURE(errorCode)) {
    [all...]
  /external/webkit/WebKit/chromium/src/
WebURLError.cpp 53 reason = error.errorCode();
  /frameworks/base/voip/java/android/net/sip/
SipSession.java 167 * @param errorCode error code defined in {@link SipErrorCode}
170 public void onError(SipSession session, int errorCode,
178 * @param errorCode error code defined in {@link SipErrorCode}
181 public void onCallChangeFailed(SipSession session, int errorCode,
206 * @param errorCode error code defined in {@link SipErrorCode}
209 public void onRegistrationFailed(SipSession session, int errorCode,
492 public void onCallChangeFailed(ISipSession session, int errorCode,
495 mListener.onCallChangeFailed(SipSession.this, errorCode,
500 public void onError(ISipSession session, int errorCode, String message) {
502 mListener.onError(SipSession.this, errorCode, message)
    [all...]
  /external/chromium/third_party/icu/source/common/
locid.cpp 773 UErrorCode errorCode=U_ZERO_ERROR;
784 &errorCode);
785 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0);
787 if(errorCode==U_BUFFER_OVERFLOW_ERROR) {
793 errorCode=U_ZERO_ERROR;
796 &errorCode);
797 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0);
813 UErrorCode errorCode=U_ZERO_ERROR;
824 &errorCode);
825 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0)
    [all...]
  /libcore/luni/src/main/native/
NativeConverter.cpp 20 #include "ErrorCode.h"
70 UErrorCode errorCode = U_ZERO_ERROR;
71 UConverter* cnv = ucnv_open(converterNameChars.c_str(), &errorCode);
72 icu4jni_error(env, errorCode);
108 UErrorCode errorCode = U_ZERO_ERROR;
109 ucnv_fromUnicode(cnv , &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, (UBool) flush, &errorCode);
121 if (errorCode == U_ILLEGAL_CHAR_FOUND || errorCode == U_INVALID_CHAR_FOUND) {
129 return errorCode;
160 UErrorCode errorCode = U_ZERO_ERROR
    [all...]
  /external/chromium/third_party/icu/source/tools/genbidi/
genbidi.c 322 UErrorCode errorCode=U_ZERO_ERROR;
399 pv=upvec_open(2, &errorCode);
403 parseBidiMirroring(filename, &errorCode);
408 parseBinariesFile(filename, basename, suffix, &propListBinaries, &errorCode);
410 parseSingleEnumFile(filename, basename, suffix, &jtSingleEnum, &errorCode);
412 parseSingleEnumFile(filename, basename, suffix, &jgSingleEnum, &errorCode);
416 parseDB(filename, &errorCode);
419 parseTwoFieldFile(filename, basename, "DerivedBidiClass", suffix, bidiClassLineFn, &errorCode);
422 if(U_SUCCESS(errorCode)) {
428 return errorCode;
    [all...]
  /external/chromium/third_party/icu/source/tools/gennorm/
store.c     [all...]
gennorm.c 87 UErrorCode errorCode=U_ZERO_ERROR;
235 set=uset_openPattern(ideo, -1, &errorCode);
236 if(U_FAILURE(errorCode) || !uset_contains(set, 0xf900)) {
237 fprintf(stderr, "gennorm is unable to work with properties (uprops.icu): %s\n", u_errorName(errorCode));
238 exit(errorCode);
262 parseDerivedNormalizationProperties(filename, &errorCode, FALSE);
263 if(U_FAILURE(errorCode)) {
273 parseDerivedNormalizationProperties(filename, &errorCode, TRUE);
285 parseDB(filename, &errorCode);
288 if(U_SUCCESS(errorCode)) {
    [all...]
  /external/icu4c/tools/genbidi/
genbidi.c 322 UErrorCode errorCode=U_ZERO_ERROR;
399 pv=upvec_open(2, &errorCode);
403 parseBidiMirroring(filename, &errorCode);
408 parseBinariesFile(filename, basename, suffix, &propListBinaries, &errorCode);
410 parseSingleEnumFile(filename, basename, suffix, &jtSingleEnum, &errorCode);
412 parseSingleEnumFile(filename, basename, suffix, &jgSingleEnum, &errorCode);
416 parseDB(filename, &errorCode);
419 parseTwoFieldFile(filename, basename, "DerivedBidiClass", suffix, bidiClassLineFn, &errorCode);
422 if(U_SUCCESS(errorCode)) {
428 return errorCode;
    [all...]
  /external/icu4c/tools/gennorm/
store.c     [all...]
  /external/chromium/third_party/icu/source/test/perf/utfperf/
utfperf.cpp 125 errorCode(U_ZERO_ERROR) {
126 cnv=ucnv_open(testcase.charset, &errorCode);
127 if (U_FAILURE(errorCode)) {
128 fprintf(stderr, "error opening converter for \"%s\" - %s\n", testcase.charset, u_errorName(errorCode));
130 ucnv_setFromUCallBack(cnv, fromUCallback, NULL, NULL, NULL, &errorCode);
134 if(U_SUCCESS(errorCode)) {
146 UErrorCode errorCode;
157 if (U_SUCCESS(t->errorCode)){
224 if (U_SUCCESS(t->errorCode)){
269 utf8Cnv=ucnv_open("UTF-8", &errorCode);
    [all...]
  /external/icu4c/test/perf/utfperf/
utfperf.cpp 125 errorCode(U_ZERO_ERROR) {
126 cnv=ucnv_open(testcase.charset, &errorCode);
127 if (U_FAILURE(errorCode)) {
128 fprintf(stderr, "error opening converter for \"%s\" - %s\n", testcase.charset, u_errorName(errorCode));
130 ucnv_setFromUCallBack(cnv, fromUCallback, NULL, NULL, NULL, &errorCode);
134 if(U_SUCCESS(errorCode)) {
146 UErrorCode errorCode;
157 if (U_SUCCESS(t->errorCode)){
224 if (U_SUCCESS(t->errorCode)){
269 utf8Cnv=ucnv_open("UTF-8", &errorCode);
    [all...]
  /packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
TokenMgrError.java 49 int errorCode;
142 errorCode = reason;
  /packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
TokenMgrError.java 49 int errorCode;
142 errorCode = reason;

Completed in 801 milliseconds

1 2 3 4 56 7 8 91011>>