Home
last modified time | relevance | path

Searched refs:err_stream (Results 1 – 10 of 10) sorted by relevance

/external/antlr/runtime/Cpp/include/
Dantlr3lexer.inl44 StringStreamType err_stream; local
50 err_stream << "-unknown source-(";
54 err_stream << ex->get_streamName().c_str();
55 err_stream << "(";
57 err_stream << ex->get_line() << ")";
59 err_stream << ": lexer error " << ex->getName() << '(' << ex->getType() << ')' << " :\n\t"
73 err_stream << "near '" << (typename StringType::value_type) ex->get_c() << "' :\n";
77 err_stream << "near char(" << std::hex << ex->get_c() << std::dec << ") :\n";
79 err_stream << "\t";
80 err_stream.width( width > 20 ? 20 : width );
[all …]
/external/llvm-project/llvm/utils/benchmark/test/
Doutput_test_helper.cc380 std::stringstream err_stream; in RunOutputTests() member
387 reporter.SetErrorStream(&err_stream); in RunOutputTests()
408 std::cerr << rep_test.err_stream.str(); in RunOutputTests()
411 internal::CheckCases(rep_test.error_cases, rep_test.err_stream); in RunOutputTests()
/external/libcxx/utils/google-benchmark/test/
Doutput_test_helper.cc389 std::stringstream err_stream; in RunOutputTests() member
396 reporter.SetErrorStream(&err_stream); in RunOutputTests()
417 std::cerr << rep_test.err_stream.str(); in RunOutputTests()
420 internal::CheckCases(rep_test.error_cases, rep_test.err_stream); in RunOutputTests()
/external/llvm-project/libcxx/utils/google-benchmark/test/
Doutput_test_helper.cc389 std::stringstream err_stream; in RunOutputTests() member
396 reporter.SetErrorStream(&err_stream); in RunOutputTests()
417 std::cerr << rep_test.err_stream.str(); in RunOutputTests()
420 internal::CheckCases(rep_test.error_cases, rep_test.err_stream); in RunOutputTests()
/external/google-benchmark/test/
Doutput_test_helper.cc400 std::stringstream err_stream; in RunOutputTests() member
407 reporter.SetErrorStream(&err_stream); in RunOutputTests()
428 std::cerr << rep_test.err_stream.str(); in RunOutputTests()
431 internal::CheckCases(rep_test.error_cases, rep_test.err_stream); in RunOutputTests()
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_result.py349 err_stream = sys.stderr
358 self.assertEqual(err_stream.getvalue(), 'bar\n')
373 self.assertEqual(err_stream.getvalue(), '')
/external/python/cpython2/Lib/unittest/test/
Dtest_result.py420 err_stream = sys.stderr
429 self.assertEqual(err_stream.getvalue(), 'bar\n')
444 self.assertEqual(err_stream.getvalue(), '')
/external/python/cpython3/Lib/unittest/test/
Dtest_result.py556 err_stream = sys.stderr
565 self.assertEqual(err_stream.getvalue(), 'bar\n')
580 self.assertEqual(err_stream.getvalue(), '')
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_compiler.cc526 llvm::raw_string_ostream err_stream(err); in VerifyLlvmModule() local
529 TF_RET_CHECK(!llvm::verifyModule(llvm_module, &err_stream)) in VerifyLlvmModule()
531 << err_stream.str() in VerifyLlvmModule()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_compiler.cc695 llvm::raw_string_ostream err_stream(err); in CompileToTargetBinary() local
698 TF_RET_CHECK(!llvm::verifyModule(*llvm_module, &err_stream)) in CompileToTargetBinary()
700 << err_stream.str() in CompileToTargetBinary()