Searched refs:strip (Results 1 - 25 of 31) sorted by relevance

12

/gem5/util/
H A Dfind_copyrights.py26 if line.strip():
41 if line.strip():
67 if line[:cpp_match.start()].strip():
80 if not line.strip():
92 if mode is None and line.strip():
100 dates = [ d.strip() for d in dates.split(',') ]
136 dates = dates.strip()
137 owner = owner.strip()
153 authors.append(match.group(1).strip())
158 line = lines[j].strip()
[all...]
H A Dencode_inst_dep_trace.py151 inst_info_str, rob_dep_str, reg_dep_str = (line.strip()).split(':')
184 rob_deps = rob_dep_str.strip().split(',')
H A Don-chip-network-power-area.py166 l4 = l3.strip().partition(" ")
H A Dgem5img.py97 return string.strip(out)
111 self.devFile = string.strip(out)
/gem5/site_scons/gem5_scons/
H A D__init__.py80 def strip(f): function in function:Transform.__call__
83 srcs = map(strip, source)
86 tgts = map(strip, target)
/gem5/util/plot_dram/
H A Dlowp_dram_sweep_plot.py72 bank_util_list = args.bankutils.strip().split()
73 seqbyte_list = args.seqbytes.strip().split()
74 delays = args.delays.strip().split()
H A DPlotPowerStates.py155 if len(line.strip()) == 0:
161 line = line.strip()
171 elif line.strip().split()[0] in StatToKey.keys():
174 statistic, e_val = line.strip().split()[0:2]
183 line = line.strip() # remove leading and trailing white spaces
/gem5/ext/googletest/googletest/scripts/
H A Dcommon.py50 lines = [line.strip() for line in f.readlines()]
H A Dpump.py496 elif not next.value.strip():
658 identifier = node.identifier.value.strip()
664 identifier = node.identifier.value.strip()
669 identifier = node.identifier.value.strip()
727 comment = line[loc + 2:].strip()
734 if cur_line.strip() != '':
737 if cur_line.strip() != '':
738 output.append(prefix + cur_line.strip())
748 segs = [seg for seg in re.split(r'([^,;]+[,;]?)', line.strip()) if seg != '']
752 while cur_line == '' and len(seg.strip()) > max_le
[all...]
H A Dupload.py79 last_email = last_email_file.readline().strip("\n")
84 email = raw_input(prompt + ": ").strip()
563 print line.strip("\n")
621 answer = raw_input(prompt).strip()
656 filename = filename.strip().replace('\\', '/')
1056 self.base_rev = RunShell(["hg", "parent", "-q"]).split(':')[1].strip()
1113 # HACK: strip error message about missing file/directory if it isn't in
1120 oldrelpath = out[1].strip()
1158 new_filename = new_filename.strip()
1164 temp_filename = temp_filename.strip()
[all...]
H A Dfuse_gtest_files.py127 answer = sys.stdin.readline().strip()
/gem5/util/maint/
H A Dshow_changes_by_file.py62 direc = subprocess.check_output(["dirname", p]).strip() + "/"
63 filename = subprocess.check_output(["basename", p]).strip()
/gem5/site_scons/site_tools/
H A Dgit.py56 ["git", "rev-parse", "--git-dir"]).strip("\n"))
/gem5/ext/pybind11/tests/
H A Dconftest.py38 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("###")]
137 s = s.strip()
/gem5/ext/googletest/googlemock/scripts/
H A Dupload.py79 last_email = last_email_file.readline().strip("\n")
84 email = raw_input(prompt + ": ").strip()
563 print line.strip("\n")
621 answer = raw_input(prompt).strip()
656 filename = filename.strip().replace('\\', '/')
1056 self.base_rev = RunShell(["hg", "parent", "-q"]).split(':')[1].strip()
1113 # HACK: strip error message about missing file/directory if it isn't in
1120 oldrelpath = out[1].strip()
1158 new_filename = new_filename.strip()
1164 temp_filename = temp_filename.strip()
[all...]
H A Dgmock_doctor.py604 msg = sys.stdin.read().strip()
/gem5/ext/googletest/googletest/test/
H A Dgtest_shuffle_test.py104 elif line.strip():
105 tests.append(line.strip()) # 'TestCaseName.TestName'
/gem5/util/batch/
H A Dsend.py230 jobid = int(jobid.strip().split('.')[0])
232 jobname = jobname.strip()
H A Djob.py114 value = f.readline().strip()
/gem5/util/pbs/
H A Dsend.py231 jobid = int(jobid.strip().split('.')[0])
233 jobname = jobname.strip()
H A Djob.py116 value = f.readline().strip()
/gem5/ext/pybind11/tools/
H A Dmkdoc.py89 s = s.strip()
178 result += x.strip()
181 wrapped = wrapper.fill(re.sub(r'\s+', ' ', y).strip())
/gem5/configs/dram/
H A Dlow_power_sweep.py170 itt_max_str = args.itt_list.strip().split()
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class.py89 if source[first_param.start:first_param.end].strip() == 'void':
101 # present, we choose to strip them and comments (and produce
/gem5/util/style/
H A Dsort_includes.py260 elif processing_includes and not line.strip():

Completed in 44 milliseconds

12