• Home
  • Raw
  • Download

Lines Matching refs:JSValueRef

124 void DebuggerApi::SetVRegValue(FrameHandler *frameHandler, size_t index, Local<JSValueRef> value)  in SetVRegValue()
191 Local<JSValueRef> DebuggerApi::GetVRegValue(const EcmaVM *ecmaVm, in GetVRegValue()
196 return JSNApiHelper::ToLocal<JSValueRef>(handledValue); in GetVRegValue()
200 Local<JSValueRef> DebuggerApi::GetAndClearException(const EcmaVM *ecmaVm) in GetAndClearException()
205 return JSNApiHelper::ToLocal<JSValueRef>(handledException); in GetAndClearException()
208 void DebuggerApi::SetException(const EcmaVM *ecmaVm, Local<JSValueRef> exception) in SetException()
257 Local<JSValueRef> DebuggerApi::GetProperties(const EcmaVM *ecmaVm, const FrameHandler *frameHandler, in GetProperties()
268 return JSNApiHelper::ToLocal<JSValueRef>(handledValue); in GetProperties()
272 int32_t level, uint32_t slot, Local<JSValueRef> value) in SetProperties()
306 Local<JSValueRef> DebuggerApi::GetGlobalValue(const EcmaVM *ecmaVm, Local<StringRef> name) in GetGlobalValue()
317 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, result)); in GetGlobalValue()
322 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, globalVar)); in GetGlobalValue()
325 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, result)); in GetGlobalValue()
328 return Local<JSValueRef>(); in GetGlobalValue()
331 bool DebuggerApi::SetGlobalValue(const EcmaVM *ecmaVm, Local<StringRef> name, Local<JSValueRef> val… in SetGlobalValue()
475 Local<JSValueRef> DebuggerApi::GetExportVariableValue(const EcmaVM *ecmaVm, in GetExportVariableValue()
478 Local<JSValueRef> result; in GetExportVariableValue()
496 result = JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, moduleValue)); in GetExportVariableValue()
503 std::string &name, Local<JSValueRef> value) in SetExportVariableValue()
528 Local<JSValueRef> DebuggerApi::GetModuleValue(const EcmaVM *ecmaVm, const JSHandle<JSTaggedValue> &… in GetModuleValue()
531 Local<JSValueRef> result; in GetModuleValue()
547 std::string &name, Local<JSValueRef> value) in SetModuleValue()
592 Local<JSValueRef> variableName = JSNApiHelper::ToLocal<JSValueRef>(name); in InitializeExportVariables()
593 Local<JSValueRef> variableValue = JSNApiHelper::ToLocal<JSValueRef>(value); in InitializeExportVariables()
643 Local<JSValueRef> variableName = JSNApiHelper::ToLocal<JSValueRef>(name); in GetLocalExportVariables()
644 Local<JSValueRef> variableValue = JSNApiHelper::ToLocal<JSValueRef>(value); in GetLocalExportVariables()
674 Local<JSValueRef> variableName = JSNApiHelper::ToLocal<JSValueRef>(name); in GetIndirectExportVariables()
685 Local<JSValueRef> value = GetModuleValue(ecmaVm, importModule, importName); in GetIndirectExportVariables()
726 Local<JSValueRef> variableName = JSNApiHelper::ToLocal<JSValueRef>(name); in GetImportVariables()
727 … PropertyAttribute descriptor(static_cast<Local<JSValueRef>>(importModuleObj), true, true, true); in GetImportVariables()
733 …Local<JSValueRef> value = JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, module… in GetImportVariables()
734 Local<JSValueRef> variableName = JSNApiHelper::ToLocal<JSValueRef>(name); in GetImportVariables()
767 return JSValueRef::Undefined(ecmaVm); in GenerateFuncFromBuffer()
775 Local<JSValueRef> DebuggerApi::EvaluateViaFuncCall(EcmaVM *ecmaVm, Local<FunctionRef> funcRef, in EvaluateViaFuncCall()
785 std::vector<Local<JSValueRef>> args; in EvaluateViaFuncCall()
786 auto result = funcRef->Call(ecmaVm, JSValueRef::Undefined(ecmaVm), args.data(), args.size()); in EvaluateViaFuncCall()
854 uint32_t DebuggerApi::GetContainerLength(const EcmaVM *ecmaVm, Local<JSValueRef> value) in GetContainerLength()
866 Local<JSValueRef> DebuggerApi::GetArrayListValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetArrayListValue()
871 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetArrayListValue()
877 …ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetArrayListValue()
883 Local<JSValueRef> DebuggerApi::GetDequeValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetDequeValue()
888 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetDequeValue()
894 …ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetDequeValue()
900 Local<JSValueRef> DebuggerApi::GetHashMapValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetHashMapValue()
908 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetHashMapValue()
914 Local<JSValueRef> jsKey = StringRef::NewFromUtf8(ecmaVm, "key"); in GetHashMapValue()
915 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetHashMapValue()
924 objRef->Set(ecmaVm, jsKey, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetHashMapValue()
925 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetHashMapValue()
934 Local<JSValueRef> DebuggerApi::GetHashSetValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetHashSetValue()
942 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetHashSetValue()
947 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetHashSetValue()
956 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetHashSetValue()
960 … ArrayRef::SetValueAt(ecmaVm, jsValueRef, pos++, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetHashSetValue()
968 Local<JSValueRef> DebuggerApi::GetLightWeightMapValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetLightWeightMapValue()
973 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetLightWeightMapValue()
979 Local<JSValueRef> jsKey = StringRef::NewFromUtf8(ecmaVm, "key"); in GetLightWeightMapValue()
980 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetLightWeightMapValue()
986 objRef->Set(ecmaVm, jsKey, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetLightWeightMapValue()
987 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetLightWeightMapValue()
995 Local<JSValueRef> DebuggerApi::GetLightWeightSetValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetLightWeightSetValue()
1000 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetLightWeightSetValue()
1003 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetLightWeightSetValue()
1009 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetLightWeightSetValue()
1013 …ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetLightWeightSetValue()
1020 Local<JSValueRef> DebuggerApi::GetLinkedListValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetLinkedListValue()
1027 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetLinkedListValue()
1034 …ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetLinkedListValue()
1040 Local<JSValueRef> DebuggerApi::GetListValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetListValue()
1047 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetListValue()
1054 …ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetListValue()
1060 Local<JSValueRef> DebuggerApi::GetPlainArrayValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetPlainArrayValue()
1065 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetPlainArrayValue()
1071 Local<JSValueRef> jsKey = StringRef::NewFromUtf8(ecmaVm, "key"); in GetPlainArrayValue()
1072 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetPlainArrayValue()
1078 objRef->Set(ecmaVm, jsKey, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetPlainArrayValue()
1079 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetPlainArrayValue()
1087 Local<JSValueRef> DebuggerApi::GetQueueValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetQueueValue()
1092 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetQueueValue()
1100 …ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetQueueValue()
1106 Local<JSValueRef> DebuggerApi::GetStackValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetStackValue()
1111 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetStackValue()
1117 …ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetStackValue()
1123 Local<JSValueRef> DebuggerApi::GetTreeMapValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetTreeMapValue()
1128 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetTreeMapValue()
1135 Local<JSValueRef> jsKey = StringRef::NewFromUtf8(ecmaVm, "key"); in GetTreeMapValue()
1136 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetTreeMapValue()
1143 objRef->Set(ecmaVm, jsKey, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetTreeMapValue()
1144 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetTreeMapValue()
1152 Local<JSValueRef> DebuggerApi::GetTreeSetValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetTreeSetValue()
1159 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, elements); in GetTreeSetValue()
1162 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetTreeSetValue()
1169 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetTreeSetValue()
1173 …ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetTreeSetValue()
1180 Local<JSValueRef> DebuggerApi::GetVectorValue(const EcmaVM *ecmaVm, Local<JSValueRef> value, in GetVectorValue()
1185 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetVectorValue()
1191 …ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetVectorValue()