Home
last modified time | relevance | path

Searched refs:RETURN_ERROR (Results 1 – 11 of 11) sorted by relevance

/external/oj-libjdwp/src/share/transport/socket/
DsocketTransport.c50 #define RETURN_ERROR(err, msg) \ macro
56 #define RETURN_IO_ERROR(msg) RETURN_ERROR(JDWPTRANSPORT_ERROR_IO_ERROR, msg);
60 RETURN_ERROR(JDWPTRANSPORT_ERROR_IO_ERROR, "premature EOF"); \
213 RETURN_ERROR(JDWPTRANSPORT_ERROR_OUT_OF_MEMORY, "out of memory"); in parseAddress()
315 RETURN_ERROR(JDWPTRANSPORT_ERROR_OUT_OF_MEMORY, "out of memory"); in socketTransport_startListening()
358 RETURN_ERROR(JDWPTRANSPORT_ERROR_TIMEOUT, "timed out waiting for connection"); in socketTransport_accept()
420 RETURN_ERROR(JDWPTRANSPORT_ERROR_ILLEGAL_STATE, "connection not open"); in socketTransport_stopListening()
437 RETURN_ERROR(JDWPTRANSPORT_ERROR_ILLEGAL_ARGUMENT, "address is missing"); in socketTransport_attach()
469 RETURN_ERROR(JDWPTRANSPORT_ERROR_TIMEOUT, "connect timed out"); in socketTransport_attach()
544 RETURN_ERROR(JDWPTRANSPORT_ERROR_ILLEGAL_ARGUMENT, "packet is NULL"); in socketTransport_writePacket()
[all …]
/external/zstd/programs/
Dbenchzstd.c111 #define RETURN_ERROR(errorNum, retType, ...) { \ macro
335 … if (fSize64==0) RETURN_ERROR(32, BMK_benchOutcome_t, "Impossible to determine original size "); in BMK_benchMemAdvancedNoAlloc()
344 RETURN_ERROR(33, BMK_benchOutcome_t, "not enough memory"); in BMK_benchMemAdvancedNoAlloc()
348 RETURN_ERROR(32, BMK_benchOutcome_t, "original size is too large"); in BMK_benchMemAdvancedNoAlloc()
638 RETURN_ERROR(31, BMK_benchOutcome_t, "allocation error : not enough memory"); in BMK_benchMemAdvanced()
642 RETURN_ERROR(32, BMK_benchOutcome_t, "Dst parameters not coherent"); in BMK_benchMemAdvanced()
701 RETURN_ERROR(15, BMK_benchOutcome_t, "Invalid Compression Level"); in BMK_syntheticTest()
706 if (!srcBuffer) RETURN_ERROR(21, BMK_benchOutcome_t, "not enough memory"); in BMK_syntheticTest()
799 RETURN_ERROR(14, BMK_benchOutcome_t, "No Files to Benchmark"); in BMK_benchFilesAdvanced()
803 RETURN_ERROR(15, BMK_benchOutcome_t, "Invalid Compression Level"); in BMK_benchFilesAdvanced()
[all …]
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc237 #define RETURN_ERROR \ in EagerCast() macro
242 if (!out_status->status.ok()) RETURN_ERROR in EagerCast()
244 if (!out_status->status.ok()) RETURN_ERROR in EagerCast()
246 if (!out_status->status.ok()) RETURN_ERROR in EagerCast()
257 RETURN_ERROR in EagerCast()
261 #undef RETURN_ERROR in EagerCast()
/external/zstd/lib/decompress/
Dzstd_decompress.c272 RETURN_ERROR(prefix_unknown, ""); in ZSTD_getFrameHeader_advanced()
594 RETURN_ERROR(dstBuffer_null, ""); in ZSTD_copyRawBlock()
607 RETURN_ERROR(dstBuffer_null, ""); in ZSTD_setRleBlock()
669 RETURN_ERROR(corruption_detected, "invalid block type"); in ZSTD_decompressFrame()
983 RETURN_ERROR(corruption_detected, "invalid block type"); in ZSTD_decompressContinue()
1046RETURN_ERROR(GENERIC, "impossible to reach"); /* some compiler require default to do something */ in ZSTD_decompressContinue()
1478 RETURN_ERROR(parameter_unsupported, ""); in ZSTD_DCtx_getParameter()
1504 RETURN_ERROR(parameter_unsupported, ""); in ZSTD_DCtx_setParameter()
1596 RETURN_ERROR(dstBuffer_wrong, "ZSTD_d_stableOutBuffer enabled but output differs!"); in ZSTD_checkOutBuffer()
1745RETURN_ERROR(dstSize_tooSmall, "ZSTD_obm_stable passed but ZSTD_outBuffer is too small"); in ZSTD_decompressStream()
[all …]
Dzstd_decompress_block.c232 RETURN_ERROR(corruption_detected, "impossible"); in ZSTD_decodeLiteralsBlock()
573 RETURN_ERROR(GENERIC, "impossible"); in ZSTD_buildSeqTable()
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dsermsdos.py59 (RETURN_ERROR, RETURN_BUSY, RETURN_RETRY, RETURN_READY,
/external/python/cpython3/Modules/
Dsre_lib.h403 #define RETURN_ERROR(i) do { return i; } while(0) macro
408 do { if (i < 0) RETURN_ERROR(i); } while (0)
588 RETURN_ERROR(SRE_ERROR_INTERRUPTED); in SRE()
1022 RETURN_ERROR(SRE_ERROR_STATE); in SRE()
1085 RETURN_ERROR(SRE_ERROR_STATE); in SRE()
1305 RETURN_ERROR(SRE_ERROR_ILLEGAL); in SRE()
/external/zstd/lib/common/
Dzstd_internal.h106 #define RETURN_ERROR(err, ...) \ macro
/external/zstd/lib/compress/
Dzstd_compress.c544 RETURN_ERROR(stage_wrong, "can only set params in ctx init stage"); in ZSTD_CCtx_setParameter()
586 default: RETURN_ERROR(parameter_unsupported, "unknown parameter"); in ZSTD_CCtx_setParameter()
795 default: RETURN_ERROR(parameter_unsupported, "unknown parameter"); in ZSTD_CCtxParams_setParameter()
862 RETURN_ERROR(parameter_unsupported, "not compiled with multithreading"); in ZSTD_CCtxParams_getParameter()
870 RETURN_ERROR(parameter_unsupported, "not compiled with multithreading"); in ZSTD_CCtxParams_getParameter()
877 RETURN_ERROR(parameter_unsupported, "not compiled with multithreading"); in ZSTD_CCtxParams_getParameter()
918 default: RETURN_ERROR(parameter_unsupported, "unknown parameter"); in ZSTD_CCtxParams_getParameter()
4156 RETURN_ERROR(init_missing, "call ZSTD_initCStream() first!"); in ZSTD_compressStream_generic()
4334 RETURN_ERROR(srcBuffer_wrong, "ZSTD_c_stableInBuffer enabled but input differs!"); in ZSTD_checkBufferStability()
4336RETURN_ERROR(srcBuffer_wrong, "ZSTD_c_stableInBuffer can only be used with ZSTD_e_end!"); in ZSTD_checkBufferStability()
[all …]
Dzstd_compress_sequences.c277 default: assert(0); RETURN_ERROR(GENERIC, "impossible to reach"); in ZSTD_buildCTable()
/external/python/cpython2/Modules/
D_sre.c672 #define RETURN_ERROR(i) do { return i; } while(0) macro
677 do { if (i < 0) RETURN_ERROR(i); } while (0)
850 RETURN_ERROR(SRE_ERROR_INTERRUPTED); in SRE_MATCH()
1210 RETURN_ERROR(SRE_ERROR_STATE); in SRE_MATCH()
1273 RETURN_ERROR(SRE_ERROR_STATE); in SRE_MATCH()
1439 RETURN_ERROR(SRE_ERROR_ILLEGAL); in SRE_MATCH()