Home
last modified time | relevance | path

Searched refs:obj3 (Results 1 - 25 of 35) sorted by relevance

12

/third_party/jerryscript/tests/jerry/
H A Dobject-prototype-hasownproperty.js44 var obj3 = {};
45 Object.defineProperty(obj3, 'Test', { 'get' : function () {throw new ReferenceError ("foo"); } });
46 assert (obj3.hasOwnProperty("Test") === true);
48 Object.defineProperty(obj3, 'Test2', { 'get' : function () { return 0/0; } });
49 assert (obj3.hasOwnProperty("Test2") === true);
51 Object.defineProperty(obj3, 'Test4', { 'get' : function () { return obj_undef; } });
52 assert (obj3.hasOwnProperty("Test4") === true);
H A Dobject-create.js116 var obj3 = Object.create(obj, props);
117 assert (obj3.prop1 === 1);
118 assert (obj3.protoFunction() === 3);
120 assert (obj3.hey === undefined);
121 obj3.hey();
H A Dobject-prototype-tolocalestring.js24 var obj3 = {toLocaleString: function() { throw ReferenceError ("foo"); }};
26 obj3.toLocaleString();
/third_party/jerryscript/tests/jerry/es2015/
H A Dsymbol-unscopables.js73 var obj3 = { foo: 12 };
74 Object.defineProperty(obj3, Symbol.unscopables, { get: function () { throw 42; } });
76 with (obj3) {
95 var obj3 = Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "find");
96 assert(obj3.value === true);
97 assert(obj3.writable === true);
98 assert(obj3.enumerable == true);
99 assert(obj3.configurable == true);
H A Dobject-assign.js54 var obj3 = JSON.parse (JSON.stringify (obj1)); variable
57 assert (JSON.stringify (obj3) === '{"a":0,"b":{"c":0}}');
/third_party/typescript/tests/baselines/reference/
H A DtypeGuardsWithInstanceOfByConstructorSignature.js31 var obj3: B<number> | string; variable
32 if (obj3 instanceof B) { // narrowed to B<number>.
33 obj3.foo = 1;
34 obj3.foo = "str";
35 obj3.bar = "str";
216 var obj3; variable
217 if (obj3 instanceof B) { // narrowed to B<number>.
218 obj3.foo = 1;
219 obj3.foo = "str";
220 obj3
[all...]
H A DassignmentCompatability6.js7 export interface interfaceWithOptional<T> { one?: T; }; var obj3: interfaceWithOptional<number> = { };;
8 export var __val__obj3 = obj3;
23 var obj3 = {};
25 __test2__.__val__obj3 = obj3;
H A DfreshLiteralInference.js14 const obj3 = f3({ value: "1" }); // before: { value: fresh "1" }
15 let x3 = obj3.value; // before: string, after: "1"
23 var obj3 = f3({ value: "1" }); // before: { value: fresh "1" } variable
24 var x3 = obj3.value; // before: string, after: "1"
H A DtsxAttributeResolution3.js23 var obj3 = { y: 32 };
24 <test1 {...obj3} />
51 var obj3 = { y: 32 };
52 <test1 {...obj3}/>;
H A DtsxSpreadAttributesResolution8.js8 const obj3 = {
27 let x1 = <OverWriteAttr {...obj1} {...obj3} />
52 var obj3 = {
68 var x1 = <OverWriteAttr {...obj1} {...obj3}/>;
H A DtsxSpreadAttributesResolution11.js8 const obj3: {y: true, overwrite: string } = {
28 let x1 = <OverWriteAttr {...obj1} {...obj3} />
57 var obj3 = {
74 var x1 = <OverWriteAttr {...obj1} {...obj3}/>;
H A DtsxStatelessFunctionComponentOverload5.js34 let obj3: any;
53 const b4 = <MainButton {...obj3} to />; // Should error because Incorrect type; but attributes are any so everything is allowed
74 var obj3;
88 var b4 = <MainButton {...obj3} to/>; // Should error because Incorrect type; but attributes are any so everything is allowed
H A DobjectLiteralExcessProperties.js44 const obj3: T | { prop: boolean } = { name: "test", prop: true };
73 var obj3 = { name: "test", prop: true };
H A DtsxSpreadAttributesResolution12.js8 const obj3: {y: false, overwrite: string} = {
58 var obj3 = {
H A DreverseMappedPartiallyInferableTypes.js89 const obj3 = id({
170 var obj3 = id({ variable
H A DintTypeCheck.js101 var obj3: i1 = new obj0;
227 var obj3 = new obj0;
/third_party/jerryscript/tests/unit-core/
H A Dtest-api-binary-operations-arithmetics.cpp268 jerry_value_t obj3 = jerry_eval ((const jerry_char_t *) "o={valueOf:function(){throw 5}};o", 33, JERRY_PARSE_NO_OPTS); in HWTEST_F() local
283 T_ERR (JERRY_BIN_OP_ADD, jerry_acquire_value (obj3), jerry_create_undefined ()), in HWTEST_F()
284 T_ERR (JERRY_BIN_OP_ADD, jerry_acquire_value (obj3), jerry_create_null ()), in HWTEST_F()
285 T_ERR (JERRY_BIN_OP_ADD, jerry_acquire_value (obj3), jerry_create_boolean (true)), in HWTEST_F()
286 T_ERR (JERRY_BIN_OP_ADD, jerry_acquire_value (obj3), jerry_create_boolean (false)), in HWTEST_F()
287 T_ERR (JERRY_BIN_OP_ADD, jerry_acquire_value (obj3), jerry_acquire_value (obj2)), in HWTEST_F()
288 T_ERR (JERRY_BIN_OP_ADD, jerry_acquire_value (obj3), jerry_create_string ((const jerry_char_t *) "foo")), in HWTEST_F()
291 T_ARI (jerry_acquire_value (obj3), jerry_create_undefined ()), in HWTEST_F()
292 T_ARI (jerry_acquire_value (obj3), jerry_create_null ()), in HWTEST_F()
293 T_ARI (jerry_acquire_value (obj3), jerry_create_boolea in HWTEST_F()
[all...]
/third_party/node/test/js-native-api/test_object/
H A Dtest.js166 const obj3 = test_object.TypeTaggedInstance(2);
185 assert.strictEqual(test_object.CheckTypeTag(2, obj3), true);
192 assert.strictEqual(test_object.CheckTypeTag(0, obj3), false);
195 assert.strictEqual(test_object.CheckTypeTag(3, obj3), false);
196 assert.strictEqual(test_object.CheckTypeTag(4, obj3), false);
/third_party/libabigail/doc/vizualization/layout/sources/
H A Dsa-C.cc39 C3 obj3;
H A Dsa-D.cc86 D3 obj3;
H A Dsa-DD.cc119 Dd3 obj3;
/third_party/libabigail/doc/vizualization/graph/sources/
H A Dsa-C.cc39 C3 obj3;
H A Dsa-D.cc86 D3 obj3;
H A Dsa-DD.cc119 Dd3 obj3;
/third_party/skia/third_party/externals/libwebp/swig/
H A Dlibwebp_python_wrap.c3994 PyObject * obj3 = 0 ; variable
4001 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:wrap_WebPEncodeRGB",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4037 ecode5 = SWIG_AsVal_int(obj3, &val5);
4114 PyObject * obj3 = 0 ; variable
4121 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:wrap_WebPEncodeBGR",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4157 ecode5 = SWIG_AsVal_int(obj3, &val5);
4234 PyObject * obj3 = 0 ; variable
4241 if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:wrap_WebPEncodeRGBA",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4277 ecode5 = SWIG_AsVal_int(obj3, &val5);
4354 PyObject * obj3 variable
4471 PyObject * obj3 = 0 ; global() variable
4582 PyObject * obj3 = 0 ; global() variable
4693 PyObject * obj3 = 0 ; global() variable
4804 PyObject * obj3 = 0 ; global() variable
[all...]

Completed in 12 milliseconds

12