| /arkcompiler/ets_frontend/test262/ |
| D | force_gc_skip_tests.json | 5 "out/test262/test_es2021/intl402/language-tags-invalid", 6 "out/test262/test_es2021/intl402/supportedLocalesOf-unicode-extensions-ignored", 7 … "out/test262/test_es2021/intl402/supportedLocalesOf-throws-if-element-not-string-or-object", 8 "out/test262/test_es2021/intl402/supportedLocalesOf-test-option-localeMatcher", 9 "out/test262/test_es2021/intl402/supportedLocalesOf-consistent-with-resolvedOptions", 10 "out/test262/test_es2021/intl402/fallback-locales-are-supported", 11 "out/test262/test_es2021/intl402/Collator/prototype/compare/bound-to-collator-instance", 12 "out/test262/test_es2021/intl402/Collator/prototype/compare/non-normative-sensitivity", 13 … "out/test262/test_es2021/intl402/DisplayNames/prototype/resolvedOptions/option-fallback", 14 "out/test262/test_es2021/intl402/DisplayNames/prototype/resolvedOptions/option-style", [all …]
|
| /arkcompiler/toolchain/test/resource/tooling/ |
| D | ohos_test.xml | 18 …ion name="push" value="obj/arkcompiler/toolchain/tooling/test/sample.abc -> /data/test" src="out"/> 19 … name="push" value="obj/arkcompiler/toolchain/tooling/test/exception.abc -> /data/test" src="out"/> 20 …name="push" value="obj/arkcompiler/toolchain/tooling/test/arrow_func.abc -> /data/test" src="out"/> 21 …name="push" value="obj/arkcompiler/toolchain/tooling/test/async_func.abc -> /data/test" src="out"/> 22 …ame="push" value="obj/arkcompiler/toolchain/tooling/test/range_error.abc -> /data/test" src="out"/> 23 …push" value="obj/arkcompiler/toolchain/tooling/test/syntax_exception.abc -> /data/test" src="out"/> 24 …"push" value="obj/arkcompiler/toolchain/tooling/test/throw_exception.abc -> /data/test" src="out"/> 25 …ption name="push" value="obj/arkcompiler/toolchain/tooling/test/step.abc -> /data/test" src="out"/> 26 … name="push" value="obj/arkcompiler/toolchain/tooling/test/dropframe.abc -> /data/test" src="out"/> 27 …="push" value="obj/arkcompiler/toolchain/tooling/test/variable_first.abc -> /data/test" src="out"/> [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | dump.cpp | 58 void PrintIfValidLocation(Location location, Arch arch, std::ostream *out, bool withBrackets = fals… in PrintIfValidLocation() argument 63 (*out) << "(" << string << ")"; in PrintIfValidLocation() 65 (*out) << string << " "; in PrintIfValidLocation() 92 void DumpUsers(const Inst *inst, std::ostream *out) in DumpUsers() argument 97 PrintIfValidLocation(inst->GetDstLocation(i), arch, out); in DumpUsers() 102 (*out) << (flFirst ? "(" : ", ") << InstId(user, allocator); in DumpUsers() 108 (*out) << ')'; in DumpUsers() 155 void BBDependence(const char *type, const T &bbVector, std::ostream *out, ArenaAllocator *allocator) in BBDependence() argument 158 (*out) << type << ": ["; in BBDependence() 160 (*out) << (flFirst ? "" : ", ") << "bb " << BBId(blockIt, allocator); in BBDependence() [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | dump.cpp | 50 void PrintIfValidLocation(Location location, Arch arch, std::ostream *out, bool with_brackets = fal… in PrintIfValidLocation() argument 55 (*out) << "(" << string << ")"; in PrintIfValidLocation() 57 (*out) << string << " "; in PrintIfValidLocation() 84 void DumpUsers(const Inst *inst, std::ostream *out) in DumpUsers() argument 89 PrintIfValidLocation(inst->GetDstLocation(), arch, out); in DumpUsers() 94 (*out) << (fl_first ? "(" : ", ") << InstId(user, allocator); in DumpUsers() 100 (*out) << ')'; in DumpUsers() 146 void BBDependence(const char *type, const ArenaVector<BasicBlock *> &bb_vector, std::ostream *out, in BBDependence() argument 150 (*out) << type << ": ["; in BBDependence() 152 (*out) << (fl_first ? "" : ", ") << "bb " << BBId(block_it, allocator); in BBDependence() [all …]
|
| /arkcompiler/ets_runtime/test/resource/js_runtime/ |
| D | ohos_test.xml | 18 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 23 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 28 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 33 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 38 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 43 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 48 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 53 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 58 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> 63 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/> [all …]
|
| /arkcompiler/ets_runtime/test/jsperftest/ |
| D | config.json | 3 "ETS_RUNTIME_PATH": "out/rk3568/clang_x64/arkcompiler/ets_runtime/", 4 "STUB_AN": "out/rk3568/clang_x64/gen/arkcompiler/ets_runtime/stub.an", 6 "out/rk3568/clang_x64/thirdparty/icu/", 7 "out/rk3568/clang_x64/thirdparty/zlib/", 10 "ES2ABC": "out/rk3568/clang_x64/arkcompiler/ets_frontend/es2abc" 13 "ETS_RUNTIME_PATH": "out/x64.release/arkcompiler/ets_runtime", 14 "STUB_AN": "out/x64.release/gen/arkcompiler/ets_runtime/stub.an", 16 "out/x64.release/thirdparty/icu/" 18 "ES2ABC": "out/x64.release/arkcompiler/ets_frontend/es2abc" 21 "ETS_RUNTIME_PATH": "out/arm64.release/arkcompiler/ets_runtime", [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | alloc_tracker_test.cpp | 54 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 …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | alloc_tracker_test.cpp | 54 std::stringstream out; in TEST() local 55 tracker.Dump(out); in TEST() 56 out.seekg(0U); 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 71 tracker.Dump(out); in TEST() 72 out.seekg(0U); in TEST() 75 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST() 76 ASSERT_FALSE(out.eof()); in TEST() [all …]
|
| D | utf_test.cpp | 44 std::vector<uint16_t> out(res.size()); in TEST() local 45 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); in TEST() 46 EXPECT_EQ(out, res); in TEST() 52 std::vector<uint16_t> out(res.size()); in TEST() local 53 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); in TEST() 54 EXPECT_EQ(out, res); in TEST() 60 std::vector<uint16_t> out(res.size()); in TEST() local 61 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); in TEST() 62 EXPECT_EQ(out, res); in TEST() 72 std::vector<uint16_t> out(res.size()); in TEST() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_isa.yaml | 35 acc: out:top 39 acc: out:top 43 acc: out:top 47 acc: out:top 51 acc: out:top 55 acc: out:top 59 acc: out:top 63 acc: out:top 67 acc: out:top 79 acc: out:top [all …]
|
| /arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/ |
| D | declgenEts2Ts.cpp | 65 Out(license.str()); in Generate() 66 Out("declare const exports: any;"); in Generate() 68 Out("let ETSGLOBAL: any = (globalThis as any).Panda.getClass('LETSGLOBAL;');"); in Generate() 101 Out(separator); in GenSeparated() 145 Out("number"); in GenType() 162 Out(checkerType->ToString()); in GenType() 170 Out("[]"); in GenType() 188 Out(std::to_string(number.GetInt())); in GenLiteral() 192 Out(std::to_string(number.GetLong())); in GenLiteral() 196 Out(std::to_string(number.GetFloat())); in GenLiteral() [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/java_cases/ |
| D | LoopStructuresTest.java | 24 System.out.println("For loop:"); in main() 26 System.out.print(i + " "); in main() 28 System.out.println(); in main() 31 System.out.println("While loop:"); in main() 34 System.out.print(++count + " "); in main() 36 System.out.println(); in main() 39 System.out.println("Do-while loop:"); in main() 42 System.out.print(++loopCount + " "); in main() 44 System.out.println(); in main() 47 System.out.println("Nested loops:"); in main() [all …]
|
| /arkcompiler/runtime_core/static_core/libpandafile/tests/ |
| D | bytecode_emitter_tests.cpp | 55 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, uint8_t val) in operator <<() argument 57 out.push_back(val); in operator <<() 58 return out; in operator <<() 61 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Opcode op); 63 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Tuple16 val) in operator <<() argument 65 return out << std::get<0>(val) << std::get<1>(val); in operator <<() 68 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Tuple32 val) in operator <<() argument 70 return out << std::get<0>(val) << std::get<1>(val) << std::get<globals::IMM_2>(val) in operator <<() 74 static std::vector<uint8_t> &operator<<(std::vector<uint8_t> &out, Tuple64 val) in operator <<() argument 76 …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/static_core/compiler/optimizer/optimizations/regalloc/ |
| D | interference_graph.cpp | 71 // Initialize out to sequentaly from 0 in LexBFS() 73 ArenaVector<unsigned> out(num, nodes_.get_allocator()); in LexBFS() local 74 std::iota(out.begin(), out.end(), 0); in LexBFS() 77 if (out.size() < MIN_SIMPLITIAL_NODES) { in LexBFS() 78 return out; in LexBFS() 88 ASSERT(pos < out.size()); in LexBFS() 89 auto id = out[pos]; in LexBFS() 107 auto it = std::stable_partition(out.begin() + pos, out.begin() + prevEnd, in LexBFS() 108 … [id, &out, this](unsigned val) { return HasEdge(id, out[val]); }); in LexBFS() 109 auto pivot = static_cast<unsigned>(std::distance(out.begin(), it)); in LexBFS() [all …]
|
| /arkcompiler/runtime_core/libpandafile/tests/ |
| D | bytecode_emitter_tests.cpp | 53 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/ets_runtime/test/aotjsperftest/ |
| D | config.json | 3 "ETS_RUNTIME_PATH": "out/rk3568/clang_x64/arkcompiler/ets_runtime/", 4 "ICU_PATH": "out/rk3568/clang_x64/thirdparty/icu/", 5 "ZLIB_PATH": "out/rk3568/clang_x64/thirdparty/zlib/", 7 "ES2ABC": "out/rk3568/clang_x64/arkcompiler/ets_frontend/es2abc" 10 "ETS_RUNTIME_PATH": "out/x64.release/arkcompiler/ets_runtime", 11 "ICU_PATH": "out/x64.release/thirdparty/icu/", 14 "ES2ABC": "out/x64.release/arkcompiler/ets_frontend/es2abc"
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | alloc_tracker.cpp | 42 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(), static_cast<std::streamsize>(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 …]
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | alloc_tracker.cpp | 42 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 …]
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/examples/ |
| D | log_loop.txt | 16 [compiler] < 0: LDAI_IMM32, In=[], Out=[acc,] > 17 [compiler] < 1: STA_V8, In=[acc,], Out=[0,] > 18 [compiler] < 2: LDAI_IMM32, In=[], Out=[acc,] > 19 [compiler] < 3: STA_V8, In=[acc,], Out=[1,] > 29 [compiler] < 4: LDA_V8, In=[0,], Out=[acc,] > 30 [compiler] < 5: LESS_IMM8_V8, In=[acc,1,], Out=[acc,] > 31 [compiler] < 6: ISFALSE, In=[acc,], Out=[acc,] > 32 [compiler] < 7: JNEZ_IMM8, In=[acc,], Out=[] > 42 [compiler] < 8: TRYLDGLOBALBYNAME_IMM8_ID16, In=[], Out=[acc,] > 43 [compiler] < 9: CALLARG1_IMM8_V8, In=[acc,1,], Out=[acc,] > [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/os/ |
| D | stacktrace.cpp | 88 std::ostream &Print(const std::vector<uintptr_t> &stacktrace, std::ostream &out) in Print() argument 93 PrintFrame(frameNum, stacktrace[frameNum], out); in Print() 95 return out; in Print() 105 void PrintFrame(size_t frameNum, 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 << frameNum << ": 0x" << std::hex << pc << " "; in PrintFrame() 110 out.flags(f); in PrintFrame() 111 out.width(w); in PrintFrame() 128 PrintFrame(function, srcFile, line, out); in PrintFrame() [all …]
|
| /arkcompiler/runtime_core/libpandabase/os/ |
| D | stacktrace.cpp | 88 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 …]
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
| D | interference_graph.cpp | 85 // Initialize out to sequentaly from 0 in LexBFS() 87 ArenaVector<unsigned> out(num, nodes_.get_allocator()); in LexBFS() local 88 std::iota(out.begin(), out.end(), 0); in LexBFS() 91 if (out.size() < MIN_SIMPLITIAL_NODES) { in LexBFS() 92 return out; in LexBFS() 102 ASSERT(pos < out.size()); in LexBFS() 103 auto id = out[pos]; in LexBFS() 121 auto it = std::stable_partition(out.begin() + pos, out.begin() + prev_end, in LexBFS() 122 … [id, &out, this](unsigned val) { return HasEdge(id, out[val]); }); in LexBFS() 123 auto pivot = static_cast<unsigned>(std::distance(out.begin(), it)); in LexBFS() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/ |
| D | regexp_opcode.cpp | 107 void RegExpOpCode::DumpRegExpOpCode(std::ostream &out, const DynChunk &buf) in DumpRegExpOpCode() argument 109 out << "OpCode:\t" << std::endl; in DumpRegExpOpCode() 113 pc = byteCode->DumpOpCode(out, buf, pc); in DumpRegExpOpCode() 125 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 127 out << offset << ":\t" in DumpOpCode() 140 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 142 out << offset << ":\t" in DumpOpCode() 155 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 157 out << offset << ":\t" in DumpOpCode() 169 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | gate.h | 56 class Out { 58 Out() = default; 59 void SetNextOut(const Out *ptr); 60 [[nodiscard]] Out *GetNextOut(); 61 [[nodiscard]] const Out *GetNextOutConst() const; 62 void SetPrevOut(const Out *ptr); 63 [[nodiscard]] Out *GetPrevOut(); 64 [[nodiscard]] const Out *GetPrevOutConst() const; 74 ~Out() = default; 106 // +---- out[1] ----+---- out[0] ----+-------- g2 --------+-- in[0] --+-- in[1] --+ [all …]
|
| /arkcompiler/ets_runtime/ecmascript/regexp/ |
| D | regexp_opcode.cpp | 113 void RegExpOpCode::DumpRegExpOpCode(std::ostream &out, const DynChunk &buf) in DumpRegExpOpCode() argument 115 out << "OpCode:\t" << std::endl; in DumpRegExpOpCode() 119 pc = byteCode->DumpOpCode(out, buf, pc); in DumpRegExpOpCode() 131 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 133 out << offset << ":\t" in DumpOpCode() 146 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 148 out << offset << ":\t" in DumpOpCode() 161 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 163 out << offset << ":\t" in DumpOpCode() 175 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument [all …]
|