Searched defs:globalObject (Results 51 - 75 of 160) sorted by relevance

1234567

/external/webkit/Source/WebCore/bindings/js/
H A DJSUint16ArrayCustom.cpp41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Uint16Array* object) argument
43 return toJSArrayBufferView<JSUint16Array>(exec, globalObject, object);
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSUint32ArrayCustom.cpp41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Uint32Array* object) argument
43 return toJSArrayBufferView<JSUint32Array>(exec, globalObject, object);
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSUint8ArrayCustom.cpp41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Uint8Array* object) argument
43 return toJSArrayBufferView<JSUint8Array>(exec, globalObject, object);
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DScriptObject.cpp73 JSDOMGlobalObject* globalObject = static_cast<JSDOMGlobalObject*>(scriptState->lexicalGlobalObject()); local
74 globalObject->putDirect(scriptState->globalData(), Identifier(scriptState, name), toJS(scriptState, globalObject, value));
81 JSDOMGlobalObject* globalObject = static_cast<JSDOMGlobalObject*>(scriptState->lexicalGlobalObject()); local
82 globalObject->putDirect(scriptState->globalData(), Identifier(scriptState, name), toJS(scriptState, globalObject, value));
H A DJSArrayBufferViewHelper.h161 static JSC::JSValue toJSArrayBufferView(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, WebCoreType* object) argument
170 return createWrapper<JSType>(exec, globalObject, object);
H A DJSCallbackData.h49 JSCallbackData(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument
50 : m_callback(globalObject->globalData(), callback)
51 , m_globalObject(globalObject->globalData(), globalObject)
64 JSDOMGlobalObject* globalObject() { return m_globalObject.get(); } function in class:WebCore::JSCallbackData
H A DJSCustomXPathNSResolver.cpp56 JSCustomXPathNSResolver::JSCustomXPathNSResolver(JSObject* customResolver, JSDOMWindow* globalObject) argument
58 , m_globalObject(globalObject)
/external/webkit/Source/WebCore/bindings/scripts/test/JS/
H A DJSTestInterface.h70 JSTestInterfacePrototype(JSC::JSGlobalObject* globalObject, NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObjectWithGlobalObject(globalObject, structure) { } argument
H A DJSTestMediaQueryListListener.h70 JSTestMediaQueryListListenerPrototype(JSC::JSGlobalObject* globalObject, NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObjectWithGlobalObject(globalObject, structure) { } argument
H A DJSTestObj.h79 JSTestObjPrototype(JSC::JSGlobalObject* globalObject, NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObjectWithGlobalObject(globalObject, structure) { } argument
H A DJSTestSerializedScriptValueInterface.h70 JSTestSerializedScriptValueInterfacePrototype(JSC::JSGlobalObject* globalObject, NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObjectWithGlobalObject(globalObject, structure) { } argument
/external/webkit/Source/WebCore/bridge/c/
H A DCRuntimeObject.cpp40 CRuntimeObject::CRuntimeObject(ExecState* exec, JSGlobalObject* globalObject, PassRefPtr<CInstance> instance) argument
43 : RuntimeObject(exec, globalObject, WebCore::deprecatedGetDOMStructure<CRuntimeObject>(exec), instance)
/external/webkit/Source/WebCore/bridge/jni/jsc/
H A DJavaRuntimeObject.cpp38 JavaRuntimeObject::JavaRuntimeObject(ExecState* exec, JSGlobalObject* globalObject, PassRefPtr<JavaInstance> instance) argument
41 : RuntimeObject(exec, globalObject, WebCore::deprecatedGetDOMStructure<JavaRuntimeObject>(exec), instance)
/external/webkit/Source/WebCore/bridge/
H A Druntime_array.h56 static ArrayPrototype* createPrototype(ExecState*, JSGlobalObject* globalObject) argument
58 return globalObject->arrayPrototype();
H A Druntime_method.h43 static FunctionPrototype* createPrototype(ExecState*, JSGlobalObject* globalObject) argument
45 return globalObject->functionPrototype();
H A Druntime_object.h59 static ObjectPrototype* createPrototype(ExecState*, JSGlobalObject* globalObject) argument
61 return globalObject->objectPrototype();
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
H A DJSNPMethod.cpp44 JSNPMethod::JSNPMethod(ExecState* exec, JSGlobalObject* globalObject, const Identifier& name, NPIdentifier npIdentifier) argument
45 : InternalFunction(&exec->globalData(), globalObject, createStructure(exec->globalData(), globalObject->functionPrototype()), name)
/external/webkit/Source/JavaScriptCore/API/
H A DJSBase.cpp53 JSGlobalObject* globalObject = exec->dynamicGlobalObject(); local
55 Completion completion = evaluate(globalObject->globalExec(), globalObject->globalScopeChain(), source, jsThisObject);
H A DJSCallbackConstructor.cpp41 JSCallbackConstructor::JSCallbackConstructor(JSGlobalObject* globalObject, Structure* structure, JSClassRef jsClass, JSObjectCallAsConstructorCallback callback) argument
42 : JSObjectWithGlobalObject(globalObject, structure)
/external/webkit/Source/JavaScriptCore/runtime/
H A DArrayConstructor.cpp40 ArrayConstructor::ArrayConstructor(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, ArrayPrototype* arrayPrototype, Structure* functionStructure) argument
41 : InternalFunction(&exec->globalData(), globalObject, structure, Identifier(exec, arrayPrototype->classInfo()->className))
50 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().isArray, arrayConstructorIsArray), DontEnum);
55 JSGlobalObject* globalObject = asInternalFunction(exec->callee())->globalObject(); local
62 return new (exec) JSArray(exec->globalData(), globalObject->arrayStructure(), n, CreateInitialized);
66 return new (exec) JSArray(exec->globalData(), globalObject->arrayStructure(), args);
H A DBooleanConstructor.cpp31 BooleanConstructor::BooleanConstructor(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, BooleanPrototype* booleanPrototype) argument
32 : InternalFunction(&exec->globalData(), globalObject, structure, Identifier(exec, booleanPrototype->classInfo()->className))
43 BooleanObject* obj = new (exec) BooleanObject(exec->globalData(), asInternalFunction(exec->callee())->globalObject()->booleanObjectStructure());
72 JSObject* constructBooleanFromImmediateBoolean(ExecState* exec, JSGlobalObject* globalObject, JSValue immediateBooleanValue) argument
74 BooleanObject* obj = new (exec) BooleanObject(exec->globalData(), globalObject->booleanObjectStructure());
H A DLookup.cpp80 JSGlobalObject* globalObject = asGlobalObject(thisObj->getAnonymousValue(0).asCell()); local
83 function = new (exec) JSFunction(exec, globalObject, globalObject->functionStructure(), entry->functionLength(), propertyName, exec->globalData().getHostFunction(entry->function(), entry->generator()));
86 function = new (exec) JSFunction(exec, globalObject, globalObject->functionStructure(), entry->functionLength(), propertyName, entry->function());
H A DNativeErrorConstructor.cpp35 NativeErrorConstructor::NativeErrorConstructor(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, Structure* prototypeStructure, const UString& nameAndMessage) argument
36 : InternalFunction(&exec->globalData(), globalObject, structure, Identifier(exec, nameAndMessage))
40 NativeErrorPrototype* prototype = new (exec) NativeErrorPrototype(exec, globalObject, prototypeStructure, nameAndMessage, this);
H A DRegExpPrototype.cpp50 RegExpPrototype::RegExpPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, Structure* functionStructure) argument
51 : RegExpObject(globalObject, structure, RegExp::create(&exec->globalData(), "", NoFlags))
53 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().compile, regExpProtoFuncCompile), DontEnum);
54 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().exec, regExpProtoFuncExec), DontEnum);
55 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().test, regExpProtoFuncTest), DontEnum);
56 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, regExpProtoFuncToString), DontEnum);
H A DStringConstructor.cpp51 StringConstructor::StringConstructor(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, Structure* functionStructure, StringPrototype* stringPrototype) argument
52 : InternalFunction(&exec->globalData(), globalObject, structure, Identifier(exec, stringPrototype->classInfo()->className))
59 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().fromCharCode, exec->globalData().getHostFunction(stringFromCharCode, fromCharCodeThunkGenerator)), DontEnum);
61 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().fromCharCode, stringFromCharCode), DontEnum);
70 JSGlobalObject* globalObject = asInternalFunction(exec->callee())->globalObject(); local
72 return JSValue::encode(new (exec) StringObject(exec, globalObject->stringObjectStructure()));
73 return JSValue::encode(new (exec) StringObject(exec, globalObject->stringObjectStructure(), exec->argument(0).toString(exec)));

Completed in 185 milliseconds

1234567