Searched defs:arrayConstructor (Results 1 - 2 of 2) sorted by relevance

/external/webkit/Source/JavaScriptCore/runtime/
H A DJSGlobalObject.cpp218 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 Dtestapi.c692 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 84 milliseconds