Home
last modified time | relevance | path

Searched refs:toPrimitive (Results 1 – 25 of 32) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/runtime/
DOperations.cpp47 JSValue p1 = v1.toPrimitive(callFrame); in jsAddSlowCase()
48 JSValue p2 = v2.toPrimitive(callFrame); in jsAddSlowCase()
DJSCell.h109 virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType) const;
252 inline JSValue JSValue::toPrimitive(ExecState* exec, PreferredPrimitiveType preferredType) const in toPrimitive() function
254 return isCell() ? asCell()->toPrimitive(exec, preferredType) : asValue(); in toPrimitive()
DJSNotAnObject.h56 virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType) const;
DJSNotAnObject.cpp40 JSValue JSNotAnObject::toPrimitive(ExecState* exec, PreferredPrimitiveType) const in toPrimitive() function in JSC::JSNotAnObject
DJSZombie.h52 …virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType) const { ASSERT_NOT_REACHED(); retu… in toPrimitive() function
DJSCell.cpp176 JSValue JSCell::toPrimitive(ExecState*, PreferredPrimitiveType) const in toPrimitive() function in JSC::JSCell
DOperations.h275 JSValue p1 = v1.toPrimitive(exec); in equalSlowCaseInline()
285 JSValue p2 = v2.toPrimitive(exec); in equalSlowCaseInline()
DDateConstructor.cpp85 JSValue primitive = args.at(0).toPrimitive(exec); in constructDate()
DJSString.cpp229 JSValue JSString::toPrimitive(ExecState*, PreferredPrimitiveType) const in toPrimitive() function in JSC::JSString
DJSValue.h177 JSValue toPrimitive(ExecState*, PreferredPrimitiveType = NoPreference) const;
DJSString.h400 virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType) const;
644 return asCell()->toPrimitive(exec, NoPreference).toString(exec); in toPrimitiveString()
DJSObject.cpp475 JSValue primitive = toPrimitive(exec, PreferNumber); in toNumber()
483 JSValue primitive = toPrimitive(exec, PreferString); in toString()
DJSObject.h135 virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType = NoPreference) const;
741 inline JSValue JSObject::toPrimitive(ExecState* exec, PreferredPrimitiveType preferredType) const in toPrimitive() function
DJSONObject.cpp141 return object->toPrimitive(exec); in unwrapBoxedPrimitive()
/external/webkit/Source/JavaScriptGlue/
DUserObjectImp.h52 JSValue toPrimitive(ExecState*, PreferredPrimitiveType preferredType = NoPreference) const;
DUserObjectImp.cpp138 JSValue kjsValue = toPrimitive(exec); in getOwnPropertySlot()
167 JSValue UserObjectImp::toPrimitive(ExecState *exec, PreferredPrimitiveType) const in toPrimitive() function in UserObjectImp
DChangeLog84 (UserObjectImp::toPrimitive):
424 (UserObjectImp::toPrimitive): Use PreferredPrimitiveType instead of JSType to
600 (UserObjectImp::toPrimitive):
1431 (UserObjectImp::toPrimitive):
1577 (UserObjectImp::toPrimitive):
1715 (UserObjectImp::toPrimitive):
1813 (UserObjectImp::toPrimitive): Ditto.
1927 (UserObjectImp::toPrimitive):
1970 (UserObjectImp::toPrimitive): Take PreferredPrimitiveType argument
2198 * UserObjectImp.cpp: (UserObjectImp::toPrimitive): Pass ExecState* where now required.
[all …]
/external/webkit/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/
DJavaScriptCore.def344 ?toPrimitive@JSCell@JSC@@UBE?AVJSValue@2@PAVExecState@2@W4PreferredPrimitiveType@2@@Z
345 ?toPrimitive@JSString@JSC@@EBE?AVJSValue@2@PAVExecState@2@W4PreferredPrimitiveType@2@@Z
/external/webkit/Source/JavaScriptCore/jit/
DJITStubs.cpp2944 src2 = asObject(cell2)->toPrimitive(stackFrame.callFrame); in DEFINE_STUB_FUNCTION()
2951 src1 = asObject(cell1)->toPrimitive(stackFrame.callFrame); in DEFINE_STUB_FUNCTION()
3332 return JSValue::encode(stackFrame.args[0].jsValue().toPrimitive(stackFrame.callFrame)); in DEFINE_STUB_FUNCTION()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2007-10-142370 (KJS::JSValue::toPrimitive):
12689 (KJS::GetterSetterImp::toPrimitive):
12763 (KJS::JSObject::toPrimitive):
13405 (KJS::StringImp::toPrimitive):
13406 (KJS::NumberImp::toPrimitive):
13408 (KJS::GetterSetterImp::toPrimitive):
13418 (KJS::JSObject::toPrimitive):
13458 (KJS::JSValue::toPrimitive):
14733 When comparing an object with null or undefined, call toPrimitive with
15350 (KJS::GetterSetterImp::toPrimitive):
[all …]
DChangeLog-2009-06-165775 (JSC::JSPropertyNameIterator::toPrimitive):
6435 (JSC::GetterSetter::toPrimitive):
6501 (JSC::JSValue::toPrimitive):
6621 (JSC::JSNotAnObject::toPrimitive):
6627 (JSC::JSNumberCell::toPrimitive):
6678 (JSC::JSObject::toPrimitive):
6683 (JSC::JSPropertyNameIterator::toPrimitive):
6695 (JSC::JSString::toPrimitive):
13859 (JSC::JSValuePtr::toPrimitive):
14752 (JSC::GetterSetter::toPrimitive):
[all …]
DChangeLog-2008-08-104726 (KJS::GetterSetter::toPrimitive):
6643 (KJS::JSString::toPrimitive):
6656 (KJS::JSNumberCell::toPrimitive):
6667 (KJS::GetterSetter::toPrimitive):
10398 since toPrimitive can throw.
13370 (KJS::JSNotAnObject::toPrimitive):
14212 (KJS::JSPropertyNameIterator::toPrimitive):
24501 * kjs/operations.cpp: (KJS::equal): Check the exception from toPrimitive.
29928 - fold together toPrimitive() and toNumber() conversions for 0.5% gain on SunSpider
29931 (KJS::SubNode::evaluate): Subtract directly, since toPrimitive() is not
[all …]
/external/webkit/Source/WebCore/
DChangeLog-2002-12-0314726 (Value::type), (Value::isA), (Value::toPrimitive), (Value::toBoolean),
15153 (DOMNode::tryPut), (DOMNode::putValue), (DOMNode::toPrimitive),
15266 (Location::toPrimitive), (Location::toString), (LocationFunc::tryCall),
15926 * src/kdelibs/kjs/internal.cpp: (UndefinedImp::toPrimitive),
15928 (UndefinedImp::toObject), (NullImp::toPrimitive), (NullImp::toBoolean),
15930 (BooleanImp::toPrimitive), (BooleanImp::toBoolean), (BooleanImp::toNumber),
15932 (StringImp::toPrimitive), (StringImp::toBoolean), (StringImp::toNumber),
15934 (NumberImp::toPrimitive), (NumberImp::toBoolean), (NumberImp::toNumber),
15936 (ReferenceImp::mark), (ReferenceImp::toPrimitive), (ReferenceImp::toBoolean),
15942 (CompletionImp::toPrimitive), (CompletionImp::toBoolean),
[all …]
/external/webkit/Source/JavaScriptCore/interpreter/
DInterpreter.cpp4450 callFrame->uncheckedR(dst) = callFrame->r(src).jsValue().toPrimitive(callFrame); in privateExecute()
/external/webkit/Source/WebKit/mac/WebView/
DWebView.mm4658 JSValue primitive = object->toPrimitive(exec);

12