/dalvik/vm/mterp/c/ |
OP_INVOKE_OBJECT_INIT_RANGE.cpp | 3 Object* obj; local 6 obj = GET_REGISTER_AS_OBJECT(vsrc1); 8 if (!checkForNullExportPC(obj, fp, pc)) 16 if (IS_CLASS_FLAG_SET(obj->clazz, CLASS_ISFINALIZABLE)) { 18 dvmSetFinalizable(obj);
|
OP_MONITOR_ENTER.cpp | 3 Object* obj; local 8 obj = (Object*)GET_REGISTER(vsrc1); 9 if (!checkForNullExportPC(obj, fp, pc)) 11 ILOGV("+ locking %p %s", obj, obj->clazz->descriptor); 13 dvmLockObject(self, obj);
|
OP_MONITOR_EXIT.cpp | 3 Object* obj; local 10 obj = (Object*)GET_REGISTER(vsrc1); 11 if (!checkForNull(obj)) { 22 ILOGV("+ unlocking %p %s", obj, obj->clazz->descriptor); 23 if (!dvmUnlockObject(self, obj)) {
|
OP_THROW.cpp | 3 Object* obj; local 14 obj = (Object*) GET_REGISTER(vsrc1); 15 if (!checkForNull(obj)) { 20 dvmSetException(self, obj);
|
OP_APUT_OBJECT.cpp | 4 Object* obj; local 20 obj = (Object*) GET_REGISTER(vdst); 21 if (obj != NULL) { 22 if (!checkForNull(obj)) 24 if (!dvmCanPutArrayElement(obj->clazz, arrayObj->clazz)) { 26 obj->clazz->descriptor, obj, 27 arrayObj->obj.clazz->descriptor, arrayObj); 28 dvmThrowArrayStoreExceptionIncompatibleElement(obj->clazz, arrayObj->clazz);
|
OP_CHECK_CAST.cpp | 4 Object* obj; local 12 obj = (Object*)GET_REGISTER(vsrc1); 13 if (obj != NULL) { 15 if (!checkForNull(obj)) 24 if (!dvmInstanceof(obj->clazz, clazz)) { 25 dvmThrowClassCastException(obj->clazz, clazz);
|
OP_INSTANCE_OF.cpp | 4 Object* obj; local 11 obj = (Object*)GET_REGISTER(vsrc1); 12 if (obj == NULL) { 16 if (!checkForNullExportPC(obj, fp, pc)) 26 SET_REGISTER(vdst, dvmInstanceof(obj->clazz, clazz));
|
/external/v8/test/mjsunit/compiler/ |
property-stores.js | 32 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.h(); [all...] |
/external/v8/test/mjsunit/regress/ |
regress-753.js | 34 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));
|
regress-728.js | 28 var obj = { 0: "obj0" }; 34 obj[k] = "obj" + k; 39 function get(idx) { return obj[idx]; } 42 assertEquals(get(h), "obj" + h);
|
regress-842.js | 36 var obj = { name: "n1" }; 39 obj = Object.freeze(obj);
|
/external/v8/test/mjsunit/ |
object-get-own-property-names.js | 31 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...] |
object-freeze.js | 57 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.foo, undefined) [all...] |
function-bind.js | 60 var obj = {x: 42, y: 43}; 70 f = f_bound_this.bind(obj); 74 f = f_bound_this.bind(obj, 2);
|
object-seal.js | 57 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.foo = 42 [all...] |
array-slice.js | 87 obj = { toString: function() { throw 'Exception'; } }; 90 assertEquals(7, array.slice(0, 7, obj, null, undefined).length); 98 assertEquals(7, array.slice(0, obj).length);
|
get-own-property-descriptor.js | 36 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');
|
/dalvik/tests/064-field-access/src/ |
GetNonexistent.java | 19 Object obj = Holder.mObject; local
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8SharedWorkerCustom.cpp | 75 // 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/JavaScriptCore/tests/mozilla/ecma_3/Function/ |
scope-001.js | 58 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...] |
scope-002.js | 59 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...] |
/dalvik/tests/003-omnibus-opcodes/src/ |
Monitor.java | 12 Object obj = new Object(); local 13 synchronized (obj) { 15 obj = null; // does NOT cause a failure on exit 16 assert(obj == null); 24 Object obj = null; local 27 synchronized (obj) { 35 obj = new Object(); 36 synchronized (obj) {
|
/external/clang/test/CodeGenCXX/ |
call-arg-zero-temp.cpp | 10 struct obj{ int a; float b; double d; }; struct 12 void foo(obj o) { 17 obj o = obj(); 18 foo(obj());
|
/external/clang/test/Sema/ |
nonnull.c | 17 Class *obj; local 19 Class_init(obj, "Hello World");
|
/external/webkit/Source/JavaScriptCore/API/ |
JSWeakObjectMapRefPrivate.cpp | 57 JSObject* obj = toJS(object); local 58 if (!obj) 60 ASSERT(obj->inherits(&JSCallbackObject<JSGlobalObject>::s_info) || obj->inherits(&JSCallbackObject<JSObjectWithGlobalObject>::s_info)); 61 map->map().set(exec->globalData(), key, obj);
|