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

1234567891011>>

/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...]
/external/v8/test/mjsunit/regress/
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-728.js28 var obj = { 0: "obj0" };
34 obj[k] = "obj" + k;
39 function get(idx) { return obj[idx]; }
42 assertEquals(get(h), "obj" + h);
H A Dregress-842.js36 var obj = { name: "n1" };
39 obj = Object.freeze(obj);
/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 Dobject-freeze.js57 var obj = { x: 42, z: 'foobar' };
58 var desc = Object.getOwnPropertyDescriptor(obj, 'x');
63 desc = Object.getOwnPropertyDescriptor(obj, 'z');
68 assertTrue(Object.isExtensible(obj));
69 assertFalse(Object.isFrozen(obj));
71 Object.freeze(obj);
74 assertFalse(Object.isExtensible(obj));
75 assertTrue(Object.isFrozen(obj));
77 obj.foo = 42;
78 assertEquals(obj
[all...]
H A Dfunction-bind.js60 var obj = {x: 42, y: 43};
70 f = f_bound_this.bind(obj);
74 f = f_bound_this.bind(obj, 2);
H A Dobject-seal.js57 var obj = { x: 42, z: 'foobar' };
58 var desc = Object.getOwnPropertyDescriptor(obj, 'x');
63 desc = Object.getOwnPropertyDescriptor(obj, 'z');
68 assertTrue(Object.isExtensible(obj));
69 assertFalse(Object.isSealed(obj));
71 Object.seal(obj);
74 assertFalse(Object.isExtensible(obj));
75 assertTrue(Object.isSealed(obj));
79 assertFalse(Object.isFrozen(obj));
82 obj
[all...]
H A Darray-slice.js87 obj = { toString: function() { throw 'Exception'; } };
90 assertEquals(7, array.slice(0, 7, obj, null, undefined).length);
98 assertEquals(7, array.slice(0, obj).length);
H A Dget-own-property-descriptor.js36 var obj = {x: 1};
37 obj.__defineGetter__("accessor", get);
38 obj.__defineSetter__("accessor", set);
41 obj[1] = 42;
43 var descIsData = Object.getOwnPropertyDescriptor(obj, 'x');
48 var descIsAccessor = Object.getOwnPropertyDescriptor(obj, 'accessor');
54 var descIsNotData = Object.getOwnPropertyDescriptor(obj, 'not-x');
57 var descIsNotAccessor = Object.getOwnPropertyDescriptor(obj, 'not-accessor');
66 var descObjectElement = Object.getOwnPropertyDescriptor(obj, '1');
/external/libnl-headers/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/skia/src/pipe/
H A DSkGPipeRead.cpp27 static void set_paintflat(SkPaint* paint, SkFlattenable* obj, unsigned paintFlat) { argument
31 paint->setColorFilter((SkColorFilter*)obj);
34 paint->setLooper((SkDrawLooper*)obj);
37 paint->setMaskFilter((SkMaskFilter*)obj);
40 paint->setPathEffect((SkPathEffect*)obj);
43 paint->setRasterizer((SkRasterizer*)obj);
46 paint->setShader((SkShader*)obj);
49 paint->setXfermode((SkXfermode*)obj);
83 SkFlattenable* obj = fReader->readFlattenable();
84 *fFlatArray.append() = obj;
[all...]
/external/icu4c/test/intltest/
H A Dicusvtst.h51 void msgstr(const UnicodeString& message, UObject* obj, UBool err = TRUE);
52 void logstr(const UnicodeString& message, UObject* obj) { argument
53 msgstr(message, obj, FALSE);
/external/webkit/Source/WebKit/android/jni/
H A DWebCoreRefObject.h33 static inline WebCoreRefObject* Retain(WebCoreRefObject* obj) argument
35 if (obj)
36 obj->ref();
37 return obj;
40 static inline void Release(WebCoreRefObject* obj) argument
42 if (obj)
43 obj->unref();
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Function/
H A Dscope-001.js58 var obj = {a:2};
59 with (obj)
69 * f's associated scope chain now includes 'obj' before the global object.
73 var obj = {a:2};
74 with (obj)
93 var obj = {a:2};
94 with (obj)
112 var obj = {a:2, obj:{a:3}};
113 with (obj)
[all...]
H A Dscope-002.js59 var obj = {a:2};
60 with (obj)
70 * f's associated scope chain now includes 'obj' before the global object.
74 var obj = {a:2};
75 with (obj)
90 var obj = {a:2};
91 with (obj)
105 var obj = {a:2, obj:{a:3}};
106 with (obj)
[all...]
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/
H A DASN1OutputStream.java16 Object obj)
19 if (obj == null)
23 else if (obj instanceof DERObject)
25 ((DERObject)obj).encode(this);
27 else if (obj instanceof DEREncodable)
29 ((DEREncodable)obj).getDERObject().encode(this);
15 writeObject( Object obj) argument
H A DBEROutputStream.java16 Object obj)
19 if (obj == null)
23 else if (obj instanceof DERObject)
25 ((DERObject)obj).encode(this);
27 else if (obj instanceof DEREncodable)
29 ((DEREncodable)obj).getDERObject().encode(this);
15 writeObject( Object obj) argument
/external/bouncycastle/src/main/java/org/bouncycastle/util/
H A DSelector.java6 boolean match(Object obj); argument
/external/clang/test/CodeGenCXX/
H A Dcall-arg-zero-temp.cpp10 struct obj{ int a; float b; double d; }; struct
12 void foo(obj o) {
17 obj o = obj();
18 foo(obj());
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8SharedWorkerCustom.cpp75 // Note: it's OK to let this RefPtr go out of scope because we also call SetDOMWrapper(), which effectively holds a reference to obj.
77 RefPtr<SharedWorker> obj = SharedWorker::create(toWebCoreString(scriptUrl), name, context, ec); local
83 V8DOMWrapper::setDOMWrapper(wrapperObject, &info, obj.get());
85 obj->ref();
86 V8DOMWrapper::setJSWrapperForActiveDOMObject(obj.get(), v8::Persistent<v8::Object>::New(wrapperObject));
/external/webkit/Source/WebKit/mac/Misc/
H A DWebNSObjectExtras.h37 static inline id WebCFAutorelease(CFTypeRef obj) argument
39 if (obj)
40 CFMakeCollectable(obj);
41 [(id)obj autorelease];
42 return (id)obj;
/external/webkit/Source/WebKit/win/
H A DAccessibleImage.cpp35 AccessibleImage::AccessibleImage(AccessibilityObject* obj) argument
36 : AccessibleBase(obj)
38 ASSERT_ARG(obj, obj->isImage());
39 ASSERT_ARG(obj, obj->isAccessibilityRenderObject());
47 AccessibilityRenderObject* obj = static_cast<AccessibilityRenderObject*>(m_object);
49 String ariaLabel = obj->ariaLabeledByAttribute();
53 const AtomicString& altText = obj->getAttribute(HTMLNames::altAttr);
/external/webrtc/src/system_wrappers/source/
H A Dthread.cc21 ThreadObj obj, ThreadPriority prio,
25 return new ThreadWindows(func, obj, prio, threadName);
27 return ThreadPosix::Create(func, obj, prio, threadName);
20 CreateThread(ThreadRunFunction func, ThreadObj obj, ThreadPriority prio, const char* threadName) argument
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/
H A Dregress-104077.js70 function addValues(obj)
73 with (obj)
87 var obj = new Object(); class
88 obj.arg1 = 1;
89 obj.arg2 = 2;
90 actual = addValues(obj);
125 var obj = new Object();
128 with (obj)
153 function addValues_2(obj)
156 with (obj)
[all...]

Completed in 1380 milliseconds

1234567891011>>