/gem5/ext/googletest/googlemock/scripts/generator/cpp/ |
H A D | keywords.py | 36 TYPES = set('bool char int long short double float void wchar_t unsigned signed'.split()) 37 TYPE_MODIFIERS = set('auto register const inline extern static virtual volatile mutable'.split()) 38 ACCESS = set('public protected private friend'.split()) 40 CASTS = set('static_cast const_cast dynamic_cast reinterpret_cast'.split()) 42 OTHERS = set('true false asm class namespace using explicit this operator sizeof'.split()) 43 OTHER_TYPES = set('new delete typedef struct union enum typeid typename template'.split()) 45 CONTROL = set('case switch default if else return goto'.split()) 46 EXCEPTION = set('try catch throw'.split()) 47 LOOP = set('while do for break continue'.split())
|
/gem5/util/cpt_upgraders/ |
H A D | arm-gicv2-banked-regs.py | 44 cpuEnabled = cpt.get(sec, 'cpuEnabled' ).split() 46 intEnabled = cpt.get(sec, 'intEnabled' ).split() 47 pendingInt = cpt.get(sec, 'pendingInt' ).split() 48 activeInt = cpt.get(sec, 'activeInt' ).split() 49 intPriority = cpt.get(sec, 'intPriority').split() 50 cpuTarget = cpt.get(sec, 'cpuTarget' ).split() 68 b_intPriority = cpt.get(sec, '*bankedIntPriority').split()
|
H A D | process-fdmap-rename.py | 18 split = re.split(fde, rename) 25 if split[1] == "0": 27 seq = (split[0], fde, "%s" % x)
|
H A D | arm-contextidr-el2.py | 8 miscRegs = cpt.get(sec, 'miscRegs').split()
|
H A D | arm-miscreg-teehbr.py | 8 mr = cpt.get(sec, 'miscRegs').split()
|
H A D | remove-arm-cpsr-mode-miscreg.py | 8 mr = cpt.get(sec, 'miscRegs').split()
|
H A D | arm-ccregs.py | 17 intRegs = cpt.get(sec, 'intRegs').split()
|
H A D | arm-gem5-gic-ext.py | 70 value = cpt.get(sec, reg).split(" ")
|
H A D | memory-per-range.py | 20 system_name = str(sec).split('.')[0]
|
H A D | etherswitch.py | 6 opt_split = it[0].split('.')
|
H A D | arm-sve.py | 24 mr = cpt.get(sec, 'miscRegs').split()
|
H A D | arm-sysreg-mapping-ns.py | 43 mr = cpt.get(sec, 'miscRegs').split()
|
/gem5/ext/testlib/ |
H A D | state.py | 34 '''.split() 57 '''.split()
|
H A D | uid.py | 54 split_path = str(uid).split(cls.sep)[cls.path_idx] 59 return globals()[uid.split(cls.sep)[cls.type_idx]] 71 args = uid.split(cls.sep)
|
/gem5/src/python/m5/ |
H A D | options.py | 40 def __init__(self, split): 41 self.split = split 43 values = value.split(self.split) 74 # if action=split, but allows the option arguments 75 # themselves to be lists separated by the split variable''' 77 if kwargs.get('action', None) == 'append' and 'split' in kwargs: 78 split = kwargs.pop('split') [all...] |
/gem5/util/style/ |
H A D | repo.py | 142 old = self.file_from_head(self.repo_path(fname)).split("\n") 143 new = self.file_from_index(self.repo_path(fname)).split("\n") 151 old = self.file_from_head(self.repo_path(fname)).split("\n") 152 new = self.get_file(self.repo_path(fname)).split("\n") 193 return [ f.split("\t") for f in status.split("\n") ] 232 old = self.file_from_tip(fname).split("\n") 233 new = self.get_file(fname).split("\n") 240 return [ f.split(" ") for f in files.split("\ [all...] |
/gem5/util/ |
H A D | tracediff | 45 # - Arguments with '#' characters are split at those characters, 90 @subargs = split('#', $arg); 95 @pair = split('\|', $subarg, -1); # -1 enables null trailing fields
|
H A D | encode_inst_dep_trace.py | 151 inst_info_str, rob_dep_str, reg_dep_str = (line.strip()).split(':') 152 inst_info_list = inst_info_str.split(',') 184 rob_deps = rob_dep_str.strip().split(',') 186 # if the string is empty, split(',') returns 1 item: '' 187 # if the string is ",4", split(',') returns 2 items: '', '4' 192 reg_deps = reg_dep_str.split(',')
|
H A D | on-chip-network-power-area.py | 86 routers = config.get("system.ruby.network", "routers").split() 87 int_links = config.get("system.ruby.network", "int_links").split() 88 ext_links = config.get("system.ruby.network", "ext_links").split() 160 lines = string.split(subprocess.check_output(
|
/gem5/util/plot_dram/ |
H A D | lowp_dram_sweep_plot.py | 72 bank_util_list = args.bankutils.strip().split() 73 seqbyte_list = args.seqbytes.strip().split() 74 delays = args.delays.strip().split() 116 call(["open", texfile_s.split('.')[0] + '.pdf'])
|
/gem5/src/base/ |
H A D | bitunion.test.cc | 105 BitfieldType<SplitField> split; member in namespace:__anon104 141 Split split; member in class:BitUnionData 143 void SetUp() override { sixtyFour = 0; split = 0; } 249 EXPECT_EQ(split, 0); 250 split.split = 0xfff; 251 EXPECT_EQ(split, 0xf0f0); 252 EXPECT_EQ((uint64_t)split.split, 0xff);
|
/gem5/configs/example/ |
H A D | se.py | 80 workloads = options.cmd.split(';') 82 inputs = options.input.split(';') 84 outputs = options.output.split(';') 86 errouts = options.errout.split(';') 88 pargs = options.options.split(';') 101 process.cmd = [wrkld] + pargs[idx].split() 139 apps = options.bench.split("-")
|
/gem5/ext/googletest/googlemock/scripts/ |
H A D | upload_gmock.py | 63 cc_list = [addr for addr in cc_line.split(',') if addr]
|
/gem5/ext/googletest/googletest/scripts/ |
H A D | upload_gtest.py | 63 cc_list = [addr for addr in cc_line.split(',') if addr]
|
/gem5/util/maint/ |
H A D | show_changes_by_file.py | 58 path = [line.split('\t')[1] for line in raw.splitlines()] 82 return [l.split()[0] for l in raw.splitlines()]
|