Searched defs:arrayConstructor (Results 1 - 2 of 2) sorted by relevance
/external/webkit/Source/JavaScriptCore/runtime/ |
H A D | JSGlobalObject.cpp | 218 JSCell* arrayConstructor = new (exec) ArrayConstructor(exec, this, ArrayConstructor::createStructure(exec->globalData(), m_functionPrototype.get()), m_arrayPrototype.get(), m_functionStructure.get()); local 239 m_arrayPrototype->putDirectFunctionWithoutTransition(exec->globalData(), exec->propertyNames().constructor, arrayConstructor, DontEnum); 253 putDirectFunctionWithoutTransition(exec->globalData(), Identifier(exec, "Array"), arrayConstructor, DontEnum);
|
/external/webkit/Source/JavaScriptCore/API/tests/ |
H A D | testapi.c | 692 JSObjectRef arrayConstructor = JSValueToObject(context, JSObjectGetProperty(context, globalObject, array, NULL), NULL); local 695 UNUSED_PARAM(arrayConstructor); 696 ASSERT(arrayConstructor); 1180 JSObjectRef arrayConstructor = JSValueToObject(context, JSObjectGetProperty(context, globalObject, array, NULL), NULL); local 1182 result = JSObjectCallAsConstructor(context, arrayConstructor, 0, NULL, NULL); 1185 ASSERT(JSValueIsInstanceOfConstructor(context, result, arrayConstructor, NULL)); 1186 ASSERT(!JSValueIsInstanceOfConstructor(context, JSValueMakeNull(context), arrayConstructor, NULL)); 1221 ASSERT(JSValueIsEqual(context, v, arrayConstructor, NULL));
|
Completed in 51 milliseconds