/gem5/ext/googletest/googlemock/scripts/generator/cpp/ |
H A D | gmock_class_test.py | 49 """Convert C++ source to Google Mock output source lines.""" 58 source = """ 66 self.GenerateMethodSource(source)) 69 source = """ 83 self.GenerateMethodSource(source)) 86 source = """ 96 self.GenerateMethodSource(source)) 99 source = """ 112 self.GenerateMethodSource(source)) [all...] |
H A D | tokenize.py | 18 """Tokenize C++ source code.""" 70 start contains the index of the first char of the token in the source 71 end contains the index of the last char of the token in the source 89 def _GetString(source, start, i): 90 i = source.find('"', i+1) 91 while source[i-1] == '\\': 95 while source[j] == '\\': 101 i = source.find('"', i+1) 105 def _GetChar(source, start, i): 107 i = source [all...] |
H A D | gmock_class.py | 19 This program will read in a C++ source file and output the Google Mock 21 classes in the source file are emitted. 51 def _GenerateMethods(output_lines, source, class_node): 89 if source[first_param.start:first_param.end].strip() == 'void': 114 args_strings = re.sub(r'//.*', '', source[start:end]) 126 def _GenerateMocks(filename, source, ast_list, desired_class_names): 160 _GenerateMethods(lines, source, class_node) 206 desired_class_names = None # None means all classes in the source file. 209 source = utils.ReadFile(filename) 210 if source i [all...] |
/gem5/src/systemc/tests/systemc/kernel/sc_time/test04/ |
H A D | test04.cpp | 42 SC_MODULE( source ) 57 SC_CTOR( source ) 70 source src( "src" );
|
/gem5/src/systemc/tests/systemc/kernel/sc_time/test05/ |
H A D | test05.cpp | 42 SC_MODULE( source ) 57 SC_CTOR( source ) 69 source src( "src" );
|
/gem5/src/systemc/tests/systemc/kernel/sc_time/test06/ |
H A D | test06.cpp | 42 SC_MODULE( source ) 60 SC_CTOR( source ) 78 source src( "src" );
|
/gem5/src/systemc/tests/systemc/kernel/sc_time/test14/ |
H A D | test14.cpp | 42 SC_MODULE( source ) 57 SC_CTOR( source ) 70 source src( "src" );
|
/gem5/src/dev/ |
H A D | intpin.cc | 4 * Redistribution and use in source and binary forms, with or without 6 * met: redistributions of source code must retain the above copyright 37 source = dynamic_cast<IntSourcePinBase *>(&peer); 38 fatal_if(!source, "Attempt to bind interrupt sink pin %s to " 46 source = nullptr; 54 fatal_if(!sink, "Attempt to bind interrupt source pin %s to "
|
H A D | intpin.hh | 4 * Redistribution and use in source and binary forms, with or without 6 * met: redistributions of source code must retain the above copyright 42 IntSourcePinBase *source = nullptr; member in class:IntSinkPinBase
|
/gem5/site_scons/gem5_scons/ |
H A D | __init__.py | 11 # modified or unmodified, in source code or in binary form. 18 # Redistribution and use in source and binary forms, with or without 20 # met: redistributions of source code must retain the above copyright 77 def __call__(self, target, source, env, for_signature=None): 78 # truncate source list according to max_sources param 79 source = source[0:self.max_sources] 82 if len(source) > 0: 83 srcs = map(strip, source) 104 # source i [all...] |
/gem5/util/stats/ |
H A D | stats.py | 6 # Redistribution and use in source and binary forms, with or without 8 # met: redistributions of source code must retain the above copyright 102 source = db.Database() 103 source.host = options.host 104 source.db = options.db 105 source.passwd = options.passwd 106 source.user = options.user 107 source.connect() 108 #source.update_dict(globals()) 111 source [all...] |
/gem5/src/systemc/tests/systemc/kernel/sc_event/test02/ |
H A D | test02.cpp | 42 SC_MODULE( source ) 56 SC_CTOR( source ) 116 source src( "src" );
|
/gem5/src/cpu/testers/garnet_synthetic_traffic/ |
H A D | GarnetSyntheticTraffic.cc | 5 * Redistribution and use in source and binary forms, with or without 7 * met: redistributions of source code must retain the above copyright 192 int source = id; local 206 unsigned int straight = source; 207 unsigned int reverse = source & 1; // LSB 219 if (source%2 == 0) 220 destination = source/2; 221 else // (source%2 == 1) 222 destination = ((source/2) + (num_destinations/2)); 228 if (source < num_destination [all...] |
/gem5/src/mem/cache/ |
H A D | mshr.cc | 12 * modified or unmodified, in source code or in binary form. 18 * Redistribution and use in source and binary forms, with or without 20 * met: redistributions of source code must retain the above copyright 78 MSHR::TargetList::updateFlags(PacketPtr pkt, Target::Source source, argument 81 if (source != Target::FromSnoop) { 97 if (source != Target::FromPrefetcher) { 110 updateFlags(t.pkt, t.source, t.allocOnFill); 116 Counter order, Target::Source source, bool markPending, 119 updateFlags(pkt, source, alloc_on_fill); 134 emplace_back(pkt, readyTime, order, source, markPendin 115 add(PacketPtr pkt, Tick readyTime, Counter order, Target::Source source, bool markPending, bool alloc_on_fill) argument 273 Target::Source source = (target->cmd == MemCmd::HardPFReq) ? local [all...] |
H A D | mshr.hh | 12 * modified or unmodified, in source code or in binary form. 17 * Redistribution and use in source and binary forms, with or without 19 * met: redistributions of source code must retain the above copyright 136 const Source source; //!< Request from cpu, memory, or prefetcher? member in class:MSHR::Target 160 : QueueEntry::Target(_pkt, _readyTime, _order), source(_source), 181 * Use the provided packet and the source to update the 185 * @param source Indicates the source of the packet 188 void updateFlags(PacketPtr pkt, Target::Source source, 272 * @param source Indicate [all...] |
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_spawn_options.cpp | 63 sc_spawn_reset( bool async, const SOURCE& source, bool level ) argument 64 : sc_spawn_reset_base(async, level), m_source(source) 73 const SOURCE& m_source; // source of reset signal.
|
/gem5/src/python/m5/util/ |
H A D | grammar.py | 4 # Redistribution and use in source and binary forms, with or without 6 # met: redistributions of source code must retain the above copyright 96 def parse_string(self, data, source='<string>', debug=None, tracking=0): 104 self.lexers.append((lexer, source)) 118 source = f 121 source = f.name 126 return self.parse_string(f.read(), source, **kwargs)
|
/gem5/util/ |
H A D | on-chip-network-power-area.py | 4 # Redistribution and use in source and binary forms, with or without 6 # met: redistributions of source code must retain the above copyright 100 source = config.get(obj, "clk_domain") 102 return getClock(source, config) / divider 104 source = config.get(obj, "clk_domain") 105 return getClock(source, config)
|
/gem5/ext/ply/ply/ |
H A D | cpp.py | 131 self.source = None 338 self.error(self.source,tokenlist[0].lineno,"Missing '(' in macro arguments") 365 self.error(self.source,tokenlist[-1].lineno,"Missing ')' in macro arguments") 496 self.error(self.source,t.lineno,"Macro %s requires %d arguments" % (t.value,len(m.arglist))) 500 self.error(self.source,t.lineno,"Macro %s must have at least %d arguments" % (t.value, len(m.arglist)-1)) 502 self.error(self.source,t.lineno,"Macro %s must have at least %d argument" % (t.value, len(m.arglist)-1)) 559 self.error(self.source,tokens[i].lineno,"Malformed defined()") 585 self.error(self.source,tokens[0].lineno,"Couldn't evaluate expression") 594 def parsegen(self,input,source=None): 600 if not source [all...] |
/gem5/src/dev/sparc/ |
H A D | iob.hh | 5 * Redistribution and use in source and binary forms, with or without 7 * met: redistributions of source code must retain the above copyright 103 int source; member in struct:Iob::IntBusy 139 bool receiveJBusInterrupt(int cpu_id, int source, uint64_t d0,
|
H A D | iob.cc | 5 * Redistribution and use in source and binary forms, with or without 7 * met: redistributions of source code must retain the above copyright 156 jIntBusy[index].source; 162 jIntBusy[cpuid].source; 311 Iob::receiveJBusInterrupt(int cpu_id, int source, uint64_t d0, uint64_t d1) argument 319 source, cpu_id, jIntVec); 322 jIntBusy[cpu_id].source = source; 357 paramOut(cp, "source", jIntBusy[x].source); [all...] |
/gem5/tests/test-progs/gpu-hello/src/ |
H A D | gpu-hello.cpp | 7 * Redistribution and use in source and binary forms, with or without 10 * 1. Redistributions of source code must retain the above copyright notice, 179 const char *source = "dummy text"; local 181 size_t sourceSize[] = {strlen(source)}; 184 program = clCreateProgramWithSource(context, 1, &source, sourceSize,
|
/gem5/src/arch/arm/ |
H A D | faults.cc | 12 * modified or unmodified, in source code or in binary form. 18 * Redistribution and use in source and binary forms, with or without 20 * met: redistributions of source code must retain the above copyright 428 // Determine source exception level and mode 1073 if (source == ArmFault::AsynchronousExternalAbort) { 1076 // Get effective fault source encoding 1079 // source must be determined BEFORE invoking generic routines which will 1080 // try to set hsr etc. and are based upon source! 1094 DPRINTF(Faults, "Abort Fault source=%#x fsr=%#x faultAddr=%#x "\ 1095 "tranMethod=%#x\n", source, fs [all...] |
/gem5/src/cpu/o3/ |
H A D | rename_impl.hh | 13 * modified or unmodified, in source code or in binary form. 18 * Redistribution and use in source and binary forms, with or without 20 * met: redistributions of source code must retain the above copyright 576 FullSource source = ROB; local 580 source = IQ; 595 incrFullStat(source); 610 incrFullStat(source); 653 source = LQ; 654 incrFullStat(source); 662 source 1447 incrFullStat(const FullSource &source) argument [all...] |
/gem5/ext/mcpat/ |
H A D | xmlParser.cc | 55 * Redistribution and use of the "XMLParser library from Business-Insight" in source and binary forms, with or without 57 * * Redistributions of source code must retain the above copyright 813 XMLSTR ToXMLStringTool::toXMLUnSafe(XMLSTR dest, XMLCSTR source) { argument 817 while ((ch = *source)) { 823 source++; 829 *(dest++) = *(source++); 833 *(dest++) = *(source++); 835 *(dest++) = *(source++); 837 *(dest++) = *(source++); 839 *(dest++) = *(source 850 lengthXMLString(XMLCSTR source) argument 886 toXML(XMLCSTR source) argument [all...] |