Searched refs:errorCode (Results 176 - 200 of 316) sorted by relevance

1234567891011>>

/external/icu/icu4c/source/test/cintltst/
H A Dutmstest.c449 UErrorCode errorCode; local
455 errorCode = U_ZERO_ERROR;
456 cal = ucal_open(utc, -1, "", UCAL_GREGORIAN, &errorCode);
457 ucal_setGregorianChange(cal, -1000000 * (dayMillis * (UDate)1), &errorCode);
458 if(U_FAILURE(errorCode)) {
459 log_data_err("ucal_open(UTC/proleptic Gregorian) failed: %s - (Are you missing data?)\n", u_errorName(errorCode));
466 millis = utmscale_toInt64(dt->ticks, UDTS_ICU4C_TIME, &errorCode);
468 ucal_setDate(cal, dt->year, dt->month - 1, dt->day, &errorCode); /* Java & ICU use January = month 0. */
469 icuDate = ucal_getMillis(cal, &errorCode);
477 ticks = utmscale_fromInt64((int64_t)icuDate, UDTS_ICU4C_TIME, &errorCode);
[all...]
H A Dtrietest.c32 #define u_errorName(errorCode) "some error code"
267 UErrorCode errorCode; local
317 errorCode=U_ZERO_ERROR;
321 &errorCode);
322 if(U_FAILURE(errorCode)) {
323 log_err("error: utrie_serialize(%s) failed: %s\n", testName, u_errorName(errorCode));
351 errorCode=U_ZERO_ERROR;
352 if(!utrie_unserialize(&trie, storage, length, &errorCode)) {
353 log_err("error: utrie_unserialize() failed, %s\n", u_errorName(errorCode));
461 UErrorCode errorCode; local
826 UErrorCode errorCode; local
[all...]
H A Dncnvtst.c1802 UErrorCode errorCode; local
1804 errorCode=U_ZERO_ERROR;
1805 cnv=ucnv_open(cnvName, &errorCode);
1806 if(U_FAILURE(errorCode)) {
1807 log_data_err("error TestTruncated: unable to open \"%s\" - %s\n", cnvName, u_errorName(errorCode));
1810 ucnv_setToUCallBack(cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode);
1811 if(U_FAILURE(errorCode)) {
1813 cnvName, u_errorName(errorCode));
1824 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, FALSE, &errorCode);
1825 if(U_FAILURE(errorCode) || sourc
1907 UErrorCode errorCode; local
[all...]
H A Dbocu1tst.c883 UErrorCode errorCode; local
893 errorCode=U_ZERO_ERROR;
894 bocu1ICULength=ucnv_fromUChars(bocu1, bocu1ICU, DEFAULT_BUFFER_SIZE, text, length, &errorCode);
895 if(U_FAILURE(errorCode)) {
896 log_err("ucnv_fromUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode));
911 roundtripICULength=ucnv_toUChars(bocu1, roundtripICU, DEFAULT_BUFFER_SIZE, bocu1ICU, bocu1ICULength, &errorCode);
912 if(U_FAILURE(errorCode)) {
913 log_err("ucnv_toUChars(BOCU-1, text(%d)[%d]) failed: %s\n", number, length, u_errorName(errorCode));
981 UErrorCode errorCode; local
983 errorCode
[all...]
H A Ducnvseltst.c507 UErrorCode errorCode = U_ILLEGAL_ARGUMENT_ERROR; local
508 UPropsVectors *pv = upvec_open(100, &errorCode);
513 errorCode = U_ZERO_ERROR;
514 pv = upvec_open(-1, &errorCode);
515 if (pv != NULL || U_SUCCESS(errorCode)) {
519 errorCode = U_ZERO_ERROR;
520 pv = upvec_open(100, &errorCode);
521 if (pv == NULL || U_FAILURE(errorCode)) {
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
H A DMockSpdyPeer.java216 public ErrorCode errorCode; field in class:MockSpdyPeer.InFrame
265 @Override public void rstStream(int streamId, ErrorCode errorCode) { argument
269 this.errorCode = errorCode;
280 @Override public void goAway(int lastGoodStreamId, ErrorCode errorCode, ByteString debugData) { argument
284 this.errorCode = errorCode;
/external/lz4/programs/
H A Dframetest.c234 LZ4F_errorCode_t errorCode = LZ4F_createDecompressionContext(&dCtx, LZ4F_VERSION); local
235 if (LZ4F_isError(errorCode)) goto _output_error;
238 errorCode = LZ4F_decompress(dCtx, decodedBuffer, &decodedBufferSize, compressedBuffer, &compressedBufferSize, NULL);
249 errorCode = LZ4F_decompress(dCtx, op, &oSize, ip, &iSize, NULL);
250 if (LZ4F_isError(errorCode)) goto _output_error;
258 errorCode = LZ4F_freeDecompressionContext(dCtx);
259 if (LZ4F_isError(errorCode)) goto _output_error;
292 LZ4F_errorCode_t errorCode = LZ4F_createDecompressionContext(&dCtx, LZ4F_VERSION); local
293 if (LZ4F_isError(errorCode)) goto _output_error;
303 errorCode
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ecf.filetransfer_4.0.0.v20100529-0735.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/eigen/Eigen/src/UmfPackSupport/
H A DUmfPackSupport.h337 int errorCode = 0; local
338 errorCode = umfpack_symbolic(m_copyMatrix.rows(), m_copyMatrix.cols(), m_outerIndexPtr, m_innerIndexPtr, m_valuePtr,
342 m_info = errorCode ? InvalidInput : Success;
350 int errorCode; local
351 errorCode = umfpack_numeric(m_outerIndexPtr, m_innerIndexPtr, m_valuePtr,
354 m_info = errorCode ? NumericalIssue : Success;
428 int errorCode; local
431 errorCode = umfpack_solve(UMFPACK_A,
434 if (errorCode!=0)
/external/icu/icu4c/source/tools/toolutil/
H A Dpkg_gencmn.c122 UErrorCode errorCode=U_ZERO_ERROR; local
237 &errorCode);
238 if(U_FAILURE(errorCode)) {
241 u_errorName(errorCode));
242 exit(errorCode);
300 udata_finish(out, &errorCode);
301 if(U_FAILURE(errorCode)) {
302 fprintf(stderr, "gencmn: udata_finish() failed - %s\n", u_errorName(errorCode));
303 exit(errorCode);
/external/mdnsresponder/mDNSShared/
H A Ddns_sd.h810 * errorCode: Will be kDNSServiceErr_NoError (0) on success, otherwise indicates
811 * the failure that occurred (other parameters are undefined if errorCode is nonzero).
824 DNSServiceErrorType errorCode,
892 * errorCode: Will be kDNSServiceErr_NoError on success, otherwise will
895 * Other parameters are undefined if errorCode is nonzero.
914 DNSServiceErrorType errorCode,
1178 * errorCode: Will be kDNSServiceErr_NoError (0) on success, otherwise will
1180 * the errorCode is nonzero.
1209 DNSServiceErrorType errorCode,
1289 * errorCode
[all...]
/external/mesa3d/src/mesa/main/
H A Des_generator.py456 (paramValue, dependentVecSize, dependentParamName, dependentValidValues, errorCode, valueConvert) = paramValidValues[valueIndex]
509 if valueIndex + 1 < len(paramValidValues) and usedDependentVecSize == usedNextDependentVecSize and dependentParamName == nextDependentParamName and dependentValidValues == nextDependentValidValues and errorCode == nextErrorCode and valueConvert == nextValueConvert:
530 if errorCode == None:
531 errorCode = "GL_INVALID_ENUM" variable
532 switchCode.append(' _mesa_error(_mesa_get_current_context(), %s, "gl%s(%s=0x%s)", %s);' % (errorCode, funcName, paramName, "%x", paramName))
557 if errorCode == None:
558 errorCode = "GL_INVALID_ENUM" variable
561 switchCode.append(' _mesa_error(_mesa_get_current_context(), %s, "gl%s(%s)");' % (errorCode, funcName, paramName))
563 switchCode.append(' _mesa_error(_mesa_get_current_context(), %s, "gl%s(%s=%s)", %s);' % (errorCode, funcName, paramName, formatString, paramName))
/external/lz4/lib/
H A Dlz4frame.c254 * If this condition is not respected, LZ4F_compressFrame() will fail (result is an errorCode)
264 LZ4F_errorCode_t errorCode; local
297 errorCode = LZ4F_compressBegin(&cctxI, dstBuffer, dstMaxSize, &prefs); /* write header */
298 if (LZ4F_isError(errorCode)) return errorCode;
299 dstPtr += errorCode; /* header size */
301 dstMaxSize -= errorCode;
302 errorCode = LZ4F_compressUpdate(&cctxI, dstPtr, dstMaxSize, srcBuffer, srcSize, &options);
303 if (LZ4F_isError(errorCode)) return errorCode;
676 size_t errorCode; local
831 LZ4F_errorCode_t errorCode = LZ4F_decodeHeader(dctxPtr, srcBuffer, *srcSizePtr); local
1019 LZ4F_errorCode_t errorCode = LZ4F_decodeHeader(dctxPtr, selectedIn, 7); local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dustrtest.cpp227 UErrorCode errorCode=U_ZERO_ERROR; local
229 cnv=ucnv_open("ISO-8859-1", &errorCode);
230 UnicodeString v(cs, -1, cnv, errorCode);
233 errln("UnicodeString(const char *, length, cnv, errorCode) does not work with length==-1");
540 UErrorCode errorCode; local
543 errorCode=U_ZERO_ERROR;
544 length=s.extract((UChar *)NULL, 0, errorCode);
545 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || length!=s.length()) {
546 errln("UnicodeString.extract(NULL, 0)==%d (%s) expected %d (U_BUFFER_OVERFLOW_ERROR)", length, s.length(), u_errorName(errorCode));
549 errorCode
587 UErrorCode errorCode=U_ZERO_ERROR; local
1619 UErrorCode errorCode=U_ZERO_ERROR; local
1843 UErrorCode errorCode = U_ZERO_ERROR; local
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
H A DOwnedMonitorsStackDepthInfoTest.java188 short errorCode = checkedReply.getErrorCode();
189 if (errorCode != JDWPConstants.Error.NONE) {
190 if (errorCode == JDWPConstants.Error.THREAD_NOT_SUSPENDED) {
H A DResumeTest.java172 int errorCode = reply.getErrorCode();
173 if ( errorCode != JDWPConstants.Error.NONE ) {
175 logWriter.println("## FAILURE: VirtualMachine.Suspend command returns error = " + errorCode
176 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
257 errorCode = reply.getErrorCode();
258 if ( errorCode != JDWPConstants.Error.NONE ) {
260 logWriter.println("## FAILURE: VirtualMachine.Resume command returns error = " + errorCode
261 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
/external/mesa3d/src/glx/
H A Dglxcurrent.c191 BYTE errorCode, CARD16 minorCode)
195 error.errorCode = errorCode;
190 __glXGenerateError(Display * dpy, XID resource, BYTE errorCode, CARD16 minorCode) argument
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
H A DSpdy3.java218 ErrorCode errorCode = ErrorCode.fromSpdy3Rst(errorCodeInt);
219 if (errorCode == null) {
222 handler.rstStream(streamId, errorCode);
253 ErrorCode errorCode = ErrorCode.fromSpdyGoAway(errorCodeInt);
254 if (errorCode == null) {
257 handler.goAway(lastGoodStreamId, errorCode, ByteString.EMPTY);
371 @Override public synchronized void rstStream(int streamId, ErrorCode errorCode) argument
374 if (errorCode.spdyRstCode == -1) throw new IllegalArgumentException();
381 sink.writeInt(errorCode.spdyRstCode);
454 @Override public synchronized void goAway(int lastGoodStreamId, ErrorCode errorCode, argument
[all...]
/external/icu/icu4c/source/common/unicode/
H A Dstringtriebuilder.h80 void createCompactBuilder(int32_t sizeGuess, UErrorCode &errorCode);
85 void build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode);
97 Node *makeNode(int32_t start, int32_t limit, int32_t unitIndex, UErrorCode &errorCode);
100 int32_t length, UErrorCode &errorCode);
147 * @param errorCode ICU in/out UErrorCode.
153 Node *registerNode(Node *newNode, UErrorCode &errorCode);
159 * @param errorCode ICU in/out UErrorCode.
164 Node *registerFinalValue(int32_t value, UErrorCode &errorCode);
/external/deqp/modules/glshared/
H A DglsFboUtil.cpp73 static bool isErrorCode (glw::GLenum errorCode) argument
75 return glu::getErrorName(errorCode) != DE_NULL;
784 if (m_errorStatuses[ndx].errorCode == fboStatus)
797 return !m_allowComplete && m_errorStatuses.size() == 1 && m_errorStatuses.front().errorCode == fboStatus;
800 bool ValidStatusCodes::isErrorCodeValid (glw::GLenum errorCode) const
802 if (errorCode == GL_NO_ERROR)
809 if (m_errorCodes[ndx].errorCode == errorCode)
816 bool ValidStatusCodes::isErrorCodeRequired (glw::GLenum errorCode) const
818 if (m_errorCodes.empty() && errorCode
[all...]
/external/icu/icu4c/source/i18n/
H A Dchoicfmt.cpp257 UErrorCode errorCode = U_ZERO_ERROR; local
258 setChoices(limits, NULL, formats, cnt, errorCode);
269 UErrorCode errorCode = U_ZERO_ERROR; local
270 setChoices(limits, closures, formats, cnt, errorCode);
278 UErrorCode &errorCode) {
279 if (U_FAILURE(errorCode)) {
283 errorCode = U_ILLEGAL_ARGUMENT_ERROR;
338 applyPattern(result, errorCode);
274 setChoices(const double* limits, const UBool* closures, const UnicodeString* formats, int32_t count, UErrorCode &errorCode) argument
/external/icu/icu4c/source/common/
H A Dunistr.cpp399 UErrorCode errorCode = U_ZERO_ERROR; local
404 &errorCode);
406 if(errorCode == U_BUFFER_OVERFLOW_ERROR) {
409 } else if(U_FAILURE(errorCode)) {
761 UErrorCode &errorCode) const {
763 if(U_SUCCESS(errorCode)) {
765 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
771 return u_terminateUChars(dest, destCapacity, len, &errorCode);
816 UErrorCode errorCode = U_ZERO_ERROR; local
821 &errorCode);
865 UErrorCode errorCode = U_ZERO_ERROR; local
1225 UErrorCode errorCode = U_ZERO_ERROR; local
[all...]
/external/icu/icu4c/source/tools/icuswap/
H A Dicuswap.cpp113 UErrorCode errorCode; local
205 errorCode=U_ZERO_ERROR;
206 ds=udata_openSwapperForInputData(data, length, outIsBigEndian, outCharset, &errorCode);
207 if(U_FAILURE(errorCode)) {
209 pname, argv[1], u_errorName(errorCode));
233 length=udata_swapPackage(argv[1], argv[2], ds, data, length, data, &errorCode);
235 if(U_FAILURE(errorCode)) {
237 pname, argv[1], u_errorName(errorCode));
243 length=udata_swap(ds, data, length, data, &errorCode);
245 if(U_FAILURE(errorCode)) {
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
H A DMonitorInfoTest.java136 short errorCode = checkedReply.getErrorCode();
137 if ( errorCode == JDWPConstants.Error.NOT_IMPLEMENTED ) {
139 logWriter.println("=> " + thisCommandName + " returns ERROR = " + errorCode
140 + "(" + JDWPConstants.Error.getName(errorCode) + ")");
H A DReferringObjectsTest.java242 short errorCode = checkedReply.getErrorCode();
243 if (errorCode != JDWPConstants.Error.NONE) {
244 if (errorCode == JDWPConstants.Error.NOT_IMPLEMENTED) {
248 else if(errorCode == JDWPConstants.Error.ILLEGAL_ARGUMENT) {

Completed in 2540 milliseconds

1234567891011>>