Searched defs:obj (Results 1 - 25 of 1997) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/regress/
H A Dregress-crbug-476477-1.js5 var obj = {
20 obj._divider();
H A Dregress-2410.js35 var obj = { thrower: 'local' };
36 assertEquals(['thrower'], Object.getOwnPropertyNames(obj));
H A Dregress-2566.js28 function setProp(obj, prop, val) {
29 obj[prop] = val;
31 var obj = []; variable
32 setProp(obj, 'length', 1);
33 setProp(obj, 0, 5);
34 assertEquals(1, obj.length);
H A Dregress-4595.js6 var obj = {
H A Dregress-753.js34 var obj = {a1: {b1: [1,2,3,4], b2: {c1: 1, c2: 2}},a2: 'a2'};
35 assertEquals(JSON.stringify(obj, null, 5.99999), JSON.stringify(obj, null, 5));
H A Dregress-2263.js28 var obj = { length: { valueOf: function(){ throw { type: "length" }}}};
30 assertThrows("Array.prototype.join.call(obj, sep)", undefined, "length");
H A Dregress-2291.js30 var obj = new Object(); class
32 obj == obj; // Populate IC cache with non-strict comparison.
34 StrictCompare(obj); // Set IC in StrictCompare from IC cache.
H A Dregress-2374.js30 var obj = JSON.parse(msg); variable
33 assertEquals(JSON.stringify(obj), JSON.stringify(obj2));
34 assertEquals(JSON.stringify(obj, null, 0), JSON.stringify(obj2));
H A Dregress-318420.js32 var obj = {
43 obj.foo(1, 2, 3, 4);
44 obj.foo(1, 2, 3, 4);
45 %OptimizeFunctionOnNextCall(obj.foo);
46 obj.foo(1, 2, 3, 4);
/external/icu/icu4c/source/common/
H A Duhash_us.cpp19 uhash_deleteHashtable(void *obj) { argument
21 delete (Hashtable*) obj;
/external/v8/test/mjsunit/compiler/
H A Dproperty-stores.js32 var obj = {x: 0,
38 for (i = 0; i < 5; i++) { obj.f(); }
39 %OptimizeFunctionOnNextCall(obj.f);
40 obj.f();
41 assertEquals(7, obj.x);
43 for (i = 0; i < 5; i++) { obj.g(); }
44 %OptimizeFunctionOnNextCall(obj.g);
45 obj.g();
46 assertEquals(43, obj.x);
48 for (i = 0; i < 5; i++) { obj
[all...]
H A Dto-fast-properties.js33 var obj = {
40 obj.x += i;
42 assertEquals(obj.index() * n, obj.x);
/external/v8/test/webkit/fast/js/kde/
H A Diteration.js48 obj = new Object();
49 obj.a = 11;
50 obj.b = 22;
53 for ( prop in obj )
54 properties += (prop + "=" + obj[prop] + ";");
59 obj.y = 33;
60 obj.x = 44;
62 for ( prop in obj )
45 obj = new Object(); class
/external/squashfs-tools/kernel-2.4/fs/squashfs/
H A DMakefile7 obj-y := inode.o squashfs2_0.o
9 obj-m := $(O_TARGET)
/external/v8/test/mjsunit/ignition/
H A Dregress-612386-smi-to-double-transition.js7 function keyed_store(obj, key, value) {
8 obj[key] = value;
12 obj = {};
13 obj.smi = 1;
14 obj.dbl = 1.5;
15 obj.obj = {a:1};
18 keyed_store(obj, "smi", 100);
19 keyed_store(obj, "dbl", 100);
20 keyed_store(obj, "ob
[all...]
/external/v8/test/mjsunit/es6/
H A Dreflect-own-keys.js32 var obj = { a: 1, b: 2};
33 var keys = Reflect.ownKeys(obj);
38 var obj = { a: function(){}, b: function(){} };
39 var keys = Reflect.ownKeys(obj);
45 var obj = { a: 1, b: 2, c: 3 };
46 delete obj.b;
47 var keys = Reflect.ownKeys(obj)
62 var obj = { foo: "foo" };
63 obj.__proto__ = { bar: "bar" };
64 keys = Reflect.ownKeys(obj);
[all...]
H A Dtemplates.js8 var obj = {
17 assertEquals("foo [object Object] bar", `foo ${obj} bar`);
19 assertEquals("foo 5 bar", `foo ${obj.num} bar`);
20 assertEquals("foo str bar", `foo ${obj.str} bar`);
21 assertEquals("foo result bar", `foo ${obj.fn()} bar`);
51 obj = {
54 assertEquals(obj, this);
58 obj.fn`test`;
79 })`${num}${str}${obj}${fn}${fn()}`;
H A Dreflect-prevent-extensions.js62 // Make sure we can still write values to obj.x.
135 obj = { x: 42, y: 'foo' };
136 assertTrue(%HasFastProperties(obj));
137 assertTrue(Reflect.preventExtensions(obj));
138 assertFalse(Object.isExtensible(obj));
139 assertFalse(Object.isSealed(obj));
140 assertTrue(%HasFastProperties(obj));
143 obj = { prop1: 1, prop2: 2 };
145 assertTrue(%HaveSameMap(obj, obj2));
146 assertTrue(Reflect.preventExtensions(obj));
[all...]
/external/v8/test/mjsunit/
H A Dobject-get-own-property-names.js31 var obj = { a: 1, b: 2};
32 var propertyNames = Object.getOwnPropertyNames(obj);
38 var obj = { a: function(){}, b: function(){} };
39 var propertyNames = Object.getOwnPropertyNames(obj);
46 var obj = { a: 1, b: 2, c: 3 };
47 delete obj.b;
48 var propertyNames = Object.getOwnPropertyNames(obj)
65 var obj = { foo: "foo" };
66 obj.__proto__ = { bar: "bar" };
67 propertyNames = Object.getOwnPropertyNames(obj);
[all...]
H A Ddelete-non-configurable.js64 var obj = new Object(); class
66 obj[INDEX] = TIPLI;
67 Object.defineProperty(obj, INDEX, { configurable: false });
69 assertFalse(delete obj[INDEX]);
70 assertThrows("'use strict'; delete obj[INDEX];", TypeError);
71 assertFalse(delete obj[INDEX.toString()]);
72 assertThrows("'use strict'; delete obj[INDEX.toString()];", TypeError);
73 assertEquals(TIPLI, obj[INDEX]);
H A Dobject-prevent-extensions.js61 // Make sure we can still write values to obj.x.
133 obj = { x: 42, y: 'foo' };
134 assertTrue(%HasFastProperties(obj));
135 Object.preventExtensions(obj);
136 assertFalse(Object.isExtensible(obj));
137 assertFalse(Object.isSealed(obj));
138 assertTrue(%HasFastProperties(obj));
141 obj = { prop1: 1, prop2: 2 };
143 assertTrue(%HaveSameMap(obj, obj2));
144 Object.preventExtensions(obj);
[all...]
/external/libcxxabi/src/
H A Dcxa_thread_atexit.cpp18 int __cxa_thread_atexit(void (*dtor)(void *), void *obj, argument
21 return __cxa_thread_atexit_impl(dtor, obj, dso_symbol);
/external/libnl/include/netlink/
H A Dobject.h33 extern struct nl_object * nl_object_clone(struct nl_object *obj);
59 static inline void * nl_object_priv(struct nl_object *obj) argument
61 return obj;
/external/toybox/kconfig/
H A DMakefile7 obj = ./kconfig macro
11 menuconfig: $(obj)/mconf $(KCONFIG_TOP)
14 config: $(obj)/conf $(KCONFIG_TOP)
17 oldconfig: $(obj)/conf $(KCONFIG_TOP)
20 silentoldconfig: $(obj)/conf $(KCONFIG_TOP)
23 randconfig: $(obj)/conf $(KCONFIG_TOP)
26 allyesconfig: $(obj)/conf $(KCONFIG_TOP)
29 allnoconfig: $(obj)/conf $(KCONFIG_TOP)
32 defconfig: $(obj)/conf $(KCONFIG_TOP)
/external/v8/test/webkit/
H A Darray-tostring-and-join.js31 var obj = {};
32 obj.__proto__.toString = function() { return "*" + arr + "*"; }
34 arr[3] = obj;

Completed in 1024 milliseconds

1234567891011>>