Searched refs:descriptors (Results 1 - 7 of 7) sorted by relevance
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
H A D | interop_context.cpp | 30 namespace descriptors = panda_file_items::class_descriptors; 34 descriptors::FUNCTION0, descriptors::FUNCTION1, descriptors::FUNCTION2, descriptors::FUNCTION3, 35 descriptors::FUNCTION4, descriptors::FUNCTION5, descriptors::FUNCTION6, descriptors::FUNCTION7, 36 descriptors [all...] |
H A D | js_refconvert_builtin.cpp | 81 namespace descriptors = panda_file_items::class_descriptors; 133 wError_ = RegisterClass(descriptors::ERROR, "Error", &W_ERROR_OVERLOADS); in RegisterExceptions() 134 RegisterClass(descriptors::EXCEPTION, nullptr, &W_EXCEPTION_OVERLOADS); in RegisterExceptions() 218 wArray_ = RegisterClass(descriptors::ARRAY, "Array", &W_ARRAY_OVERLOADS); in RegisterArray() 344 wObject_ = RegisterClass(descriptors::OBJECT, "Object"); in Run()
|
/arkcompiler/ets_runtime/test/moduletest/objectgetownproperty/ |
H A D | objectgetownproperty.js | 35 const descriptors = Object.getOwnPropertyDescriptors(obj);
36 print(descriptors.name.value === '小明');
37 print(descriptors.age.value === 20);
38 print(typeof descriptors.fullName.get === 'function');
39 print(descriptors);
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_object.cpp | 183 // 6.Let descriptors be an empty List. in ObjectDefineProperties() 186 [[maybe_unused]] JSHandle<TaggedArray> descriptors = in ObjectDefineProperties() local 197 // v.Append the pair (a two element List) consisting of nextKey and desc to the end of descriptors. in ObjectDefineProperties() 224 // 8.For each pair from descriptors in list order, in ObjectDefineProperties() 413 // 5.Let descriptors be OrdinaryObjectCreate(%Object.prototype%). in GetOwnPropertyDescriptors() 417 JSHandle<JSObject> descriptors = factory->NewJSObjectByConstructor(constructor); in GetOwnPropertyDescriptors() local 422 // c. If descriptor is not undefined, perform ! CreateDataPropertyOrThrow(descriptors, key, descriptor). in GetOwnPropertyDescriptors() 432 JSObject::CreateDataPropertyOrThrow(thread, descriptors, handleKey, descriptor); in GetOwnPropertyDescriptors() 437 // 7.Return descriptors. in GetOwnPropertyDescriptors() 438 return descriptors in GetOwnPropertyDescriptors() [all...] |
/arkcompiler/runtime_core/assembler/tests/ |
H A D | assembler_emitter_test.cpp | 891 std::string descriptors; in HWTEST_F() local 893 auto class_id = pf->GetClassId(GetTypeDescriptor("Math", &descriptors)); in HWTEST_F()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_object_stub_builder.cpp | 2261 GateRef descriptors = newBuilder.CreateEmptyObject(glue_);
in GetOwnPropertyDescriptors() local 2333 FastSetPropertyByName(glue_, descriptors, key, descriptor);
in GetOwnPropertyDescriptors() 2342 *result = descriptors;
in GetOwnPropertyDescriptors()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | 5488 this.descriptors = i; [all...] |
Completed in 39 milliseconds