Lines Matching full:static
79 static uint32_t GetStackDepth(const EcmaVM *ecmaVm);
80 static std::shared_ptr<FrameHandler> NewFrameHandler(const EcmaVM *ecmaVm);
81 …static bool StackWalker(const EcmaVM *ecmaVm, std::function<StackState(const FrameHandler *)> func…
82 static uint32_t GetStackDepthOverBuiltin(const EcmaVM *ecmaVm);
84 static uint32_t GetBytecodeOffset(const EcmaVM *ecmaVm);
85 static uint32_t GetBytecodeOffset(const FrameHandler *frameHandler);
86 static std::unique_ptr<PtMethod> GetMethod(const EcmaVM *ecmaVm);
87 static Method *GetMethod(const FrameHandler *frameHandler);
88 static bool IsNativeMethod(const EcmaVM *ecmaVm);
89 static bool IsNativeMethod(const FrameHandler *frameHandler);
90 static JSPandaFile *GetJSPandaFile(const EcmaVM *ecmaVm);
92 static JSTaggedValue GetEnv(const FrameHandler *frameHandler);
93 static JSTaggedType *GetSp(const FrameHandler *frameHandler);
94 static int32_t GetVregIndex(const FrameHandler *frameHandler, std::string_view name);
95 static Local<JSValueRef> GetVRegValue(const EcmaVM *ecmaVm,
97 static void SetVRegValue(FrameHandler *frameHandler, size_t index, Local<JSValueRef> value);
99 static Local<JSValueRef> GetProperties(const EcmaVM *ecmaVm, const FrameHandler *frameHandler,
101 static void SetProperties(const EcmaVM *ecmaVm, const FrameHandler *frameHandler, int32_t level,
103 …static std::pair<int32_t, uint32_t> GetLevelSlot(const JSThread *ecmaVm, const FrameHandler *frame…
105 static Local<JSValueRef> GetGlobalValue(const EcmaVM *ecmaVm, Local<StringRef> name);
106 … static bool SetGlobalValue(const EcmaVM *ecmaVm, Local<StringRef> name, Local<JSValueRef> value);
107 …static Local<JSValueRef> GetCurrentGlobalEnv(const EcmaVM *ecmaVm, const FrameHandler *frameHandle…
110 static Local<JSValueRef> GetAndClearException(const EcmaVM *ecmaVm);
111 static JSTaggedValue GetCurrentModule(const EcmaVM *ecmaVm);
112 …static JSHandle<JSTaggedValue> GetImportModule(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue>…
114 …static int32_t GetModuleVariableIndex(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤t…
116 …static Local<JSValueRef> GetExportVariableValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue…
118 …static bool SetExportVariableValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tMod…
120 …static Local<JSValueRef> GetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> &curre…
122 static bool SetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> ¤tModule,
124 static void InitializeExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj,
126 static void GetLocalExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj,
128 static void GetIndirectExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj,
130 static void GetImportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj,
132 static void SetException(const EcmaVM *ecmaVm, Local<JSValueRef> exception);
133 static void ClearException(const EcmaVM *ecmaVm);
134 static bool IsExceptionCaught(const EcmaVM *ecmaVm);
137 static double StringToDouble(const uint8_t *start, const uint8_t *end, uint8_t radix);
140 static JSDebugger *CreateJSDebugger(const EcmaVM *ecmaVm);
141 static void DestroyJSDebugger(JSDebugger *debugger);
142 static void RegisterHooks(JSDebugger *debugger, PtHooks *hooks);
143 static bool SetBreakpoint(JSDebugger *debugger, const JSPtLocation &location,
145 static bool RemoveBreakpoint(JSDebugger *debugger, const JSPtLocation &location);
146 static void RemoveAllBreakpoints(JSDebugger *debugger);
147 static void HandleUncaughtException(const EcmaVM *ecmaVm, std::string &message);
148 static Local<JSValueRef> EvaluateViaFuncCall(EcmaVM *ecmaVm, Local<FunctionRef> funcRef,
150 static Local<JSValueRef> CallFunctionOnCall(EcmaVM *ecmaVm, Local<FunctionRef> funcRef,
152 …static Local<FunctionRef> GenerateFuncFromBuffer(const EcmaVM *ecmaVm, const void *buffer, size_t …
154 static void SetSingleStepStatus(JSDebugger *debugger, bool status);
155 static bool GetSingleStepStatus(JSDebugger *debugger);
157 static int32_t GetObjectHash(const EcmaVM *ecmaVM, const JSHandle<JSTaggedValue> &tagged);
158 static int32_t GetObjectHashCode(const EcmaVM *ecmaVM, const JSHandle<JSTaggedValue> &tagged);
159 …static void GetObjectClassName(const EcmaVM *ecmaVM, Local<JSValueRef> &tagged, std::string &class…
160 static bool RemoveBreakpointsByUrl(JSDebugger *debugger, const std::string &url);
161 static void DisableFirstTimeFlag(JSDebugger *debugger);
162 …static void SetSymbolicBreakpoint(JSDebugger *debugger, const std::unordered_set<std::string> &fun…
163 static void RemoveSymbolicBreakpoint(JSDebugger *debugger, const std::string &functionName);
166 …static std::vector<DebugInfoExtractor *> GetPatchExtractors(const EcmaVM *ecmaVm, const std::strin…
167 …static const JSPandaFile *GetBaseJSPandaFile(const EcmaVM *ecmaVm, const JSPandaFile *jsPandaFile);
168 static std::vector<void *> GetNativePointer(const EcmaVM *ecmaVm);
171 static uint32_t GetContainerLength(const EcmaVM *ecmaVm, Local<JSValueRef> value);
172 static void AddInternalProperties(const EcmaVM *ecmaVm, Local<ObjectRef> object,
174 static Local<JSValueRef> GetArrayListValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
176 static Local<JSValueRef> GetDequeValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
178 static Local<JSValueRef> GetHashMapValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
180 static Local<JSValueRef> GetHashSetValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
182 static Local<JSValueRef> GetLightWeightMapValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
184 static Local<JSValueRef> GetLightWeightSetValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
186 static Local<JSValueRef> GetLinkedListValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
188 static Local<JSValueRef> GetListValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
190 static Local<JSValueRef> GetPlainArrayValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
192 static Local<JSValueRef> GetQueueValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
194 static Local<JSValueRef> GetStackValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
196 static Local<JSValueRef> GetTreeMapValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
198 static Local<JSValueRef> GetTreeSetValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
200 static Local<JSValueRef> GetVectorValue(const EcmaVM *ecmaVm, Local<JSValueRef> value,
203 static std::shared_ptr<AsyncStack> GetCurrentAsyncParent(const EcmaVM *ecmaVm);
205 static bool CheckPromiseQueueSize(const EcmaVM *ecmaVm);
206 static bool CheckIsSendableMethod(const EcmaVM *ecmaVm);
207 static bool IsMainThread();
208 static void DropLastFrame(const EcmaVM *ecmaVm);