| /external/chromium_org/third_party/icu/source/common/ |
| 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...] |
| normalizer2impl.cpp | 37 UBool ReorderingBuffer::init(int32_t destCapacity, UErrorCode &errorCode) { 42 errorCode=U_MEMORY_ALLOCATION_ERROR; 69 UBool ReorderingBuffer::appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode) { 70 if(remainingCapacity<2 && !resize(2, errorCode)) { 90 UErrorCode &errorCode) { 94 if(remainingCapacity<length && !resize(length, errorCode)) { 120 append(c, leadCC, errorCode); 126 UBool ReorderingBuffer::appendZeroCC(UChar32 c, UErrorCode &errorCode) { 128 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { 144 UBool ReorderingBuffer::appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode) { [all...] |
| normalizer2impl.h | 105 UBool init(int32_t destCapacity, UErrorCode &errorCode); 120 UBool append(UChar32 c, uint8_t cc, UErrorCode &errorCode) { 122 appendBMP((UChar)c, cc, errorCode) : 123 appendSupplementary(c, cc, errorCode); 128 UErrorCode &errorCode); 129 UBool appendBMP(UChar c, uint8_t cc, UErrorCode &errorCode) { 130 if(remainingCapacity==0 && !resize(1, errorCode)) { 145 UBool appendZeroCC(UChar32 c, UErrorCode &errorCode); 146 UBool appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode); 168 UBool appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode); [all...] |
| /external/chromium_org/third_party/icu/source/test/intltest/ |
| tstnorm.cpp | 12 #include "unicode/errorcode.h" 801 UErrorCode errorCode; 820 errorCode=U_ZERO_ERROR; 822 r=Normalizer::concatenate(left, right, result, mode, 0, errorCode); 823 if(U_FAILURE(errorCode) || /*result!=r ||*/ result!=expect) { 825 UnicodeString(u_errorName(errorCode))+", result==expect: expected: "+ 834 errorCode=U_UNEXPECTED_TOKEN; 835 r=Normalizer::concatenate(left, right, result, mode, 0, errorCode); 836 if(errorCode!=U_UNEXPECTED_TOKEN || result!=r || !result.isBogus()) { 841 errorCode=U_ZERO_ERROR [all...] |
| /external/icu/icu4c/source/i18n/ |
| collationdatawriter.cpp | 33 RuleBasedCollator::cloneRuleData(int32_t &length, UErrorCode &errorCode) const { 34 if(U_FAILURE(errorCode)) { return NULL; } 37 errorCode = U_MEMORY_ALLOCATION_ERROR; 40 length = cloneBinary(buffer.getAlias(), 20000, errorCode); 41 if(errorCode == U_BUFFER_OVERFLOW_ERROR) { 43 errorCode = U_MEMORY_ALLOCATION_ERROR; 46 errorCode = U_ZERO_ERROR; 47 length = cloneBinary(buffer.getAlias(), length, errorCode); 49 if(U_FAILURE(errorCode)) { return NULL; } 54 RuleBasedCollator::cloneBinary(uint8_t *dest, int32_t capacity, UErrorCode &errorCode) const [all...] |
| collationtailoring.cpp | 67 CollationTailoring::ensureOwnedData(UErrorCode &errorCode) { 68 if(U_FAILURE(errorCode)) { return FALSE; } 70 const Normalizer2Impl *nfcImpl = Normalizer2Factory::getNFCImpl(errorCode); 71 if(U_FAILURE(errorCode)) { return FALSE; } 74 errorCode = U_MEMORY_ALLOCATION_ERROR;
|
| collationsettings.cpp | 131 CollationSettings::setStrength(int32_t value, int32_t defaultOptions, UErrorCode &errorCode) { 132 if(U_FAILURE(errorCode)) { return; } 146 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 153 int32_t defaultOptions, UErrorCode &errorCode) { 154 if(U_FAILURE(errorCode)) { return; } 166 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 173 int32_t defaultOptions, UErrorCode &errorCode) { 174 if(U_FAILURE(errorCode)) { return; } 190 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 197 int32_t defaultOptions, UErrorCode &errorCode) { [all...] |
| collationfastlatinbuilder.cpp | 87 CollationFastLatinBuilder::CollationFastLatinBuilder(UErrorCode &errorCode) 89 contractionCEs(errorCode), uniqueCEs(errorCode), 101 CollationFastLatinBuilder::forData(const CollationData &data, UErrorCode &errorCode) { 102 if(U_FAILURE(errorCode)) { return FALSE; } 104 errorCode = U_INVALID_STATE_ERROR; 107 if(!loadGroups(data, errorCode)) { return FALSE; } 111 getCEs(data, errorCode); 112 if(!encodeUniqueCEs(errorCode)) { return FALSE; } 118 getCEs(data, errorCode); [all...] |
| 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...] |
| /external/icu/icu4c/source/test/intltest/ |
| tstnorm.cpp | 12 #include "unicode/errorcode.h" 802 UErrorCode errorCode; 821 errorCode=U_ZERO_ERROR; 823 r=Normalizer::concatenate(left, right, result, mode, 0, errorCode); 824 if(U_FAILURE(errorCode) || /*result!=r ||*/ result!=expect) { 826 UnicodeString(u_errorName(errorCode))+", result==expect: expected: "+ 835 errorCode=U_UNEXPECTED_TOKEN; 836 r=Normalizer::concatenate(left, right, result, mode, 0, errorCode); 837 if(errorCode!=U_UNEXPECTED_TOKEN || result!=r || !result.isBogus()) { 842 errorCode=U_ZERO_ERROR [all...] |
| /external/chromium_org/chrome/browser/ui/cocoa/applescript/ |
| error_applescript.h | 12 enum ErrorCode { 38 void SetError(ErrorCode errorCode);
|
| /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
| armVCM4P2_DecodeVLCZigzag_intra.c | 82 OMXResult errorCode; 114 errorCode = armVCM4P2_GetVLCBits ( 134 armRetDataErrIf((errorCode != OMX_Sts_NoErr), errorCode);
|
| /frameworks/base/core/java/android/bluetooth/le/ |
| ScanCallback.java | 68 * @param errorCode Error code (one of SCAN_FAILED_*) for scan failure. 70 public void onScanFailed(int errorCode) {
|
| /external/icu/icu4c/source/common/ |
| ucharstriebuilder.cpp | 38 void setTo(const UnicodeString &s, int32_t val, UnicodeString &strings, UErrorCode &errorCode); 65 UnicodeString &strings, UErrorCode &errorCode) { 66 if(U_FAILURE(errorCode)) { 72 errorCode=U_INDEX_OUTOFBOUNDS_ERROR; 86 UCharsTrieBuilder::UCharsTrieBuilder(UErrorCode & /*errorCode*/) 96 UCharsTrieBuilder::add(const UnicodeString &s, int32_t value, UErrorCode &errorCode) { 97 if(U_FAILURE(errorCode)) { 102 errorCode=U_NO_WRITE_PERMISSION; 114 errorCode=U_MEMORY_ALLOCATION_ERROR; 124 elements[elementsLength++].setTo(s, value, strings, errorCode); [all...] |
| unistr_case.cpp | 65 UErrorCode errorCode=U_ZERO_ERROR; 67 options|U_COMPARE_IGNORE_CASE, &errorCode); 125 UErrorCode errorCode; 128 errorCode = U_ZERO_ERROR; 130 oldArray, oldLength, &errorCode); 132 } while(errorCode==U_BUFFER_OVERFLOW_ERROR && cloneArrayIfNeeded(newLength, newLength, FALSE)); 137 if(U_FAILURE(errorCode)) {
|
| normalizer2impl.h | 128 UBool init(int32_t destCapacity, UErrorCode &errorCode); 143 UBool append(UChar32 c, uint8_t cc, UErrorCode &errorCode) { 145 appendBMP((UChar)c, cc, errorCode) : 146 appendSupplementary(c, cc, errorCode); 151 UErrorCode &errorCode); 152 UBool appendBMP(UChar c, uint8_t cc, UErrorCode &errorCode) { 153 if(remainingCapacity==0 && !resize(1, errorCode)) { 168 UBool appendZeroCC(UChar32 c, UErrorCode &errorCode); 169 UBool appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode); 194 UBool appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode); [all...] |
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
| SetDefaultStratumTest.java | 82 short errorCode = checkedReply.getErrorCode(); 83 if ( errorCode != JDWPConstants.Error.NONE ) { 84 if ( errorCode != JDWPConstants.Error.NOT_IMPLEMENTED ) { 86 + " returns unexpected ERROR = " + errorCode 87 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
|
| /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
| FileSystemModel.js | 112 * @param {number} errorCode 115 function innerCallback(error, errorCode, backendRootEntry) 122 callback(errorCode, backendRootEntry); 153 * @param {number} errorCode 156 _fileSystemRootReceived: function(origin, type, store, errorCode, backendRootEntry) 158 if (!errorCode && backendRootEntry && this._fileSystemsForOrigin[origin] === store) { 182 * @param {number} errorCode 185 function innerCallback(error, errorCode, backendEntries) 192 if (errorCode !== 0) { 193 callback(errorCode); [all...] |
| /frameworks/base/core/java/android/net/http/ |
| ErrorStrings.java | 36 public static String getString(int errorCode, Context context) { 37 return context.getText(getResource(errorCode)).toString(); 44 public static int getResource(int errorCode) { 45 switch(errorCode) { 95 Log.w(LOGTAG, "Using generic message for unknown error code: " + errorCode);
|
| /external/chromium_org/third_party/icu/source/tools/gennorm2/ |
| gennorm2.cpp | 26 #include "unicode/errorcode.h" 130 IcuToolErrorCode errorCode("gennorm2/main()"); 138 udata_createDummy(NULL, NULL, options[OUTPUT_FILENAME].value, errorCode); 145 LocalPointer<Normalizer2DataBuilder> builder(new Normalizer2DataBuilder(errorCode)); 146 errorCode.assertSuccess(); 155 CharString filename(options[SOURCEDIR].value, errorCode); 161 filename.append(U_FILE_SEP_CHAR, errorCode); 167 filename.append(argv[i], errorCode); 180 return errorCode.get(); 188 IcuToolErrorCode errorCode("gennorm2/parseFile()") [all...] |
| /external/icu/icu4c/source/i18n/unicode/ |
| tblcoll.h | 170 UErrorCode &errorCode); 523 * @param errorCode Standard ICU error code. Its input value must 531 virtual Collator &setMaxVariable(UColReorderCode group, UErrorCode &errorCode); 675 UErrorCode &errorCode) const; 711 uint8_t *dest, int32_t count, UErrorCode &errorCode) const; 726 const char *internalGetLocaleID(ULocDataLocaleType type, UErrorCode &errorCode) const; 737 * @param errorCode in/out ICU error code 742 UBool addPrefixes, UErrorCode &errorCode) const; 749 void internalAddContractions(UChar32 c, UnicodeSet &set, UErrorCode &errorCode) const; [all...] |
| /external/icu/icu4c/source/tools/gennorm2/ |
| gennorm2.cpp | 26 #include "unicode/errorcode.h" 129 IcuToolErrorCode errorCode("gennorm2/main()"); 137 udata_createDummy(NULL, NULL, options[OUTPUT_FILENAME].value, errorCode); 144 LocalPointer<Normalizer2DataBuilder> builder(new Normalizer2DataBuilder(errorCode)); 145 errorCode.assertSuccess(); 156 CharString filename(options[SOURCEDIR].value, errorCode); 162 filename.append(U_FILE_SEP_CHAR, errorCode); 168 filename.append(argv[i], errorCode); 181 return errorCode.get(); 189 IcuToolErrorCode errorCode("gennorm2/parseFile()") [all...] |
| /external/chromium_org/third_party/icu/source/test/cintltst/ |
| idnatest.c | [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| idnatest.c | [all...] |
| /external/chromium_org/third_party/icu/source/tools/toolutil/ |
| xmlparser.cpp | 152 UXMLParser::createParser(UErrorCode &errorCode) { 153 if (U_FAILURE(errorCode)) { 156 return new UXMLParser(errorCode); 163 UXMLParser::parseFile(const char *filename, UErrorCode &errorCode) { 173 if(U_FAILURE(errorCode)) { 179 errorCode=U_FILE_ACCESS_ERROR; 198 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode); 199 if(U_SUCCESS(errorCode) && charset!=NULL) { 201 cnv=ucnv_open(charset, &errorCode); 204 cnv=ucnv_open("ISO-8859-1", &errorCode); [all...] |