/arkcompiler/toolchain/tooling/agent/ |
H A D | runtime_impl.h | 38 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc, 82 const char* name, std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc); 84 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc); 86 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc); 88 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc); 90 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc); 92 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc, const std::string &cstrProName); 94 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc); 96 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc); 98 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDes [all...] |
H A D | runtime_impl.cpp | 105 std::vector<std::unique_ptr<PropertyDescriptor>> outPropertyDesc; in GetProperties() 176 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc, in GetProperties() 299 std::unique_ptr<PropertyDescriptor> debuggerProperty = in GetProperties() 300 PropertyDescriptor::FromProperty(vm_, name, jsProperty); in GetProperties() 333 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc) in AddTypedArrayRefs() 363 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc) in AddSharedArrayBufferRefs() 387 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDesc) in AddTypedArrayRef() 393 std::unique_ptr<PropertyDescriptor> debuggerProperty = std::make_unique<PropertyDescriptor>(); in AddTypedArrayRef() 412 std::vector<std::unique_ptr<PropertyDescriptor>> *outPropertyDes in GetProtoOrProtoType() [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | jsnapi_sendable.h | 28 const std::vector<PropertyDescriptor> GetStaticDescs() const in GetStaticDescs() 32 const std::vector<PropertyDescriptor> GetNonStaticDescs() const in GetNonStaticDescs() 36 const std::vector<PropertyDescriptor> GetInstanceDescs() const in GetInstanceDescs() 42 std::vector<PropertyDescriptor> &descs); 45 std::vector<PropertyDescriptor> staticDescs_; 46 std::vector<PropertyDescriptor> nonStaticDescs_; 47 std::vector<PropertyDescriptor> instanceDescs_; 49 static void InitStaticDescription(JSThread *thread, std::vector<PropertyDescriptor> &descs, Local<StringRef> &name); 50 static void InitNonStaticDescription(JSThread *thread, std::vector<PropertyDescriptor> &descs); 51 static void InitInstanceDescription(JSThread *thread, std::vector<PropertyDescriptor> [all...] |
H A D | jsnapi_sendable.cpp | 39 std::vector<PropertyDescriptor> &descs, in InitStaticDescription() 45 PropertyDescriptor nameDesc(thread, false, false, false); in InitStaticDescription() 52 PropertyDescriptor prototypeDesc(thread, false, false, false); in InitStaticDescription() 59 void JSNapiSendable::InitNonStaticDescription(JSThread *thread, std::vector<PropertyDescriptor> &descs) in InitNonStaticDescription() 64 PropertyDescriptor constructorDesc(thread, false, false, false); in InitNonStaticDescription() 71 void JSNapiSendable::InitInstanceDescription(JSThread *thread, std::vector<PropertyDescriptor> &descs) in InitInstanceDescription() 76 PropertyDescriptor napiWrapperDesc(thread, true, false, false); in InitInstanceDescription() 85 std::vector<PropertyDescriptor> &descs) in InitWithPropertiesInfo() 91 PropertyDescriptor desc(thread, in InitWithPropertiesInfo()
|
H A D | js_object.h | 59 class PropertyDescriptor final { 61 PropertyDescriptor() = delete; 63 ~PropertyDescriptor() = default; 64 DEFAULT_NOEXCEPT_MOVE_SEMANTIC(PropertyDescriptor); 65 DEFAULT_COPY_SEMANTIC(PropertyDescriptor); 67 explicit PropertyDescriptor(const JSThread *thread) : thread_(thread) {} in PropertyDescriptor() function in panda::ecmascript::final 69 PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v) : thread_(thread), value_(v) {} in PropertyDescriptor() function in panda::ecmascript::final 71 PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c) in PropertyDescriptor() function in panda::ecmascript::final 83 PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor() function in panda::ecmascript::final 84 : PropertyDescriptor(threa in PropertyDescriptor() [all...] |
H A D | template_string.cpp | 47 PropertyDescriptor descCooked(thread, cookedValue, true, false, false); in GetTemplateObject() 51 PropertyDescriptor descRaw(thread, rawValue, true, false, false); in GetTemplateObject() 57 PropertyDescriptor desc(thread, rawArr, false, false, false); in GetTemplateObject()
|
H A D | js_arguments.cpp | 23 const JSHandle<JSTaggedValue> &key, PropertyDescriptor &desc) in GetOwnProperty() 43 const JSHandle<JSTaggedValue> &key, const PropertyDescriptor &desc) in DefineOwnProperty()
|
H A D | js_arguments.h | 37 PropertyDescriptor &desc); 40 const JSHandle<JSTaggedValue> &key, const PropertyDescriptor &desc);
|
H A D | js_primitive_ref.cpp | 38 // 8. Perform ! DefinePropertyOrThrow(S, "length", PropertyDescriptor { [[Value]]: F(length), in StringCreate() 40 PropertyDescriptor desc(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(length)), false, false, false); in StringCreate() 49 PropertyDescriptor *desc) in StringGetIndexProperty() 63 // 11. Return a PropertyDescriptor{ [[Value]]: resultStr, [[Enumerable]]: true, [[Writable]]: false, in StringGetIndexProperty()
|
H A D | object_operator.h | 28 class PropertyDescriptor; 300 void ToPropertyDescriptor(PropertyDescriptor &desc) const; 315 bool WriteDataPropertyInHolder(const PropertyDescriptor &desc) in WriteDataPropertyInHolder() 320 bool WriteDataProperty(const JSHandle<JSObject> &receiver, const PropertyDescriptor &desc); 369 void WriteElement(const JSHandle<JSObject> &receiver, const PropertyDescriptor &desc);
|
H A D | js_array.h | 41 static bool ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const PropertyDescriptor &desc); 43 const PropertyDescriptor &desc); 45 const PropertyDescriptor &desc);
|
H A D | js_proxy.h | 41 PropertyDescriptor &desc); 44 const PropertyDescriptor &desc);
|
/arkcompiler/toolchain/tooling/client/manager/ |
H A D | variable_manager.h | 29 using PropertyDescriptor = panda::ecmascript::tooling::PropertyDescriptor; 31 using PropertyDescriptor = panda::ecmascript::tooling::PropertyDescriptor; 32 using DescriptorMap = std::map<int32_t, std::unique_ptr<PropertyDescriptor>>; 34 std::unique_ptr<PropertyDescriptor>, DescriptorMap>; 43 TreeNode(std::unique_ptr<PropertyDescriptor> descriptor) : data(std::move(descriptor)) {} in TreeNode() 46 void AddChild(std::unique_ptr<PropertyDescriptor> descriptor); 61 void AddVariableNode(TreeNode* parentNode, std::unique_ptr<PropertyDescriptor> descriptor); 62 void AddObjectNode(TreeNode* parentNode, std::unique_ptr<PropertyDescriptor> descripto [all...] |
H A D | variable_manager.cpp | 24 void TreeNode::AddChild(std::unique_ptr<PropertyDescriptor> descriptor) in AddChild() 56 } else if (std::holds_alternative<std::unique_ptr<PropertyDescriptor>>(data)) { in Print() 57 const auto &descriptor = std::get<std::unique_ptr<PropertyDescriptor>>(data); in Print() 135 void Tree::AddVariableNode(TreeNode* parentNode, std::unique_ptr<PropertyDescriptor> descriptor) in AddVariableNode() 143 void Tree::AddObjectNode(TreeNode* parentNode, std::unique_ptr<PropertyDescriptor> descriptor) in AddObjectNode() 292 void VariableManager::AddVariableInfo(TreeNode *parentNode, std::unique_ptr<PropertyDescriptor> variableInfo) in AddVariableInfo()
|
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/ |
H A D | property_descriptor.h | 29 class PropertyDescriptor { class 31 PropertyDescriptor(std::string name, RemoteObject value) : name_(std::move(name)), value_(std::move(value)) {} in PropertyDescriptor() function in ark::tooling::inspector::PropertyDescriptor 33 static PropertyDescriptor Accessor(std::string name, RemoteObject getter) in Accessor() 35 PropertyDescriptor property(std::move(name), std::move(getter)); in Accessor()
|
H A D | object_preview.h | 24 class PropertyDescriptor; 28 ObjectPreview(RemoteObjectType type, const std::vector<PropertyDescriptor> &properties);
|
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/ |
H A D | object_repository.h | 46 std::vector<PropertyDescriptor> GetProperties(RemoteObjectId id, bool generatePreview); 53 std::vector<PropertyDescriptor> GetProperties(RemoteObjectId id); 60 std::map<RemoteObjectId, std::vector<PropertyDescriptor>> frames_;
|
H A D | object_repository.cpp | 38 std::vector<PropertyDescriptor> properties; in CreateFrameObject() 133 std::vector<PropertyDescriptor> ObjectRepository::GetProperties(RemoteObjectId id, bool generatePreview) in GetProperties() 226 std::vector<PropertyDescriptor> ObjectRepository::GetProperties(RemoteObjectId id) in GetProperties() 236 std::vector<PropertyDescriptor> properties; in GetProperties() 238 auto property = isAccessor ? PropertyDescriptor::Accessor(name, CreateObject(value)) in GetProperties() 239 : PropertyDescriptor(name, CreateObject(value)); in GetProperties()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_shared_array_test.cpp | 100 PropertyDescriptor desc1(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(0)), true, true, true); in HWTEST_F_L0() 112 PropertyDescriptor desc0(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(vals[i])), true, true, true); in HWTEST_F_L0() 116 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(6)), true, true, true); in HWTEST_F_L0() 128 PropertyDescriptor desc(thread); in HWTEST_F_L0() 139 PropertyDescriptor desc(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(6))); in HWTEST_F_L0() 150 PropertyDescriptor desc1(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(0)), false, true, false); in HWTEST_F_L0() 153 PropertyDescriptor desc2(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(0)), false, true, true); in HWTEST_F_L0() 165 PropertyDescriptor desc(thread); in HWTEST_F_L0() 168 PropertyDescriptor desc1(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(1)), true, false, false); in HWTEST_F_L0() 244 PropertyDescriptor des in HWTEST_F_L0() [all...] |
H A D | template_string_test.cpp | 56 PropertyDescriptor propertyDesc(thread, arrayObjVal, true, true, true); in HWTEST_F_L0() 61 PropertyDescriptor propertyDesc1(thread, arrayObjVal1, true, true, true); in HWTEST_F_L0() 66 PropertyDescriptor propertyDesc2(thread, arrayObjVal1, true, true, true); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | js_module_namespace.h | 42 PropertyDescriptor &desc); 45 const JSHandle<JSTaggedValue> &key, PropertyDescriptor desc);
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | error_helper.cpp | 148 // c. Let msgDesc be the PropertyDescriptor{[[Value]]: msg, [[Writable]]: true, [[Enumerable]]: false, in ErrorCommonConstructor() 160 PropertyDescriptor msgDesc(thread, JSHandle<JSTaggedValue>::Cast(handleStr), true, false, true); in ErrorCommonConstructor() 176 PropertyDescriptor causeDesc(thread, cause, true, false, true); in ErrorCommonConstructor() 184 PropertyDescriptor errorFuncDesc(thread, errorFunc, true, false, true); in ErrorCommonConstructor() 193 PropertyDescriptor stackDesc(thread, JSHandle<JSTaggedValue>::Cast(handleStack), true, false, true); in ErrorCommonConstructor() 199 PropertyDescriptor topStackDesc(thread, JSHandle<JSTaggedValue>::Cast(factory->NewFromStdString(stack)), in ErrorCommonConstructor()
|
/arkcompiler/ets_runtime/ecmascript/shared_objects/ |
H A D | js_shared_array.h | 40 static bool ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const PropertyDescriptor &desc); 42 const PropertyDescriptor &desc, SCheckMode sCheckMode = SCheckMode::CHECK); 44 const PropertyDescriptor &desc, SCheckMode sCheckMode = SCheckMode::CHECK);
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_sharedobject_test.cpp | 52 PropertyDescriptor desc(thread); in HWTEST_F_L0() 89 PropertyDescriptor desc(thread); in HWTEST_F_L0() 113 PropertyDescriptor desc(thread); in HWTEST_F_L0()
|
H A D | builtins_proxy_test.cpp | 76 PropertyDescriptor desc(thread); in HWTEST_F_L0() 110 PropertyDescriptor descRes(thread); in HWTEST_F_L0()
|