HomeSort by relevance Sort by last modified time
    Searched defs:errorCode (Results 201 - 225 of 313) sorted by null

1 2 3 4 5 6 7 891011>>

  /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;
355 errorCode=U_ZERO_ERROR;
356 typeEnum=getTypeEnumForInputData(data, length, &errorCode);
357 if(typeEnum<0 || U_FAILURE(errorCode)) {
450 UErrorCode errorCode;
470 errorCode=U_ZERO_ERROR
    [all...]
  /external/icu/icu4c/source/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/icu/icu4c/source/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 472 UErrorCode errorCode;
479 errorCode=U_ZERO_ERROR;
480 idna_rules=ures_openDirect(loadTestData(&errorCode), "idna_rules", &errorCode);
481 if(U_FAILURE(errorCode)) {
482 log_data_err("ures_openDirect(\"idna_rules\") failed: %s\n", u_errorName(errorCode));
486 if(0!=uprv_strcmp("idna_rules", ures_getLocale(idna_rules, &errorCode))) {
489 errorCode=U_ZERO_ERROR;
492 item=ures_getByKey(idna_rules, "UnassignedSet", NULL, &errorCode);
493 if(U_FAILURE(errorCode)) {
    [all...]
custrtrn.c     [all...]
custrtst.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 145 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status));
172 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));
212 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));
262 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));
360 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
379 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
657 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[0], type, myErrorName(status));
669 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status));
673 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status));
686 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status))
    [all...]
  /external/icu/icu4c/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/icu/icu4c/source/test/letest/
letest.cpp     [all...]
  /external/icu/icu4c/source/test/perf/dicttrieperf/
dicttrieperf.cpp 82 IcuToolErrorCode errorCode("PackageLookup()");
83 CharString filename(perf.getSourceDir(), errorCode);
87 filename.append(U_FILE_SEP_CHAR, errorCode);
89 filename.append(U_ICUDATA_NAME, errorCode);
90 filename.append(".dat", errorCode);
139 IcuToolErrorCode errorCode("BinarySearchPackageLookup()");
148 itemNames.append("icudt46l/", errorCode);
149 itemNames.append(name, strlen(name)+1, errorCode);
275 IcuToolErrorCode errorCode("BinarySearchPackageLookup()");
276 builder=new BytesTrieBuilder(errorCode);
    [all...]
  /external/icu/icu4c/source/tools/makeconv/
gencnvex.c 334 UErrorCode errorCode;
345 errorCode=U_ZERO_ERROR;
346 u_strFromUTF32(NULL, 0, &u16Length, u32, m->uLen, &errorCode);
347 if(U_FAILURE(errorCode) && errorCode!=U_BUFFER_OVERFLOW_ERROR) {
348 exit(errorCode);
358 errorCode=U_ZERO_ERROR;
359 u_strFromUTF32(u, u16Length, NULL, u32, m->uLen, &errorCode);
360 if(U_FAILURE(errorCode) && errorCode!=U_BUFFER_OVERFLOW_ERROR)
    [all...]
  /external/icu/icu4c/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;
355 errorCode=U_ZERO_ERROR;
356 typeEnum=getTypeEnumForInputData(data, length, &errorCode);
357 if(typeEnum<0 || U_FAILURE(errorCode)) {
450 UErrorCode errorCode;
470 errorCode=U_ZERO_ERROR
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
SpdyStream.java 73 private ErrorCode errorCode = null;
107 if (errorCode != null) {
144 while (responseHeaders == null && errorCode == null) {
158 throw new IOException("stream was reset: " + errorCode);
170 public synchronized ErrorCode getErrorCode() {
171 return errorCode;
239 public void close(ErrorCode rstStatusCode) throws IOException {
250 public void closeLater(ErrorCode errorCode) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
HarfBuzzShaper.cpp 630 UErrorCode errorCode = U_ZERO_ERROR;
631 UScriptCode nextScript = uscript_getScript(character, &errorCode);
632 if (U_FAILURE(errorCode))
652 nextScript = uscript_getScript(character, &errorCode);
653 if (U_FAILURE(errorCode))
729 UErrorCode errorCode = U_ZERO_ERROR;
740 scriptExtensions, sizeof(scriptExtensions), &errorCode);
741 if (U_FAILURE(errorCode))
    [all...]
  /external/chromium_org/third_party/icu/source/common/
normalizer2impl.cpp 38 UBool ReorderingBuffer::init(int32_t destCapacity, UErrorCode &errorCode) {
43 errorCode=U_MEMORY_ALLOCATION_ERROR;
70 UBool ReorderingBuffer::appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode) {
71 if(remainingCapacity<2 && !resize(2, errorCode)) {
91 UErrorCode &errorCode) {
95 if(remainingCapacity<length && !resize(length, errorCode)) {
121 append(c, leadCC, errorCode);
127 UBool ReorderingBuffer::appendZeroCC(UChar32 c, UErrorCode &errorCode) {
129 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) {
145 UBool ReorderingBuffer::appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode) {
    [all...]
ucnv.c 331 UErrorCode errorCode = U_ZERO_ERROR;
342 ucnv_getName(converter, &errorCode), converter, converter->isCopyLocal);
361 errorCode = U_ZERO_ERROR;
362 converter->fromCharErrorBehaviour(converter->toUContext, &toUArgs, NULL, 0, UCNV_CLOSE, &errorCode);
376 errorCode = U_ZERO_ERROR;
377 converter->fromUCharErrorBehaviour(converter->fromUContext, &fromUArgs, NULL, 0, 0, UCNV_CLOSE, &errorCode);
579 UErrorCode errorCode;
593 errorCode = U_ZERO_ERROR;
594 converter->fromCharErrorBehaviour(converter->toUContext, &toUArgs, NULL, 0, UCNV_RESET, &errorCode);
608 errorCode = U_ZERO_ERROR
    [all...]
unames.cpp     [all...]
unistr.cpp 427 UErrorCode errorCode = U_ZERO_ERROR;
432 &errorCode);
434 if(errorCode == U_BUFFER_OVERFLOW_ERROR) {
437 } else if(U_FAILURE(errorCode)) {
786 UErrorCode &errorCode) const {
788 if(U_SUCCESS(errorCode)) {
790 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
796 return u_terminateUChars(dest, destCapacity, len, &errorCode);
841 UErrorCode errorCode = U_ZERO_ERROR;
846 &errorCode);
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
alphaindex.cpp 65 UErrorCode &errorCode) {
66 if (U_FAILURE(errorCode)) { return NULL; }
72 errorCode = U_MEMORY_ALLOCATION_ERROR;
102 UErrorCode errorCode = U_ZERO_ERROR;
103 UCollationResult cmp = coll.compare(s, *si, errorCode);
144 UErrorCode &errorCode) {
152 collatorPrimaryOnly.compare(name, bucket->lowerBoundary_, errorCode);
191 const UnicodeString &name, UErrorCode &errorCode) const {
192 return buckets_->getBucketIndex(name, *collatorPrimaryOnly_, errorCode);
254 AlphabeticIndex::ImmutableIndex *AlphabeticIndex::buildImmutableIndex(UErrorCode &errorCode) {
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
callcoll.c 150 UErrorCode errorCode = U_ZERO_ERROR;
165 if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_ON && strength == UCOL_SECONDARY && doneCase == FALSE) {
167 } else if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_OFF || doneCase == TRUE || strength != UCOL_SECONDARY) {
173 if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &errorCode) == UCOL_NON_IGNORABLE) {
    [all...]

Completed in 2636 milliseconds

1 2 3 4 5 6 7 891011>>