/external/icu/icu4c/source/i18n/ |
collationdatareader.h | 101 CollationTailoring &tailoring, UErrorCode &errorCode);
|
collationdata.cpp | 100 UErrorCode &errorCode) const { 101 if(U_FAILURE(errorCode)) { return 0; } 107 errorCode = U_BUFFER_OVERFLOW_ERROR; 130 uint8_t table[256], UErrorCode &errorCode) const { 131 if(U_FAILURE(errorCode)) { return; } 185 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 194 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 204 errorCode = U_ILLEGAL_ARGUMENT_ERROR; 213 errorCode = U_ILLEGAL_ARGUMENT_ERROR;
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
Spdy3Test.java | 58 final ErrorCode expectedError = ErrorCode.PROTOCOL_ERROR; 78 int lastGoodStreamId, ErrorCode errorCode, ByteString debugData) { 80 assertEquals(expectedError, errorCode); 95 private OkBuffer sendGoAway(int lastGoodStreamId, ErrorCode errorCode, byte[] debugData) 98 new Spdy3.Writer(out, true).goAway(lastGoodStreamId, errorCode, debugData);
|
/frameworks/base/core/java/android/speech/tts/ |
SilencePlaybackQueueItem.java | 47 void stop(int errorCode) {
|
UtteranceProgressListener.java | 56 * @param errorCode one of the ERROR_* codes from {@link TextToSpeech} 58 public void onError(String utteranceId, int errorCode) {
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
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);
|
cstrtest.c | 237 UErrorCode errorCode; 239 errorCode=U_ZERO_ERROR; 240 cnv=ucnv_open(NULL, &errorCode); 241 if(U_FAILURE(errorCode)) { 244 length=ucnv_fromUChars(cnv, cs, sizeof(cs), invariantUChars, -1, &errorCode); 245 if(U_FAILURE(errorCode)) { 246 log_err("ucnv_fromUChars(invariantUChars) failed - %s\n", u_errorName(errorCode)); 251 errorCode=U_ZERO_ERROR; 252 length=ucnv_toUChars(cnv, us, LENGTHOF(us), invariantChars, -1, &errorCode); 253 if(U_FAILURE(errorCode)) { [all...] |
/external/icu/icu4c/source/test/cintltst/ |
sprpdata.c | 44 doStringPrepTest(const char* binFileName, const char* txtFileName, int32_t options, UErrorCode* errorCode); 273 doStringPrepTest(const char* binFileName, const char* txtFileName, int32_t options, UErrorCode* errorCode){ 275 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)); 304 parseMappings(filename,profile, TRUE,errorCode);
|
cstrtest.c | 237 UErrorCode errorCode; 239 errorCode=U_ZERO_ERROR; 240 cnv=ucnv_open(NULL, &errorCode); 241 if(U_FAILURE(errorCode)) { 244 length=ucnv_fromUChars(cnv, cs, sizeof(cs), invariantUChars, -1, &errorCode); 245 if(U_FAILURE(errorCode)) { 246 log_err("ucnv_fromUChars(invariantUChars) failed - %s\n", u_errorName(errorCode)); 251 errorCode=U_ZERO_ERROR; 252 length=ucnv_toUChars(cnv, us, LENGTHOF(us), invariantChars, -1, &errorCode); 253 if(U_FAILURE(errorCode)) { [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipSession.java | 181 * @param errorCode error code defined in {@link SipErrorCode} 184 public void onError(SipSession session, int errorCode, 192 * @param errorCode error code defined in {@link SipErrorCode} 195 public void onCallChangeFailed(SipSession session, int errorCode, 220 * @param errorCode error code defined in {@link SipErrorCode} 223 public void onRegistrationFailed(SipSession session, int errorCode, 524 public void onCallChangeFailed(ISipSession session, int errorCode, 527 mListener.onCallChangeFailed(SipSession.this, errorCode, 533 public void onError(ISipSession session, int errorCode, String message) { 535 mListener.onError(SipSession.this, errorCode, message) [all...] |
/external/icu/icu4c/source/common/ |
ucnv_ct.c | 169 _CompoundTextOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode); 261 _CompoundTextOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ 270 myConverterData->myConverterArray[COMPOUND_TEXT_SINGLE_1] = ucnv_loadSharedData("icu-internal-compound-s1", &stackPieces, &stackArgs, errorCode); 271 myConverterData->myConverterArray[COMPOUND_TEXT_SINGLE_2] = ucnv_loadSharedData("icu-internal-compound-s2", &stackPieces, &stackArgs, errorCode); 272 myConverterData->myConverterArray[COMPOUND_TEXT_SINGLE_3] = ucnv_loadSharedData("icu-internal-compound-s3", &stackPieces, &stackArgs, errorCode); 273 myConverterData->myConverterArray[COMPOUND_TEXT_DOUBLE_1] = ucnv_loadSharedData("icu-internal-compound-d1", &stackPieces, &stackArgs, errorCode); 274 myConverterData->myConverterArray[COMPOUND_TEXT_DOUBLE_2] = ucnv_loadSharedData("icu-internal-compound-d2", &stackPieces, &stackArgs, errorCode); 275 myConverterData->myConverterArray[COMPOUND_TEXT_DOUBLE_3] = ucnv_loadSharedData("icu-internal-compound-d3", &stackPieces, &stackArgs, errorCode); 276 myConverterData->myConverterArray[COMPOUND_TEXT_DOUBLE_4] = ucnv_loadSharedData("icu-internal-compound-d4", &stackPieces, &stackArgs, errorCode); 277 myConverterData->myConverterArray[COMPOUND_TEXT_DOUBLE_5] = ucnv_loadSharedData("icu-internal-compound-d5", &stackPieces, &stackArgs, errorCode); [all...] |
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...] |
ucol_swp.cpp | 114 UErrorCode errorCode=U_ZERO_ERROR; 115 (void)udata_swapDataHeader(ds, inData, -1, NULL, &errorCode); 116 if(U_SUCCESS(errorCode)) { 380 UErrorCode &errorCode) { 381 if(U_FAILURE(errorCode)) { return 0; } 394 errorCode=U_INDEX_OUTOFBOUNDS_ERROR; 403 errorCode=U_INDEX_OUTOFBOUNDS_ERROR; 430 errorCode=U_INDEX_OUTOFBOUNDS_ERROR; 440 ds->swapArray32(ds, inBytes, indexesLength * 4, outBytes, &errorCode); 453 ds->swapArray32(ds, inBytes + offset, length, outBytes + offset, &errorCode); [all...] |
/external/mdnsresponder/Clients/ |
dns-sd.c | 341 DNSServiceErrorType errorCode, const char *replyDomain, void *context) 351 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); 356 if (errorCode) 357 printf("Error code %d\n", errorCode); 417 static void DNSSD_API zonedata_resolve(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, 434 if (errorCode) { printf("Error code %d\n", errorCode); return; } 477 static void DNSSD_API zonedata_browse(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, 484 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); 487 if (errorCode) { printf("Error code %d\n", errorCode); return; [all...] |
/external/icu/icu4c/source/test/intltest/ |
bidiconf.cpp | 24 #include "unicode/errorcode.h" 82 IcuTestErrorCode errorCode(*this, "getUnidataPath"); 100 strcpy(path, loadTestData(errorCode)); 297 IcuTestErrorCode errorCode(*this, "TestBidiTest"); 298 const char *sourceTestDataPath=getSourceTestData(errorCode); 299 if(errorCode.logIfFailureAndReset("unable to find the source/test/testdata " 313 NULL, NULL, errorCode); 314 if(errorCode.logIfFailureAndReset("ubidi_setClassCallback()")) { 368 paraLevels[i], NULL, errorCode); 369 const UBiDiLevel *actualLevels=ubidi_getLevels(ubidi.getAlias(), errorCode); [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
NsdManagerTest.java | 54 public void onRegistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { 55 setEvent("onRegistrationFailed", errorCode); 59 public void onUnregistrationFailed(NsdServiceInfo serviceInfo, int errorCode) { 60 setEvent("onUnregistrationFailed", errorCode); 78 public void onStartDiscoveryFailed(String serviceType, int errorCode) { 79 setEvent("onStartDiscoveryFailed", errorCode); 83 public void onStopDiscoveryFailed(String serviceType, int errorCode) { 84 setEvent("onStopDiscoveryFailed", errorCode); 116 public void onResolveFailed(NsdServiceInfo serviceInfo, int errorCode) { 117 setEvent("onResolveFailed", errorCode); [all...] |
/external/chromium_org/third_party/icu/source/test/perf/utfperf/ |
utfperf.cpp | 125 errorCode(U_ZERO_ERROR) { 126 cnv=ucnv_open(testcase.charset, &errorCode); 127 if (U_FAILURE(errorCode)) { 128 fprintf(stderr, "error opening converter for \"%s\" - %s\n", testcase.charset, u_errorName(errorCode)); 130 ucnv_setFromUCallBack(cnv, fromUCallback, NULL, NULL, NULL, &errorCode); 134 if(U_SUCCESS(errorCode)) { 146 UErrorCode errorCode; 157 if (U_SUCCESS(t->errorCode)){ 224 if (U_SUCCESS(t->errorCode)){ 269 utf8Cnv=ucnv_open("UTF-8", &errorCode); [all...] |
/external/icu/icu4c/source/test/perf/utfperf/ |
utfperf.cpp | 125 errorCode(U_ZERO_ERROR) { 126 cnv=ucnv_open(testcase.charset, &errorCode); 127 if (U_FAILURE(errorCode)) { 128 fprintf(stderr, "error opening converter for \"%s\" - %s\n", testcase.charset, u_errorName(errorCode)); 130 ucnv_setFromUCallBack(cnv, fromUCallback, NULL, NULL, NULL, &errorCode); 134 if(U_SUCCESS(errorCode)) { 146 UErrorCode errorCode; 157 if (U_SUCCESS(t->errorCode)){ 224 if (U_SUCCESS(t->errorCode)){ 269 utf8Cnv=ucnv_open("UTF-8", &errorCode); [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
pkgitems.cpp | 83 UErrorCode errorCode=U_ZERO_ERROR; 84 pInfo=::getDataInfo(pItem->data, pItem->length, infoLength, itemHeaderLength, &errorCode); 85 if(U_FAILURE(errorCode)) { 86 exit(errorCode); // should succeed because readFile() checks headers 93 UDataSwapper *ds=udata_openSwapper((UBool)pInfo->isBigEndian, pInfo->charsetFamily, U_IS_BIG_ENDIAN, U_CHARSET_FAMILY, &errorCode); 94 if(U_FAILURE(errorCode)) { 96 pItem->name, u_errorName(errorCode)); 97 exit(errorCode); 108 swap(ds, pItem->data, pItem->length, swapped, &errorCode); 109 pInfo=::getDataInfo(swapped, pItem->length, infoLength, itemHeaderLength, &errorCode); [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
pkgitems.cpp | 83 UErrorCode errorCode=U_ZERO_ERROR; 84 pInfo=::getDataInfo(pItem->data, pItem->length, infoLength, itemHeaderLength, &errorCode); 85 if(U_FAILURE(errorCode)) { 86 exit(errorCode); // should succeed because readFile() checks headers 93 UDataSwapper *ds=udata_openSwapper((UBool)pInfo->isBigEndian, pInfo->charsetFamily, U_IS_BIG_ENDIAN, U_CHARSET_FAMILY, &errorCode); 94 if(U_FAILURE(errorCode)) { 96 pItem->name, u_errorName(errorCode)); 97 exit(errorCode); 108 swap(ds, pItem->data, pItem->length, swapped, &errorCode); 109 pInfo=::getDataInfo(swapped, pItem->length, infoLength, itemHeaderLength, &errorCode); [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
RedefineClassesTest.java | 256 short errorCode = checkedReply.getErrorCode(); 257 if ( errorCode != JDWPConstants.Error.NONE ) { 258 if ( errorCode != JDWPConstants.Error.UNSUPPORTED_VERSION ) { 267 if ( errorCode == expectedErrors[i] ) { 274 + " returns expected ERROR = " + errorCode 275 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 282 + " returns unexpected ERROR = " + errorCode 283 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
|
ResumeTest.java | 132 int errorCode = reply.getErrorCode(); 133 if ( errorCode != JDWPConstants.Error.NONE ) { 135 logWriter.println("## FAILURE: VirtualMachine.Suspend command returns error = " + errorCode 136 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); 194 errorCode = reply.getErrorCode(); 195 if ( errorCode != JDWPConstants.Error.NONE ) { 197 logWriter.println("## FAILURE: VirtualMachine.Resume command returns error = " + errorCode 198 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
|
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
ResourceError.cpp | 69 if (a.errorCode() != b.errorCode())
|
/external/lzma/CPP/7zip/Common/ |
InBuffer.h | 13 CInBufferException(HRESULT errorCode): CSystemException(errorCode) {}
32 HRESULT ErrorCode;
|
OutBuffer.h | 13 COutBufferException(HRESULT errorCode): CSystemException(errorCode) {}
33 HRESULT ErrorCode;
|