Searched defs:thisValue (Results 1 - 25 of 30) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/runtime/
H A DBooleanPrototype.cpp56 JSValue thisValue = exec->hostThisValue(); local
57 if (thisValue == jsBoolean(false))
60 if (thisValue == jsBoolean(true))
63 if (!thisValue.inherits(&BooleanObject::s_info))
66 if (asBooleanObject(thisValue)->internalValue() == jsBoolean(false))
69 ASSERT(asBooleanObject(thisValue)->internalValue() == jsBoolean(true));
75 JSValue thisValue = exec->hostThisValue(); local
76 if (thisValue.isBoolean())
77 return JSValue::encode(thisValue);
79 if (!thisValue
[all...]
H A DCallData.cpp35 JSValue call(ExecState* exec, JSValue functionObject, CallType callType, const CallData& callData, JSValue thisValue, const ArgList& args) argument
38 return exec->interpreter()->executeCall(exec, asObject(functionObject), callType, callData, thisValue, args);
H A DCompletion.cpp50 Completion evaluate(ExecState* exec, ScopeChainNode* scopeChain, const SourceCode& source, JSValue thisValue) argument
62 JSObject* thisObj = (!thisValue || thisValue.isUndefinedOrNull()) ? exec->dynamicGlobalObject() : thisValue.toObject(exec);
H A DRegExpPrototype.cpp63 JSValue thisValue = exec->hostThisValue(); local
64 if (!thisValue.inherits(&RegExpObject::s_info))
66 return JSValue::encode(asRegExpObject(thisValue)->test(exec));
71 JSValue thisValue = exec->hostThisValue(); local
72 if (!thisValue.inherits(&RegExpObject::s_info))
74 return JSValue::encode(asRegExpObject(thisValue)->exec(exec));
79 JSValue thisValue = exec->hostThisValue(); local
80 if (!thisValue.inherits(&RegExpObject::s_info))
110 asRegExpObject(thisValue)->setRegExp(regExp.release());
111 asRegExpObject(thisValue)
117 JSValue thisValue = exec->hostThisValue(); local
[all...]
H A DFunctionPrototype.cpp87 JSValue thisValue = exec->hostThisValue(); local
88 if (thisValue.inherits(&JSFunction::s_info)) {
89 JSFunction* function = asFunction(thisValue);
98 if (thisValue.inherits(&InternalFunction::s_info)) {
99 InternalFunction* function = asInternalFunction(thisValue);
108 JSValue thisValue = exec->hostThisValue(); local
110 CallType callType = getCallData(thisValue, callData);
132 return JSValue::encode(call(exec, thisValue, callType, callData, exec->argument(0), applyArgs));
137 JSValue thisValue = exec->hostThisValue(); local
139 CallType callType = getCallData(thisValue, callDat
[all...]
H A DObjectPrototype.cpp85 JSValue thisValue = exec->hostThisValue(); local
86 return JSValue::encode(thisValue.toThisObject(exec));
91 JSValue thisValue = exec->hostThisValue(); local
92 return JSValue::encode(jsBoolean(thisValue.toThisObject(exec)->hasOwnProperty(exec, Identifier(exec, exec->argument(0).toString(exec)))));
97 JSValue thisValue = exec->hostThisValue(); local
98 JSObject* thisObj = thisValue.toThisObject(exec);
116 JSValue thisValue = exec->hostThisValue(); local
120 thisValue.toThisObject(exec)->defineGetter(exec, Identifier(exec, exec->argument(0).toString(exec)), asObject(exec->argument(1)));
126 JSValue thisValue = exec->hostThisValue(); local
130 thisValue
136 JSValue thisValue = exec->hostThisValue(); local
142 JSValue thisValue = exec->hostThisValue(); local
148 JSValue thisValue = exec->hostThisValue(); local
154 JSValue thisValue = exec->hostThisValue(); local
160 JSValue thisValue = exec->hostThisValue(); local
[all...]
H A DNumberPrototype.cpp67 static ALWAYS_INLINE bool toThisNumber(JSValue thisValue, double &x) argument
69 JSValue v = thisValue.getJSNumber();
132 JSValue thisValue = exec->hostThisValue(); local
133 JSValue v = thisValue.getJSNumber();
170 JSValue thisValue = exec->hostThisValue(); local
171 JSValue v = thisValue.getJSNumber();
205 JSValue thisValue = exec->hostThisValue();
206 JSValue v = thisValue.getJSNumber();
289 JSValue thisValue = exec->hostThisValue();
292 JSValue v = thisValue
[all...]
H A DOperations.h191 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSValue thisValue) argument
194 if (LIKELY(thisValue.isString()))
195 fiberCount += asString(thisValue)->fiberCount();
210 if (LIKELY(thisValue.isString()))
211 ropeBuilder.append(asString(thisValue));
213 ropeBuilder.append(thisValue.toString(exec));
H A DPropertySlot.h215 JSValue thisValue() const { return m_thisValue; } function in class:JSC::PropertySlot
H A DJSGlobalObject.cpp100 void JSGlobalObject::init(JSObject* thisValue) argument
107 m_globalScopeChain.set(*m_globalData, this, new (m_globalData.get()) ScopeChainNode(0, this, m_globalData.get(), this, thisValue));
H A DArrayPrototype.cpp167 JSValue thisValue = exec->hostThisValue(); local
169 bool isRealArray = isJSArray(&exec->globalData(), thisValue);
170 if (!isRealArray && !thisValue.inherits(&JSArray::s_info))
172 JSArray* thisObj = asArray(thisValue);
231 JSValue thisValue = exec->hostThisValue(); local
233 if (!thisValue.inherits(&JSArray::s_info))
235 JSObject* thisObj = asArray(thisValue);
337 JSValue thisValue = exec->hostThisValue(); local
340 JSValue curArg = thisValue.toThisObject(exec);
367 JSValue thisValue local
391 JSValue thisValue = exec->hostThisValue(); local
[all...]
H A DDatePrototype.cpp456 JSValue thisValue = exec->hostThisValue(); local
457 if (!thisValue.inherits(&DateInstance::s_info))
460 DateInstance* thisDateObj = asDateInstance(thisValue);
474 JSValue thisValue = exec->hostThisValue(); local
475 if (!thisValue.inherits(&DateInstance::s_info))
478 DateInstance* thisDateObj = asDateInstance(thisValue);
492 JSValue thisValue = exec->hostThisValue(); local
493 if (!thisValue.inherits(&DateInstance::s_info))
496 DateInstance* thisDateObj = asDateInstance(thisValue);
511 JSValue thisValue local
527 JSValue thisValue = exec->hostThisValue(); local
543 JSValue thisValue = exec->hostThisValue(); local
553 JSValue thisValue = exec->hostThisValue(); local
563 JSValue thisValue = exec->hostThisValue(); local
573 JSValue thisValue = exec->hostThisValue(); local
582 JSValue thisValue = exec->hostThisValue(); local
596 JSValue thisValue = exec->hostThisValue(); local
610 JSValue thisValue = exec->hostThisValue(); local
628 JSValue thisValue = exec->hostThisValue(); local
642 JSValue thisValue = exec->hostThisValue(); local
656 JSValue thisValue = exec->hostThisValue(); local
670 JSValue thisValue = exec->hostThisValue(); local
684 JSValue thisValue = exec->hostThisValue(); local
698 JSValue thisValue = exec->hostThisValue(); local
712 JSValue thisValue = exec->hostThisValue(); local
726 JSValue thisValue = exec->hostThisValue(); local
740 JSValue thisValue = exec->hostThisValue(); local
754 JSValue thisValue = exec->hostThisValue(); local
768 JSValue thisValue = exec->hostThisValue(); local
782 JSValue thisValue = exec->hostThisValue(); local
796 JSValue thisValue = exec->hostThisValue(); local
812 JSValue thisValue = exec->hostThisValue(); local
828 JSValue thisValue = exec->hostThisValue(); local
842 JSValue thisValue = exec->hostThisValue(); local
856 JSValue thisValue = exec->hostThisValue(); local
893 JSValue thisValue = exec->hostThisValue(); local
1017 JSValue thisValue = exec->hostThisValue(); local
1058 JSValue thisValue = exec->hostThisValue(); local
1074 JSValue thisValue = exec->hostThisValue(); local
[all...]
H A DJSGlobalObject.h140 JSGlobalObject(JSGlobalData& globalData, Structure* structure, JSObject* thisValue) argument
148 init(thisValue);
279 void init(JSObject* thisValue);
/external/webkit/Source/WebCore/bindings/v8/
H A DV8WindowErrorHandler.cpp55 v8::Local<v8::Object> thisValue = v8::Context::GetCurrent()->Global(); local
59 returnValue = callFunction->Call(thisValue, 3, parameters);
H A DV8WorkerContextErrorHandler.cpp55 v8::Local<v8::Object> thisValue = v8::Context::GetCurrent()->Global(); local
57 returnValue = callFunction->Call(thisValue, 3, parameters);
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
H A DJSNPMethod.cpp55 JSValue thisValue = exec->hostThisValue(); local
58 if (thisValue.inherits(&JSHTMLElement::s_info)) {
59 JSHTMLElement* element = static_cast<JSHTMLElement*>(asObject(thisValue));
63 thisValue = scriptObject;
66 if (thisValue.inherits(&JSNPObject::s_info)) {
67 JSNPObject* jsNPObject = static_cast<JSNPObject*>(asObject(thisValue));
H A DNPRuntimeObjectMap.cpp193 JSValue thisValue = getOrCreateJSObject(globalObject.get(), npObject); local
196 Completion completion = JSC::evaluate(exec, globalObject->globalScopeChain(), makeSource(UString(scriptString.impl())), thisValue);
/external/webkit/Source/WebCore/bindings/js/
H A DJSDOMGlobalObject.cpp45 JSDOMGlobalObject::JSDOMGlobalObject(JSGlobalData& globalData, Structure* structure, PassRefPtr<DOMWrapperWorld> world, JSObject* thisValue) argument
46 : JSGlobalObject(globalData, structure, thisValue)
H A DJSErrorHandler.cpp93 JSValue thisValue = globalObject->toThisObject(exec); local
96 JSValue returnValue = JSC::call(exec, jsFunction, callType, callData, thisValue, args);
H A DJSMainThreadExecState.h45 static JSC::JSValue call(JSC::ExecState* exec, JSC::JSValue functionObject, JSC::CallType callType, const JSC::CallData& callData, JSC::JSValue thisValue, const JSC::ArgList& args) argument
48 return JSC::call(exec, functionObject, callType, callData, thisValue, args);
51 static JSC::Completion evaluate(JSC::ExecState* exec, JSC::ScopeChainNode* chain, const JSC::SourceCode& source, JSC::JSValue thisValue) argument
54 return JSC::evaluate(exec, chain, source, thisValue);
H A DScheduledAction.cpp90 void ScheduledAction::executeFunctionInContext(JSGlobalObject* globalObject, JSValue thisValue, ScriptExecutionContext* context) argument
109 JSMainThreadExecState::call(exec, m_function.get(), callType, callData, thisValue, args);
111 JSC::call(exec, m_function.get(), callType, callData, thisValue, args);
/external/webkit/Source/WebCore/bridge/
H A Druntime_method.cpp98 JSValue thisValue = exec->hostThisValue(); local
99 if (thisValue.inherits(&RuntimeObject::s_info)) {
100 RuntimeObject* runtimeObject = static_cast<RuntimeObject*>(asObject(thisValue));
106 if (thisValue.inherits(&JSHTMLElement::s_info)) {
107 HTMLElement* element = static_cast<JSHTMLElement*>(asObject(thisValue))->impl();
/external/webkit/Source/WebCore/bindings/scripts/test/JS/
H A DJSTestMediaQueryListListener.cpp169 JSValue thisValue = exec->hostThisValue(); local
170 if (!thisValue.inherits(&JSTestMediaQueryListListener::s_info))
172 JSTestMediaQueryListListener* castedThis = static_cast<JSTestMediaQueryListListener*>(asObject(thisValue));
/external/webkit/Tools/DumpRenderTree/chromium/
H A DCppVariant.cpp97 NPObject* thisValue = value.objectValue; local
99 return thisValue->_class == otherValue->_class
100 && thisValue->referenceCount == otherValue->referenceCount;
/external/webkit/Source/JavaScriptCore/interpreter/
H A DInterpreter.cpp786 JSValue Interpreter::executeCall(CallFrame* callFrame, JSObject* function, CallType callType, const CallData& callData, JSValue thisValue, const ArgList& args) argument
802 newCallFrame->uncheckedR(0) = thisValue;
3836 JSValue thisValue = argv[0].jsValue();
3839 if (thisValue == globalObject && funcVal == globalObject->evalFunction()) {

Completed in 298 milliseconds

12