Home
last modified time | relevance | path

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

12

/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/python/cpython3/Lib/distutils/
Dtext_file.py104 self.current_line = 0 # assuming that file is at BOF!
116 self.current_line = 0
124 self.current_line = None
130 line = self.current_line
230 if isinstance(self.current_line, list):
231 self.current_line[1] = self.current_line[1] + 1
233 self.current_line = [self.current_line,
234 self.current_line + 1]
241 if isinstance(self.current_line, list):
242 self.current_line = self.current_line[1] + 1
[all …]
/external/tensorflow/tensorflow/lite/testing/
Dparse_testdata.cc38 #define PARSE_CHECK_EQ(filename, current_line, x, y) \ argument
41 __FILE__, __LINE__, filename, current_line + 1, #x, #y); \
92 int current_line = 0; in ParseExamples() local
93 PARSE_CHECK_EQ(filename, current_line, csv[0][0], "test_cases"); in ParseExamples()
95 current_line++; in ParseExamples()
97 auto parse_tensor = [&filename, &current_line, in ParseExamples()
99 PARSE_CHECK_EQ(filename, current_line, csv[current_line][0], "dtype"); in ParseExamples()
100 current_line++; in ParseExamples()
102 PARSE_CHECK_EQ(filename, current_line, csv[current_line][0], "shape"); in ParseExamples()
106 for (size_t i = 1; i < csv[current_line].size(); i++) { in ParseExamples()
[all …]
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dparse_testdata.cc41 #define PARSE_CHECK_EQ(filename, current_line, x, y) \ argument
44 __FILE__, __LINE__, filename, current_line + 1, #x, #y); \
95 int current_line = 0; in ParseExamples() local
96 PARSE_CHECK_EQ(filename, current_line, csv[0][0], "test_cases"); in ParseExamples()
98 current_line++; in ParseExamples()
100 auto parse_tensor = [&filename, &current_line, in ParseExamples()
102 PARSE_CHECK_EQ(filename, current_line, csv[current_line][0], "dtype"); in ParseExamples()
103 current_line++; in ParseExamples()
105 PARSE_CHECK_EQ(filename, current_line, csv[current_line][0], "shape"); in ParseExamples()
109 for (size_t i = 1; i < csv[current_line].size(); i++) { in ParseExamples()
[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/llvm-project/lldb/test/API/functionalities/thread/exit_during_step/
DTestExitDuringStep.py93 current_line = self.breakpoint
96 current_line,
101 while current_line != self.continuepoint:
112 current_line = frame.GetLineEntry().GetLine()
114 if by_instruction and current_line == 0:
118 current_line,
121 str(current_line))
123 current_line,
126 str(current_line))
/external/vulkan-validation-layers/scripts/
Dcheck_commit_message_format.sh47 current_line=0
53 current_line=$((current_line+1))
55 current_line=0
58 if [ $current_line -eq 1 ]; then
88 elif [ $current_line -eq 2 ]; then
/external/llvm-project/lldb/test/API/functionalities/thread/create_during_step/
DTestCreateDuringStep.py116 current_line = self.breakpoint
118 while current_line != self.continuepoint:
125 current_line = frame.GetLineEntry().GetLine()
129 current_line >= self.breakpoint,
131 str(current_line))
133 current_line <= self.continuepoint,
135 str(current_line))
/external/llvm-project/lldb/source/API/
DSBCommandInterpreter.cpp234 const char *current_line, const char *cursor, const char *last_char, in HandleCompletion() argument
239 current_line, cursor, last_char, match_start_point, in HandleCompletion()
244 current_line, cursor, last_char, match_start_point, max_return_elements, in HandleCompletion()
249 const char *current_line, const char *cursor, const char *last_char, in HandleCompletionWithDescriptions() argument
256 current_line, cursor, last_char, match_start_point, in HandleCompletionWithDescriptions()
261 if (current_line == nullptr || cursor == nullptr || last_char == nullptr) in HandleCompletionWithDescriptions()
264 if (cursor < current_line || last_char < current_line) in HandleCompletionWithDescriptions()
267 size_t current_line_size = strlen(current_line); in HandleCompletionWithDescriptions()
268 if (cursor - current_line > static_cast<ptrdiff_t>(current_line_size) || in HandleCompletionWithDescriptions()
269 last_char - current_line > static_cast<ptrdiff_t>(current_line_size)) in HandleCompletionWithDescriptions()
[all …]
/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/python/cpython3/Lib/email/
Dcharset.py336 current_line = []
339 current_line.append(character)
340 this_line = EMPTYSTRING.join(current_line)
344 current_line.pop()
346 if not lines and not current_line:
350 joined_line = EMPTYSTRING.join(current_line)
353 current_line = [character]
355 joined_line = EMPTYSTRING.join(current_line)
/external/autotest/client/site_tests/network_EthernetStressPlug/
Dnetwork_EthernetStressPlug.py424 current_line = line.strip().partition(':')
425 if current_line[1] == ':':
426 current_key = current_line[0]
432 speed = re.search('^\s*(\d*)', current_line[2])
440 self._ParseEthTool_LinkModes(current_line[2])
442 parameters[current_key] = current_line[2].strip()
447 self._ParseEthTool_LinkModes(current_line[0])
449 parameters[current_key]+=current_line[0].strip()
/external/llvm-project/lldb/include/lldb/API/
DSBCommandInterpreter.h186 int HandleCompletion(const char *current_line, const char *cursor,
190 int HandleCompletion(const char *current_line, uint32_t cursor_pos,
197 const char *current_line, const char *cursor, const char *last_char,
201 int HandleCompletionWithDescriptions(const char *current_line,
/external/llvm-project/lldb/test/API/lang/c/stepping/
DTestStepAndBreakpoints.py106 current_line = frame.GetLineEntry().GetLine()
119 current_line == frame.GetLineEntry().GetLine(),
150 current_line == frame.GetLineEntry().GetLine(),
182 current_line = frame.GetLineEntry().GetLine()
215 0).GetLineEntry().GetLine() == current_line)
/external/toolchain-utils/crosperf/
Dexperiment_file.py197 self.current_line = None
203 return self._StripComment(self.current_line)
204 return self.current_line
209 self.current_line = self.file_object.readline()
/external/llvm-project/lldb/bindings/interface/
DSBCommandInterpreter.i151 HandleCompletion (const char *current_line,
158 HandleCompletionWithDescriptions (const char *current_line,
/external/llvm-project/lldb/test/API/commands/watchpoints/step_over_watchpoint/
DTestStepOverWatchpoint.py105 current_line = self.frame().GetLineEntry().GetLine()
106 while self.frame().GetLineEntry().GetLine() == 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/python/pycparser/pycparser/ply/
Dcpp.py293 current_line = []
298 current_line.append(tok)
300 yield current_line
301 current_line = []
303 if current_line:
304 yield 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/deqp-deps/amber/src/vkscript/
Dcommand_parser.h42 size_t current_line,
/external/python/cpython2/Tools/gdb/
Dlibpython.py931 def current_line(self): member in PyFrameObjectPtr
1472 line = pyop.current_line()
1490 line = pyop.current_line()
/external/python/cpython2/Lib/distutils/command/
Dsdist.py328 template.current_line,
/external/python/cpython3/Lib/distutils/command/
Dsdist.py348 template.current_line,
/external/python/cpython3/Tools/gdb/
Dlibpython.py950 def current_line(self): member in PyFrameObjectPtr
1677 line = pyop.current_line()
1695 line = pyop.current_line()

12