Searched refs:comment (Results 1 - 18 of 18) sorted by relevance

/gem5/ext/ply/test/
H A Dlex_state3.py16 comment = 1 variable
17 states = ((comment, 'inclusive'),
27 t.lexer.begin('comment')
28 print("Entering comment state")
32 print("comment body %s" % t)
/gem5/ext/dsent/libutil/
H A DConfig.cc39 const String& comment = "#"; local
61 line = line.substr(0, line.find(comment));
97 nextline = nextline.substr(0, nextline.find(comment));
/gem5/ext/pybind11/tools/
H A Dmkdoc.py83 def process_comment(comment):
86 # Remove C++ comment syntax
88 for s in comment.expandtabs(tabsize=4).splitlines():
206 comment = d(node.raw_comment) if node.raw_comment is not None else ''
207 comment = process_comment(comment)
213 output.append((name, filename, comment))
326 for name, _, comment in list(sorted(comments, key=lambda x: (x[0], x[1]))):
334 (name, '\n' if '\n' in comment else ' ', comment), fil
[all...]
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_trace.h147 // Output a comment to the trace file
148 virtual void write_comment( const std::string& comment ) = 0;
369 // Output a comment to the trace file
373 sc_write_comment( sc_trace_file* tf, const std::string& comment )
375 if( tf ) tf->write_comment( comment );
H A Dsc_vcd_trace.h194 // Output a comment to the trace file
195 void write_comment(const std::string& comment);
H A Dsc_wif_trace.h189 // Output a comment to the trace file
190 void write_comment(const std::string& comment);
H A Dsc_wif_trace.cpp1599 std::fprintf(fp, "comment \"ASCII WIF file produced on date: %s\" ;\n"
1603 std::fprintf(fp, "comment \"Created by %s\" ;\n", sc_version());
1605 std::fprintf(fp, "comment \"Convert this file to binary WIF format using a2wif\" ;\n\n");
1770 wif_trace_file::write_comment(const std::string& comment) argument
1774 std::fprintf(fp, "comment \"%s\" ;\n", comment.c_str());
H A Dsc_vcd_trace.cpp1896 vcd_trace_file::write_comment(const std::string& comment) argument
1900 std::fputs("$comment\n", fp);
1901 std::fputs(comment.c_str(), fp);
/gem5/src/systemc/utils/
H A Dvcd.hh149 void writeComment(const std::string &comment) override;
H A Dsc_trace_file.cc71 sc_write_comment(sc_trace_file *tf, const std::string &comment) argument
73 static_cast<::sc_gem5::TraceFile *>(tf)->writeComment(comment);
H A Dtracefile.hh274 virtual void writeComment(const std::string &comment) = 0;
H A Dvcd.cc695 VcdTraceFile::writeComment(const std::string &comment) argument
697 stream() << "$comment" << std::endl;
698 stream() << comment << std::endl;
/gem5/src/systemc/ext/utils/
H A Dsc_trace_file.hh76 void sc_write_comment(sc_trace_file *tf, const std::string &comment);
/gem5/util/minorview/
H A Dview.py478 for comment in event.comments:
479 print comment
/gem5/ext/googletest/googletest/scripts/
H A Dpump.py230 # comment, including the trailing \n.
727 comment = line[loc + 2:].strip()
728 segs = [seg for seg in re.split(r'(\w+\W*)', comment) if seg != '']
/gem5/src/arch/
H A Disa_parser.py321 # Prepend a string (typically a comment) to all the strings.
2377 comment = '\n// %s::%s(%s)\n' % (currentFormat.id, t[1], args)
2378 codeObj.prepend_all(comment)
2391 comment = '\n// %s::%s(%s)\n' % (t[1], t[3], t[5])
2392 codeObj.prepend_all(comment)
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h1437 auto comment = kv.second[int_(1)];
1439 if (!comment.is_none())
1440 docstring += " : " + (std::string) pybind11::str(comment);
/gem5/src/mem/slicc/symbols/
H A DStateMachine.py635 comment = "Type %s default" % vtype.ident
636 code('*$vid = ${{vtype["default"]}}; // $comment')

Completed in 61 milliseconds