Home
last modified time | relevance | path

Searched full:object (Results 1 – 25 of 1231) sorted by relevance

12345678910>>...50

/arkcompiler/toolchain/tooling/test/testcases/
Djs_module_variable_test.h147 if (value->GetType() == RemoteObject::TypeName::Object) { in GetModuleProperties()
211 * if is object value, will push back key and value.
217 … * { "obj0", { "object", "Object", "Object", "[object Object]", "key", "string", "2", "2" } }
221 …{ "boolean0", { "object", "Object", "Boolean{[[PrimitiveValue]]: false}", "false", "[[PrimitiveVal…
224 { "obj0", { "object", "Object", "Object", "[object Object]",
227 …{ "arraybuffer0", { "object", "arraybuffer", "Arraybuffer", "ArrayBuffer(24)", "[object ArrayBuffe…
228 "[[Int8Array]]", "object", "Object", "Int8Array(24)",
229 … "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0", "[[Uint8Array]]", "object",
230 … "Object", "Uint8Array(24)", "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
231 "[[Uint8ClampedArray]]", "object", "Object", "Object",
[all …]
Djs_variable_second_test.h132 if (value->GetType() == RemoteObject::TypeName::Object) { in SendNotification()
203 * if is object value, will push back key and value.
209 … * { "obj0", { "object", "Object", "Object", "[object Object]", "key", "string", "2", "2" } }
216 …{ "boolean0", { "object", "Object", "Boolean{[[PrimitiveValue]]: false}", "false", "[[PrimitiveVal…
219 { "obj0", { "object", "Object", "Object", "[object Object]",
222 …{ "arraybuffer0", { "object", "arraybuffer", "Arraybuffer", "ArrayBuffer(24)", "[object ArrayBuffe…
223 "[[Int8Array]]", "object", "Object", "Int8Array(24)",
224 … "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0", "[[Uint8Array]]", "object",
225 … "Object", "Uint8Array(24)", "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
226 "[[Uint8ClampedArray]]", "object", "Object", "Object",
[all …]
Djs_variable_first_test.h132 if (value->GetType() == RemoteObject::TypeName::Object) { in SendNotification()
203 * if is object value, will push back key and value.
209 … * { "obj0", { "object", "Object", "Object", "[object Object]", "key", "string", "2", "2" } }
216 …{ "boolean0", { "object", "Object", "Boolean{[[PrimitiveValue]]: false}", "false", "[[PrimitiveVal…
219 { "obj0", { "object", "Object", "Object", "[object Object]",
222 …{ "arraybuffer0", { "object", "arraybuffer", "Arraybuffer", "ArrayBuffer(24)", "[object ArrayBuffe…
223 "[[Int8Array]]", "object", "Object", "Int8Array(24)",
224 … "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0", "[[Uint8Array]]", "object",
225 … "Object", "Uint8Array(24)", "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
226 "[[Uint8ClampedArray]]", "object", "Object", "Object",
[all …]
Djs_container_test.h145 if (value->GetType() == RemoteObject::TypeName::Object) { in GetProperties()
209 * if is object value, will push back key and value.
215 … * { "obj0", { "object", "Object", "Object", "[object Object]", "key", "string", "2", "2" } }
249 …{ "arrayList", { "object", "Object", "ArrayList", "[object ArrayList]", "size", "number", "6", "6",
250 … "[[ArrayList]]", "object", "array", "Array", "Array(6)", "8,15,3,10,288,188" } },
251 …{ "deque", { "object", "Object", "Deque", "[object Deque]", "size", "number", "10", "10", "[[Deque…
252 … "object", "array", "Array", "Array(10)", "1888,5,3,13,1888,17,888,387,666,177" } },
253 … { "hashMap", { "object", "Object", "HashMap", "[object HashMap]", "size", "number", "1", "1",
254 … "[[HashMap]]", "object", "array", "Array", "Array(1)", "[object Object]" } },
255 … { "hashSet", { "object", "Object", "HashSet", "[object HashSet]", "size", "number", "14",
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DobjectCreate2.ts27 let n = Object.create(null); // any
29 AssertType(Object.create(null), "any");
30 AssertType(Object.create, "{ (object): any; (object, PropertyDescriptorMap & ThisType<any>): any; }…
33 let t = Object.create({ a: 1, b: "" }); // {a: number, b: string
36 AssertType(Object.create({ a: 1, b: "" }), "any");
38 AssertType(Object.create, "{ (object): any; (object, PropertyDescriptorMap & ThisType<any>): any; }…
51 let u = Object.create(union); // {a: number, b: string
54 AssertType(Object.create(union), "any");
56 AssertType(Object.create, "{ (object): any; (object, PropertyDescriptorMap & ThisType<any>): any; }…
61 let e = Object.create({}); // {
[all …]
Dlibrary_ObjectPrototypeProperties.ts21 // Properties of the Object Prototype Object as per ES5 spec
23 Object.prototype.constructor;
24 AssertType(Object.prototype.constructor, "Function");
26 Object.prototype.toString();
27 AssertType(Object.prototype.toString(), "string");
28 AssertType(Object.prototype.toString, "() => string");
30 Object.prototype.toLocaleString();
31 AssertType(Object.prototype.toLocaleString(), "string");
32 AssertType(Object.prototype.toLocaleString, "() => string");
34 Object.prototype.valueOf();
[all …]
DobjectCreate.ts27 let n = Object.create(null); // object
29 AssertType(Object.create(null), "any");
30 AssertType(Object.create, "{ (union): any; (union, PropertyDescriptorMap & ThisType<any>): any; }");
33 let t = Object.create({ a: 1, b: "" }); // {a: number, b: string
36 AssertType(Object.create({ a: 1, b: "" }), "any");
38 AssertType(Object.create, "{ (union): any; (union, PropertyDescriptorMap & ThisType<any>): any; }");
51 let u = Object.create(union); // object | {a: number, b: string
54 AssertType(Object.create(union), "any");
56 AssertType(Object.create, "{ (union): any; (union, PropertyDescriptorMap & ThisType<any>): any; }");
61 let e = Object.create({}); // {
[all …]
DemitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts21 let object = {
22 AssertType(object, "{ _0: number; 0: number; }");
49 object[0] **= object[0];
50 AssertType(object[0] **= object[0], "number");
51 AssertType(object[0], "number");
52 AssertType(object, "{ _0: number; 0: number; }");
54 AssertType(object[0], "number");
55 AssertType(object, "{ _0: number; 0: number; }");
58 object[0] **= object[0] **= 2;
59 AssertType(object[0] **= object[0] **= 2, "number");
[all …]
DuseObjectValuesAndEntries1.ts29 for (let x of Object.values(o)) {
35 let entries = Object.entries(o); // [string, number][]
37 AssertType(Object.entries(o), "[string, number][]");
38 AssertType(Object.entries, "{ <T>(union): [string, T][]; ({}): [string, any][]; }");
41 let values = Object.values(o); // number[]
43 AssertType(Object.values(o), "number[]");
44 AssertType(Object.values, "{ <T>(union): T[]; ({}): any[]; }");
47 let entries1 = Object.entries(1); // [string, any][]
49 AssertType(Object.entries(1), "[string, any][]");
50 AssertType(Object.entries, "{ <T>(union): [string, T][]; ({}): [string, any][]; }");
[all …]
DjsDeclarationsExportDefinePropertyEmit.ts21 Object.defineProperty(module.exports, "a", { value: function a() {} });
22 AssertType(Object.defineProperty(module.exports, "a", { value: function a() {} }), "typeof module.e…
23 AssertType(Object.defineProperty, "<T>(T, PropertyKey, PropertyDescriptor & ThisType<any>) => T");
31 Object.defineProperty(module.exports, "b", { value: function b() {} });
32 AssertType(Object.defineProperty(module.exports, "b", { value: function b() {} }), "typeof module.e…
33 AssertType(Object.defineProperty, "<T>(T, PropertyKey, PropertyDescriptor & ThisType<any>) => T");
41 Object.defineProperty(module.exports.b, "cat", { value: "cat" });
42 AssertType(Object.defineProperty(module.exports.b, "cat", { value: "cat" }), "() => void");
43 AssertType(Object.defineProperty, "<T>(T, PropertyKey, PropertyDescriptor & ThisType<any>) => T");
63 Object.defineProperty(module.exports, "d", { value: d });
[all …]
DbestCommonTypeOfConditionalExpressions.ts74 let r6 = true ? (x: number) => { } : (x: Object) => { }; //
76 AssertType(true ? (x: number) => { } : (x: Object) => { }, "union");
80 AssertType((x: Object) => { }, "(Object) => void");
81 AssertType(x, "Object");
84 let r7: (x: Object) => void = true ? (x: number) => { } : (x: Object) => { };
85 AssertType(r7, "(Object) => void");
86 AssertType(x, "Object");
87 AssertType(true ? (x: number) => { } : (x: Object) => { }, "union");
91 AssertType((x: Object) => { }, "(Object) => void");
92 AssertType(x, "Object");
[all …]
/arkcompiler/ets_frontend/test262/
Des2022_tests.txt1 built-ins/Object/hasOwn/hasown_inherited_nonwritable_nonconfigurable_nonenumerable.js
2 built-ins/Object/hasOwn/hasown_inherited_getter_configurable_enumerable.js
3 built-ins/Object/hasOwn/hasown_inherited_getter_and_setter_nonconfigurable_enumerable.js
4 built-ins/Object/hasOwn/hasown_inherited_writable_nonconfigurable_nonenumerable.js
5 built-ins/Object/hasOwn/symbol_property_toPrimitive.js
6 built-ins/Object/hasOwn/hasown_inherited_exists.js
7 built-ins/Object/hasOwn/hasown_own_property_exists.js
8 built-ins/Object/hasOwn/hasown_inherited_getter_nonconfigurable_nonenumerable.js
9 built-ins/Object/hasOwn/hasown_inherited_writable_configurable_nonenumerable.js
10 built-ins/Object/hasOwn/hasown_inherited_writable_configurable_enumerable.js
[all …]
Des5_tests.txt98 built-ins/BigInt/prototype/valueOf/this-value-invalid-object-throws.js
137 language/expressions/does-not-equals/bigint-and-object.js
145 language/expressions/equals/bigint-and-object.js
217 language/expressions/strict-does-not-equals/bigint-and-object.js
225 language/expressions/strict-equals/bigint-and-object.js
1225 built-ins/Object/create/15.2.3.5-0-1.js
1226 built-ins/Object/create/15.2.3.5-0-2.js
1227 built-ins/Object/create/15.2.3.5-1.js
1228 built-ins/Object/create/15.2.3.5-1-1.js
1229 built-ins/Object/create/15.2.3.5-1-2.js
[all …]
DCI_tests.txt71 built-ins/NativeErrors/RangeError/is-error-object.js
81 built-ins/NativeErrors/SyntaxError/is-error-object.js
85 built-ins/NativeErrors/SyntaxError/prototype/not-error-object.js
116 built-ins/Promise/all/ctx-non-object.js
135 built-ins/Promise/race/ctx-non-object.js
149 built-ins/Promise/reject/ctx-non-object.js
202 built-ins/Reflect/set/target-is-not-object-throws.js
206 built-ins/Reflect/setPrototypeOf/proto-is-not-object-and-not-null-throws.js
217 built-ins/Object/S15.2.1.1_A1_T1.js
218 built-ins/Object/S15.2.1.1_A2_T1.js
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h123 …inline void VisitObjectBody(TaggedObject *object, JSHClass *klass, const EcmaObjectRangeVisitor &v… in VisitObjectBody() argument
140 JSObject::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
143 JSAsyncFromSyncIterator::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
146 JSGlobalObject::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
149 auto jsFunctionBase = JSFunctionBase::Cast(object); in VisitObjectBody()
154 auto jsFunction = JSFunction::Cast(object); in VisitObjectBody()
159 auto jsGeneratorFunction = JSGeneratorFunction::Cast(object); in VisitObjectBody()
164 auto jsGeneratorFunction = JSAsyncGeneratorFunction::Cast(object); in VisitObjectBody()
169 auto jsProxyRevocFunction = JSProxyRevocFunction::Cast(object); in VisitObjectBody()
174 auto jsPromiseReactionsFunction = JSPromiseReactionsFunction::Cast(object); in VisitObjectBody()
[all …]
Dheap-inl.h35 #define CHECK_OBJ_AND_THROW_OOM_ERROR(object, size, space, message) … argument
36 …if (UNLIKELY((object) == nullptr)) { …
39object = reinterpret_cast<TaggedObject *>((space)->Allocate(size)); …
133 auto object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateYoungOrHugeObject() local
134 if (object == nullptr) { in AllocateYoungOrHugeObject()
136 object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateYoungOrHugeObject()
137 if (object == nullptr) { in AllocateYoungOrHugeObject()
139 object = reinterpret_cast<TaggedObject *>(activeSemiSpace_->Allocate(size)); in AllocateYoungOrHugeObject()
140 … CHECK_OBJ_AND_THROW_OOM_ERROR(object, size, activeSemiSpace_, "Heap::AllocateYoungOrHugeObject"); in AllocateYoungOrHugeObject()
143 return object; in AllocateYoungOrHugeObject()
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Disinstance.yaml20 .record panda.Object <external>
38 .record panda.Object <external>
51 …Resolve object type by specified id and if an object in accumulator is an instance of the resolved…
53Object of type O is instance of type T if O is the same as T or is subtype of T. For arrays T shou…
62 description: Check that null object reference is not an instance of any class
65 'null' object is not an instance of any class.
77 - values: ['panda.Object']
82 description: Check that null object reference is not an instance of any class
85 'null' object is not an instance of any class.
98 - values: ['panda.Object']
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_object.h32 // 19.1.1.1Object ( [ value ] )
35 // 19.1.2.1Object.assign ( target, ...sources )
37 // 19.1.2.2Object.create ( O [ , Properties ] )
39 // 19.1.2.3Object.defineProperties ( O, Properties )
41 // 19.1.2.4Object.defineProperty ( O, P, Attributes )
43 // 19.1.2.5Object.freeze ( O )
45 // 19.1.2.6Object.getOwnPropertyDescriptor ( O, P )
47 // 19.1.2.7Object.getOwnPropertyNames ( O )
49 // 19.1.2.8Object.getOwnPropertySymbols ( O )
51 // 19.1.2.9Object.getPrototypeOf ( O )
[all …]
Dbuiltins_object.cpp31 // 19.1.1.1 Object ( [ value ] )
36 BUILTINS_API_TRACE(thread, Object, Constructor); in ObjectConstructor()
63 // 19.1.2.1 Object.assign ( target, ...sources )
68 BUILTINS_API_TRACE(thread, Object, Assign); in Assign()
139 BUILTINS_API_TRACE(thread, Object, DefineProperties); in ObjectDefineProperties()
141 // 1.If Type(O) is not Object, throw a TypeError exception. in ObjectDefineProperties()
144 THROW_TYPE_ERROR_AND_RETURN(thread, "is not an object", JSTaggedValue::Exception()); in ObjectDefineProperties()
211 // 19.1.2.2 Object.create ( O [ , Properties ] )
216 BUILTINS_API_TRACE(thread, Object, Create); in Create()
218 // 1.If Type(O) is neither Object nor Null, throw a TypeError exception. in Create()
[all …]
/arkcompiler/runtime_core/pandastdlib/
Dpandastdlib.pa15 .record panda.Object <external>
24 .record Object {}
30 panda.Object cause
35 panda.Object cause
40 panda.Object cause
45 panda.Object cause
50 panda.Object cause
55 panda.Object cause
60 panda.Object cause
65 panda.Object cause
[all …]
/arkcompiler/toolchain/tooling/base/
Dpt_events.cpp26 std::unique_ptr<PtJson> object = PtJson::CreateObject(); in ToJson() local
27 object->Add("method", GetName().c_str()); in ToJson()
28 object->Add("params", result); in ToJson()
30 return object; in ToJson()
58 std::unique_ptr<PtJson> object = PtJson::CreateObject(); in ToJson() local
59 object->Add("method", GetName().c_str()); in ToJson()
60 object->Add("params", result); in ToJson()
62 return object; in ToJson()
69 std::unique_ptr<PtJson> object = PtJson::CreateObject(); in ToJson() local
70 object->Add("method", GetName().c_str()); in ToJson()
[all …]
/arkcompiler/runtime_core/libpandabase/mem/
Dobject_pointer.h24 * @class ObjectPointer<class Object>
26 * \brief This class is wrapper for object types.
28 …* Wraps pointer Object * into class ObjectPointer<Object> and provides interfaces to work with it …
29 * This is needed to use object pointers of size 32 bits in 64-bit architectures.
31 template <class Object>
36 ObjectPointer(Object *object) : object_(ToObjPtrType(object)) in ObjectPointer() argument
39 ASSERT(IsInObjectsAddressSpace(ToUintPtr(object))); in ObjectPointer()
54 ObjectPointer &operator=(const Object *object)
57 ASSERT(IsInObjectsAddressSpace(ToUintPtr(object)));
59 object_ = ToObjPtrType(object);
[all …]
/arkcompiler/ets_runtime/test/aottest/aot_compatibility_test/builtins_api/
Dexpect_output.txt15 Object.getOwnPropertyNames:
16 Object.getOwnPropertyDescriptor: undefined
17 Object.keys():
23 Object.getOwnPropertyNames: b
24 Object.getOwnPropertyDescriptor: [object Object]
25 Object.keys(): b
29 Reflect.getOwnPropertyDescriptor(): [object Object]
Dbuiltins_api.ts23 print("Object.getOwnPropertyNames:", Object.getOwnPropertyNames(this));
24 print("Object.getOwnPropertyDescriptor:", Object.getOwnPropertyDescriptor(this,"b"));
25 print("Object.keys():", Object.keys(this));
32 print("Object.getOwnPropertyNames:", Object.getOwnPropertyNames(this));
33 print("Object.getOwnPropertyDescriptor:", Object.getOwnPropertyDescriptor(this,"b"));
34 print("Object.keys():", Object.keys(this));
/arkcompiler/runtime_core/docs/diagrams/
Dgc-mark.puactivity22 :Get an object from the stack;
23 if (object is in collected space) then(Yes)
24 if (The object is a Reference object in the same generation space with reference) then(Yes)
25 if (the referent object is marked) then(Yes)
27 :Put the object into the corresponding queue;
31 :Mark all fields in object;
37 mark object == mark object and add all non-primitive fields to the Mark Stack
38 …mark all fields in object == mark all directly referenced objects and add their un-marked fields t…

12345678910>>...50