Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 454) sorted by relevance

12345678910>>...19

/ark/runtime_core/pandastdlib/
Dpandastdlib.pa133 .function void panda.NullPointerException.ctor(panda.NullPointerException a0, panda.String a1, pand…
141 .function panda.String panda.NullPointerException.getMessage(panda.NullPointerException a0) {
146 .function panda.Object panda.NullPointerException.getCause(panda.NullPointerException a0) {
151 .function void panda.ArrayIndexOutOfBoundsException.ctor(panda.ArrayIndexOutOfBoundsException a0, p…
159 .function panda.String panda.ArrayIndexOutOfBoundsException.getMessage(panda.ArrayIndexOutOfBoundsE…
164 .function panda.Object panda.ArrayIndexOutOfBoundsException.getCause(panda.ArrayIndexOutOfBoundsExc…
169 .function void panda.IndexOutOfBoundsException.ctor(panda.IndexOutOfBoundsException a0, panda.Strin…
177 .function panda.String panda.IndexOutOfBoundsException.getMessage(panda.IndexOutOfBoundsException a…
182 .function panda.Object panda.IndexOutOfBoundsException.getCause(panda.IndexOutOfBoundsException a0)…
187 .function void panda.IllegalStateException.ctor(panda.IllegalStateException a0, panda.String a1, pa…
[all …]
/ark/runtime_core/disassembler/tests/sources/
Dcalls.pa18 .function u8 B.Bhandler_unspec(B a0) {
22 .function u8 B.Bhandler_short(B a0, u1 a1) {
26 .function u8 B.Bhandler_short2(B a0, u1 a1, i64 a2) {
30 .function u16 B.Bhandler_long(B a0, i8 a1, i16 a2, i32 a3) {
34 .function u16 B.Bhandler_long2(B a0, i8 a1, i16 a2, i32 a3, i64 a4) {
38 .function u16 B.Bhandler_range(B a0, i8 a1, i16 a2, i32 a3, i8 a4, i16 a5, i32 a6) {
42 .function u16 long_function(i8 a0, i16 a1, i32 a2, i8 a3, i16 a4, i32 a5, i64 a6, f32 a7) {
48 .function u8 handler_unspec() {
52 .function u8 handler_short(u1 a0) {
56 .function u8 handler_short2(u1 a0, i64 a1) {
[all …]
Dmeta.pa19 .function u1 A.BBB(u1 a0) <ctor> {}
20 .function u1 A.CCC(u1 a0) <cctor> {}
22 .function u1 DDD(u1 a0) <external>
24 .function u1 A.EEE(A a0, u1 a1) {
28 .function u1 FFF() <noimpl>
30 .function u1 GGG() <native>
/ark/ts2abc/ts2panda/ts2abc/
Dts2abc.cpp79 auto function = panda::pandasm::Function( in MakeFuncDefintion() local
88 function.return_type = panda::pandasm::Type(returnType.c_str(), 0); in MakeFuncDefintion()
89 return function; in MakeFuncDefintion()
434 static int ParseVariablesDebugInfo(const Json::Value &function, panda::pandasm::Function &pandaFunc) in ParseVariablesDebugInfo() argument
440 if (function.isMember("v") && function["v"].isArray()) { in ParseVariablesDebugInfo()
441 for (Json::ArrayIndex i = 0; i < function["v"].size(); ++i) { in ParseVariablesDebugInfo()
442 if (!function["v"][i].isObject()) { in ParseVariablesDebugInfo()
447 auto variable = function["v"][i]; in ParseVariablesDebugInfo()
479 static int ParseSourceFileDebugInfo(const Json::Value &function, panda::pandasm::Function &pandaFun… in ParseSourceFileDebugInfo() argument
481 if (function.isMember("sf") && function["sf"].isString()) { in ParseSourceFileDebugInfo()
[all …]
/ark/js_runtime/ecmascript/tooling/test/utils/
Dtest_events.h24 using BreakpointCallback = std::function<bool(const JSPtLocation &)>;
25 using LoadModuleCallback = std::function<bool(std::string_view)>;
26 using ExceptionCallback = std::function<bool(const JSPtLocation &)>;
27 using SingleStepCallback = std::function<bool(const JSPtLocation &)>;
28 using VmStartCallback = std::function<bool()>;
29 using VmDeathCallback = std::function<bool()>;
30 using Scenario = std::function<bool()>;
/ark/ts2abc/ts2panda/ts2abc/tests/
Dfunctions_test.cpp34 Json::Value function = {}; variable
47 function = rootValue["func_body"]; in SetUp()
53 auto pandaFunc = GetFunctionDefintion(function);
54 EXPECT_EQ(pandaFunc.name, function["name"].asString());
56 auto signature = function["signature"];
58 EXPECT_EQ(pandaFunc.regs_num, function["regs_num"].asUInt());
/ark/runtime_core/docs/bc_verification/
Dtype_system.md38 - `function`
46 - `function(-i32(), -i16(), +i8())`
47 - `function(-function(-i8(), +i16()), +i16())`
52 - `function(-i32(), -i16(), +i8()) <: function(-i16(), -i8(), +i32())`
53 - `function(-function(-i8(), +i16()), +i16()) <: function(function(-16(), +8()), +i32())`
/ark/runtime_core/libpandabase/os/
Dstacktrace.cpp124 std::string function; in PrintFrame() local
127 …if (ReadDebugInfo(vma) && vma->debug_info.GetSrcLocation(pc_offset, &function, &src_file, &line)) { in PrintFrame()
128 PrintFrame(function, src_file, line, out); in PrintFrame()
132 if (ReadSymbol(pc, &function, &offset)) { in PrintFrame()
133 PrintFrame(function, offset, out); in PrintFrame()
140 void PrintFrame(const std::string &function, const std::string &src_file, unsigned int line, in PrintFrame() argument
143 if (function.empty()) { in PrintFrame()
146 Demangle(function, out); in PrintFrame()
164 void PrintFrame(const std::string &function, uintptr_t offset, std::ostream &out) const in PrintFrame() argument
167 Demangle(function, out); in PrintFrame()
[all …]
Ddebug_info.h44 bool GetSrcLocation(uintptr_t pc, std::string *function, std::string *src_file, uint32_t *line);
98 const std::string &function = std::string()) // NOLINT(modernize-pass-by-value)
99 : low_pc_(low_pc), high_pc_(high_pc), cu_(cu), function_(function) in low_pc_()
136 void SetFunction(const std::string &function) in SetFunction() argument
138 this->function_ = function; in SetFunction()
162 void GetFunctionName(Dwarf_Die die, std::string *function) const;
163 …void AddFunction(CompUnit *cu, Dwarf_Addr low_pc, Dwarf_Addr high_pc, const std::string &function);
/ark/runtime_core/docs/
Druntime-compiled_code-interaction.md22 `panda::CompilerInterface::CompileMethodSync` for compilation. When a function is compiled, the com…
23 its entrypoint to the native code generated. When the function is called next time, the native code…
27 …ompiled code of a managed function must accept one extra argument: the pointer to `panda::Method` …
31 Consider a function int max(int a, int b).
32 When the compiler generates native code for this function for ARM target it must consider that
33 the function accepts 3 arguments:
38 The function must return the result in the register R0.
52 must contain a valid pointer to `panda::ManagedThread` on entry to each compiled function.
55 Runtime serves compiled code via runtime entrypoints. A runtime entrypoint is a function which conf…
59 `panda::Method` describes a managed function in the runtime.
[all …]
/ark/js_runtime/ecmascript/mem/
Dobject_xray.h38 using RootVisitor = std::function<void(Root type, ObjectSlot p)>;
39 using RootRangeVisitor = std::function<void(Root type, ObjectSlot start, ObjectSlot end)>;
40 using EcmaObjectVisitor = std::function<void(TaggedObject *root, ObjectSlot p)>;
41 using EcmaObjectRangeVisitor = std::function<void(TaggedObject *root, ObjectSlot start, ObjectSlot …
43 using WeakRootVisitor = std::function<TaggedObject *(TaggedObject *p)>;
/ark/runtime_core/tests/cts-assembly/
Dmath-63.pa15 .function i32 and_not_shl_i32(i32 a0, i32 a1) <static> {
26 .function i32 and_not_shr_i32(i32 a0, i32 a1) <static> {
37 .function i32 and_not_ashr_i32(i32 a0, i32 a1) <static> {
48 .function i32 and_not_shl_i32_2(i32 a0, i32 a1) <static> {
59 .function i32 and_not_shr_i32_2(i32 a0, i32 a1) <static> {
70 .function i32 and_not_ashr_i32_2(i32 a0, i32 a1) <static> {
81 .function i64 and_not_shl_i64(i64 a0, i64 a1) <static> {
92 .function i64 and_not_shr_i64(i64 a0, i64 a1) <static> {
103 .function i64 and_not_ashr_i64(i64 a0, i64 a1) <static> {
114 .function i64 and_not_shl_i64_2(i64 a0, i64 a1) <static> {
[all …]
Dmath-58.pa15 .function i32 add_shl_i32(i32 a0, i32 a1) <static> {
23 .function i32 add_shr_i32(i32 a0, i32 a1) <static> {
31 .function i32 add_ashr_i32(i32 a0, i32 a1) <static> {
39 .function i32 add_shl_i32_2(i32 a0, i32 a1) <static> {
49 .function i32 add_shr_i32_2(i32 a0, i32 a1) <static> {
59 .function i32 add_ashr_i32_2(i32 a0, i32 a1) <static> {
69 .function i64 add_shl_i64(i64 a0, i64 a1) <static> {
77 .function i64 add_shr_i64(i64 a0, i64 a1) <static> {
85 .function i64 add_ashr_i64(i64 a0, i64 a1) <static> {
93 .function i64 add_shl_i64_2(i64 a0, i64 a1) <static> {
[all …]
Dmath-62.pa15 .function i32 xor_shl_i32(i32 a0, i32 a1) <static> {
23 .function i32 xor_shr_i32(i32 a0, i32 a1) <static> {
31 .function i32 xor_ashr_i32(i32 a0, i32 a1) <static> {
39 .function i32 xor_shl_i32_2(i32 a0, i32 a1) <static> {
49 .function i32 xor_shr_i32_2(i32 a0, i32 a1) <static> {
59 .function i32 xor_ashr_i32_2(i32 a0, i32 a1) <static> {
69 .function i64 xor_shl_i64(i64 a0, i64 a1) <static> {
77 .function i64 xor_shr_i64(i64 a0, i64 a1) <static> {
85 .function i64 xor_ashr_i64(i64 a0, i64 a1) <static> {
93 .function i64 xor_shl_i64_2(i64 a0, i64 a1) <static> {
[all …]
Dmath-65.pa15 .function i32 xor_not_shl_i32(i32 a0, i32 a1) <static> {
26 .function i32 xor_not_shr_i32(i32 a0, i32 a1) <static> {
37 .function i32 xor_not_ashr_i32(i32 a0, i32 a1) <static> {
48 .function i32 xor_not_shl_i32_2(i32 a0, i32 a1) <static> {
57 .function i32 xor_not_shr_i32_2(i32 a0, i32 a1) <static> {
66 .function i32 xor_not_ashr_i32_2(i32 a0, i32 a1) <static> {
75 .function i64 xor_not_shl_i64(i64 a0, i64 a1) <static> {
86 .function i64 xor_not_shr_i64(i64 a0, i64 a1) <static> {
97 .function i64 xor_not_ashr_i64(i64 a0, i64 a1) <static> {
108 .function i64 xor_not_shl_i64_2(i64 a0, i64 a1) <static> {
[all …]
Dmath-61.pa15 .function i32 or_shl_i32(i32 a0, i32 a1) <static> {
23 .function i32 or_shr_i32(i32 a0, i32 a1) <static> {
31 .function i32 or_ashr_i32(i32 a0, i32 a1) <static> {
39 .function i32 or_shl_i32_2(i32 a0, i32 a1) <static> {
49 .function i32 or_shr_i32_2(i32 a0, i32 a1) <static> {
59 .function i32 or_ashr_i32_2(i32 a0, i32 a1) <static> {
69 .function i64 or_shl_i64(i64 a0, i64 a1) <static> {
77 .function i64 or_shr_i64(i64 a0, i64 a1) <static> {
85 .function i64 or_ashr_i64(i64 a0, i64 a1) <static> {
93 .function i64 or_shl_i64_2(i64 a0, i64 a1) <static> {
[all …]
Dmath-60.pa15 .function i32 and_shl_i32(i32 a0, i32 a1) <static> {
23 .function i32 and_shr_i32(i32 a0, i32 a1) <static> {
31 .function i32 and_ashr_i32(i32 a0, i32 a1) <static> {
39 .function i32 and_shl_i32_2(i32 a0, i32 a1) <static> {
49 .function i32 and_shr_i32_2(i32 a0, i32 a1) <static> {
59 .function i32 and_ashr_i32_2(i32 a0, i32 a1) <static> {
69 .function i64 and_shl_i64(i64 a0, i64 a1) <static> {
77 .function i64 and_shr_i64(i64 a0, i64 a1) <static> {
85 .function i64 and_ashr_i64(i64 a0, i64 a1) <static> {
93 .function i64 and_shl_i64_2(i64 a0, i64 a1) <static> {
[all …]
Dmath-59.pa15 .function i32 sub_shl_i32(i32 a0, i32 a1) <static> {
23 .function i32 sub_shr_i32(i32 a0, i32 a1) <static> {
31 .function i32 sub_ashr_i32(i32 a0, i32 a1) <static> {
39 .function i32 sub_shl_i32_2(i32 a0, i32 a1) <static> {
49 .function i32 sub_shr_i32_2(i32 a0, i32 a1) <static> {
59 .function i32 sub_ashr_i32_2(i32 a0, i32 a1) <static> {
69 .function i64 sub_shl_i64(i64 a0, i64 a1) <static> {
77 .function i64 sub_shr_i64(i64 a0, i64 a1) <static> {
85 .function i64 sub_ashr_i64(i64 a0, i64 a1) <static> {
93 .function i64 sub_shl_i64_2(i64 a0, i64 a1) <static> {
[all …]
Dmath-64.pa15 .function i32 or_not_shl_i32(i32 a0, i32 a1) <static> {
26 .function i32 or_not_shr_i32(i32 a0, i32 a1) <static> {
37 .function i32 or_not_ashr_i32(i32 a0, i32 a1) <static> {
48 .function i32 or_not_shl_i32_2(i32 a0, i32 a1) <static> {
57 .function i32 or_not_shr_i32_2(i32 a0, i32 a1) <static> {
66 .function i32 or_not_ashr_i32_2(i32 a0, i32 a1) <static> {
75 .function i64 or_not_shl_i64(i64 a0, i64 a1) <static> {
86 .function i64 or_not_shr_i64(i64 a0, i64 a1) <static> {
97 .function i64 or_not_ashr_i64(i64 a0, i64 a1) <static> {
108 .function i64 or_not_shl_i64_2(i64 a0, i64 a1) <static> {
[all …]
Dmath-56.pa15 .function i32 and_not_i32(i32 a0, i32 a1) {
23 .function i64 and_not_i64(i64 a0, i64 a1) {
31 .function i32 or_not_i32(i32 a0, i32 a1) {
39 .function i64 or_not_i64(i64 a0, i64 a1) {
47 .function i32 xor_not_i32(i32 a0, i32 a1) {
55 .function i64 xor_not_i64(i64 a0, i64 a1) {
63 .function void IO.printI64(i64 a0) <external>
65 .function u1 main() {
Dmath-66.pa14 .function i32 neg_shl_i32(i32 a0) {
22 .function i32 neg_shr_i32(i32 a0) {
30 .function i32 neg_ashr_i32(i32 a0) {
38 .function i64 neg_shl_i64(i64 a0) {
46 .function i64 neg_shr_i64(i64 a0) {
54 .function i64 neg_ashr_i64(i64 a0) {
62 .function u1 main() {
Dmath-55.pa15 .function i32 mneg_i32_0(i32 a0, i32 a1) {
22 .function i32 mneg_i32_1(i32 a0, i32 a1) {
30 .function i64 mneg_i64_0(i64 a0, i64 a1) {
38 .function i64 mneg_i64_1(i64 a0, i64 a1) {
46 .function f64 mneg_f64_0(f64 a0, f64 a1) {
54 .function f64 mneg_f64_1(f64 a0, f64 a1) {
61 .function u1 main() {
Dmath-57.pa14 .function i32 xor_not_i32(i32 a0, i32 a1) <static> {
21 .function i64 xor_not_i64(i64 a0, i64 a1) <static> {
28 .function i32 and_not_i32(i32 a0, i32 a1) <static> {
35 .function i64 and_not_i64(i64 a0, i64 a1) <static> {
42 .function i32 or_not_i32(i32 a0, i32 a1) <static> {
49 .function i64 or_not_i64(i64 a0, i64 a1) <static> {
56 .function u1 main() {
/ark/runtime_core/docs/diagrams/
Dstacktrace.pusequence21 stacktrace.cpp -> ManagedThread: stacktrace (array of function call instruction addresses)
28 StackPrinter -> libdwarf: Get function name, source file and line number
29 libdwarf -> StackPrinter: Mangled function name (non-human readable), source file and line number
30 StackPrinter -> "libstdc++": Demangled function name (Get human readable function name)
31 "libstdc++" -> StackPrinter: human readable function name
/ark/js_runtime/ecmascript/builtins/tests/
Dbuiltins_object_test.cpp96 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
118 …etEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), function); in HWTEST_F_L0()
137 …etEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), function); in HWTEST_F_L0()
160 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
162 …ead->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(function), function); in HWTEST_F_L0()
164 …ead->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(function), function); in HWTEST_F_L0()
195 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
217 …etEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>::Cast(function), function); in HWTEST_F_L0()
258 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
262 …ead->GetEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(function), function); in HWTEST_F_L0()
[all …]

12345678910>>...19