Home
last modified time | relevance | path

Searched refs:thisValue (Results 1 – 25 of 49) sorted by relevance

12

/external/webkit/JavaScriptCore/runtime/
DDatePrototype.cpp417 JSValue JSC_HOST_CALL dateProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const Ar… in dateProtoFuncToString() argument
419 if (!thisValue.inherits(&DateInstance::info)) in dateProtoFuncToString()
422 DateInstance* thisDateObj = asDateInstance(thisValue); in dateProtoFuncToString()
434 JSValue JSC_HOST_CALL dateProtoFuncToUTCString(ExecState* exec, JSObject*, JSValue thisValue, const… in dateProtoFuncToUTCString() argument
436 if (!thisValue.inherits(&DateInstance::info)) in dateProtoFuncToUTCString()
439 DateInstance* thisDateObj = asDateInstance(thisValue); in dateProtoFuncToUTCString()
451 JSValue JSC_HOST_CALL dateProtoFuncToISOString(ExecState* exec, JSObject*, JSValue thisValue, const… in dateProtoFuncToISOString() argument
453 if (!thisValue.inherits(&DateInstance::info)) in dateProtoFuncToISOString()
456 DateInstance* thisDateObj = asDateInstance(thisValue); in dateProtoFuncToISOString()
469 JSValue JSC_HOST_CALL dateProtoFuncToDateString(ExecState* exec, JSObject*, JSValue thisValue, cons… in dateProtoFuncToDateString() argument
[all …]
DRegExpPrototype.cpp61 JSValue JSC_HOST_CALL regExpProtoFuncTest(ExecState* exec, JSObject*, JSValue thisValue, const ArgL… in regExpProtoFuncTest() argument
63 if (!thisValue.inherits(&RegExpObject::info)) in regExpProtoFuncTest()
65 return asRegExpObject(thisValue)->test(exec, args); in regExpProtoFuncTest()
68 JSValue JSC_HOST_CALL regExpProtoFuncExec(ExecState* exec, JSObject*, JSValue thisValue, const ArgL… in regExpProtoFuncExec() argument
70 if (!thisValue.inherits(&RegExpObject::info)) in regExpProtoFuncExec()
72 return asRegExpObject(thisValue)->exec(exec, args); in regExpProtoFuncExec()
75 JSValue JSC_HOST_CALL regExpProtoFuncCompile(ExecState* exec, JSObject*, JSValue thisValue, const A… in regExpProtoFuncCompile() argument
77 if (!thisValue.inherits(&RegExpObject::info)) in regExpProtoFuncCompile()
97 asRegExpObject(thisValue)->setRegExp(regExp.release()); in regExpProtoFuncCompile()
98 asRegExpObject(thisValue)->setLastIndex(0); in regExpProtoFuncCompile()
[all …]
DStringPrototype.cpp311 JSValue JSC_HOST_CALL stringProtoFuncReplace(ExecState* exec, JSObject*, JSValue thisValue, const A… in stringProtoFuncReplace() argument
313 JSString* sourceVal = thisValue.toThisJSString(exec); in stringProtoFuncReplace()
463 JSValue JSC_HOST_CALL stringProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const … in stringProtoFuncToString() argument
467 if (thisValue.isString()) in stringProtoFuncToString()
468 return thisValue; in stringProtoFuncToString()
470 if (thisValue.inherits(&StringObject::info)) in stringProtoFuncToString()
471 return asStringObject(thisValue)->internalValue(); in stringProtoFuncToString()
476 JSValue JSC_HOST_CALL stringProtoFuncCharAt(ExecState* exec, JSObject*, JSValue thisValue, const Ar… in stringProtoFuncCharAt() argument
478 UString s = thisValue.toThisString(exec); in stringProtoFuncCharAt()
493 JSValue JSC_HOST_CALL stringProtoFuncCharCodeAt(ExecState* exec, JSObject*, JSValue thisValue, cons… in stringProtoFuncCharCodeAt() argument
[all …]
DObjectPrototype.cpp84 JSValue JSC_HOST_CALL objectProtoFuncValueOf(ExecState* exec, JSObject*, JSValue thisValue, const A… in objectProtoFuncValueOf() argument
86 return thisValue.toThisObject(exec); in objectProtoFuncValueOf()
89 JSValue JSC_HOST_CALL objectProtoFuncHasOwnProperty(ExecState* exec, JSObject*, JSValue thisValue, … in objectProtoFuncHasOwnProperty() argument
91 …return jsBoolean(thisValue.toThisObject(exec)->hasOwnProperty(exec, Identifier(exec, args.at(0).to… in objectProtoFuncHasOwnProperty()
94 JSValue JSC_HOST_CALL objectProtoFuncIsPrototypeOf(ExecState* exec, JSObject*, JSValue thisValue, c… in objectProtoFuncIsPrototypeOf() argument
96 JSObject* thisObj = thisValue.toThisObject(exec); in objectProtoFuncIsPrototypeOf()
112 JSValue JSC_HOST_CALL objectProtoFuncDefineGetter(ExecState* exec, JSObject*, JSValue thisValue, co… in objectProtoFuncDefineGetter() argument
117thisValue.toThisObject(exec)->defineGetter(exec, Identifier(exec, args.at(0).toString(exec)), asOb… in objectProtoFuncDefineGetter()
121 JSValue JSC_HOST_CALL objectProtoFuncDefineSetter(ExecState* exec, JSObject*, JSValue thisValue, co… in objectProtoFuncDefineSetter() argument
126thisValue.toThisObject(exec)->defineSetter(exec, Identifier(exec, args.at(0).toString(exec)), asOb… in objectProtoFuncDefineSetter()
[all …]
DBooleanPrototype.cpp54 JSValue JSC_HOST_CALL booleanProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const… in booleanProtoFuncToString() argument
56 if (thisValue == jsBoolean(false)) in booleanProtoFuncToString()
59 if (thisValue == jsBoolean(true)) in booleanProtoFuncToString()
62 if (!thisValue.inherits(&BooleanObject::info)) in booleanProtoFuncToString()
65 if (asBooleanObject(thisValue)->internalValue() == jsBoolean(false)) in booleanProtoFuncToString()
68 ASSERT(asBooleanObject(thisValue)->internalValue() == jsBoolean(true)); in booleanProtoFuncToString()
72 JSValue JSC_HOST_CALL booleanProtoFuncValueOf(ExecState* exec, JSObject*, JSValue thisValue, const … in booleanProtoFuncValueOf() argument
74 if (thisValue.isBoolean()) in booleanProtoFuncValueOf()
75 return thisValue; in booleanProtoFuncValueOf()
77 if (!thisValue.inherits(&BooleanObject::info)) in booleanProtoFuncValueOf()
[all …]
DFunctionPrototype.cpp86 JSValue JSC_HOST_CALL functionProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, cons… in functionProtoFuncToString() argument
88 if (thisValue.inherits(&JSFunction::info)) { in functionProtoFuncToString()
89 JSFunction* function = asFunction(thisValue); in functionProtoFuncToString()
98 if (thisValue.inherits(&InternalFunction::info)) { in functionProtoFuncToString()
99 InternalFunction* function = asInternalFunction(thisValue); in functionProtoFuncToString()
106 JSValue JSC_HOST_CALL functionProtoFuncApply(ExecState* exec, JSObject*, JSValue thisValue, const A… in functionProtoFuncApply() argument
109 CallType callType = thisValue.getCallData(callData); in functionProtoFuncApply()
131 return call(exec, thisValue, callType, callData, args.at(0), applyArgs); in functionProtoFuncApply()
134 JSValue JSC_HOST_CALL functionProtoFuncCall(ExecState* exec, JSObject*, JSValue thisValue, const Ar… in functionProtoFuncCall() argument
137 CallType callType = thisValue.getCallData(callData); in functionProtoFuncCall()
[all …]
DArrayPrototype.cpp151 JSValue JSC_HOST_CALL arrayProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const A… in arrayProtoFuncToString() argument
153 bool isRealArray = isJSArray(&exec->globalData(), thisValue); in arrayProtoFuncToString()
154 if (!isRealArray && !thisValue.inherits(&JSArray::info)) in arrayProtoFuncToString()
156 JSArray* thisObj = asArray(thisValue); in arrayProtoFuncToString()
210 JSValue JSC_HOST_CALL arrayProtoFuncToLocaleString(ExecState* exec, JSObject*, JSValue thisValue, c… in arrayProtoFuncToLocaleString() argument
212 if (!thisValue.inherits(&JSArray::info)) in arrayProtoFuncToLocaleString()
214 JSObject* thisObj = asArray(thisValue); in arrayProtoFuncToLocaleString()
250 JSValue JSC_HOST_CALL arrayProtoFuncJoin(ExecState* exec, JSObject*, JSValue thisValue, const ArgLi… in arrayProtoFuncJoin() argument
252 JSObject* thisObj = thisValue.toThisObject(exec); in arrayProtoFuncJoin()
287 JSValue JSC_HOST_CALL arrayProtoFuncConcat(ExecState* exec, JSObject*, JSValue thisValue, const Arg… in arrayProtoFuncConcat() argument
[all …]
DNumberPrototype.cpp140 JSValue JSC_HOST_CALL numberProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const … in numberProtoFuncToString() argument
142 JSValue v = thisValue.getJSNumber(); in numberProtoFuncToString()
204 JSValue JSC_HOST_CALL numberProtoFuncToLocaleString(ExecState* exec, JSObject*, JSValue thisValue, … in numberProtoFuncToLocaleString() argument
208 JSValue v = thisValue.getJSNumber(); in numberProtoFuncToLocaleString()
215 JSValue JSC_HOST_CALL numberProtoFuncValueOf(ExecState* exec, JSObject*, JSValue thisValue, const A… in numberProtoFuncValueOf() argument
217 JSValue v = thisValue.getJSNumber(); in numberProtoFuncValueOf()
224 JSValue JSC_HOST_CALL numberProtoFuncToFixed(ExecState* exec, JSObject*, JSValue thisValue, const A… in numberProtoFuncToFixed() argument
226 JSValue v = thisValue.getJSNumber(); in numberProtoFuncToFixed()
315 JSValue JSC_HOST_CALL numberProtoFuncToExponential(ExecState* exec, JSObject*, JSValue thisValue, c… in numberProtoFuncToExponential() argument
317 JSValue v = thisValue.getJSNumber(); in numberProtoFuncToExponential()
[all …]
DCompletion.cpp49 …tion evaluate(ExecState* exec, ScopeChain& scopeChain, const SourceCode& source, JSValue thisValue) in evaluate() argument
59 …JSObject* thisObj = (!thisValue || thisValue.isUndefinedOrNull()) ? exec->dynamicGlobalObject() : in evaluate()
DCallData.cpp33 …ue functionObject, CallType callType, const CallData& callData, JSValue thisValue, const ArgList& … in call() argument
36 return callData.native.function(exec, asObject(functionObject), thisValue, args); in call()
39 return asFunction(functionObject)->call(exec, thisValue, args); in call()
DCallData.h49 …typedef JSValue (JSC_HOST_CALL *NativeFunction)(ExecState*, JSObject*, JSValue thisValue, const Ar…
61 …JSValue call(ExecState*, JSValue functionObject, CallType, const CallData&, JSValue thisValue, con…
DOperations.h131 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSValue thisValue, const ArgList& args) in jsString() argument
134 if (LIKELY(thisValue.isString())) in jsString()
135 ropeLength += asString(thisValue)->ropeLength(); in jsString()
151 if (LIKELY(thisValue.isString())) in jsString()
152 rope->append(index, asString(thisValue)); in jsString()
154 rope->append(index, thisValue.toString(exec)); in jsString()
DErrorPrototype.cpp49 JSValue JSC_HOST_CALL errorProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const A… in errorProtoFuncToString() argument
51 JSObject* thisObj = thisValue.toThisObject(exec); in errorProtoFuncToString()
/external/proguard/src/proguard/evaluation/
DVariables.java125 Value thisValue = this.values[index]; in generalize() local
133 if (thisValue != null && in generalize()
135 thisValue.computationalType() == otherValue.computationalType()) in generalize()
137 Value newValue = thisValue.generalize(otherValue); in generalize()
139 changed = changed || !thisValue.equals(newValue); in generalize()
145 changed = changed || thisValue != null; in generalize()
296 Value thisValue = this.values[index]; in equals() local
304 if (thisValue != null && in equals()
306 thisValue.computationalType() == otherValue.computationalType() && in equals()
307 !thisValue.equals(otherValue)) in equals()
DStack.java131 Value thisValue = this.values[index]; in generalize() local
133 if (thisValue != null) in generalize()
141 newValue = thisValue.generalize(otherValue); in generalize()
144 changed = changed || !thisValue.equals(newValue); in generalize()
517 Value thisValue = this.values[index]; in equals() local
519 if (thisValue == null ? otherValue != null : in equals()
520 !thisValue.equals(otherValue)) in equals()
/external/webkit/WebCore/bridge/
Druntime_method.cpp88 …OST_CALL callRuntimeMethod(ExecState* exec, JSObject* function, JSValue thisValue, const ArgList& … in callRuntimeMethod() argument
97 if (thisValue.inherits(&RuntimeObjectImp::s_info)) { in callRuntimeMethod()
98 imp = static_cast<RuntimeObjectImp*>(asObject(thisValue)); in callRuntimeMethod()
102 JSValue value = thisValue.get(exec, Identifier(exec, "__apple_runtime_object")); in callRuntimeMethod()
/external/webkit/JavaScriptGlue/
DJSObject.cpp76 … nativeCallFunction(ExecState* exec, JSObject* functionObject, JSValue thisValue, const ArgList& …
77 static JSValue nativeCallFunction(ExecState* exec, JSObject* functionObject, JSValue thisValue, c… in nativeCallFunction() argument
79 …return static_cast<UserObjectImp*>(functionObject)->callAsFunction(exec, asObject(thisValue), args… in nativeCallFunction()
/external/webkit/JavaScriptCore/API/
DJSCallbackFunction.cpp51 JSValue JSCallbackFunction::call(ExecState* exec, JSObject* functionObject, JSValue thisValue, cons… in call() argument
55 JSObjectRef thisObjRef = toRef(thisValue.toThisObject(exec)); in call()
/external/webkit/WebCore/bindings/js/
DJSDOMGlobalObject.cpp45 …ssRefPtr<Structure> structure, JSDOMGlobalObject::JSDOMGlobalObjectData* data, JSObject* thisValue) in JSDOMGlobalObject() argument
46 : JSGlobalObject(structure, data, thisValue) in JSDOMGlobalObject()
DScheduledAction.cpp88 void ScheduledAction::executeFunctionInContext(JSGlobalObject* globalObject, JSValue thisValue) in executeFunctionInContext() argument
106 JSC::call(exec, m_function, callType, callData, thisValue, args); in executeFunctionInContext()
DJSEventListener.cpp163 JSValue thisValue = globalObject->toThisObject(exec); in reportError() local
166 JSValue returnValue = JSC::call(exec, jsFunction, callType, callData, thisValue, args); in reportError()
/external/webkit/WebCore/bindings/v8/
DV8WorkerContextEventListener.cpp116 v8::Local<v8::Object> thisValue = v8::Context::GetCurrent()->Global(); in reportError() local
119 returnValue = callFunction->Call(thisValue, 3, parameters); in reportError()
/external/webkit/WebKit/qt/Api/
Dqwebelement.cpp683 static bool setupScriptContext(WebCore::Element* element, JSC::JSValue& thisValue, ScriptState*& st… in setupScriptContext() argument
704 thisValue = toJS(state, element); in setupScriptContext()
705 if (!thisValue) in setupScriptContext()
721 JSC::JSValue thisValue; in evaluateJavaScript() local
724 if (!setupScriptContext(m_element, thisValue, state, scriptController)) in evaluateJavaScript()
729 … JSC::Completion completion = JSC::evaluate(state, scopeChain, JSC::makeSource(script), thisValue); in evaluateJavaScript()
/external/webkit/JavaScriptCore/interpreter/
DCallFrame.cpp34 JSValue CallFrame::thisValue() in thisValue() function in JSC::CallFrame
/external/webkit/WebCore/bridge/qt/
Dqt_runtime.h181 …static JSValue JSC_HOST_CALL call(ExecState* exec, JSObject* functionObject, JSValue thisValue, co…
202 …static JSValue JSC_HOST_CALL call(ExecState* exec, JSObject* functionObject, JSValue thisValue, co…

12