Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/
DFtraceLineTest.kt32 line -> in <lambda>() method
33 assertEquals("atrace", line.task) in <lambda>()
34 assertEquals(7100, line.pid) in <lambda>()
35 assertEquals(7100, line.tgid) in <lambda>()
36 assertEquals(1, line.cpu) in <lambda>()
37 assertEquals(4492.047432, line.timestamp, .1) in <lambda>()
38 assertEquals("sched_switch", line.function.toString()) in <lambda>()
40 " next_pid=0 next_prio=120", line.functionDetailsReader.stringTo { end() }) in <lambda>()
48 line -> in <lambda>() method
49 assertNull(line.task) in <lambda>()
[all …]
/tools/test/connectivity/acts/tests/google/bt/pts/
Dcmd_input.py78 def do_EOF(self, line): argument
82 def do_reset_mac_address(self, line): argument
93 def do_gattc_socket_conn_begin_connect_thread_psm(self, line): argument
96 self.pri_dut.gattc.socket_conn_begin_connect_thread_psm(line)
100 def do_gattc_socket_conn_begin_accept_thread_psm(self, line): argument
103 self.pri_dut.gattc.socket_conn_begin_accept_thread_psm(line)
107 def do_gattc_request_le_connection_parameters(self, line): argument
114 def do_gattc_connect_over_le(self, line): argument
119 if line:
120 autoconnect = bool(line)
[all …]
/tools/repohooks/tools/
Dcheckpatch.pl168 my $line = $_;
170 $line =~ s/\s*\n?$//g;
171 $line =~ s/^\s*//g;
172 $line =~ s/\s+/ /g;
174 next if ($line =~ m/^\s*#/);
175 next if ($line =~ m/^\s*$/);
177 my @words = split(" ", $line);
650 my $line = $_;
652 $line =~ s/\s*\n?$//g;
653 $line =~ s/^\s*//g;
[all …]
Dcpplint.py625 for line in lines:
626 if _SEARCH_C_FILE.search(line):
629 if _SEARCH_KERNEL_FILE.search(line):
1272 def IsCppString(line): argument
1285 line = line.replace(r'\\', 'XX') # after this, \\" does not match to \"
1286 return ((line.count('"') - line.count(r'\"') - line.count("'\"'")) & 1) == 1
1311 for line in raw_lines:
1314 end = line.find(delimiter)
1319 leading_space = Match(r'^(\s*)\S', line)
1320 line = leading_space.group(1) + '""' + line[end + len(delimiter):]
[all …]
/tools/dexter/testdata/expected/
Dmedium.asm13 .line 178
15 .line 178
17 .line 1
25 .line 180
27 .line 180
37 .line 179
39 .line 179
49 .line 184
51 .line 184
60 .line 183
[all …]
Dmedium.wrap_invoke13 .line 178
15 .line 178
17 .line 1
25 .line 180
27 .line 180
37 .line 179
39 .line 179
49 .line 184
51 .line 184
60 .line 183
[all …]
Dmedium.rewrite13 .line 178
15 .line 178
17 .line 1
25 .line 180
27 .line 180
37 .line 179
39 .line 179
49 .line 184
51 .line 184
60 .line 183
[all …]
Dmedium.exit_hook13 .line 178
15 .line 178
17 .line 1
26 .line 180
28 .line 180
40 .line 179
42 .line 179
54 .line 184
56 .line 184
67 .line 183
[all …]
Dmedium.scratch_regs13 .line 178
18 .line 178
20 .line 1
28 .line 180
36 .line 180
46 .line 179
54 .line 179
64 .line 184
72 .line 184
81 .line 183
[all …]
Dmedium.entry_hook13 .line 178
15 .line 178
18 .line 1
26 .line 180
28 .line 180
39 .line 179
41 .line 179
52 .line 184
54 .line 184
64 .line 183
[all …]
Dmedium.compact_cfg14 .line 178
16 .line 178
18 .line 1
28 .line 180
30 .line 180
42 .line 179
44 .line 179
56 .line 184
58 .line 184
69 .line 183
[all …]
Dexit_hooks.asm5 .line 28
7 .line 28
19 .line 32
21 .line 32
27 .line 33
29 .line 34
33 .line 35
40 .line 39
42 .line 39
49 .line 40
[all …]
Dexit_hooks.rewrite5 .line 28
7 .line 28
19 .line 32
21 .line 32
27 .line 33
29 .line 34
33 .line 35
40 .line 39
42 .line 39
49 .line 40
[all …]
Dtry_catch.asm5 .line 2
7 .line 2
18 .line 6
20 .line 6
31 .line 10
33 .line 10
45 .line 27
47 .line 27
52 .line 28
55 .line 31
[all …]
Dentry_hooks.asm5 .line 27
7 .line 27
19 .line 31
21 .line 31
48 .line 32
58 .line 36
60 .line 36
72 .line 40
74 .line 40
101 .line 41
[all …]
Dexit_hooks.scratch_regs5 .line 28
10 .line 28
22 .line 32
27 .line 32
33 .line 33
35 .line 34
39 .line 35
46 .line 39
48 .line 39
55 .line 40
[all …]
Dexit_hooks.compact_cfg6 .line 28
8 .line 28
22 .line 32
24 .line 32
30 .line 33
32 .line 34
36 .line 35
45 .line 39
47 .line 39
54 .line 40
[all …]
Dexit_hooks.exit_hook5 .line 28
7 .line 28
20 .line 32
22 .line 32
28 .line 33
30 .line 34
34 .line 35
42 .line 39
44 .line 39
51 .line 40
[all …]
Dtry_catch.rewrite5 .line 2
7 .line 2
18 .line 6
20 .line 6
31 .line 10
33 .line 10
45 .line 27
47 .line 27
52 .line 28
55 .line 31
[all …]
/tools/loganalysis/src/com/android/loganalysis/parser/
DMonkeyLogParser.java105 String line; in parse() local
106 while ((line = input.readLine()) != null) { in parse()
107 parseLine(line); in parse()
120 for (String line : lines) { in parse()
121 parseLine(line); in parse()
130 private void parseLine(String line) { in parseLine() argument
134 if ("".equals(line)) { in parseLine()
138 m = MONKEY_LOG_MESSAGE.matcher(line); in parseLine()
140 mBlock.add(line); in parseLine()
147 if (!mMatchingJavaCrash && !mMatchingNativeCrash && line.startsWith("// Short Msg: ")) { in parseLine()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DPythonUnitTestResultParser.java221 for (String line : lines) { in processNewLines()
222 parse(line); in processNewLines()
235 void parse(String line) throws PythonUnitTestParseException { in parse() argument
238 processTestCase(line); in parse()
241 processTraceback(line); in parse()
244 processRunSummary(line); in parse()
247 processFailMessage(line); in parse()
255 void processTestCase(String line) throws PythonUnitTestParseException { in processTestCase() argument
257 mCurrentTestCaseString = mCurrentTestCaseString + "\n" + line; in processTestCase()
258 line = mCurrentTestCaseString; in processTestCase()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileParser.java205 private static boolean isLineMacro(CommandLine line) { in isLineMacro() argument
206 return line.size() >= 4 && "MACRO".equals(line.get(0)) && "=".equals(line.get(2)); in isLineMacro()
215 private static boolean isLineLongMacro(CommandLine line) { in isLineLongMacro() argument
216 return line.size() == 3 && "LONG".equals(line.get(0)) && "MACRO".equals(line.get(1)); in isLineLongMacro()
224 private static boolean isLineIncludeDirective(CommandLine line) { in isLineIncludeDirective() argument
225 return line.size() == 2 && "INCLUDE".equals(line.get(0)); in isLineIncludeDirective()
235 private static boolean shouldParseLine(String line) { in shouldParseLine() argument
236 line = line.trim(); in shouldParseLine()
237 return !(line.isEmpty() || line.startsWith("#")); in shouldParseLine()
305 CommandLine line = new CommandLine(Arrays.asList( in scanFile() local
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dgattc_lib.py114 def read_char_by_uuid(self, line): argument
116 uuid = line
117 if len(line) == 4:
118 uuid = self.generic_uuid.format(line)
154 def write_char_by_instance_id(self, line): argument
156 args = line.split()
170 def write_char_by_instance_id_value(self, line): argument
172 args = line.split()
183 def mod_write_char_by_instance_id(self, line): argument
185 args = line.split()
[all …]
/tools/test/connectivity/acts/tests/google/fuchsia/bt/
Dcmd_input.py84 def do_EOF(self, line): argument
162 def do_tool_refresh_unique_id(self, line): argument
175 def do_tool_refresh_unique_id_using_bt_control(self, line): argument
188 def do_tool_set_target_device_name(self, line): argument
197 self.log.info("Setting target_device_name to: {}".format(line))
198 self.target_device_name = line
201 def do_ble_start_generic_connectable_advertisement(self, line): argument
214 def do_ble_start_generic_nonconnectable_advertisement(self, line): argument
227 def do_ble_stop_advertisement(self, line): argument
240 def complete_gattc_connect_by_id(self, text, line, begidx, endidx): argument
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py109 for line in result.splitlines():
110 match = re.search(DEVICE_REGEX, line)
287 for line in res:
288 if isinstance(line, dict):
289 if 'COMMANDER_RECV_COMMAND' in line.values():
291 elif 'COMMANDER_REJECT_COMMAND' in line.values():
295 elif 'COMMANDER_FINISH_COMMAND' in line.values():
300 result.append(line)
303 if 'running cmd' not in line:
304 result.append(line)
[all …]

12345678910>>...12