| /external/chromium_org/third_party/icu/source/test/cintltst/ |
| nucnvtst.c | 174 UErrorCode errorCode=U_ZERO_ERROR; 179 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode); 180 if(errorCode==U_INDEX_OUTOFBOUNDS_ERROR) { 182 } else if(U_FAILURE(errorCode)) { 183 log_err("%s ucnv_getNextUChar() failed: %s\n", message, u_errorName(errorCode)); 202 UErrorCode errorCode=U_ZERO_ERROR; 204 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode); 205 if(errorCode != expected){ 206 log_err("FAIL: Expected:%s when %s-----Got:%s\n", myErrorName(expected), message, myErrorName(errorCode)); [all...] |
| spreptst.c | 33 int32_t options, UErrorCode* errorCode); 65 UErrorCode errorCode = U_ZERO_ERROR; 66 loadTestData(&errorCode); 67 if(U_FAILURE(errorCode)) { 68 log_data_err("Could not load testdata.dat, status = %s\n", u_errorName(errorCode)); 73 doStringPrepTest("nfscsi","nfs4_cs_prep_ci.txt", USPREP_DEFAULT, &errorCode); 76 errorCode = U_ZERO_ERROR; 77 doStringPrepTest("nfscss","nfs4_cs_prep_cs.txt", USPREP_DEFAULT, &errorCode); 83 UErrorCode errorCode = U_ZERO_ERROR; 85 doStringPrepTest("nfscis","nfs4_cis_prep.txt", USPREP_DEFAULT, &errorCode); [all...] |
| cintltst.c | 79 UErrorCode errorCode = U_ZERO_ERROR; 103 u_init(&errorCode); 104 if (U_FAILURE(errorCode)) { 106 "#### Note: ICU Init without build-specific setDataDirectory() failed. %s\n", u_errorName(errorCode)); 120 errorCode = U_ZERO_ERROR; 126 u_init(&errorCode); 127 if (U_FAILURE(errorCode)) { 131 "*** check that the data files are present.\n", argv[0], u_errorName(errorCode)); 142 cnv = ucnv_open(TRY_CNV_2, &errorCode); 158 rb = ures_open(NULL, "en", &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/icu4c/test/cintltst/ |
| nucnvtst.c | 181 UErrorCode errorCode=U_ZERO_ERROR; 186 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode); 187 if(errorCode==U_INDEX_OUTOFBOUNDS_ERROR) { 189 } else if(U_FAILURE(errorCode)) { 190 log_err("%s ucnv_getNextUChar() failed: %s\n", message, u_errorName(errorCode)); 209 UErrorCode errorCode=U_ZERO_ERROR; 211 c=ucnv_getNextUChar(cnv, &s, limit, &errorCode); 212 if(errorCode != expected){ 213 log_err("FAIL: Expected:%s when %s-----Got:%s\n", myErrorName(expected), message, myErrorName(errorCode)); [all...] |
| spreptst.c | 33 int32_t options, UErrorCode* errorCode); 65 UErrorCode errorCode = U_ZERO_ERROR; 66 loadTestData(&errorCode); 67 if(U_FAILURE(errorCode)) { 68 log_data_err("Could not load testdata.dat, status = %s\n", u_errorName(errorCode)); 73 doStringPrepTest("nfscsi","nfs4_cs_prep_ci.txt", USPREP_DEFAULT, &errorCode); 76 errorCode = U_ZERO_ERROR; 77 doStringPrepTest("nfscss","nfs4_cs_prep_cs.txt", USPREP_DEFAULT, &errorCode); 83 UErrorCode errorCode = U_ZERO_ERROR; 85 doStringPrepTest("nfscis","nfs4_cis_prep.txt", USPREP_DEFAULT, &errorCode); [all...] |
| cintltst.c | 87 UErrorCode errorCode = U_ZERO_ERROR; 111 u_init(&errorCode); 112 if (U_FAILURE(errorCode)) { 114 "#### Note: ICU Init without build-specific setDataDirectory() failed. %s\n", u_errorName(errorCode)); 128 errorCode = U_ZERO_ERROR; 134 u_init(&errorCode); 135 if (U_FAILURE(errorCode)) { 139 "*** check that the data files are present.\n", argv[0], u_errorName(errorCode)); 150 cnv = ucnv_open(TRY_CNV_2, &errorCode); 166 rb = ures_open(NULL, "en", &errorCode); [all...] |
| /external/icu4c/i18n/ |
| udat.cpp | 549 // TODO: also needs an errorCode. 690 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 694 errorCode=U_INDEX_OUTOFBOUNDS_ERROR; 696 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 705 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 707 setSymbol(syms->fEras, syms->fErasCount, index, value, valueLength, errorCode); 712 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 714 setSymbol(syms->fEraNames, syms->fEraNamesCount, index, value, valueLength, errorCode); 719 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 721 setSymbol(syms->fMonths, syms->fMonthsCount, index, value, valueLength, errorCode); [all...] |
| /external/chromium_org/third_party/icu/source/common/ |
| uprops.cpp | 84 UErrorCode errorCode=U_ZERO_ERROR; 85 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode); 86 return U_SUCCESS(errorCode) && impl->isCompNo(impl->getNorm16(c)); 97 UErrorCode errorCode=U_ZERO_ERROR; 99 (UNormalizationMode)(which-UCHAR_NFD_INERT+UNORM_NFD), errorCode); 100 return U_SUCCESS(errorCode) && norm2->isInert(c); 111 UErrorCode errorCode=U_ZERO_ERROR; 112 const Normalizer2 *nfcNorm2=Normalizer2Factory::getNFCInstance(errorCode); 113 if(U_FAILURE(errorCode)) { 141 U_FOLD_CASE_DEFAULT, &errorCode); [all...] |
| /external/chromium_org/third_party/icu/source/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);
|
| /external/icu4c/common/unicode/ |
| bytestriebuilder.h | 43 * @param errorCode Standard ICU error code. 46 BytesTrieBuilder(UErrorCode &errorCode); 61 * @param errorCode Standard ICU error code. Its input value must 68 BytesTrieBuilder &add(const StringPiece &s, int32_t value, UErrorCode &errorCode); 78 * @param errorCode Standard ICU error code. Its input value must 85 BytesTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode); 99 * @param errorCode Standard ICU error code. Its input value must 106 StringPiece buildStringPiece(UStringTrieBuildOption buildOption, UErrorCode &errorCode); 120 void buildBytes(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
|
| ucharstriebuilder.h | 42 * @param errorCode Standard ICU error code. 45 UCharsTrieBuilder(UErrorCode &errorCode); 60 * @param errorCode Standard ICU error code. Its input value must 67 UCharsTrieBuilder &add(const UnicodeString &s, int32_t value, UErrorCode &errorCode); 77 * @param errorCode Standard ICU error code. Its input value must 84 UCharsTrie *build(UStringTrieBuildOption buildOption, UErrorCode &errorCode); 100 * @param errorCode Standard ICU error code. Its input value must 108 UErrorCode &errorCode); 127 void buildUChars(UStringTrieBuildOption buildOption, UErrorCode &errorCode);
|
| 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...] |
| /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);
|
| /frameworks/base/core/java/android/nfc/tech/ |
| BasicTagTechnology.java | 73 int errorCode = mTag.getTagService().connect(mTag.getServiceHandle(), 76 if (errorCode == ErrorCodes.SUCCESS) { 80 } else if (errorCode == ErrorCodes.ERROR_NOT_SUPPORTED) { 101 int errorCode = mTag.getTagService().reconnect(mTag.getServiceHandle()); 103 if (errorCode != ErrorCodes.SUCCESS) {
|
| /system/netd/ |
| MDnsSdListener.h | 28 uint32_t interfaceIndex, DNSServiceErrorType errorCode, 33 DNSServiceErrorType errorCode, const char *serviceName, const char *regType, 37 DNSServiceErrorType errorCode, const char *fullname, const char *hosttarget, uint16_t port, 41 DNSServiceErrorType errorCode, const char *hostname, void *inContext); 44 uint32_t interface, DNSServiceErrorType errorCode, const char *hostname,
|
| /external/icu4c/test/intltest/ |
| bytestrietest.cpp | 78 IcuTestErrorCode errorCode(*this, "BytesTrieTest()"); 79 builder_=new BytesTrieBuilder(errorCode); 113 IcuTestErrorCode errorCode(*this, "TestBuilder()"); 115 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode); 116 if(errorCode.reset()!=U_INDEX_OUTOFBOUNDS_ERROR) { 121 builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode); 122 if(errorCode.reset()!=U_ILLEGAL_ARGUMENT_ERROR) { 400 IcuTestErrorCode errorCode(*this, "TestIteratorFromBranch()") [all...] |
| /development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
| NsdHelper.java | 88 public void onStartDiscoveryFailed(String serviceType, int errorCode) { 89 Log.e(TAG, "Discovery failed: Error code:" + errorCode); 94 public void onStopDiscoveryFailed(String serviceType, int errorCode) { 95 Log.e(TAG, "Discovery failed: Error code:" + errorCode); 105 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { 106 Log.e(TAG, "Resolve failed" + errorCode); 139 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) {
|
| /external/chromium_org/third_party/icu/source/i18n/ |
| udat.cpp | 493 // TODO: also needs an errorCode. 625 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 629 errorCode=U_INDEX_OUTOFBOUNDS_ERROR; 631 errorCode=U_ILLEGAL_ARGUMENT_ERROR; 640 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 642 setSymbol(syms->fEras, syms->fErasCount, index, value, valueLength, errorCode); 647 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 649 setSymbol(syms->fEraNames, syms->fEraNamesCount, index, value, valueLength, errorCode); 654 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 656 setSymbol(syms->fMonths, syms->fMonthsCount, index, value, valueLength, errorCode); [all...] |
| /libcore/luni/src/main/native/ |
| libcore_icu_NativeConverter.cpp | 214 UErrorCode errorCode = U_ZERO_ERROR; 215 ucnv_fromUnicode(cnv , &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, (UBool) flush, &errorCode); 220 if (errorCode == U_ILLEGAL_CHAR_FOUND || errorCode == U_INVALID_CHAR_FOUND) { 231 if (shouldCodecThrow(flush, errorCode)) { 232 maybeThrowIcuException(env, "ucnv_fromUnicode", errorCode); 234 return errorCode; 269 UErrorCode errorCode = U_ZERO_ERROR; 270 ucnv_toUnicode(cnv, &cTarget, cTargetLimit, &mySource, mySourceLimit, NULL, flush, &errorCode); 275 if (errorCode == U_ILLEGAL_CHAR_FOUND || errorCode == U_INVALID_CHAR_FOUND) [all...] |
| /external/chromium_org/third_party/icu/source/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...] |
| /external/icu4c/i18n/unicode/ |
| alphaindex.h | 273 int32_t getBucketIndex(const UnicodeString &name, UErrorCode &errorCode) const; 367 ImmutableIndex *buildImmutableIndex(UErrorCode &errorCode); 682 UBool addChineseIndexCharacters(UErrorCode &errorCode); 693 void initLabels(UVector &indexCharacters, UErrorCode &errorCode) const; 694 BucketList *createBucketList(UErrorCode &errorCode) const; 695 void initBuckets(UErrorCode &errorCode);
|
| /frameworks/opt/net/voip/src/java/com/android/server/sip/ |
| SipSessionListenerProxy.java | 156 final int errorCode, final String message) { 162 mListener.onCallChangeFailed(session, errorCode, message); 171 public void onError(final ISipSession session, final int errorCode, 178 mListener.onError(session, errorCode, message); 219 final int errorCode, final String message) { 225 mListener.onRegistrationFailed(session, errorCode, message);
|
| /external/chromium_org/third_party/WebKit/Source/core/html/ |
| MediaKeyEvent.cpp | 51 , m_errorCode(initializer.errorCode)
|
| /external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/ |
| WebURLError.cpp | 53 reason = error.errorCode();
|