#include <ostream.hpp>
Inheritance diagram for outputStream:
Public Member Functions | |
outputStream (int width=80) | |
void | indent () |
void | inc () |
void | dec () |
int | indentation () const |
void | set_indentation (int i) |
void | fill_to (int col) |
int | width () const |
int | position () const |
void | print (char *format,...) |
void | print_cr (char *format,...) |
void | vprint (const char *format, va_list argptr) |
void | vprint_cr (const char *format, va_list argptr) |
void | print_raw (char *str) |
void | out_hex (int addr) |
virtual void | put (char c) |
virtual void | sp () |
virtual void | cr () |
void | dec_cr () |
void | inc_cr () |
Protected Member Functions | |
void | basic_print (char *str) |
Protected Attributes | |
int | _indentation |
int | _width |
int | _position |
Definition at line 26 of file ostream.hpp.
outputStream::outputStream | ( | int | width = 80 |
) |
void outputStream::basic_print | ( | char * | str | ) | [protected] |
Definition at line 33 of file ostream.cpp.
References put().
Referenced by print(), print_cr(), print_raw(), and vprint().
Here is the call graph for this function:
void outputStream::cr | ( | ) | [virtual] |
Definition at line 96 of file ostream.cpp.
References _position, and put().
Referenced by InliningDatabase::add_lookup_entry(), Process::basic_transfer(), lookupCache::cache_miss_lookup(), Command::Command(), MethodPrinterClosure::cond_node(), convert_from_string(), convert_to_integer(), dec_cr(), PrintObjectClosure::do_indexable_oop(), PrintObjectClosure::do_mark(), PrintObjectClosure::do_object(), VerifyOldOopClosure::do_oop(), PrintObjectClosure::do_oop(), evaluator::eval_message(), factorial(), InliningDatabase::file_in(), InliningDatabase::file_out(), InliningDatabase::file_out_all(), StubRoutines::generate(), Floats::generate(), generate_gen_method(), Universe::genesis(), inc_cr(), InterpreterGenerator::info(), Floats::init(), MacroAssembler::inspector(), DLLs::lookup(), Interpreter::loop_counter_overflow(), Reflection::needs_schema_change(), MethodPrinterClosure::normal_send(), methodKlass::oop_print_on(), contextKlass::oop_print_on(), pd(), space::print(), primitive_desc::print(), InterpretedIC::print(), FlatProfiler::print(), pnode::print(), Floats::print(), Bytecodes::print(), Assembler::print(), Interpreter::print_code_status(), methodOopDesc::print_codes(), print_context_chain(), print_cr(), frame::print_for_deoptimization(), evaluator::print_help(), rSet::print_set_for_object(), pnode::print_total(), evaluator::process_line(), ps(), MethodPrinterClosure::push_classVar(), MethodPrinterClosure::push_classVar_name(), MethodPrinterClosure::push_global(), MethodPrinterClosure::push_instVar_name(), MethodPrinterClosure::push_literal(), report_error(), report_vm_state(), MethodPrinterClosure::self_send(), frame::should_be_deoptimized(), MethodPrinterClosure::store_classVar(), MethodPrinterClosure::store_classVar_name(), MethodPrinterClosure::store_global(), MethodPrinterClosure::store_instVar_name(), MethodPrinterClosure::super_send(), InterpretedIC::trace_inline_cache_miss(), trace_send(), DeltaProcess::transfer_and_continue(), unfactorial(), ClassChange::update_class_vars(), ClassChange::update_methods(), validate_lookup(), cacheElement::verify(), and vprint_cr().
Here is the call graph for this function:
void outputStream::dec | ( | ) | [inline] |
Definition at line 41 of file ostream.hpp.
References _indentation.
Referenced by MethodPrinterClosure::allocate_closure(), and dec_cr().
void outputStream::dec_cr | ( | ) | [inline] |
void outputStream::fill_to | ( | int | col | ) |
Definition at line 79 of file ostream.cpp.
References position(), and sp().
Referenced by PrintObjectClosure::do_byte(), PrintObjectClosure::do_double(), PrintObjectClosure::do_indexable_byte(), PrintObjectClosure::do_indexable_doubleByte(), PrintObjectClosure::do_indexable_long(), PrintObjectClosure::do_indexable_oop(), PrintObjectClosure::do_long(), PrintObjectClosure::do_mark(), PrintObjectClosure::do_oop(), methodKlass::oop_print_on(), pnode::print(), ObjectHistogram::print(), Counter::print(), pnode::print_title(), and pnode::print_total().
Here is the call graph for this function:
void outputStream::inc | ( | ) | [inline] |
Definition at line 40 of file ostream.hpp.
References _indentation.
Referenced by MethodPrinterClosure::allocate_closure(), and inc_cr().
void outputStream::inc_cr | ( | ) | [inline] |
void outputStream::indent | ( | ) |
Definition at line 101 of file ostream.cpp.
References _indentation, _position, and sp().
Referenced by MethodPrinterClosure::indent(), and MethodPrinterClosure::show().
Here is the call graph for this function:
int outputStream::indentation | ( | ) | const [inline] |
void outputStream::out_hex | ( | int | addr | ) |
int outputStream::position | ( | ) | const [inline] |
Definition at line 48 of file ostream.hpp.
References _position.
Referenced by fill_to(), and objArrayKlass::oop_short_print_on().
void outputStream::print | ( | char * | format, | |
... | ||||
) |
Definition at line 40 of file ostream.cpp.
References basic_print(), BUFLEN, and warning().
Referenced by InliningDatabase::add_lookup_entry(), MethodPrinterClosure::allocate_closure(), Reflection::apply_change(), Process::basic_transfer(), lookupCache::cache_miss_lookup(), MarkSweep::collect(), memConverter::compute_mapping(), convert_from_string(), convert_to_integer(), MethodPrinterClosure::dll_call_node(), PrintObjectClosure::do_byte(), PrintObjectClosure::do_double(), PrintObjectClosure::do_indexable_byte(), PrintObjectClosure::do_indexable_doubleByte(), PrintObjectClosure::do_indexable_long(), PrintObjectClosure::do_indexable_oop(), PrintObjectClosure::do_long(), PrintObjectClosure::do_mark(), PrintObjectClosure::do_object(), VerifyOldOopClosure::do_oop(), PrintObjectClosure::do_oop(), ProcessStatusClosure::do_process(), InterpretedIC::does_not_understand(), interpretedVFrame::expression_stack(), factorial(), InliningDatabase::file_in(), MethodPrinterClosure::float_binary(), MethodPrinterClosure::float_binaryToOop(), MethodPrinterClosure::float_floatify(), MethodPrinterClosure::float_nullary(), MethodPrinterClosure::float_unary(), MethodPrinterClosure::float_unaryToOop(), StubRoutines::generate(), Floats::generate(), generate_codeForPrimitive_method(), generate_comment(), generate_float_function_constant_method(), generate_gen_method(), generate_HCode_methods(), generate_HTML_docu(), generate_HTML_for(), generate_instr_method(), generate_signature(), MethodPrinterClosure::indent(), InterpreterGenerator::info(), StubRoutines::init(), Floats::init(), interpreter_init(), Assembler::jmp(), DLLs::lookup(), primitives::lookup_and_patch(), Interpreter::loop_counter_overflow(), main(), markup(), Markup::Markup(), Resources::new_chunk(), MethodPrinterClosure::normal_send(), methodKlass::oop_print_on(), contextKlass::oop_print_on(), smiKlass::oop_print_value(), symbolKlass::oop_print_value_on(), methodKlass::oop_print_value_on(), memOopKlass::oop_print_value_on(), klassKlass::oop_print_value_on(), doubleKlass::oop_print_value_on(), doubleByteArrayKlass::oop_print_value_on(), byteArrayKlass::oop_print_value_on(), contextKlass::oop_print_value_on(), blockClosureKlass::oop_print_value_on(), associationKlass::oop_print_value_on(), objArrayKlass::oop_short_print_on(), Klass::oop_short_print_on(), doubleKlass::oop_short_print_on(), associationKlass::oop_short_print_on(), pd(), PRIM_DECL_0(), PRIM_DECL_1(), VM_Operation::print(), symbolKlass::print(), space::print(), DeltaProcess::print(), primitive_desc::print(), prettyPrintStream::print(), InterpretedIC::print(), Integer::print(), IC::print(), generation::print(), frame::print(), Floats::print(), CompiledDLL_Cache::print(), InterpretedDLL_Cache::print(), ObjectHistogram::print(), Counter::print(), Bytecodes::print(), Assembler::print(), Displacement::print(), defaultPrettyPrintStream::print_char(), tick_counter::print_code(), Interpreter::print_code_status(), print_context_chain(), Disclaimer::print_disclaimer(), frame::print_for_deoptimization(), print_format(), contextOopDesc::print_home_on(), memOopDesc::print_id_on(), methodOopDesc::print_inlining_database_on(), LookupKey::print_inlining_database_on(), compiledNode::print_method_on(), pnode::print_method_on(), smiOopDesc::print_on(), markOopDesc::print_on(), LookupResult::print_on(), tick_counter::print_other(), MacroAssembler::print_reg(), MethodPrinterClosure::print_sendtype(), rSet::print_set_for_object(), GenericGrowableArray::print_short(), ResourceAreaChunk::print_short(), LookupResult::print_short_on(), primitives::print_table(), print_table_entry_for(), compiledNode::print_title(), interpretedNode::print_title(), pnode::print_title(), pnode::print_total(), methodOopDesc::print_value_for(), oopDesc::print_value_on(), ps(), MethodPrinterClosure::push_classVar(), MethodPrinterClosure::push_classVar_name(), MethodPrinterClosure::push_global(), MethodPrinterClosure::push_instVar_name(), MethodPrinterClosure::push_literal(), evaluator::read_eval_loop(), report_vm_state(), Universe::scavenge(), MethodPrinterClosure::self_send(), frame::should_be_deoptimized(), MethodPrinterClosure::store_classVar(), MethodPrinterClosure::store_classVar_name(), MethodPrinterClosure::store_global(), MethodPrinterClosure::store_instVar_name(), MethodPrinterClosure::super_send(), ZoneSweeper::task(), MethodSweeper::task(), MarkSweep::trace(), Interpreter::trace_bytecode(), StubRoutines::trace_DLL_call_1(), StubRoutines::trace_DLL_call_2(), InterpretedIC::trace_inline_cache_miss(), trace_send(), TraceTime::TraceTime(), DeltaProcess::transfer_and_continue(), unfactorial(), ClassChange::update_class_vars(), ClassChange::update_methods(), CodeSweeper::updateInterval(), cacheElement::verify(), DeltaProcess::wait_for_async_dll(), DeltaProcess::wait_for_control(), StubRoutines::wrong_DLL_call(), and Markup::~Markup().
Here is the call graph for this function:
void outputStream::print_cr | ( | char * | format, | |
... | ||||
) |
Definition at line 52 of file ostream.cpp.
References basic_print(), BUFLEN, cr(), and warning().
Referenced by InliningDatabase::add_lookup_entry(), MethodPrinterClosure::allocate_closure(), MethodPrinterClosure::allocate_context(), InliningDatabase::allocate_table(), MethodPrinterClosure::allocate_temporaries(), Reflection::apply_change(), Assembler::bind(), vframe::callee_argument_at(), evaluator::change_debug_flag(), Command::Command(), compiler_warning(), memConverter::compute_mapping(), convert_to_double(), MethodPrinterClosure::copy_argument_into_context(), MethodPrinterClosure::copy_self_into_context(), TempPrinter::decode(), DeltaProcess::deoptimize_stretch(), MethodPrinterClosure::dll_call_node(), PrintObjectClosure::do_byte(), PrintObjectClosure::do_double(), PrintObjectClosure::do_indexable_byte(), PrintObjectClosure::do_indexable_doubleByte(), PrintObjectClosure::do_indexable_long(), PrintObjectClosure::do_long(), VerifyOldOopClosure::do_oop(), VM_Scavenge::doit(), MethodPrinterClosure::double_equal(), MethodPrinterClosure::double_not_equal(), error(), interpretedVFrame::expression_stack(), SavedRegisters::fetch(), InliningDatabase::file_out(), methodOopDesc::fileout_body(), MethodPrinterClosure::float_allocate(), MethodPrinterClosure::float_binary(), MethodPrinterClosure::float_binaryToOop(), MethodPrinterClosure::float_floatify(), MethodPrinterClosure::float_move(), MethodPrinterClosure::float_nullary(), MethodPrinterClosure::float_set(), MethodPrinterClosure::float_unary(), MethodPrinterClosure::float_unaryToOop(), Universe::genesis(), evaluator::get_oop(), TempPrinter::heap_parameter(), TempPrinter::heap_temp(), help(), MethodPrinterClosure::if_node(), MethodPrinterClosure::indent(), InterpretedIC::inline_cache_miss(), MacroAssembler::inspect(), MacroAssembler::inspector(), TokenStream::is_table_entry(), Assembler::jmp(), InliningDatabase::load_index_file(), DLLs::lookup(), MethodPrinterClosure::method_return(), Reflection::needs_schema_change(), TempPrinter::no_debug_info(), MethodPrinterClosure::nonlocal_return(), oat(), methodKlass::oop_print_on(), TempPrinter::parameter(), MethodPrinterClosure::pop(), MethodPrinterClosure::predict_prim_call(), PRIM_DECL_0(), PRIM_DECL_1(), PRIM_DECL_2(), MethodPrinterClosure::primitive_call_node(), VirtualSpaces::print(), VirtualSpace::print(), Universe::print(), elapsedTimer::print(), timer::print(), Sweeper::print(), DeltaProcess::print(), VMProcess::print(), NativeTest::print(), NativeMov::print(), NativeCall::print(), InterpretedIC_Iterator::print(), oldGeneration::print(), newGeneration::print(), generation::print(), frame::print(), FlatProfiler::print(), Floats::print(), ObjectHistogram::print(), Counter::print(), Assembler::print(), ResourceAreaChunk::print_alloc(), Interpreter::print_code_status(), print_codes(), print_diff_on(), frame::print_for_deoptimization(), evaluator::print_help(), evaluator::print_mini_help(), debugFlags::print_on(), MacroAssembler::print_reg(), rSet::print_set_for_object(), evaluator::print_status(), primitives::print_table(), print_ticks(), pnode::print_title(), evaluator::process_line(), MethodPrinterClosure::push_argument(), MethodPrinterClosure::push_instVar(), MethodPrinterClosure::push_self(), MethodPrinterClosure::push_temporary(), MethodPrinterClosure::push_tos(), report_error(), IntegerOps::self_test(), MethodPrinterClosure::set_self_via_context(), MethodIterator::should_never_encounter(), MethodPrinterClosure::show(), evaluator::show_command(), TempPrinter::stack_float_temp(), TempPrinter::stack_temp(), MethodPrinterClosure::store_instVar(), MethodPrinterClosure::store_temporary(), evaluator::top_command(), DeltaProcess::trace_stack_for_deoptimization(), DeltaProcess::trace_stack_from(), MethodIterator::unknown_code(), validate_lookup(), primitives::verified_lookup(), deltaVFrame::verify(), cacheElement::verify(), verify_at_end_of_deoptimization(), DeltaProcess::wait_for_async_dll(), warning(), MethodPrinterClosure::while_node(), MethodPrinterClosure::zap_scope(), StackChecker::~StackChecker(), and TraceTime::~TraceTime().
Here is the call graph for this function:
void outputStream::print_raw | ( | char * | str | ) | [inline] |
Definition at line 57 of file ostream.hpp.
References basic_print().
Referenced by report_error().
Here is the call graph for this function:
void outputStream::put | ( | char | c | ) | [virtual] |
Reimplemented in stringStream, and fileStream.
Definition at line 83 of file ostream.cpp.
References _position, and lputc().
Referenced by basic_print(), cr(), generate_signature(), symbolOopDesc::print_symbol_on(), and sp().
Here is the call graph for this function:
void outputStream::set_indentation | ( | int | i | ) | [inline] |
void outputStream::sp | ( | ) | [virtual] |
Definition at line 92 of file ostream.cpp.
References put().
Referenced by PrintObjectClosure::do_byte(), PrintObjectClosure::do_double(), PrintObjectClosure::do_indexable_byte(), PrintObjectClosure::do_indexable_doubleByte(), PrintObjectClosure::do_indexable_long(), PrintObjectClosure::do_indexable_oop(), PrintObjectClosure::do_long(), PrintObjectClosure::do_mark(), PrintObjectClosure::do_oop(), fill_to(), indent(), and rSet::print_set_for_object().
Here is the call graph for this function:
void outputStream::vprint | ( | const char * | format, | |
va_list | argptr | |||
) |
Definition at line 65 of file ostream.cpp.
References basic_print(), BUFLEN, and warning().
Referenced by vprint_cr().
Here is the call graph for this function:
void outputStream::vprint_cr | ( | const char * | format, | |
va_list | argptr | |||
) |
Definition at line 74 of file ostream.cpp.
References cr(), and vprint().
Referenced by compiler_warning(), error(), and warning().
Here is the call graph for this function:
int outputStream::width | ( | ) | const [inline] |
int outputStream::_indentation [protected] |
Definition at line 28 of file ostream.hpp.
Referenced by dec(), inc(), indent(), indentation(), outputStream(), and set_indentation().
int outputStream::_position [protected] |
Definition at line 30 of file ostream.hpp.
Referenced by cr(), indent(), outputStream(), position(), fileStream::put(), stringStream::put(), and put().
int outputStream::_width [protected] |