Searched refs:line (Results 76 - 100 of 136) sorted by relevance

123456

/gem5/ext/systemc/src/sysc/utils/
H A Dsc_report.cpp82 line(0),
100 line(line_),
114 line(other.line),
137 swap( line, that.line );
289 // (2) Moved modification log to the end of the file to eliminate line
H A Dsc_report.h131 { return line; }
158 int line,
165 int line; member in class:sc_core::sc_report
270 // eliminate source line number skew when check-ins are done.
/gem5/ext/pybind11/tests/
H A Dconftest.py32 """For output which does not require specific line order"""
38 return ["--- actual / +++ expected"] + [line.strip('\n') for line in difflib.ndiff(a, b)]
52 a = [line for line in self.string.strip().splitlines() if not line.startswith("###")]
62 """Custom comparison for output without strict line ordering"""
/gem5/src/systemc/utils/
H A Dsc_report_handler.cc56 const char *msg, const char *file, int line)
58 report(severity, msg_type, msg, SC_MEDIUM, file, line);
64 int line)
94 sc_report report(severity, msg_type, msg, verbosity, file, line,
112 const char *file, int line)
119 report(severity, msg_type.c_str(), msg, file, line);
55 report(sc_severity severity, const char *msg_type, const char *msg, const char *file, int line) argument
62 report(sc_severity severity, const char *msg_type, const char *msg, int verbosity, const char *file, int line) argument
111 report(sc_severity severity, int id, const char *msg, const char *file, int line) argument
/gem5/src/python/m5/util/
H A Dcode_formatter.py198 for line in data.splitlines():
199 if line:
202 self._data.append(line)
204 if line or not initial_newline:
228 for line in gen:
230 yield line
273 raise ValueError('Invalid format string: line %d, col %d' %
/gem5/ext/mcpat/
H A Dcacheunit.cc69 double line; local
73 line = cache_params.blockW;
82 tag = physical_address_width - int(ceil(log2(size / line / assoc))) -
83 int(ceil(log2(line))) + EXTRA_TAG_BITS;
87 BITS_PER_BYTE / (line * BITS_PER_BYTE);
88 line *= (1 + dir_overhead);
94 interface_ip.line_sz = (int)line;
225 line = int(ceil(data / BITS_PER_BYTE));
226 size = cache_params.missb_size * line;
229 interface_ip.line_sz = line;
[all...]
/gem5/ext/testlib/
H A Dhelper.py83 for line in iter(pipe.readline, ''):
85 r.write(line)
86 log_callback(line.rstrip())
378 for line in file_:
380 if re.match(regex, line):
383 yield line
401 for line in _filter_file(fname, filters):
402 tempfile_.write(line)
/gem5/src/mem/cache/prefetch/
H A Dsbooe.cc60 entries[index].line = addr + stride;
76 if (entry.valid && entry.line == access_line) {
/gem5/util/
H A Dencode_inst_dep_trace.py73 # The ASCII trace format uses one line per instruction with the format
148 # For each line in the ASCII trace, create a packet message and
150 for line in ascii_in:
151 inst_info_str, rob_dep_str, reg_dep_str = (line.strip()).split(':')
/gem5/util/style/
H A Dstyle.py135 def normalized_len(line):
136 """Return a normalized line length with expanded tabs"""
139 for c in line:
/gem5/util/minorview/
H A Dmodel.py75 """Get a line Id (if any) from this data"""
86 """A line or instruction id"""
478 """A fetched line"""
492 """A faulting line"""
512 # Miscellaneous unparsed MinorTrace line data
528 line = model.find_line(instId)
531 if includeInstLines and line is not None:
532 ret.append(line)
534 line = model.find_line(lineId)
535 if line i
[all...]
H A Dview.py60 # Some common line definitions to cut down on arbitrary
382 for line in lines:
383 num_columns = max(num_columns, len(line))
386 for line in lines:
387 for i in xrange(0, len(line)):
388 widths[i] = max(widths[i], text_width(line[i]))
416 line = lines[i]
424 for j in xrange(0, len(line)):
427 cr.show_text(line[j])
/gem5/ext/ply/example/BASIC/
H A Dbasparse.py17 #### dictionary of tuples indexed by line number.
25 line,stat = p[1]
26 p[0][line] = stat
31 line,stat = p[2]
32 p[0][line] = stat
62 #### Blank line number
75 #### Blank line
/gem5/src/cpu/testers/traffic_gen/
H A Dtraffic_gen.cc151 // read line by line and determine the action based on the first
154 string line; local
156 while (getline(infile, line).good()) {
157 // see if this line is a comment line, and if so skip it
158 if (line.find('#') != 1) {
160 istringstream is(line);
308 fatal("%s: initial state not specified (add 'INIT <id>' line "
/gem5/ext/googletest/googletest/test/
H A Dgtest_shuffle_test.py92 args: command line flags to pass to gtest_shuffle_test_
100 for line in RunAndReturnOutput(extra_env, args).split('\n'):
101 if line.startswith('----'):
104 elif line.strip():
105 tests.append(line.strip()) # 'TestCaseName.TestName'
/gem5/src/dev/x86/
H A Di82094aa.cc185 X86ISA::I82094AA::signalInterrupt(int line) argument
187 DPRINTF(I82094AA, "Received interrupt %d.\n", line);
188 assert(line < TableSize);
189 RedirTableEntry entry = redirTable[line];
H A Di82094aa.hh111 void signalInterrupt(int line);
/gem5/util/stats/
H A Dprofile.py36 for line in fd:
37 line = line.strip()
38 if line.startswith('>>>'):
40 self[line[3:]] = current
42 current.append(line)
91 for line in filedata:
92 (symbol, count) = line.split()
112 for line in filedata['function data']:
113 data = line
[all...]
/gem5/ext/googletest/googletest/src/
H A Dgtest-death-test.cc110 "Indicates the file, line number, temporal index of "
287 ::std::string("CHECK failed: File ") + __FILE__ + ", line " \
308 ::std::string("CHECK failed: File ") + __FILE__ + ", line " \
357 const char* file, int line, DeathTest** test) {
359 statement, regex, file, line, test);
624 int line)
625 : DeathTestImpl(a_statement, a_regex), file_(file), line_(line) {}
634 // The line number on which the death test is located.
877 // program from the beginning, with command-line flags set that cause
882 const char* file, int line)
356 Create(const char* statement, const RE* regex, const char* file, int line, DeathTest** test) argument
621 WindowsDeathTest(const char* a_statement, const RE* a_regex, const char* file, int line) argument
881 ExecDeathTest(const char* a_statement, const RE* a_regex, const char* file, int line) argument
1171 Create(const char* statement, const RE* regex, const char* file, int line, DeathTest** test) argument
1299 int line = -1; local
[all...]
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h253 int line() const { return line_; } function in class:testing::internal::UntypedOnCallSpecBase
351 // line number of the statement => line_
455 const void* mock_obj, const char* file, int line)
481 // - The constructors and destructor are defined out-of-line because
693 ExpectationBase(const char* file, int line, const string& source_text);
699 int line() const { return line_; }
706 *os << FormatFileLocation(file(), line()) << " ";
847 int line_; // The line number of the expectation.
1142 // This line is here just for completeness' sake. It will never
1240 // Logs a message including file and line numbe
[all...]
/gem5/ext/ply/ply/
H A Dyacc.py173 # .lineno = Starting line number
174 # .endlineno = Ending line number (optional, set automatically)
185 # The lineno() method returns the line number of a given
534 sys.stderr.write("yacc: Syntax error at line %d, token=%s\n" % (lineno, errtoken.type))
807 sys.stderr.write("yacc: Syntax error at line %d, token=%s\n" % (lineno, errtoken.type))
864 # Optimized version of parseopt() with line number tracking removed.
1062 sys.stderr.write("yacc: Syntax error at line %d, token=%s\n" % (lineno, errtoken.type))
1154 def __init__(self,number,name,prod,precedence=('right',0),func=None,file='',line=0):
1161 self.line = line
[all...]
H A Dlex.py110 # lineno - Current line number
138 self.lineno = 1 # Current line number
682 line = func_code(t).co_firstlineno
684 self.log.error("%s:%d: Rule '%s' must be defined as a string",file,line,t.__name__)
706 # Sort the functions by line number
730 line = func_code(f).co_firstlineno
741 self.log.error("%s:%d: Rule '%s' has too many arguments",file,line,f.__name__)
746 self.log.error("%s:%d: Rule '%s' requires an argument", file,line,f.__name__)
751 self.log.error("%s:%d: No regular expression defined for rule '%s'",file,line,f.__name__)
758 self.log.error("%s:%d: Regular expression for rule '%s' matches empty string", file,line,
[all...]
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h536 int line) {
538 InstantiationInfo(instantiation_name, func, name_func, file, line));
557 int line = gen_it->line; local
577 << " line " << line << std::endl;
581 << "', in " << file << " line " << line << std::endl;
619 // Name generator function, Source file, Source line>
630 line(line_i
532 AddTestCaseInstantiation(const string& instantiation_name, GeneratorCreationFunc* func, ParamNameGeneratorFunc* name_func, const char* file, int line) argument
636 int line; member in struct:testing::internal::ParameterizedTestCaseInfo::InstantiationInfo
[all...]
/gem5/tests/gem5/
H A Dverifier.py135 re.compile('^command line:'),
187 for line in file_:
189 if re.match(regex, line):
/gem5/configs/common/
H A DMemConfig.py85 for line in doc_wrapper.wrap(doc):
86 print(line)
211 # byte granularity, or cache line granularity if larger than 128
223 # Set the number of ranks based on the command-line

Completed in 27 milliseconds

123456