Searched refs:thisValue (Results 1 - 25 of 44) 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 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 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 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 DStringPrototype.cpp299 JSValue thisValue = exec->hostThisValue(); local
300 JSString* sourceVal = thisValue.toThisJSString(exec);
472 JSValue thisValue = exec->hostThisValue(); local
475 if (thisValue.isString())
476 return JSValue::encode(thisValue);
478 if (thisValue.inherits(&StringObject::s_info))
479 return JSValue::encode(asStringObject(thisValue)->internalValue());
486 JSValue thisValue = exec->hostThisValue(); local
487 if (thisValue.isUndefinedOrNull()) // CheckObjectCoercible
489 UString s = thisValue
506 JSValue thisValue = exec->hostThisValue(); local
526 JSValue thisValue = exec->hostThisValue(); local
540 JSValue thisValue = exec->hostThisValue(); local
571 JSValue thisValue = exec->hostThisValue(); local
600 JSValue thisValue = exec->hostThisValue(); local
650 JSValue thisValue = exec->hostThisValue(); local
677 JSValue thisValue = exec->hostThisValue(); local
769 JSValue thisValue = exec->hostThisValue(); local
806 JSValue thisValue = exec->hostThisValue(); local
852 JSValue thisValue = exec->hostThisValue(); local
892 JSValue thisValue = exec->hostThisValue(); local
946 JSValue thisValue = exec->hostThisValue(); local
953 JSValue thisValue = exec->hostThisValue(); local
960 JSValue thisValue = exec->hostThisValue(); local
967 JSValue thisValue = exec->hostThisValue(); local
974 JSValue thisValue = exec->hostThisValue(); local
981 JSValue thisValue = exec->hostThisValue(); local
988 JSValue thisValue = exec->hostThisValue(); local
995 JSValue thisValue = exec->hostThisValue(); local
1002 JSValue thisValue = exec->hostThisValue(); local
1009 JSValue thisValue = exec->hostThisValue(); local
1017 JSValue thisValue = exec->hostThisValue(); local
1060 JSValue thisValue = exec->hostThisValue(); local
1068 JSValue thisValue = exec->hostThisValue(); local
1110 trimString(ExecState* exec, JSValue thisValue, int trimKind) argument
1135 JSValue thisValue = exec->hostThisValue(); local
1141 JSValue thisValue = exec->hostThisValue(); local
1147 JSValue thisValue = exec->hostThisValue(); local
[all...]
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 DPropertySlot.cpp37 return call(exec, m_data.getterFunc, callType, callData, thisValue(), exec->emptyList());
H A DCallData.h60 JSValue call(ExecState*, JSValue functionObject, CallType, const CallData&, JSValue thisValue, const ArgList&);
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 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 DCompletion.h59 Completion evaluate(ExecState*, ScopeChainNode*, const SourceCode&, JSValue thisValue = JSValue());
/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));
/external/webkit/Source/WebCore/bindings/js/
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 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 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);
H A DScheduledAction.h61 void executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue thisValue, ScriptExecutionContext*);
/external/proguard/src/proguard/evaluation/
H A DVariables.java125 Value thisValue = this.values[index];
133 if (thisValue != null &&
135 thisValue.computationalType() == otherValue.computationalType())
137 Value newValue = thisValue.generalize(otherValue);
139 changed = changed || !thisValue.equals(newValue);
145 changed = changed || thisValue != null;
296 Value thisValue = this.values[index];
304 if (thisValue != null &&
306 thisValue.computationalType() == otherValue.computationalType() &&
307 !thisValue
[all...]
H A DStack.java131 Value thisValue = this.values[index];
133 if (thisValue != null)
141 newValue = thisValue.generalize(otherValue);
144 changed = changed || !thisValue.equals(newValue);
517 Value thisValue = this.values[index];
519 if (thisValue == null ? otherValue != null :
520 !thisValue.equals(otherValue))
/external/webkit/Source/JavaScriptCore/debugger/
H A DDebuggerCallFrame.cpp79 JSValue thisValue = m_callFrame->uncheckedR(codeBlock->thisRegister()).jsValue();
80 if (!thisValue.isObject())
83 return asObject(thisValue);
/external/webkit/Source/WebCore/bindings/scripts/test/JS/
H A DJSTestObj.cpp834 JSValue thisValue = exec->hostThisValue(); local
835 if (!thisValue.inherits(&JSTestObj::s_info))
837 JSTestObj* castedThis = static_cast<JSTestObj*>(asObject(thisValue));
846 JSValue thisValue = exec->hostThisValue(); local
847 if (!thisValue.inherits(&JSTestObj::s_info))
849 JSTestObj* castedThis = static_cast<JSTestObj*>(asObject(thisValue));
867 JSValue thisValue = exec->hostThisValue(); local
868 if (!thisValue.inherits(&JSTestObj::s_info))
870 JSTestObj* castedThis = static_cast<JSTestObj*>(asObject(thisValue));
880 JSValue thisValue local
902 JSValue thisValue = exec->hostThisValue(); local
915 JSValue thisValue = exec->hostThisValue(); local
937 JSValue thisValue = exec->hostThisValue(); local
958 JSValue thisValue = exec->hostThisValue(); local
981 JSValue thisValue = exec->hostThisValue(); local
996 JSValue thisValue = exec->hostThisValue(); local
1011 JSValue thisValue = exec->hostThisValue(); local
1036 JSValue thisValue = exec->hostThisValue(); local
1050 JSValue thisValue = exec->hostThisValue(); local
1059 JSValue thisValue = exec->hostThisValue(); local
1068 JSValue thisValue = exec->hostThisValue(); local
1088 JSValue thisValue = exec->hostThisValue(); local
1102 JSValue thisValue = exec->hostThisValue(); local
1116 JSValue thisValue = exec->hostThisValue(); local
1131 JSValue thisValue = exec->hostThisValue(); local
1149 JSValue thisValue = exec->hostThisValue(); local
1177 JSValue thisValue = exec->hostThisValue(); local
1195 JSValue thisValue = exec->hostThisValue(); local
1223 JSValue thisValue = exec->hostThisValue(); local
1235 JSValue thisValue = exec->hostThisValue(); local
1250 JSValue thisValue = exec->hostThisValue(); local
1264 JSValue thisValue = exec->hostThisValue(); local
1281 JSValue thisValue = exec->hostThisValue(); local
1296 JSValue thisValue = exec->hostThisValue(); local
1318 JSValue thisValue = exec->hostThisValue(); local
1343 JSValue thisValue = exec->hostThisValue(); local
1371 JSValue thisValue = exec->hostThisValue(); local
1388 JSValue thisValue = exec->hostThisValue(); local
1408 JSValue thisValue = exec->hostThisValue(); local
1428 JSValue thisValue = exec->hostThisValue(); local
1446 JSValue thisValue = exec->hostThisValue(); local
1471 JSValue thisValue = exec->hostThisValue(); local
1486 JSValue thisValue = exec->hostThisValue(); local
1501 JSValue thisValue = exec->hostThisValue(); local
1533 JSValue thisValue = exec->hostThisValue(); local
1545 JSValue thisValue = exec->hostThisValue(); local
[all...]
/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/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);

Completed in 2480 milliseconds

12