Home
last modified time | relevance | path

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

/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/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/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/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/vulkan-validation-layers/scripts/
Dcheck_commit_message_format.sh46 current_line=0
52 current_line=$((current_line+1))
54 current_line=0
57 if [ $current_line -eq 1 ]; then
79 elif [ $current_line -eq 2 ]; then
/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.py338 current_line = []
341 current_line.append(character)
342 this_line = EMPTYSTRING.join(current_line)
346 current_line.pop()
348 if not lines and not current_line:
352 joined_line = EMPTYSTRING.join(current_line)
355 current_line = [character]
357 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/toolchain-utils/crosperf/
Dexperiment_file.py179 self.current_line = None
185 return self._StripComment(self.current_line)
186 return self.current_line
191 self.current_line = self.file_object.readline()
/external/toolchain-utils/
Dremote_gcc_build.py96 current_line = 1
103 while current_line < len(my_info):
106 key = my_info[current_line].split(':')[0].strip()
107 value = my_info[current_line].split(':', 1)[1].strip()
109 current_line += 1
110 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/compiler-rt/lib/asan/scripts/
Dasan_symbolize.py416 return [self.current_line]
434 self.current_line = line.rstrip()
440 return [self.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.py948 def current_line(self): member in PyFrameObjectPtr
1675 line = pyop.current_line()
1693 line = pyop.current_line()