Home
last modified time | relevance | path

Searched refs:line (Results 1 - 25 of 241) sorted by relevance

12345678910

/arkcompiler/runtime_core/static_core/disassembler/tests/
H A Dlabels_test.cpp135 static void CheckTest2(std::stringstream &g, std::string &line) in CheckTest2() argument
137 std::getline(g, line); in CheckTest2()
138 EXPECT_EQ("jump_label_0:", line); in CheckTest2()
139 std::getline(g, line); in CheckTest2()
140 EXPECT_EQ("\tmovi v0, 0x0", line); in CheckTest2()
141 std::getline(g, line); in CheckTest2()
142 EXPECT_EQ("jump_label_2:", line); in CheckTest2()
143 std::getline(g, line); in CheckTest2()
144 EXPECT_EQ("\tmovi v0, 0x1", line); in CheckTest2()
145 std::getline(g, line); in CheckTest2()
200 std::string line; TEST() local
221 std::string line; TEST() local
[all...]
H A Dinstructions_test.cpp158 static void CheckTestCalls(std::stringstream &g, std::string &line) in CheckTestCalls() argument
160 std::getline(g, line); in CheckTestCalls()
161 EXPECT_EQ("\tcall.virt.range B.Bhandler_range:(B,i8,i16,i32,i8,i16,i32), v4", line); in CheckTestCalls()
162 std::getline(g, line); in CheckTestCalls()
163 EXPECT_EQ("\tcall.short handler_unspec:()", line); in CheckTestCalls()
164 std::getline(g, line); in CheckTestCalls()
165 EXPECT_EQ("\tcall.short handler_short:(u1), v1", line); in CheckTestCalls()
166 std::getline(g, line); in CheckTestCalls()
167 EXPECT_EQ("\tcall.short handler_short2:(u1,i64), v1, v2", line); in CheckTestCalls()
168 std::getline(g, line); in CheckTestCalls()
223 std::string line; TEST() local
253 std::string line; TEST() local
310 std::string line; TEST() local
[all...]
H A Drecords_test.cpp51 std::string line; in TEST() local
52 std::getline(ss, line); in TEST()
53 EXPECT_EQ(".language PandaAssembly", line); in TEST()
54 std::getline(ss, line); in TEST()
55 std::getline(ss, line); in TEST()
56 EXPECT_EQ(".record A {", line); in TEST()
57 std::getline(ss, line); in TEST()
58 EXPECT_EQ("}", line); in TEST()
93 std::string line; in TEST() local
94 std::getline(ss, line); in TEST()
150 std::string line; TEST() local
[all...]
H A Dfunctions_test.cpp51 std::string line; in TEST() local
52 std::getline(ss, line); in TEST()
53 ASSERT_EQ(line, ".language PandaAssembly"); in TEST()
54 std::getline(ss, line); in TEST()
55 ASSERT_EQ(line, ""); in TEST()
56 std::getline(ss, line); in TEST()
57 ASSERT_EQ(line, ".function void A(i32 a0) <static> {"); in TEST()
58 std::getline(ss, line); in TEST()
59 ASSERT_EQ(line, "}"); in TEST()
89 std::string line; in TEST() local
144 std::string line; TEST() local
[all...]
H A Dliterals_test.cpp130 std::string line; in TEST() local
132 std::getline(arr, line); in TEST()
133 EXPECT_EQ("\tu1 1", line); in TEST()
134 std::getline(arr, line); in TEST()
135 EXPECT_EQ("\ti32 2", line); in TEST()
136 std::getline(arr, line); in TEST()
137 EXPECT_EQ("\ti32 -30", line); in TEST()
138 std::getline(arr, line); in TEST()
139 EXPECT_EQ("\ti32 400", line); in TEST()
140 std::getline(arr, line); in TEST()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
H A Dmerge_markdown.py26 for line in ind:
27 line = line.strip()
28 if line.startswith("/"):
29 names.append(line[1:])
39 for line in chapter_file:
41 line = line.replace("`a | b`", "`a \| b`")
42 line = line
[all...]
H A Dvalidate-recipes200 my $line = <$fh>;
201 chomp $line;
202 die "Invalid license message: got \'$line\', but expected \'$_\'" unless $line eq $_;
227 while (my $line = <$FH_r>) {
228 chomp $line;
231 die 'Line cannot consist of only white spaces' if $line =~ /^\s+$/;
232 die 'Line cannot have trailing white spaces' if $line =~ /\s+$/;
233 die 'Line cannot contain \t, change to four spaces' if $line =~ /\t/;
234 die 'Line cannot contain FIXME' if $line
[all...]
H A Dvalidate_spec.py36 for line in file:
37 if on_file_list and not re.fullmatch(re_empty_str, line) and not re.fullmatch(re_service_line, line):
38 file_name = line.replace(" ", "").replace("\n", "")
41 if(line == toctree_str):
57 for line in spec_file:
58 if(on_meta_flag and re.fullmatch(re_base_meta_line, line)):
60 if re.fullmatch(re_status_meta_line, line):
63 if re.fullmatch(re_todo_meta_line, line):
67 print("".join(["line
[all...]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/
H A Dhprof_test.cpp141 std::string line; in ContrastJSONLineHeader() local
143 while (getline(inputStream, line)) { in ContrastJSONLineHeader()
144 if (line.find(lineHeader) != line.npos) { in ContrastJSONLineHeader()
153 std::string line; in ContrastJSONSectionPayload() local
156 while (getline(inputStream, line)) { in ContrastJSONSectionPayload()
157 if (i > 10 && line.find(dataLable) != line.npos) { // 10 : Hit the line in ContrastJSONSectionPayload()
160 while ((pos = line in ContrastJSONSectionPayload()
174 std::string line; ContrastJSONPayloadCntAndHitStrField() local
197 std::string line; ContrastJSONNativeSizeNum() local
240 std::string line; ContrastJSONClousure() local
250 std::string line; ExtractCountFromMeta() local
267 std::string line; ExtractCountFromPayload() local
[all...]
/arkcompiler/runtime_core/static_core/irtoc/lang/
H A Doutput.rb27 def self.write(line)
28 @@file.write line
31 def self.println(line)
33 @@file.puts line
36 def self.puts(line = '')
37 println(line)
40 def self.<<(line)
41 println(line)
45 def self.printlni(line)
46 println line
[all...]
/arkcompiler/ets_frontend/ets2panda/scripts/
H A Des2panda_pre_test.py35 for line in log_lines:
37 if any(word in line for word in searched_words):
41 if end_word and end_word in line:
45 print(line.strip())
53 def print_progress_to_console(line, test_type, pattern_progress_bar, pattern_clang_tidy, pattern_clang_format):
56 match = pattern_progress_bar.search(line)
58 print(line, end='')
60 match = re.match(pattern_clang_tidy, line)
64 match = re.match(pattern_clang_format, line)
77 for line i
[all...]
/arkcompiler/runtime_core/compiler/tools/
H A Ddraw_cfg.py83 def begin_block(self, line: str):
86 preds_start = line.find('preds:')
87 block_id = int(line[len('BB'):preds_start].strip())
90 self.parse_block_preds(line, preds_start)
92 def begin_function(self, line: str):
94 self.method = line[len('method:'):].strip()
96 def parse_block_preds(self, line: str, preds_start: int):
97 preds = line[preds_start+len('preds:'):].strip().strip('[]')
102 def parse_block_props(self, line: str):
103 for s in line[le
[all...]
/arkcompiler/toolchain/build/toolchain/mac/
H A Dfilter_libtool.py24 def is_blocklisted_line(line):
25 """Returns whether the line should be filtered out."""
27 if isinstance(line, bytes):
28 line = line.decode()
29 if pattern.match(line):
41 for line in err.splitlines():
42 if not is_blocklisted_line(line):
43 print(line, file=sys.stderr)
44 # Unconditionally touch the output .a file on the command line i
[all...]
/arkcompiler/ets_runtime/ecmascript/extractortool/tests/
H A Dsource_map_test.cpp180 void GetPosInfo(const std::string &temp, int32_t start, std::string &line, std::string &column) in GetPosInfo() argument
182 sourceMap.GetPosInfo(temp, start, line, column); in GetPosInfo()
195 bool TranslateUrlPositionBySourceMap(std::string &url, int &line, int &column) in TranslateUrlPositionBySourceMap() argument
197 return sourceMap.TranslateUrlPositionBySourceMap(url, line, column); in TranslateUrlPositionBySourceMap()
200 bool GetLineAndColumnNumbers(int &line, int &column, SourceMapData &targetMap, bool& isReplaces) in GetLineAndColumnNumbers() argument
202 return sourceMap.GetLineAndColumnNumbers(line, column, targetMap, isReplaces); in GetLineAndColumnNumbers()
257 int line = 10, column = 5; in HWTEST_F_L0() local
260 EXPECT_FALSE(sourceMap.TranslateUrlPositionBySourceMap(url, line, column)); in HWTEST_F_L0()
266 EXPECT_FALSE(sourceMap.TranslateUrlPositionBySourceMap(url, line, column)); in HWTEST_F_L0()
271 EXPECT_FALSE(sourceMap.TranslateUrlPositionBySourceMap(url, line, colum in HWTEST_F_L0()
442 std::string line, column; HWTEST_F_L0() local
498 int line = 1; HWTEST_F_L0() local
[all...]
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
H A DeveryChildInParentRange.cpp30 if (ast->Start().line > node->Start().line || ast->End().line < node->End().line) { in operator ()()
33 if (ast->Start().line == node->Start().line && ast->Start().index > node->Start().index) { in operator ()()
36 if (ast->End().line == node->End().line && ast->End().index < node->End().index) { in operator ()()
/arkcompiler/ets_runtime/test/aottest/exception_case6/
H A Dexception_case6.js26 for (let line of array) {
27 let start = line.lastIndexOf('/') + 1
28 let end = line.length - 1
30 print(line.slice(start, end))
32 print(line)
/arkcompiler/ets_runtime/test/aottest/exception_case4/
H A Dexception_case4.js25 for (let line of array) {
26 let start = line.lastIndexOf('/') + 1
27 let end = line.length - 1
29 print(line.slice(start, end))
31 print(line)
/arkcompiler/ets_runtime/test/aottest/exception_case10/
H A Dexception_case10.js28 for (let line of array) {
29 let start = line.lastIndexOf('/') + 1
30 let end = line.length - 1
32 print(line.slice(start, end))
34 print(line)
/arkcompiler/ets_runtime/test/aottest/exception_case1/
H A Dexception_case1.js25 for (let line of array) {
26 let start = line.lastIndexOf('/') + 1
27 let end = line.length - 1
29 print(line.slice(start, end))
31 print(line)
/arkcompiler/ets_runtime/test/aottest/exception_case8/
H A Dexception_case8.js29 for (let line of array) {
30 let start = line.lastIndexOf('/') + 1
31 let end = line.length - 1
33 print(line.slice(start, end))
35 print(line)
/arkcompiler/ets_runtime/test/aottest/exception_case7/
H A Dexception_case7.js28 for (let line of array) {
29 let start = line.lastIndexOf('/') + 1
30 let end = line.length - 1
32 print(line.slice(start, end))
34 print(line)
/arkcompiler/ets_runtime/test/aottest/exception_case9/
H A Dexception_case9.js31 for (let line of array) {
32 let start = line.lastIndexOf('/') + 1
33 let end = line.length - 1
35 print(line.slice(start, end))
37 print(line)
/arkcompiler/ets_runtime/test/aottest/exception_case3/
H A Dexception_case3.js25 for (let line of array) {
26 let start = line.lastIndexOf('/') + 1
27 let end = line.length - 1
29 print(line.slice(start, end))
31 print(line)
/arkcompiler/ets_runtime/test/aottest/exception_case2/
H A Dexception_case2.js25 for (let line of array) {
26 let start = line.lastIndexOf('/') + 1
27 let end = line.length - 1
29 print(line.slice(start, end))
31 print(line)
/arkcompiler/ets_frontend/ets2panda/lexer/token/
H A DsourceLocation.cpp74 size_t line = pos.line; variable
79 if (line > entries_.size()) {
80 return SourceLocation(line + 1, col + 1);
83 if (line == entries_.size()) {
84 --line;
87 const auto &entry = entries_[line];
100 return SourceLocation(line + 1, col + 1);

Completed in 6 milliseconds

12345678910