HomeSort by relevance Sort by last modified time
    Searched refs:thisValue (Results 1 - 25 of 47) sorted by null

1 2

  /external/webkit/JavaScriptCore/runtime/
BooleanPrototype.cpp 54 JSValue JSC_HOST_CALL booleanProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
56 if (thisValue == jsBoolean(false))
59 if (thisValue == jsBoolean(true))
62 if (!thisValue.inherits(&BooleanObject::info))
65 if (asBooleanObject(thisValue)->internalValue() == jsBoolean(false))
68 ASSERT(asBooleanObject(thisValue)->internalValue() == jsBoolean(true));
72 JSValue JSC_HOST_CALL booleanProtoFuncValueOf(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
74 if (thisValue.isBoolean())
75 return thisValue;
77 if (!thisValue.inherits(&BooleanObject::info)
    [all...]
CallData.cpp 33 JSValue call(ExecState* exec, JSValue functionObject, CallType callType, const CallData& callData, JSValue thisValue, const ArgList& args)
36 return callData.native.function(exec, asObject(functionObject), thisValue, args);
39 return asFunction(functionObject)->call(exec, thisValue, args);
RegExpPrototype.cpp 61 JSValue JSC_HOST_CALL regExpProtoFuncTest(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
63 if (!thisValue.inherits(&RegExpObject::info))
65 return asRegExpObject(thisValue)->test(exec, args);
68 JSValue JSC_HOST_CALL regExpProtoFuncExec(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
70 if (!thisValue.inherits(&RegExpObject::info))
72 return asRegExpObject(thisValue)->exec(exec, args);
75 JSValue JSC_HOST_CALL regExpProtoFuncCompile(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
77 if (!thisValue.inherits(&RegExpObject::info))
97 asRegExpObject(thisValue)->setRegExp(regExp.release());
98 asRegExpObject(thisValue)->setLastIndex(0)
    [all...]
CallData.h 49 typedef JSValue (JSC_HOST_CALL *NativeFunction)(ExecState*, JSObject*, JSValue thisValue, const ArgList&);
61 JSValue call(ExecState*, JSValue functionObject, CallType, const CallData&, JSValue thisValue, const ArgList&);
DatePrototype.cpp 417 JSValue JSC_HOST_CALL dateProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
419 if (!thisValue.inherits(&DateInstance::info))
422 DateInstance* thisDateObj = asDateInstance(thisValue);
434 JSValue JSC_HOST_CALL dateProtoFuncToUTCString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
436 if (!thisValue.inherits(&DateInstance::info))
439 DateInstance* thisDateObj = asDateInstance(thisValue);
451 JSValue JSC_HOST_CALL dateProtoFuncToISOString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
453 if (!thisValue.inherits(&DateInstance::info))
456 DateInstance* thisDateObj = asDateInstance(thisValue);
469 JSValue JSC_HOST_CALL dateProtoFuncToDateString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&
    [all...]
ObjectPrototype.cpp 84 JSValue JSC_HOST_CALL objectProtoFuncValueOf(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
86 return thisValue.toThisObject(exec);
89 JSValue JSC_HOST_CALL objectProtoFuncHasOwnProperty(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
91 return jsBoolean(thisValue.toThisObject(exec)->hasOwnProperty(exec, Identifier(exec, args.at(0).toString(exec))));
94 JSValue JSC_HOST_CALL objectProtoFuncIsPrototypeOf(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
96 JSObject* thisObj = thisValue.toThisObject(exec);
113 JSValue JSC_HOST_CALL objectProtoFuncDefineGetter(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
118 thisValue.toThisObject(exec)->defineGetter(exec, Identifier(exec, args.at(0).toString(exec)), asObject(args.at(1)));
122 JSValue JSC_HOST_CALL objectProtoFuncDefineSetter(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
127 thisValue.toThisObject(exec)->defineSetter(exec, Identifier(exec, args.at(0).toString(exec)), asObject(args. (…)
    [all...]
Completion.cpp 49 Completion evaluate(ExecState* exec, ScopeChain& scopeChain, const SourceCode& source, JSValue thisValue)
59 JSObject* thisObj = (!thisValue || thisValue.isUndefinedOrNull()) ? exec->dynamicGlobalObject() : thisValue.toObject(exec);
StringPrototype.cpp 311 JSValue JSC_HOST_CALL stringProtoFuncReplace(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
313 JSString* sourceVal = thisValue.toThisJSString(exec);
463 JSValue JSC_HOST_CALL stringProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
467 if (thisValue.isString())
468 return thisValue;
470 if (thisValue.inherits(&StringObject::info))
471 return asStringObject(thisValue)->internalValue();
476 JSValue JSC_HOST_CALL stringProtoFuncCharAt(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
478 UString s = thisValue.toThisString(exec);
493 JSValue JSC_HOST_CALL stringProtoFuncCharCodeAt(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args
    [all...]
FunctionPrototype.cpp 86 JSValue JSC_HOST_CALL functionProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
88 if (thisValue.inherits(&JSFunction::info)) {
89 JSFunction* function = asFunction(thisValue);
98 if (thisValue.inherits(&InternalFunction::info)) {
99 InternalFunction* function = asInternalFunction(thisValue);
106 JSValue JSC_HOST_CALL functionProtoFuncApply(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
109 CallType callType = thisValue.getCallData(callData);
131 return call(exec, thisValue, callType, callData, args.at(0), applyArgs);
134 JSValue JSC_HOST_CALL functionProtoFuncCall(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
137 CallType callType = thisValue.getCallData(callData)
    [all...]
Completion.h 59 Completion evaluate(ExecState*, ScopeChain&, const SourceCode&, JSValue thisValue = JSValue());
ErrorPrototype.cpp 49 JSValue JSC_HOST_CALL errorProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
51 JSObject* thisObj = thisValue.toThisObject(exec);
ArrayPrototype.cpp 151 JSValue JSC_HOST_CALL arrayProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
153 bool isRealArray = isJSArray(&exec->globalData(), thisValue);
154 if (!isRealArray && !thisValue.inherits(&JSArray::info))
156 JSArray* thisObj = asArray(thisValue);
210 JSValue JSC_HOST_CALL arrayProtoFuncToLocaleString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
212 if (!thisValue.inherits(&JSArray::info))
214 JSObject* thisObj = asArray(thisValue);
250 JSValue JSC_HOST_CALL arrayProtoFuncJoin(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
252 JSObject* thisObj = thisValue.toThisObject(exec);
287 JSValue JSC_HOST_CALL arrayProtoFuncConcat(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args
    [all...]
NumberPrototype.cpp 140 JSValue JSC_HOST_CALL numberProtoFuncToString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
142 JSValue v = thisValue.getJSNumber();
204 JSValue JSC_HOST_CALL numberProtoFuncToLocaleString(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
208 JSValue v = thisValue.getJSNumber();
215 JSValue JSC_HOST_CALL numberProtoFuncValueOf(ExecState* exec, JSObject*, JSValue thisValue, const ArgList&)
217 JSValue v = thisValue.getJSNumber();
224 JSValue JSC_HOST_CALL numberProtoFuncToFixed(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
226 JSValue v = thisValue.getJSNumber();
315 JSValue JSC_HOST_CALL numberProtoFuncToExponential(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
317 JSValue v = thisValue.getJSNumber()
    [all...]
Operations.h 131 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSValue thisValue, const ArgList& args)
134 if (LIKELY(thisValue.isString()))
135 ropeLength += asString(thisValue)->ropeLength();
151 if (LIKELY(thisValue.isString()))
152 rope->append(index, asString(thisValue));
154 rope->append(index, thisValue.toString(exec));
  /external/webkit/JavaScriptCore/interpreter/
CallFrame.cpp 34 JSValue CallFrame::thisValue()
  /external/proguard/src/proguard/evaluation/
Variables.java 125 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.equals(otherValue)
    [all...]
Stack.java 131 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/WebCore/bridge/
runtime_method.cpp 88 static JSValue JSC_HOST_CALL callRuntimeMethod(ExecState* exec, JSObject* function, JSValue thisValue, const ArgList& args)
97 if (thisValue.inherits(&RuntimeObjectImp::s_info)) {
98 imp = static_cast<RuntimeObjectImp*>(asObject(thisValue));
102 JSValue value = thisValue.get(exec, Identifier(exec, "__apple_runtime_object"));
  /external/webkit/JavaScriptCore/API/
JSCallbackFunction.cpp 51 JSValue JSCallbackFunction::call(ExecState* exec, JSObject* functionObject, JSValue thisValue, const ArgList& args)
55 JSObjectRef thisObjRef = toRef(thisValue.toThisObject(exec));
  /external/webkit/JavaScriptGlue/
JSObject.cpp 76 static JSValue JSC_HOST_CALL nativeCallFunction(ExecState* exec, JSObject* functionObject, JSValue thisValue, const ArgList& args);
77 static JSValue nativeCallFunction(ExecState* exec, JSObject* functionObject, JSValue thisValue, const ArgList& args)
79 return static_cast<UserObjectImp*>(functionObject)->callAsFunction(exec, asObject(thisValue), args);
  /external/webkit/WebCore/bindings/js/
ScheduledAction.h 57 void executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue thisValue);
JSDOMGlobalObject.cpp 45 JSDOMGlobalObject::JSDOMGlobalObject(NonNullPassRefPtr<Structure> structure, JSDOMGlobalObject::JSDOMGlobalObjectData* data, JSObject* thisValue)
46 : JSGlobalObject(structure, data, thisValue)
ScheduledAction.cpp 88 void ScheduledAction::executeFunctionInContext(JSGlobalObject* globalObject, JSValue thisValue)
106 JSC::call(exec, m_function, callType, callData, thisValue, args);
JSEventListener.cpp 163 JSValue thisValue = globalObject->toThisObject(exec);
166 JSValue returnValue = JSC::call(exec, jsFunction, callType, callData, thisValue, args);
  /external/webkit/JavaScriptCore/debugger/
DebuggerCallFrame.cpp 74 return asObject(m_callFrame->thisValue());

Completed in 546 milliseconds

1 2