本文整理汇总了C++中PrintStream::print方法的典型用法代码示例。如果您正苦于以下问题:C++ PrintStream::print方法的具体用法?C++ PrintStream::print怎么用?C++ PrintStream::print使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PrintStream
的用法示例。
在下文中一共展示了PrintStream::print方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: dump
void LargeAllocation::dump(PrintStream& out) const
{
out.print(RawPointer(this), ":(cell at ", RawPointer(cell()), " with size ", m_cellSize, " and attributes ", m_attributes, ")");
}
示例2: dump
void FloatRect::dump(PrintStream& out) const
{
out.print(location(), " ", size());
}
示例3: RawPointer
void ShadowChicken::Frame::dump(PrintStream& out) const
{
out.print(
"{callee = ", RawPointer(callee), ", frame = ", RawPointer(frame), ", isTailDeleted = ",
isTailDeleted, "}");
}
示例4: printInternal
void printInternal(PrintStream& out, JSC::ExitKind kind)
{
out.print(exitKindToString(kind));
}
示例5: dumpMeta
void ControlValue::dumpMeta(CommaPrinter& comma, PrintStream& out) const
{
for (FrequentedBlock successor : m_successors)
out.print(comma, successor);
}
示例6:
void SSACalculator::Variable::dump(PrintStream& out) const
{
out.print("var", m_index);
}
示例7: dump
void SSACalculator::dump(PrintStream& out) const
{
out.print("<Variables: [");
CommaPrinter comma;
for (unsigned i = 0; i < m_variables.size(); ++i) {
out.print(comma);
m_variables[i].dumpVerbose(out);
}
out.print("], Defs: [");
comma = CommaPrinter();
for (Def* def : const_cast<SSACalculator*>(this)->m_defs)
out.print(comma, *def);
out.print("], Phis: [");
comma = CommaPrinter();
for (Def* def : const_cast<SSACalculator*>(this)->m_phis)
out.print(comma, *def);
out.print("], Block data: [");
comma = CommaPrinter();
for (BlockIndex blockIndex = 0; blockIndex < m_graph.numBlocks(); ++blockIndex) {
BasicBlock* block = m_graph.block(blockIndex);
if (!block)
continue;
out.print(comma, *block, "=>(");
out.print("Defs: {");
CommaPrinter innerComma;
for (auto entry : m_data[block].m_defs)
out.print(innerComma, *entry.key, "->", *entry.value);
out.print("}, Phis: {");
innerComma = CommaPrinter();
for (Def* def : m_data[block].m_phis)
out.print(innerComma, *def);
out.print("})");
}
out.print("]>");
}
示例8: dumpInContext
void MultiGetByOffsetCase::dumpInContext(PrintStream& out, DumpContext* context) const
{
out.print(inContext(m_set.toStructureSet(), context), ":", inContext(m_method, context));
}
示例9: dumpBriefFunctionInformation
void InlineCallFrame::dumpBriefFunctionInformation(PrintStream& out) const
{
out.print(inferredName(), "#", hash());
}
示例10: dumpMeta
void UpsilonValue::dumpMeta(PrintStream& out) const
{
out.print("^", m_phi->index());
}
示例11: dump
void PageCount::dump(PrintStream& out) const
{
out.print(String::number(bytes()), "B");
}
示例12: printInternal
void printInternal(PrintStream& out, MacroAssembler::DoubleCondition cond)
{
switch (cond) {
case MacroAssembler::DoubleEqual:
out.print("DoubleEqual");
return;
case MacroAssembler::DoubleNotEqual:
out.print("DoubleNotEqual");
return;
case MacroAssembler::DoubleGreaterThan:
out.print("DoubleGreaterThan");
return;
case MacroAssembler::DoubleGreaterThanOrEqual:
out.print("DoubleGreaterThanOrEqual");
return;
case MacroAssembler::DoubleLessThan:
out.print("DoubleLessThan");
return;
case MacroAssembler::DoubleLessThanOrEqual:
out.print("DoubleLessThanOrEqual");
return;
case MacroAssembler::DoubleEqualOrUnordered:
out.print("DoubleEqualOrUnordered");
return;
case MacroAssembler::DoubleNotEqualOrUnordered:
out.print("DoubleNotEqualOrUnordered");
return;
case MacroAssembler::DoubleGreaterThanOrUnordered:
out.print("DoubleGreaterThanOrUnordered");
return;
case MacroAssembler::DoubleGreaterThanOrEqualOrUnordered:
out.print("DoubleGreaterThanOrEqualOrUnordered");
return;
case MacroAssembler::DoubleLessThanOrUnordered:
out.print("DoubleLessThanOrUnordered");
return;
case MacroAssembler::DoubleLessThanOrEqualOrUnordered:
out.print("DoubleLessThanOrEqualOrUnordered");
return;
}
RELEASE_ASSERT_NOT_REACHED();
}
示例13: dumpSpillInfo
void VariableEvent::dumpSpillInfo(const char* name, PrintStream& out) const
{
out.print(name, "(", id(), ", ", spillRegister(), ", ", dataFormatToString(dataFormat()), ")");
}
示例14: printInternal
void printInternal(PrintStream& out, UseKind useKind)
{
switch (useKind) {
case UntypedUse:
out.print("Untyped");
break;
case Int32Use:
out.print("Int32");
break;
case KnownInt32Use:
out.print("KnownInt32");
break;
case Int52RepUse:
out.print("Int52Rep");
break;
case MachineIntUse:
out.print("MachineInt");
break;
case NumberUse:
out.print("Number");
break;
case DoubleRepUse:
out.print("DoubleRep");
break;
case DoubleRepRealUse:
out.print("DoubleRepReal");
break;
case DoubleRepMachineIntUse:
out.print("DoubleRepMachineInt");
break;
case BooleanUse:
out.print("Boolean");
break;
case CellUse:
out.print("Cell");
break;
case KnownCellUse:
out.print("KnownCell");
break;
case ObjectUse:
out.print("Object");
break;
case FinalObjectUse:
out.print("FinalObject");
break;
case ObjectOrOtherUse:
out.print("ObjectOrOther");
break;
case StringIdentUse:
out.print("StringIdent");
break;
case StringUse:
out.print("String");
break;
case KnownStringUse:
out.print("KnownString");
break;
case StringObjectUse:
out.print("StringObject");
break;
case StringOrStringObjectUse:
out.print("StringOrStringObject");
break;
case NotStringVarUse:
out.print("NotStringVar");
break;
case NotCellUse:
out.print("NotCell");
break;
case OtherUse:
out.print("Other");
break;
case MiscUse:
out.print("Misc");
break;
default:
RELEASE_ASSERT_NOT_REACHED();
break;
}
}
示例15: dump
void Compilation::dump(PrintStream& out) const
{
out.print("Comp", m_uid);
}