Searched refs:thisValue (Results 1 - 25 of 78) sorted by relevance

1234

/macosx-10.10.1/JavaScriptCore-7600.1.17/builtins/
H A DFunction.prototype.js31 function apply(thisValue, argumentValues) {
33 return this.@apply(thisValue, argumentValues);
/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/
H A DBooleanPrototype.cpp76 JSValue thisValue = exec->thisValue(); local
77 if (thisValue == jsBoolean(false))
80 if (thisValue == jsBoolean(true))
83 if (!thisValue.inherits(BooleanObject::info()))
86 if (asBooleanObject(thisValue)->internalValue() == jsBoolean(false))
89 ASSERT(asBooleanObject(thisValue)->internalValue() == jsBoolean(true));
95 JSValue thisValue = exec->thisValue(); local
96 if (thisValue
[all...]
H A DRegExpPrototype.cpp77 JSValue thisValue = exec->thisValue(); local
78 if (!thisValue.inherits(RegExpObject::info()))
80 return JSValue::encode(jsBoolean(asRegExpObject(thisValue)->test(exec, exec->argument(0).toString(exec))));
85 JSValue thisValue = exec->thisValue(); local
86 if (!thisValue.inherits(RegExpObject::info()))
88 return JSValue::encode(asRegExpObject(thisValue)->exec(exec, exec->argument(0).toString(exec)));
93 JSValue thisValue = exec->thisValue(); local
131 JSValue thisValue = exec->thisValue(); local
[all...]
H A DStringPrototype.cpp655 static inline bool checkObjectCoercible(JSValue thisValue) argument
657 if (thisValue.isString())
660 if (thisValue.isUndefinedOrNull())
663 if (thisValue.isCell() && thisValue.asCell()->structure()->typeInfo().isEnvironmentRecord())
671 JSValue thisValue = exec->thisValue(); local
672 if (!checkObjectCoercible(thisValue))
674 JSString* string = thisValue.toString(exec);
684 JSValue thisValue local
698 JSValue thisValue = exec->thisValue(); local
718 JSValue thisValue = exec->thisValue(); local
741 JSValue thisValue = exec->thisValue(); local
752 JSValue thisValue = exec->thisValue(); local
789 JSValue thisValue = exec->thisValue(); local
826 JSValue thisValue = exec->thisValue(); local
885 JSValue thisValue = exec->thisValue(); local
915 JSValue thisValue = exec->thisValue(); local
974 JSValue thisValue = exec->thisValue(); local
1182 JSValue thisValue = exec->thisValue(); local
1221 JSValue thisValue = exec->thisValue(); local
1261 JSValue thisValue = exec->thisValue(); local
1281 JSValue thisValue = exec->thisValue(); local
1300 JSValue thisValue = exec->thisValue(); local
1311 JSValue thisValue = exec->thisValue(); local
1320 JSValue thisValue = exec->thisValue(); local
1329 JSValue thisValue = exec->thisValue(); local
1338 JSValue thisValue = exec->thisValue(); local
1347 JSValue thisValue = exec->thisValue(); local
1356 JSValue thisValue = exec->thisValue(); local
1365 JSValue thisValue = exec->thisValue(); local
1374 JSValue thisValue = exec->thisValue(); local
1383 JSValue thisValue = exec->thisValue(); local
1392 JSValue thisValue = exec->thisValue(); local
1405 JSValue thisValue = exec->thisValue(); local
1454 JSValue thisValue = exec->thisValue(); local
1467 JSValue thisValue = exec->thisValue(); local
1508 trimString(ExecState* exec, JSValue thisValue, int trimKind) argument
1533 JSValue thisValue = exec->thisValue(); local
1539 JSValue thisValue = exec->thisValue(); local
1545 JSValue thisValue = exec->thisValue(); local
[all...]
H A DCallData.cpp36 JSValue call(ExecState* exec, JSValue functionObject, CallType callType, const CallData& callData, JSValue thisValue, const ArgList& args) argument
39 return exec->interpreter()->executeCall(exec, asObject(functionObject), callType, callData, thisValue, args);
42 JSValue call(ExecState* exec, JSValue functionObject, CallType callType, const CallData& callData, JSValue thisValue, const ArgList& args, JSValue* exception) argument
44 JSValue result = call(exec, functionObject, callType, callData, thisValue, args);
H A DCustomGetterSetter.cpp39 void callCustomSetter(ExecState* exec, JSValue customGetterSetter, JSObject* base, JSValue thisValue, JSValue value) argument
44 setter(exec, base, JSValue::encode(thisValue), JSValue::encode(value));
H A DDatePrototype.cpp322 JSValue thisValue = exec->thisValue(); local
323 if (!thisValue.inherits(DateInstance::info()))
326 DateInstance* thisDateObj = asDateInstance(thisValue);
517 JSValue thisValue = exec->thisValue(); local
518 if (!thisValue.inherits(DateInstance::info()))
521 DateInstance* thisDateObj = asDateInstance(thisValue);
563 JSValue thisValue = exec->thisValue(); local
573 JSValue thisValue = exec->thisValue(); local
583 JSValue thisValue = exec->thisValue(); local
593 JSValue thisValue = exec->thisValue(); local
602 JSValue thisValue = exec->thisValue(); local
616 JSValue thisValue = exec->thisValue(); local
636 JSValue thisValue = exec->thisValue(); local
650 JSValue thisValue = exec->thisValue(); local
664 JSValue thisValue = exec->thisValue(); local
678 JSValue thisValue = exec->thisValue(); local
692 JSValue thisValue = exec->thisValue(); local
706 JSValue thisValue = exec->thisValue(); local
720 JSValue thisValue = exec->thisValue(); local
734 JSValue thisValue = exec->thisValue(); local
748 JSValue thisValue = exec->thisValue(); local
762 JSValue thisValue = exec->thisValue(); local
776 JSValue thisValue = exec->thisValue(); local
790 JSValue thisValue = exec->thisValue(); local
804 JSValue thisValue = exec->thisValue(); local
820 JSValue thisValue = exec->thisValue(); local
836 JSValue thisValue = exec->thisValue(); local
850 JSValue thisValue = exec->thisValue(); local
864 JSValue thisValue = exec->thisValue(); local
902 JSValue thisValue = exec->thisValue(); local
1027 JSValue thisValue = exec->thisValue(); local
1069 JSValue thisValue = exec->thisValue(); local
1085 JSValue thisValue = exec->thisValue(); local
[all...]
H A DCallData.h60 JS_EXPORT_PRIVATE JSValue call(ExecState*, JSValue functionObject, CallType, const CallData&, JSValue thisValue, const ArgList&);
61 JS_EXPORT_PRIVATE JSValue call(ExecState*, JSValue functionObject, CallType, const CallData&, JSValue thisValue, const ArgList&, JSValue* exception);
H A DSetPrototype.cpp78 ALWAYS_INLINE static MapData* getMapData(CallFrame* callFrame, JSValue thisValue) argument
80 if (!thisValue.isObject()) {
81 throwVMError(callFrame, createNotAnObjectError(callFrame, thisValue));
84 JSSet* set = jsDynamicCast<JSSet*>(thisValue);
94 MapData* data = getMapData(callFrame, callFrame->thisValue());
98 return JSValue::encode(callFrame->thisValue());
103 MapData* data = getMapData(callFrame, callFrame->thisValue());
112 MapData* data = getMapData(callFrame, callFrame->thisValue());
120 MapData* data = getMapData(callFrame, callFrame->thisValue());
128 JSValue thisValue
[all...]
H A DNamePrototype.cpp70 JSValue thisValue = exec->thisValue(); local
71 if (!thisValue.isObject())
74 JSObject* thisObject = asObject(thisValue);
H A DCompletion.cpp62 JSValue evaluate(ExecState* exec, const SourceCode& source, JSValue thisValue, JSValue* returnedException) argument
79 if (!thisValue || thisValue.isUndefinedOrNull())
80 thisValue = exec->vmEntryGlobalObject();
81 JSObject* thisObj = jsCast<JSObject*>(thisValue.toThis(exec, NotStrictMode));
H A DObjectPrototype.cpp81 JSValue thisValue = exec->thisValue().toThis(exec, StrictMode); local
82 return JSValue::encode(thisValue.toObject(exec));
87 JSValue thisValue = exec->thisValue().toThis(exec, StrictMode); local
88 return JSValue::encode(jsBoolean(thisValue.toObject(exec)->hasOwnProperty(exec, exec->argument(0).toString(exec)->toIdentifier(exec))));
93 JSValue thisValue = exec->thisValue().toThis(exec, StrictMode); local
94 JSObject* thisObj = thisValue.toObject(exec);
112 JSObject* thisObject = exec->thisValue()
216 JSValue thisValue = exec->thisValue().toThis(exec, StrictMode); local
[all...]
H A DMapPrototype.cpp79 ALWAYS_INLINE static MapData* getMapData(CallFrame* callFrame, JSValue thisValue) argument
81 if (!thisValue.isObject()) {
82 throwVMError(callFrame, createNotAnObjectError(callFrame, thisValue));
85 JSMap* map = jsDynamicCast<JSMap*>(thisValue);
95 MapData* data = getMapData(callFrame, callFrame->thisValue());
104 MapData* data = getMapData(callFrame, callFrame->thisValue());
112 MapData* data = getMapData(callFrame, callFrame->thisValue());
120 JSValue thisValue = callFrame->argument(1);
126 cachedCall.setThis(thisValue);
136 JSC::call(callFrame, callBack, callType, callData, thisValue, arg
[all...]
H A DArgumentsIteratorPrototype.cpp51 return JSValue::encode(callFrame->thisValue());
57 if (jsCast<JSArgumentsIterator*>(callFrame->thisValue())->next(callFrame, result))
H A DCompletion.h38 JS_EXPORT_PRIVATE JSValue evaluate(ExecState*, const SourceCode&, JSValue thisValue = JSValue(), JSValue* exception = 0);
H A DWeakMapPrototype.cpp73 WeakMapData* map = getWeakMapData(callFrame, callFrame->thisValue());
82 WeakMapData* map = getWeakMapData(callFrame, callFrame->thisValue());
93 WeakMapData* map = getWeakMapData(callFrame, callFrame->thisValue());
104 WeakMapData* map = getWeakMapData(callFrame, callFrame->thisValue());
115 WeakMapData* map = getWeakMapData(callFrame, callFrame->thisValue());
122 return JSValue::encode(callFrame->thisValue());
H A DPutPropertySlot.h45 PutPropertySlot(JSValue thisValue, bool isStrictMode = false, Context context = UnknownContext) argument
48 , m_thisValue(thisValue)
89 JSValue thisValue() const { return m_thisValue; } function in class:JSC::PutPropertySlot
H A DArrayIteratorPrototype.cpp53 return JSValue::encode(callFrame->thisValue());
/macosx-10.10.1/JavaScriptCore-7600.1.17/inspector/
H A DJSJavaScriptCallFramePrototype.cpp101 JSValue thisValue = exec->thisValue(); local
102 JSJavaScriptCallFrame* castedThis = jsDynamicCast<JSJavaScriptCallFrame*>(thisValue);
112 JSValue thisValue = exec->thisValue(); local
113 JSJavaScriptCallFrame* castedThis = jsDynamicCast<JSJavaScriptCallFrame*>(thisValue);
123 JSValue thisValue = exec->thisValue(); local
124 JSJavaScriptCallFrame* castedThis = jsDynamicCast<JSJavaScriptCallFrame*>(thisValue);
134 JSValue thisValue local
145 JSValue thisValue = exec->thisValue(); local
156 JSValue thisValue = exec->thisValue(); local
167 JSValue thisValue = exec->thisValue(); local
178 JSValue thisValue = exec->thisValue(); local
189 JSValue thisValue = exec->thisValue(); local
200 JSValue thisValue = exec->thisValue(); local
[all...]
H A DJSInjectedScriptHostPrototype.cpp74 JSValue thisValue = exec->thisValue(); local
75 JSInjectedScriptHost* castedThis = jsDynamicCast<JSInjectedScriptHost*>(thisValue);
85 JSValue thisValue = exec->thisValue(); local
86 JSInjectedScriptHost* castedThis = jsDynamicCast<JSInjectedScriptHost*>(thisValue);
96 JSValue thisValue = exec->thisValue(); local
97 JSInjectedScriptHost* castedThis = jsDynamicCast<JSInjectedScriptHost*>(thisValue);
107 JSValue thisValue local
118 JSValue thisValue = exec->thisValue(); local
129 JSValue thisValue = exec->thisValue(); local
[all...]
H A DInspectorEnvironment.h37 typedef JSC::JSValue (*InspectorFunctionCallHandler)(JSC::ExecState* exec, JSC::JSValue functionObject, JSC::CallType callType, const JSC::CallData& callData, JSC::JSValue thisValue, const JSC::ArgList& args, JSC::JSValue* exception);
38 typedef JSC::JSValue (*InspectorEvaluateHandler)(JSC::ExecState*, const JSC::SourceCode&, JSC::JSValue thisValue, JSC::JSValue* exception);
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/Plugins/Netscape/
H A DJSNPMethod.cpp64 JSValue thisValue = exec->thisValue(); local
67 if (thisValue.inherits(JSHTMLElement::info())) {
68 JSHTMLElement* element = jsCast<JSHTMLElement*>(asObject(thisValue));
72 thisValue = scriptObject;
75 if (thisValue.inherits(JSNPObject::info())) {
76 JSNPObject* jsNPObject = jsCast<JSNPObject*>(asObject(thisValue));
/macosx-10.10.1/JavaScriptCore-7600.1.17/interpreter/
H A DProtoCallFrame.cpp35 void ProtoCallFrame::init(CodeBlock* codeBlock, JSScope* scope, JSObject* callee, JSValue thisValue, int argCountIncludingThis, JSValue* otherArgs) argument
52 this->setThisValue(thisValue);
/macosx-10.10.1/JavaScriptCore-7600.1.17/API/
H A DJSContextInternal.h40 JSValueRef thisValue; member in struct:CallbackData
68 - (void)beginCallbackWithData:(CallbackData *)callbackData calleeValue:(JSValueRef)calleeValue thisValue:(JSValueRef)thisValue argumentCount:(size_t)argumentCount arguments:(const JSValueRef *)arguments;
/macosx-10.10.1/JavaScriptCore-7600.1.17/debugger/
H A DDebuggerCallFrame.cpp137 JSValue DebuggerCallFrame::thisValue() const function in class:JSC::DebuggerCallFrame
164 JSValue thisValue = thisValueForCallFrame(callFrame); local
165 JSValue result = vm.interpreter->execute(eval, callFrame, thisValue, scope());
212 JSValue thisValue = callFrame->thisValue().toThis(callFrame, ecmaMode); local
213 return thisValue;

Completed in 302 milliseconds

1234