Home
last modified time | relevance | path

Searched refs:error_string (Results 1 – 25 of 67) sorted by relevance

123

/third_party/boost/libs/test/test/execution_monitor-ts/
Dboost_exception-test.cpp28 typedef boost::error_info<struct tag_error_string, std::string> error_string; typedef
34 BOOST_THROW_EXCEPTION( myexception() << error_code(123) << error_string("error%%string") ); in exception_raised()
60 std::string error_string(test_output.get_stream_string_representation()); in BOOST_AUTO_TEST_CASE() local
65 BOOST_TEST(error_string.find("tag_error_code") != std::string::npos); in BOOST_AUTO_TEST_CASE()
66 BOOST_TEST(error_string.find("= 123") != std::string::npos); in BOOST_AUTO_TEST_CASE()
67 BOOST_TEST(error_string.find("tag_error_string") != std::string::npos); in BOOST_AUTO_TEST_CASE()
68 BOOST_TEST(error_string.find("= error%%string") != std::string::npos); in BOOST_AUTO_TEST_CASE()
69 BOOST_TEST(error_string.find("Dynamic exception type") != std::string::npos); in BOOST_AUTO_TEST_CASE()
70 BOOST_TEST(error_string.find("boost::wrapexcept<") != std::string::npos); in BOOST_AUTO_TEST_CASE()
71 BOOST_TEST(error_string.find("myexception>") != std::string::npos); in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/throw_exception/test/
Dthrow_exception_test5.cpp22 typedef boost::error_info<struct tag_error_string, std::string> error_string; typedef
36 … boost::throw_exception( my_exception() << error_code( 123 ) << error_string( "error%%string" ) ); in main()
48 std::string const * str = boost::get_error_info<error_string>( x ); in main()
57 … BOOST_THROW_EXCEPTION( my_exception() << error_code( 123 ) << error_string( "error%%string" ) ); in main()
69 std::string const * str = boost::get_error_info<error_string>( x ); in main()
78 … boost::throw_exception( my_exception2() << error_code( 123 ) << error_string( "error%%string" ) ); in main()
90 std::string const * str = boost::get_error_info<error_string>( x ); in main()
99 … BOOST_THROW_EXCEPTION( my_exception2() << error_code( 123 ) << error_string( "error%%string" ) ); in main()
111 std::string const * str = boost::get_error_info<error_string>( x ); in main()
/third_party/mingw-w64/mingw-w64-libraries/winpthreads/tests_pthread/
Dsemaphore1.c90 error_string[EAGAIN], error_string[err]); fflush(stdout); in thr()
136 error_string[EAGAIN], error_string[err]); fflush(stdout); in main()
Dtest.h58 const char * error_string[] = { variable
137 #e,#o,#r, __FILE__, (int) __LINE__, error_string[assertE]), exit(1), 0))
Dcondvar2.c114 fprintf(stderr, "Result = %s\n", error_string[result]); in main()
Dbarrier4.c69 printf("Barrier wait failed: error = %s\n", error_string[result]); in func()
Dcondvar3.c23 printf("Error = %s\n", error_string[result]); in mythread()
/third_party/libsoup/libsoup/
Dsoup-brotli-decompressor.c52 const char *error_string; in soup_brotli_decompressor_create_error() local
56 error_string = BrotliDecoderErrorString (code); in soup_brotli_decompressor_create_error()
57 …return g_error_new (G_IO_ERROR, G_IO_ERROR_FAILED, "SoupBrotliDecompressorError: %s", error_string in soup_brotli_decompressor_create_error()
65 const char *error_string; in soup_brotli_decompressor_set_error() local
72 error_string = BrotliDecoderErrorString (code); in soup_brotli_decompressor_set_error()
73 …g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "SoupBrotliDecompressorError: %s", error_string in soup_brotli_decompressor_set_error()
/third_party/openssl/apps/
Dtsget.in101 my $error_string;
104 $error_string = "could not get timestamp";
105 $error_string .= ", http code: $http_code" unless $http_code == 0;
106 $error_string .= ", curl code: $error_code";
107 $error_string .= " ($::error_buf)" if defined($::error_buf);
112 $error_string = "unexpected content type returned: $ct";
115 return ($ts_body, $error_string);
/third_party/gstreamer/gstplugins_good/sys/waveform/
Dgstwaveformsink.c210 waveOutGetErrorText (mmresult, wfsink->error_string, ERROR_LENGTH - 1); in gst_waveform_sink_getcaps()
213 wfsink->error_string), (NULL)); in gst_waveform_sink_getcaps()
366 waveOutGetErrorText (mmresult, wfsink->error_string, ERROR_LENGTH - 1); in gst_waveform_sink_prepare()
369 wfsink->error_string), (NULL)); in gst_waveform_sink_prepare()
409 waveOutGetErrorText (mmresult, wfsink->error_string, in gst_waveform_sink_unprepare()
413 wfsink->error_string); in gst_waveform_sink_unprepare()
466 waveOutGetErrorText (mmresult, wfsink->error_string, ERROR_LENGTH - 1); in gst_waveform_sink_write()
468 "Error unpreparing buffer => %s", wfsink->error_string); in gst_waveform_sink_write()
487 waveOutGetErrorText (mmresult, wfsink->error_string, ERROR_LENGTH - 1); in gst_waveform_sink_write()
490 wfsink->error_string); in gst_waveform_sink_write()
[all …]
Dgstwaveformsink.h97 gchar error_string[ERROR_LENGTH]; member
/third_party/grpc/test/core/end2end/tests/
Dsimple_request.cc111 const char* error_string; in simple_request_body() local
161 op->data.recv_status_on_client.error_string = &error_string; in simple_request_body()
221 GPR_ASSERT(nullptr != strstr(error_string, "xyz")); in simple_request_body()
222 GPR_ASSERT(nullptr != strstr(error_string, "description")); in simple_request_body()
223 GPR_ASSERT(nullptr != strstr(error_string, "Error received from peer")); in simple_request_body()
224 GPR_ASSERT(nullptr != strstr(error_string, "grpc_message")); in simple_request_body()
225 GPR_ASSERT(nullptr != strstr(error_string, "grpc_status")); in simple_request_body()
231 gpr_free((void*)error_string); in simple_request_body()
/third_party/grpc/test/core/end2end/
Dinproc_callback_test.cc311 const char* error_string; in simple_request_body() local
354 op->data.recv_status_on_client.error_string = &error_string; in simple_request_body()
418 GPR_ASSERT(nullptr != strstr(error_string, "xyz")); in simple_request_body()
419 GPR_ASSERT(nullptr != strstr(error_string, "description")); in simple_request_body()
420 GPR_ASSERT(nullptr != strstr(error_string, "Error received from peer")); in simple_request_body()
421 GPR_ASSERT(nullptr != strstr(error_string, "grpc_message")); in simple_request_body()
422 GPR_ASSERT(nullptr != strstr(error_string, "grpc_status")); in simple_request_body()
428 gpr_free(static_cast<void*>(const_cast<char*>(error_string))); in simple_request_body()
/third_party/grpc/src/core/lib/transport/
Derror_utils.cc51 const char** error_string) { in grpc_error_get_status() argument
98 if (error_string != nullptr && status != GRPC_STATUS_OK) { in grpc_error_get_status()
99 *error_string = gpr_strdup(grpc_error_string(error)); in grpc_error_get_status()
Derror_utils.h40 const char** error_string);
/third_party/grpc/test/cpp/naming/
Dcancel_ares_query_test.cc329 const char* error_string; in TestCancelDuringActiveQuery() local
353 op->data.recv_status_on_client.error_string = &error_string; in TestCancelDuringActiveQuery()
367 gpr_free((void*)error_string); in TestCancelDuringActiveQuery()
/third_party/grpc/src/csharp/ext/
Dgrpc_csharp_ext.c72 const char* error_string; member
227 gpr_free((void*)ctx->recv_status_on_client.error_string); in grpcsharp_batch_context_reset()
336 return ctx->recv_status_on_client.error_string; in grpcsharp_batch_context_recv_status_on_client_error_string()
647 ops[5].data.recv_status_on_client.error_string = in grpcsharp_call_start_unary()
648 &(ctx->recv_status_on_client.error_string); in grpcsharp_call_start_unary()
673 ctx->recv_status_on_client.error_string = NULL; in grpcsharp_test_call_start_unary_echo()
713 ops[3].data.recv_status_on_client.error_string = in grpcsharp_call_start_client_streaming()
714 &(ctx->recv_status_on_client.error_string); in grpcsharp_call_start_client_streaming()
756 ops[3].data.recv_status_on_client.error_string = in grpcsharp_call_start_server_streaming()
757 &(ctx->recv_status_on_client.error_string); in grpcsharp_call_start_server_streaming()
[all …]
/third_party/boost/boost/mpi/
Derror_string.hpp22 std::string error_string(int err_code);
/third_party/boost/libs/mpi/src/
Dexception.cpp19 message.append(error_string(result_code)); in exception()
Derror_string.cpp12 std::string error_string(int err) in error_string() function
/third_party/boost/libs/compute/test/
Dtest_opencl_error.cpp32 BOOST_CHECK_EQUAL(e.error_string(), "Invalid Device"); in BOOST_AUTO_TEST_CASE()
/third_party/grpc/src/core/lib/iomgr/
Derror_internal.h44 gpr_atm error_string; member
Derror.cc170 reinterpret_cast<void*>(gpr_atm_acq_load(&err->atomics.error_string))); in error_destroy()
368 gpr_atm_no_barrier_store(&err->atomics.error_string, 0); in grpc_error_create()
434 gpr_atm_no_barrier_store(&out->atomics.error_string, 0); in copy_error_and_unref()
750 reinterpret_cast<void*>(gpr_atm_acq_load(&err->atomics.error_string)); in grpc_error_string()
769 if (!gpr_atm_rel_cas(&err->atomics.error_string, 0, in grpc_error_string()
772 out = reinterpret_cast<char*>(gpr_atm_acq_load(&err->atomics.error_string)); in grpc_error_string()
/third_party/grpc/src/core/ext/filters/client_channel/
Ddynamic_filters.cc55 const char* error_string = grpc_error_string(*error); in Call() local
56 gpr_log(GPR_ERROR, "error: %s", error_string); in Call()
/third_party/node/src/
Dstream_base-inl.h155 env->error_string(), OneByteString(env->isolate(), msg)).Check(); in Shutdown()
208 env->error_string(), in Write()
284 env->error_string(), in Done()

123