| /external/icu/icu4c/source/i18n/ |
| alphaindex.cpp | 64 UErrorCode &errorCode) { 65 if (U_FAILURE(errorCode)) { return NULL; } 71 errorCode = U_MEMORY_ALLOCATION_ERROR; 101 UErrorCode errorCode = U_ZERO_ERROR; 102 UCollationResult cmp = coll.compare(s, *si, errorCode); 143 UErrorCode &errorCode) { 151 collatorPrimaryOnly.compare(name, bucket->lowerBoundary_, errorCode); 190 const UnicodeString &name, UErrorCode &errorCode) const { 191 return buckets_->getBucketIndex(name, *collatorPrimaryOnly_, errorCode); 253 AlphabeticIndex::ImmutableIndex *AlphabeticIndex::buildImmutableIndex(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...] |
| 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...] |
| collationsettings.h | 127 const uint8_t *table, UErrorCode &errorCode); 129 UErrorCode &errorCode); 130 void copyReorderingFrom(const CollationSettings &other, UErrorCode &errorCode); 143 void setStrength(int32_t value, int32_t defaultOptions, UErrorCode &errorCode); 155 int32_t defaultOptions, UErrorCode &errorCode); 161 void setCaseFirst(UColAttributeValue value, int32_t defaultOptions, UErrorCode &errorCode); 170 int32_t defaultOptions, UErrorCode &errorCode); 176 void setMaxVariable(int32_t value, int32_t defaultOptions, UErrorCode &errorCode); 265 const uint8_t *table, UErrorCode &errorCode);
|
| collationsets.h | 47 errorCode(U_ZERO_ERROR) {} 49 void forData(const CollationData *d, UErrorCode &errorCode); 52 * @return U_SUCCESS(errorCode) in C++, void in Java 82 UErrorCode errorCode; 101 errorCode(U_ZERO_ERROR) {} 103 void forData(const CollationData *d, UErrorCode &errorCode); 136 UErrorCode errorCode;
|
| nortrans.cpp | 62 UErrorCode errorCode = U_ZERO_ERROR; 63 const Normalizer2 *norm2 = Normalizer2::getInstance(NULL, name, mode, errorCode); 64 if(U_SUCCESS(errorCode)) { 134 UErrorCode errorCode = U_ZERO_ERROR; 154 fNorm2.normalize(segment, normalized, errorCode); 155 if(U_FAILURE(errorCode)) {
|
| collationsets.cpp | 46 errorCode = ec; // Preserve info & warning codes. 51 ec = errorCode; 60 return U_SUCCESS(errorCode); 77 return U_SUCCESS(errorCode); 217 UCharsTrie::Iterator prefixes(p, 0, errorCode); 218 UCharsTrie::Iterator basePrefixes(q, 0, errorCode); 226 if(prefixes.next(errorCode)) { 233 if(basePrefixes.next(errorCode)) { 262 UCharsTrie::Iterator suffixes(p, 0, errorCode); 263 UCharsTrie::Iterator baseSuffixes(q, 0, errorCode); [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| idnatest.c | [all...] |
| ccapitst.c | [all...] |
| cintltst.h | 91 * converts the errorcode to an error descriptive string(const char*) 94 #define myErrorName(errorCode) u_errorName(errorCode)
|
| /external/icu/icu4c/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...] |
| package.cpp | 283 UErrorCode errorCode; 288 errorCode=U_ZERO_ERROR; 293 uprv_mkdir(filename, &errorCode); 294 if(U_FAILURE(errorCode)) { 308 UErrorCode errorCode; 353 errorCode=U_ZERO_ERROR; 354 typeEnum=getTypeEnumForInputData(data, length, &errorCode); 355 if(typeEnum<0 || U_FAILURE(errorCode)) { 448 UErrorCode errorCode; 468 errorCode=U_ZERO_ERROR [all...] |
| /external/icu/icu4c/source/common/ |
| stringtriebuilder.cpp | 44 StringTrieBuilder::createCompactBuilder(int32_t sizeGuess, UErrorCode &errorCode) { 45 if(U_FAILURE(errorCode)) { 49 sizeGuess, &errorCode); 50 if(U_SUCCESS(errorCode)) { 52 errorCode=U_MEMORY_ALLOCATION_ERROR; 67 UErrorCode &errorCode) { 71 createCompactBuilder(2*elementsLength, errorCode); 72 Node *root=makeNode(0, elementsLength, 0, errorCode); 73 if(U_SUCCESS(errorCode)) { 206 StringTrieBuilder::makeNode(int32_t start, int32_t limit, int32_t unitIndex, UErrorCode &errorCode) { [all...] |
| 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...] |
| normalizer2impl.h | 127 UBool init(int32_t destCapacity, UErrorCode &errorCode); 142 UBool append(UChar32 c, uint8_t cc, UErrorCode &errorCode) { 144 appendBMP((UChar)c, cc, errorCode) : 145 appendSupplementary(c, cc, errorCode); 150 UErrorCode &errorCode); 151 UBool appendBMP(UChar c, uint8_t cc, UErrorCode &errorCode) { 152 if(remainingCapacity==0 && !resize(1, errorCode)) { 167 UBool appendZeroCC(UChar32 c, UErrorCode &errorCode); 168 UBool appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode); 193 UBool appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode); [all...] |
| 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...] |
| /external/icu/icu4c/source/test/perf/utrie2perf/ |
| utrie2perf.cpp | 121 UErrorCode errorCode=U_ZERO_ERROR; 123 UNORM_FCD, &errorCode); 124 if(U_FAILURE(errorCode)) { 126 u_errorName(errorCode)); 141 UErrorCode errorCode=U_ZERO_ERROR; 143 UNORM_FCD_ALWAYS_GET, &errorCode); 144 if(U_FAILURE(errorCode)) { 146 u_errorName(errorCode)); 174 UErrorCode errorCode=U_ZERO_ERROR; 178 &errorCode); [all...] |
| /external/icu/icu4c/source/common/unicode/ |
| localpointer.h | 200 * so that callers need to check only for U_FAILURE(errorCode) 204 * @param errorCode in/out UErrorCode, set to U_MEMORY_ALLOCATION_ERROR 208 LocalPointer(T *p, UErrorCode &errorCode) : LocalPointerBase<T>(p) { 209 if(p==NULL && U_SUCCESS(errorCode)) { 210 errorCode=U_MEMORY_ALLOCATION_ERROR; 236 * If U_FAILURE(errorCode), then the current object is retained and the new one deleted. 238 * If U_SUCCESS(errorCode) but the input pointer is NULL, 243 * @param errorCode in/out UErrorCode, set to U_MEMORY_ALLOCATION_ERROR 247 void adoptInsteadAndCheckErrorCode(T *p, UErrorCode &errorCode) { 248 if(U_SUCCESS(errorCode)) { [all...] |
| /external/icu/icu4c/source/test/perf/dicttrieperf/ |
| dicttrieperf.cpp | 81 IcuToolErrorCode errorCode("PackageLookup()"); 82 CharString filename(perf.getSourceDir(), errorCode); 86 filename.append(U_FILE_SEP_CHAR, errorCode); 88 filename.append(U_ICUDATA_NAME, errorCode); 89 filename.append(".dat", errorCode); 138 IcuToolErrorCode errorCode("BinarySearchPackageLookup()"); 147 itemNames.append("icudt46l/", errorCode); 148 itemNames.append(name, strlen(name)+1, errorCode); 274 IcuToolErrorCode errorCode("BinarySearchPackageLookup()"); 275 builder=new BytesTrieBuilder(errorCode); [all...] |
| /development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
| NsdHelper.java | 86 public void onStartDiscoveryFailed(String serviceType, int errorCode) { 87 Log.e(TAG, "Discovery failed: Error code:" + errorCode); 91 public void onStopDiscoveryFailed(String serviceType, int errorCode) { 92 Log.e(TAG, "Discovery failed: Error code:" + errorCode); 101 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { 102 Log.e(TAG, "Resolve failed" + errorCode); 138 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { 139 Log.d(TAG, "Service unregistration failed: " + errorCode);
|
| /external/icu/icu4c/source/tools/icuinfo/ |
| icuinfo.cpp | 65 void cmd_version(UBool /* noLoad */, UErrorCode &errorCode) 82 errorCode=U_INTERNAL_PROGRAM_ERROR; 90 errorCode=U_INTERNAL_PROGRAM_ERROR; 106 errorCode=U_INTERNAL_PROGRAM_ERROR; 211 UErrorCode errorCode = U_ZERO_ERROR; 253 cmd_version(FALSE, errorCode); 276 cmd_version(FALSE, errorCode); /* at least print the version # */ 279 return U_FAILURE(errorCode);
|
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
| PushObserver.java | 74 void onReset(int streamId, ErrorCode errorCode); 92 @Override public void onReset(int streamId, ErrorCode errorCode) {
|
| /frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
| LVPSA_Init.c | 48 LVPSA_RETURN errorCode = LVPSA_OK; 173 errorCode = LVPSA_Control (*phInstance, pControlParams); 175 if(errorCode!=0) 177 return errorCode; 180 errorCode = LVPSA_ApplyNewSettings (pLVPSA_Inst); 182 if(errorCode!=0) 184 return errorCode; 187 return(errorCode);
|
| /frameworks/base/core/java/android/accounts/ |
| AccountManagerResponse.java | 50 public void onError(int errorCode, String errorMessage) { 52 mResponse.onError(errorCode, errorMessage);
|
| /frameworks/base/core/java/android/hardware/camera2/ |
| ICameraDeviceCallbacks.aidl | 29 oneway void onDeviceError(int errorCode, in CaptureResultExtras resultExtras);
|