Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 150) sorted by relevance

123456

/arkcompiler/runtime_core/compiler/optimizer/ir/
Ddump.cpp57 void PrintIfValidLocation(Location location, Arch arch, std::ostream *out, bool with_brackets = fal… in PrintIfValidLocation() argument
62 (*out) << "(" << string << ")"; in PrintIfValidLocation()
64 (*out) << string << " "; in PrintIfValidLocation()
91 void DumpUsers(const Inst *inst, std::ostream *out) in DumpUsers() argument
96 PrintIfValidLocation(inst->GetDstLocation(), arch, out); in DumpUsers()
101 (*out) << (fl_first ? "(" : ", ") << InstId(user, allocator); in DumpUsers()
107 (*out) << ')'; in DumpUsers()
153 void BBDependence(const char *type, const ArenaVector<BasicBlock *> &bb_vector, std::ostream *out, in BBDependence() argument
157 (*out) << type << ": ["; in BBDependence()
159 (*out) << (fl_first ? "" : ", ") << "bb " << BBId(block_it, allocator); in BBDependence()
[all …]
/arkcompiler/runtime_core/libpandabase/tests/
Dalloc_tracker_test.cpp54 std::stringstream out; in TEST() local
55 tracker.Dump(out); in TEST()
56 out.seekg(0); in TEST()
59 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
60 ASSERT_FALSE(out.eof()); in TEST()
68 std::stringstream out; in TEST() local
70 tracker.Dump(out); in TEST()
71 out.seekg(0); in TEST()
74 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
75 ASSERT_FALSE(out.eof()); in TEST()
[all …]
Dutf_test.cpp32 std::vector<uint16_t> out(res.size()); variable
33 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data());
34 EXPECT_EQ(out, res);
41 std::vector<uint16_t> out(res.size()); variable
42 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data());
43 EXPECT_EQ(out, res);
50 std::vector<uint16_t> out(res.size()); variable
51 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data());
52 EXPECT_EQ(out, res);
59 std::vector<uint16_t> out(res.size()); variable
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DevolvingArrayTypeInAssert.ts24 let out = [];
25 AssertType(out, "any[]");
28 out.push(100)
29 AssertType(out.push(100), "number");
30 AssertType(out.push, "(...any[]) => number");
33 unsafeCast<any>(out);
34 AssertType(unsafeCast<any>(out), "void");
36 AssertType(out, "number[]");
38 AssertType(out, "number[]");
39 return out;
DmodifierParenCast.ts29 let out: any = undefined;
30 AssertType(out, "any");
49 export const c = (out as number);
51 AssertType((out as number), "number");
52 AssertType(out as number, "number");
53 AssertType(out, "any");
/arkcompiler/ets_runtime/tools/circuit_viewer/examples/
Dlog_loop.txt182 … type=EMPTY-GT(M=0, L=0), ", in=[[], [], [11, 38, 39, 39, 39, 39, 39, 11, 40], [10], []], out=[42])
183 … type=EMPTY-GT(M=0, L=0), ", in=[[], [], [11, 38, 39, 39, 39, 39, 39, 16, 43], [10], []], out=[45])
184 … type=EMPTY-GT(M=0, L=0), ", in=[[], [], [11, 38, 39, 39, 39, 39, 39, 27, 46], [10], []], out=[48])
185 … type=EMPTY-GT(M=0, L=0), ", in=[[], [], [11, 38, 39, 39, 39, 39, 39, 38, 49], [10], []], out=[51])
186 … type=EMPTY-GT(M=0, L=0), ", in=[[], [], [11, 39, 29, 39, 39, 39, 39, 38, 52], [10], []], out=[54])
198 …ield=18446462598732840970, type=-GT(M=0, L=8), ", in=[[], [], [], [], []], out=[53, 50, 47, 44, 41…
201 …ype"="I64, bitfield=18446462598732840960, type=-GT(M=0, L=8), ", in=[[], [], [], [], []], out=[38])
215 …field=0, type=ANY_TYPE-GT(M=0, L=0), ", in=[[14], [42], [38, 11], [], []], out=[45, 45, 44, 17, 17…
217 …"="I64, bitfield=0, type=ANY_TYPE-GT(M=0, L=0), ", in=[[16], [45], [16], [], []], out=[18, 18, 18])
219 …VALUE, bitfield=0, type=EMPTY-GT(M=0, L=0), ", in=[[17], [17], [17], [], []], out=[22, 21, 20, 19])
[all …]
/arkcompiler/runtime_core/libpandabase/mem/
Dalloc_tracker.cpp42 static void Write(uint32_t val, std::ostream &out) in Write() argument
44 out.write(reinterpret_cast<char *>(&val), sizeof(val)); in Write()
47 static void Write(const std::string &str, std::ostream &out) in Write() argument
49 Write(static_cast<uint32_t>(str.size()), out); in Write()
50 out.write(str.c_str(), str.length()); in Write()
130 std::ofstream out(GetDumpFilePath(), std::ios::out | std::ios::binary | std::ios::trunc); in Dump() local
131 if (!out) { in Dump()
137 Dump(out); in Dump()
141 void DetailAllocTracker::Dump(std::ostream &out) in Dump() argument
145 Write(0, out); // number of items, will be updated later in Dump()
[all …]
Dalloc_tracker.h43 virtual void Dump([[maybe_unused]] std::ostream &out) {} in Dump() argument
44 virtual void DumpMemLeaks([[maybe_unused]] std::ostream &out) {} in DumpMemLeaks() argument
80 void Dump(std::ostream &out) override in Dump() argument
82 out << "Internal memory allocations:\n"; in Dump()
83 out << "allocations count: " << internal_alloc_counter_ << "\n"; in Dump()
84 out << " total allocated: " << total_allocated_ << "\n"; in Dump()
85 out << " peak allocated: " << peak_allocated_ << "\n"; in Dump()
88 void DumpMemLeaks(std::ostream &out) override in DumpMemLeaks() argument
90 out << "=== Allocated Internal Memory: ===" << std::endl; in DumpMemLeaks()
92out << std::hex << it.first << ", allocation #" << std::dec << it.second.GetAllocNumber() << std::… in DumpMemLeaks()
[all …]
/arkcompiler/runtime_core/libpandabase/os/
Dstacktrace.cpp88 std::ostream &Print(const std::vector<uintptr_t> &stacktrace, std::ostream &out) in Print() argument
93 PrintFrame(frame_num, stacktrace[frame_num], out); in Print()
95 return out; in Print()
105 void PrintFrame(size_t frame_num, uintptr_t pc, std::ostream &out) in PrintFrame() argument
107 std::ios_base::fmtflags f = out.flags(); in PrintFrame()
108 auto w = out.width(); in PrintFrame()
109 out << "#" << std::setw(2U) << std::left << frame_num << ": 0x" << std::hex << pc << " "; in PrintFrame()
110 out.flags(f); in PrintFrame()
111 out.width(w); in PrintFrame()
128 PrintFrame(function, src_file, line, out); in PrintFrame()
[all …]
Dstacktrace.h41 std::ostream &PrintStack(const std::vector<uintptr_t> &stacktrace, std::ostream &out);
47 inline std::ostream &PrintStack(std::ostream &out) in PrintStack() argument
49 return PrintStack(GetStacktrace(), out); in PrintStack()
Dstacktrace_stub.cpp29 …::ostream &PrintStack([[maybe_unused]] const std::vector<uintptr_t> &stacktrace, std::ostream &out) in PrintStack() argument
31 return out; in PrintStack()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dinterference_graph.cpp90 ArenaVector<unsigned> out(num, nodes_.get_allocator()); in LexBFS() local
91 std::iota(out.begin(), out.end(), 0); in LexBFS()
94 if (out.size() < MIN_SIMPLITIAL_NODES) { in LexBFS()
95 return out; in LexBFS()
105 ASSERT(pos < out.size()); in LexBFS()
106 auto id = out[pos]; in LexBFS()
124 auto it = std::stable_partition(out.begin() + pos, out.begin() + prev_end, in LexBFS()
125 … [id, &out, this](unsigned val) { return HasEdge(id, out[val]); }); in LexBFS()
126 auto pivot = static_cast<unsigned>(std::distance(out.begin(), it)); in LexBFS()
134 return out; in LexBFS()
[all …]
/arkcompiler/runtime_core/libpandafile/tests/
Dbytecode_emitter_tests.cpp53 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, uint8_t val) in operator <<() argument
55 out.push_back(val); in operator <<()
56 return out; in operator <<()
59 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Opcode op);
61 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Tuple16 val) in operator <<() argument
63 return out << std::get<0>(val) << std::get<1>(val); in operator <<()
66 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Tuple32 val) in operator <<() argument
68 return out << std::get<0>(val) << std::get<1>(val) << std::get<globals::IMM_2>(val) in operator <<()
72 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Tuple64 val) in operator <<() argument
74 …return out << std::get<0>(val) << std::get<1>(val) << std::get<globals::IMM_2>(val) << std::get<gl… in operator <<()
[all …]
/arkcompiler/runtime_core/compiler/tests/
Ddump_test.cpp195 std::stringstream out; variable
198 constant.DumpInputs(&out);
199 EXPECT_EQ(out.str(), "0x1");
205 out.clear();
206 out.str("");
207 EXPECT_TRUE(first_constant.DumpInputs(&out));
208 EXPECT_EQ(out.str(), "1");
212 out.clear();
213 out.str("");
214 EXPECT_TRUE(constant_inst.DumpInputs(&out));
[all …]
Dcompiler_graph_test.cpp238 std::stringstream out; variable
243 [&test_method_name, &out, &status](Graph* graph, std::string &method_name) { in __anon1425b6d40702()
249 graph->DumpThrowableInsts(&out); in __anon1425b6d40702()
254 EXPECT_EQ(out.str(), str); in __anon1425b6d40702()
444 std::stringstream out; variable
450 mode.Dump(out);
451 EXPECT_EQ(out.str(), "Native, FastPath, Interpreter");
454 out.clear();
455 out.str("");
456 mode1.Dump(out);
[all …]
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_opcode.cpp111 void RegExpOpCode::DumpRegExpOpCode(std::ostream &out, const DynChunk &buf) in DumpRegExpOpCode() argument
113 out << "OpCode:\t" << std::endl; in DumpRegExpOpCode()
117 pc = byteCode->DumpOpCode(out, buf, pc); in DumpRegExpOpCode()
129 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument
131 out << offset << ":\t" in DumpOpCode()
144 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument
146 out << offset << ":\t" in DumpOpCode()
159 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument
161 out << offset << ":\t" in DumpOpCode()
173 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument
[all …]
Dregexp_opcode.h76 static void DumpRegExpOpCode(std::ostream &out, const DynChunk &buf);
89 virtual uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const = 0;
103 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
113 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
123 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
134 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
144 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
154 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
164 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
174 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
[all …]
/arkcompiler/ets_runtime/docs/
Denvironment-setup-and-compilation.md45 out/hispark_taurus/arkcompiler/runtime_core/
46 out/hispark_taurus/arkcompiler/ets_frontend/
47 out/hispark_taurus/arkcompiler/ets_runtime/
48 out/hispark_taurus/clang_x64/arkcompiler/runtime_core/
49 out/hispark_taurus/clang_x64/arkcompiler/ets_frontend/
50 out/hispark_taurus/clang_x64/arkcompiler/ets_runtime
/arkcompiler/runtime_core/tests/verifier-tests/
Dcflow_jump_out_of_body.pa15 # jump out of function body
17 jmp out
18 out:
22 out:
24 jmp out
Dcflow_execution_may_go_beyond_the_end.pa17 out:
19 jeqz out
23 out:
25 jmp out
/arkcompiler/toolchain/tooling/test/utils/
Dtest_util.cpp29 std::ostream &operator<<(std::ostream &out, DebugEvent value) in operator <<() argument
57 return out << s; in operator <<()
60 std::ostream &operator<<(std::ostream &out, std::nullptr_t) in operator <<() argument
62 return out << "nullptr"; in operator <<()
/arkcompiler/runtime_core/tests/gtest_launcher/
Dmain.cpp49 std::stringstream out; in HandleTimeout() local
50 out << getppid(); in HandleTimeout()
51 std::string ppid_str = out.str(); in HandleTimeout()
/arkcompiler/ets_frontend/testTs/
DREADME_zh.md8 1.在鸿蒙系统代码根目录下编译ts2abc仓。先删除out目录,然后执行./build.sh --product-name hispark_taurus_standard --build-targe…
9 2.进入out文件中的工具build目录 cd out/hispark_taurus/clang_x64/arkcompiler/ets_frontend/build,使用npm install命令…
/arkcompiler/ets_frontend/ts2panda/src/
DassemblyDumper.ts58 static writeLanguageTag(out: any): void {
59 out.str += ".language ECMAScript\n";
60 out.str += "\n";
196 let out = { str: "" };
197 AssemblyDumper.writeLanguageTag(out);
198 console.log(out.str);
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dproperty.cpp24 bool GetPropertyBuffer([[maybe_unused]] const char *ark_prop, [[maybe_unused]] std::string &out) in GetPropertyBuffer() argument
29 out = buf; in GetPropertyBuffer()

123456