/external/icu/icu4c/source/common/ |
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...] |
stringtriebuilder.cpp | 46 StringTrieBuilder::createCompactBuilder(int32_t sizeGuess, UErrorCode &errorCode) { 47 if(U_FAILURE(errorCode)) { 51 sizeGuess, &errorCode); 52 if(U_SUCCESS(errorCode)) { 54 errorCode=U_MEMORY_ALLOCATION_ERROR; 69 UErrorCode &errorCode) { 73 createCompactBuilder(2*elementsLength, errorCode); 74 Node *root=makeNode(0, elementsLength, 0, errorCode); 75 if(U_SUCCESS(errorCode)) { 208 StringTrieBuilder::makeNode(int32_t start, int32_t limit, int32_t unitIndex, UErrorCode &errorCode) { [all...] |
locdispnames.cpp | 56 UErrorCode errorCode=U_ZERO_ERROR; 67 &errorCode); 68 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); 70 if(errorCode==U_BUFFER_OVERFLOW_ERROR) { 76 errorCode=U_ZERO_ERROR; 79 &errorCode); 80 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); 96 UErrorCode errorCode=U_ZERO_ERROR; 107 &errorCode); 108 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0) [all...] |
uresdata.h | 406 UErrorCode *errorCode); 414 const char *path, const char *name, UErrorCode *errorCode); 485 virtual const UChar *getString(int32_t &length, UErrorCode &errorCode) const; 486 virtual const UChar *getAliasString(int32_t &length, UErrorCode &errorCode) const; 487 virtual int32_t getInt(UErrorCode &errorCode) const; 488 virtual uint32_t getUInt(UErrorCode &errorCode) const; 489 virtual const int32_t *getIntVector(int32_t &length, UErrorCode &errorCode) const; 490 virtual const uint8_t *getBinary(int32_t &length, UErrorCode &errorCode) const; 491 virtual ResourceArray getArray(UErrorCode &errorCode) const; 492 virtual ResourceTable getTable(UErrorCode &errorCode) const [all...] |
normalizer2impl.h | 129 UBool init(int32_t destCapacity, UErrorCode &errorCode); 144 UBool append(UChar32 c, uint8_t cc, UErrorCode &errorCode) { 146 appendBMP((UChar)c, cc, errorCode) : 147 appendSupplementary(c, cc, errorCode); 152 UErrorCode &errorCode); 153 UBool appendBMP(UChar c, uint8_t cc, UErrorCode &errorCode) { 154 if(remainingCapacity==0 && !resize(1, errorCode)) { 169 UBool appendZeroCC(UChar32 c, UErrorCode &errorCode); 170 UBool appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode); 195 UBool appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode); [all...] |
normalizer2impl.cpp | 40 UBool ReorderingBuffer::init(int32_t destCapacity, UErrorCode &errorCode) { 45 errorCode=U_MEMORY_ALLOCATION_ERROR; 72 UBool ReorderingBuffer::appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode) { 73 if(remainingCapacity<2 && !resize(2, errorCode)) { 93 UErrorCode &errorCode) { 97 if(remainingCapacity<length && !resize(length, errorCode)) { 123 append(c, leadCC, errorCode); 129 UBool ReorderingBuffer::appendZeroCC(UChar32 c, UErrorCode &errorCode) { 131 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { 147 UBool ReorderingBuffer::appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode) { [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
SetDefaultStratumTest.java | 81 short errorCode = checkedReply.getErrorCode(); 82 if ( errorCode != JDWPConstants.Error.NONE ) { 83 if ( errorCode != JDWPConstants.Error.NOT_IMPLEMENTED ) { 85 + " returns unexpected ERROR = " + errorCode 86 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
|
/external/icu/icu4c/source/i18n/ |
collationtailoring.cpp | 70 CollationTailoring::ensureOwnedData(UErrorCode &errorCode) { 71 if(U_FAILURE(errorCode)) { return FALSE; } 73 const Normalizer2Impl *nfcImpl = Normalizer2Factory::getNFCImpl(errorCode); 74 if(U_FAILURE(errorCode)) { return FALSE; } 77 errorCode = U_MEMORY_ALLOCATION_ERROR;
|
alphaindex.cpp | 66 UErrorCode &errorCode) { 67 if (U_FAILURE(errorCode)) { return NULL; } 73 errorCode = U_MEMORY_ALLOCATION_ERROR; 103 UErrorCode errorCode = U_ZERO_ERROR; 104 UCollationResult cmp = coll.compare(s, *si, errorCode); 145 UErrorCode &errorCode) { 153 collatorPrimaryOnly.compare(name, bucket->lowerBoundary_, errorCode); 192 const UnicodeString &name, UErrorCode &errorCode) const { 193 return buckets_->getBucketIndex(name, *collatorPrimaryOnly_, errorCode); 255 AlphabeticIndex::ImmutableIndex *AlphabeticIndex::buildImmutableIndex(UErrorCode &errorCode) { [all...] |
collationfastlatinbuilder.cpp | 89 CollationFastLatinBuilder::CollationFastLatinBuilder(UErrorCode &errorCode) 91 contractionCEs(errorCode), uniqueCEs(errorCode), 103 CollationFastLatinBuilder::forData(const CollationData &data, UErrorCode &errorCode) { 104 if(U_FAILURE(errorCode)) { return FALSE; } 106 errorCode = U_INVALID_STATE_ERROR; 109 if(!loadGroups(data, errorCode)) { return FALSE; } 113 getCEs(data, errorCode); 114 if(!encodeUniqueCEs(errorCode)) { return FALSE; } 120 getCEs(data, errorCode); [all...] |
collationdatawriter.cpp | 35 RuleBasedCollator::cloneRuleData(int32_t &length, UErrorCode &errorCode) const { 36 if(U_FAILURE(errorCode)) { return NULL; } 39 errorCode = U_MEMORY_ALLOCATION_ERROR; 42 length = cloneBinary(buffer.getAlias(), 20000, errorCode); 43 if(errorCode == U_BUFFER_OVERFLOW_ERROR) { 45 errorCode = U_MEMORY_ALLOCATION_ERROR; 48 errorCode = U_ZERO_ERROR; 49 length = cloneBinary(buffer.getAlias(), length, errorCode); 51 if(U_FAILURE(errorCode)) { return NULL; } 56 RuleBasedCollator::cloneBinary(uint8_t *dest, int32_t capacity, UErrorCode &errorCode) const [all...] |
collationsettings.h | 129 const uint8_t *table, UErrorCode &errorCode); 131 UErrorCode &errorCode); 132 void copyReorderingFrom(const CollationSettings &other, UErrorCode &errorCode); 145 void setStrength(int32_t value, int32_t defaultOptions, UErrorCode &errorCode); 157 int32_t defaultOptions, UErrorCode &errorCode); 163 void setCaseFirst(UColAttributeValue value, int32_t defaultOptions, UErrorCode &errorCode); 172 int32_t defaultOptions, UErrorCode &errorCode); 178 void setMaxVariable(int32_t value, int32_t defaultOptions, UErrorCode &errorCode); 267 const uint8_t *table, UErrorCode &errorCode);
|
collationsets.h | 49 errorCode(U_ZERO_ERROR) {} 51 void forData(const CollationData *d, UErrorCode &errorCode); 54 * @return U_SUCCESS(errorCode) in C++, void in Java 84 UErrorCode errorCode; 103 errorCode(U_ZERO_ERROR) {} 105 void forData(const CollationData *d, UErrorCode &errorCode); 138 UErrorCode errorCode;
|
nortrans.cpp | 64 UErrorCode errorCode = U_ZERO_ERROR; 65 const Normalizer2 *norm2 = Normalizer2::getInstance(NULL, name, mode, errorCode); 66 if(U_SUCCESS(errorCode)) { 136 UErrorCode errorCode = U_ZERO_ERROR; 156 fNorm2.normalize(segment, normalized, errorCode); 157 if(U_FAILURE(errorCode)) {
|
/frameworks/base/core/java/android/webkit/ |
LegacyErrorStrings.java | 36 static String getString(int errorCode, Context context) { 37 return context.getText(getResource(errorCode)).toString(); 44 private static int getResource(int errorCode) { 45 switch(errorCode) { 95 Log.w(LOGTAG, "Using generic message for unknown error code: " + errorCode);
|
/external/icu/icu4c/source/test/intltest/ |
strcase.cpp | 403 IcuTestErrorCode errorCode(*this, "TestCasingImpl"); 404 LocalUCaseMapPointer csm(ucasemap_open(localeID, options, errorCode)); 408 UBreakIterator *clone=ubrk_safeClone((UBreakIterator *)iter, NULL, NULL, errorCode); 409 ucasemap_setBreakIterator(csm.getAlias(), clone, errorCode); 413 u_strToUTF8(utf8In, (int32_t)sizeof(utf8In), &utf8InLength, input.getBuffer(), input.length(), errorCode); 419 utf8In, utf8InLength, errorCode); 425 utf8In, utf8InLength, errorCode); 432 utf8In, utf8InLength, errorCode); 439 utf8In, utf8InLength, errorCode); 447 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode); [all...] |
/external/lz4/tests/ |
frametest.c | 204 { LZ4F_errorCode_t const errorCode = LZ4F_createDecompressionContext(&dCtx, LZ4F_VERSION); 205 if (LZ4F_isError(errorCode)) goto _output_error; } 210 LZ4F_errorCode_t const errorCode = LZ4F_getFrameInfo(dCtx, &frame_info, compressedBuffer, &avail_in); 211 if (LZ4F_isError(errorCode)) goto _output_error; 215 { LZ4F_errorCode_t const errorCode = LZ4F_freeDecompressionContext(dCtx); 216 if (LZ4F_isError(errorCode)) goto _output_error; } 232 LZ4F_errorCode_t errorCode = LZ4F_createDecompressionContext(&dCtx, LZ4F_VERSION); 233 if (LZ4F_isError(errorCode)) goto _output_error; 275 errorCode = LZ4F_decompress(dCtx, NULL, &oSize, ip, &iSize, NULL); 276 if (LZ4F_isError(errorCode)) goto _output_error [all...] |
/external/icu/icu4c/source/test/cintltst/ |
idnatest.c | [all...] |
ccapitst.c | [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
xmlparser.cpp | 154 UXMLParser::createParser(UErrorCode &errorCode) { 155 if (U_FAILURE(errorCode)) { 158 return new UXMLParser(errorCode); 165 UXMLParser::parseFile(const char *filename, UErrorCode &errorCode) { 175 if(U_FAILURE(errorCode)) { 181 errorCode=U_FILE_ACCESS_ERROR; 200 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode); 201 if(U_SUCCESS(errorCode) && charset!=NULL) { 203 cnv=ucnv_open(charset, &errorCode); 206 cnv=ucnv_open("ISO-8859-1", &errorCode); [all...] |
package.cpp | 285 UErrorCode errorCode; 290 errorCode=U_ZERO_ERROR; 295 uprv_mkdir(filename, &errorCode); 296 if(U_FAILURE(errorCode)) { 309 UErrorCode errorCode; 353 errorCode=U_ZERO_ERROR; 354 typeEnum=getTypeEnumForInputData(data.getAlias(), length, &errorCode); 355 if(typeEnum<0 || U_FAILURE(errorCode)) { 447 UErrorCode errorCode; 467 errorCode=U_ZERO_ERROR [all...] |
/external/icu/icu4c/source/test/perf/utrie2perf/ |
utrie2perf.cpp | 125 UErrorCode errorCode=U_ZERO_ERROR; 127 UNORM_FCD, &errorCode); 128 if(U_FAILURE(errorCode)) { 130 u_errorName(errorCode)); 145 UErrorCode errorCode=U_ZERO_ERROR; 147 UNORM_FCD_ALWAYS_GET, &errorCode); 148 if(U_FAILURE(errorCode)) { 150 u_errorName(errorCode)); 178 UErrorCode errorCode=U_ZERO_ERROR; 182 &errorCode); [all...] |
/external/mdnsresponder/mDNSWindows/DLL.NET/ |
dnssd_NET.h | 109 public __value enum ErrorCode : int 212 ErrorCode errorCode, 223 ErrorCode errorCode, 237 ErrorCode errorCode, 251 ErrorCode errorCode, 265 ErrorCode errorCode [all...] |
/external/vulkan-validation-layers/build-android/ |
update_external_sources_android.bat | 22 set errorCode=0 37 set errorCode=1 46 set errorCode=1 55 set errorCode=1 66 if %errorCode% neq 0 (goto:error) 79 set errorCode=1 86 set errorCode=1 93 set errorCode=1 124 if %errorCode% neq 0 (goto:error) 126 if %errorCode% neq 0 (goto:error [all...] |
/external/icu/icu4c/source/test/perf/dicttrieperf/ |
dicttrieperf.cpp | 85 IcuToolErrorCode errorCode("PackageLookup()"); 86 CharString filename(perf.getSourceDir(), errorCode); 90 filename.append(U_FILE_SEP_CHAR, errorCode); 92 filename.append(U_ICUDATA_NAME, errorCode); 93 filename.append(".dat", errorCode); 142 IcuToolErrorCode errorCode("BinarySearchPackageLookup()"); 151 itemNames.append("icudt46l/", errorCode); 152 itemNames.append(name, strlen(name)+1, errorCode); 278 IcuToolErrorCode errorCode("BinarySearchPackageLookup()"); 279 builder=new BytesTrieBuilder(errorCode); [all...] |