Home
last modified time | relevance | path

Searched refs:current_line (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Lib/distutils/
Dtext_file.py107 self.current_line = 0 # assuming that file is at BOF!
121 self.current_line = 0
130 self.current_line = None
137 line = self.current_line
241 if isinstance(self.current_line, list):
242 self.current_line[1] = self.current_line[1] + 1
244 self.current_line = [self.current_line,
245 self.current_line+1]
252 if isinstance(self.current_line, list):
253 self.current_line = self.current_line[1] + 1
[all …]
/external/selinux/libselinux/src/
Dmatchmediacon.c20 char current_line[PATH_MAX]; in matchmediacon() local
24 if (!fgets_unlocked(current_line, sizeof(current_line), infile)) { in matchmediacon()
27 if (current_line[strlen(current_line) - 1]) in matchmediacon()
28 current_line[strlen(current_line) - 1] = 0; in matchmediacon()
30 ptr = current_line; in matchmediacon()
/external/e2fsprogs/ext2ed/
Dinit.c110 char current_line [500],current_word [50],*ch; in set_struct_descriptors() local
120 fgets (current_line,500,fp); in set_struct_descriptors()
122 ch=parse_word (current_line,current_word); in set_struct_descriptors()
127 while (strchr (current_line,'{')==NULL) { in set_struct_descriptors()
128 fgets (current_line,500,fp); in set_struct_descriptors()
133 fgets (current_line,500,fp); in set_struct_descriptors()
135 while (strchr (current_line,'}')==NULL) { in set_struct_descriptors()
136 while (strchr (current_line,';')==NULL) { in set_struct_descriptors()
137 fgets (current_line,500,fp); in set_struct_descriptors()
138 if (strchr (current_line,'}')!=NULL) break; in set_struct_descriptors()
[all …]
/external/autotest/client/site_tests/network_EthernetStressPlug/
Dnetwork_EthernetStressPlug.py425 current_line = line.strip().partition(':')
426 if current_line[1] == ':':
427 current_key = current_line[0]
433 speed = re.search('^\s*(\d*)', current_line[2])
441 self._ParseEthTool_LinkModes(current_line[2])
443 parameters[current_key] = current_line[2].strip()
448 self._ParseEthTool_LinkModes(current_line[0])
450 parameters[current_key]+=current_line[0].strip()
/external/toolchain-utils/crosperf/
Dexperiment_file.py182 self.current_line = None
188 return self._StripComment(self.current_line)
189 return self.current_line
194 self.current_line = self.file_object.readline()
/external/toolchain-utils/
Dremote_gcc_build.py95 current_line = 1
102 while current_line < len(my_info):
105 key = my_info[current_line].split(':')[0].strip()
106 value = my_info[current_line].split(':', 1)[1].strip()
108 current_line += 1
109 if 'Build' in key or current_line == len(my_info):
/external/v8/tools/release/
Dtest_search_related_commits.py247 for current_line in search_related_commits.main(options):
248 output.append(current_line)
Dsearch_related_commits.py217 for current_line in main(options):
218 print current_line
/external/ply/ply/ply/
Dcpp.py295 current_line = []
300 current_line.append(tok)
302 yield current_line
303 current_line = []
305 if current_line:
306 yield current_line
/external/fio/tools/plot/
Dfio2gnuplot171 current_line=[]
184 current_line.append(s);
192 for line in enumerate(current_line):
/external/compiler-rt/lib/asan/scripts/
Dasan_symbolize.py416 return [self.current_line]
434 self.current_line = line.rstrip()
440 return [self.current_line]
/external/autotest/site_utils/autoupdate/
Dfull_release_test_test.py25 for current_line in control_file.splitlines():
26 if current_line == line:
/external/python/cpython2/Tools/gdb/
Dlibpython.py924 def current_line(self): member in PyFrameObjectPtr
1402 line = pyop.current_line()
1420 line = pyop.current_line()
/external/python/cpython2/Lib/distutils/command/
Dsdist.py328 template.current_line,