/external/webkit/WebKit/mac/ForwardingHeaders/runtime/ |
JSValue.h | 1 #import <JavaScriptCore/JSValue.h>
|
/external/webkit/WebCore/ForwardingHeaders/runtime/ |
JSValue.h | 3 #include <JavaScriptCore/JSValue.h>
|
/external/webkit/JavaScriptCore/runtime/ |
JSNumberCell.h | 39 JSValue jsNumberCell(ExecState*, double); 52 friend JSValue jsNumberCell(JSGlobalData*, double); 53 friend JSValue jsNumberCell(ExecState*, double); 58 virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType) const; 59 virtual bool getPrimitiveNumber(ExecState*, double& number, JSValue& value); 67 virtual JSValue getJSNumber(); 79 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(NumberType, OverridesGetOwnPropertySlot | NeedsThisConversion), AnonymousSlotCount); } 99 JSValue jsNumberCell(JSGlobalData*, double); 101 inline bool isNumberCell(JSValue v) 106 inline JSNumberCell* asNumberCell(JSValue v [all...] |
JSValue.h | 63 class JSValue { 71 static EncodedJSValue encode(JSValue value); 72 static JSValue decode(EncodedJSValue ptr); 75 static JSValue makeImmediate(intptr_t value); 85 JSValue(); 86 JSValue(JSNullTag); 87 JSValue(JSUndefinedTag); 88 JSValue(JSTrueTag); 89 JSValue(JSFalseTag); 90 JSValue(JSCell* ptr) [all...] |
JSGlobalObjectFunctions.h | 34 class JSValue; 39 JSValue JSC_HOST_CALL globalFuncEval(ExecState*, JSObject*, JSValue, const ArgList&); 40 JSValue JSC_HOST_CALL globalFuncParseInt(ExecState*, JSObject*, JSValue, const ArgList&); 41 JSValue JSC_HOST_CALL globalFuncParseFloat(ExecState*, JSObject*, JSValue, const ArgList&); 42 JSValue JSC_HOST_CALL globalFuncIsNaN(ExecState*, JSObject*, JSValue, const ArgList&); 43 JSValue JSC_HOST_CALL globalFuncIsFinite(ExecState*, JSObject*, JSValue, const ArgList&) [all...] |
JSImmediate.h | 33 #include "JSValue.h" 62 * A JSValue* is either a pointer to a cell (a heap-allocated object) or an immediate (a type-tagged 63 * value masquerading as a pointer). The low two bits in a JSValue* are available for type tagging 139 friend class JSValue; 141 friend JSValue jsNumber(ExecState* exec, double d); 142 friend JSValue jsNumber(ExecState*, char i); 143 friend JSValue jsNumber(ExecState*, unsigned char i); 144 friend JSValue jsNumber(ExecState*, short i); 145 friend JSValue jsNumber(ExecState*, unsigned short i); 146 friend JSValue jsNumber(ExecState* exec, int i) [all...] |
MathObject.cpp | 36 static JSValue JSC_HOST_CALL mathProtoFuncAbs(ExecState*, JSObject*, JSValue, const ArgList&); 37 static JSValue JSC_HOST_CALL mathProtoFuncACos(ExecState*, JSObject*, JSValue, const ArgList&); 38 static JSValue JSC_HOST_CALL mathProtoFuncASin(ExecState*, JSObject*, JSValue, const ArgList&); 39 static JSValue JSC_HOST_CALL mathProtoFuncATan(ExecState*, JSObject*, JSValue, const ArgList&); 40 static JSValue JSC_HOST_CALL mathProtoFuncATan2(ExecState*, JSObject*, JSValue, const ArgList&) [all...] |
ObjectPrototype.cpp | 34 static JSValue JSC_HOST_CALL objectProtoFuncValueOf(ExecState*, JSObject*, JSValue, const ArgList&); 35 static JSValue JSC_HOST_CALL objectProtoFuncHasOwnProperty(ExecState*, JSObject*, JSValue, const ArgList&); 36 static JSValue JSC_HOST_CALL objectProtoFuncIsPrototypeOf(ExecState*, JSObject*, JSValue, const ArgList&); 37 static JSValue JSC_HOST_CALL objectProtoFuncDefineGetter(ExecState*, JSObject*, JSValue, const ArgList&); 38 static JSValue JSC_HOST_CALL objectProtoFuncDefineSetter(ExecState*, JSObject*, JSValue, const ArgList&) [all...] |
DatePrototype.cpp | 73 static JSValue JSC_HOST_CALL dateProtoFuncGetDate(ExecState*, JSObject*, JSValue, const ArgList&); 74 static JSValue JSC_HOST_CALL dateProtoFuncGetDay(ExecState*, JSObject*, JSValue, const ArgList&); 75 static JSValue JSC_HOST_CALL dateProtoFuncGetFullYear(ExecState*, JSObject*, JSValue, const ArgList&); 76 static JSValue JSC_HOST_CALL dateProtoFuncGetHours(ExecState*, JSObject*, JSValue, const ArgList&); 77 static JSValue JSC_HOST_CALL dateProtoFuncGetMilliSeconds(ExecState*, JSObject*, JSValue, const ArgList&) [all...] |
PropertySlot.h | 25 #include "JSValue.h" 47 explicit PropertySlot(const JSValue base) 54 typedef JSValue (*GetValueFunc)(ExecState*, const Identifier&, const PropertySlot&); 56 JSValue getValue(ExecState* exec, const Identifier& propertyName) const 61 return (*m_data.registerSlot).jsValue(); 65 JSValue getValue(ExecState* exec, unsigned propertyName) const 70 return (*m_data.registerSlot).jsValue(); 81 void setValueSlot(JSValue* valueSlot) 90 void setValueSlot(JSValue slotBase, JSValue* valueSlot [all...] |
ExceptionHelpers.h | 41 class JSValue; 45 JSValue createInterruptedExecutionException(JSGlobalData*); 46 JSValue createStackOverflowError(ExecState*); 47 JSValue createTypeError(ExecState*, const char* message); 48 JSValue createUndefinedVariableError(ExecState*, const Identifier&, unsigned bytecodeOffset, CodeBlock*); 50 JSObject* createInvalidParamError(ExecState*, const char* op, JSValue, unsigned bytecodeOffset, CodeBlock*); 51 JSObject* createNotAConstructorError(ExecState*, JSValue, unsigned bytecodeOffset, CodeBlock*); 52 JSValue createNotAFunctionError(ExecState*, JSValue, unsigned bytecodeOffset, CodeBlock*); 54 JSValue throwOutOfMemoryError(ExecState*) [all...] |
StringPrototype.cpp | 47 static JSValue JSC_HOST_CALL stringProtoFuncToString(ExecState*, JSObject*, JSValue, const ArgList&); 48 static JSValue JSC_HOST_CALL stringProtoFuncCharAt(ExecState*, JSObject*, JSValue, const ArgList&); 49 static JSValue JSC_HOST_CALL stringProtoFuncCharCodeAt(ExecState*, JSObject*, JSValue, const ArgList&); 50 static JSValue JSC_HOST_CALL stringProtoFuncConcat(ExecState*, JSObject*, JSValue, const ArgList&); 51 static JSValue JSC_HOST_CALL stringProtoFuncIndexOf(ExecState*, JSObject*, JSValue, const ArgList&) [all...] |
PropertyDescriptor.h | 29 #include "JSValue.h" 46 JSValue value() const { return m_value; } 47 JSValue getter() const; 48 JSValue setter() const; 50 void setDescriptor(JSValue value, unsigned attributes); 51 void setAccessorDescriptor(JSValue getter, JSValue setter, unsigned attributes); 55 void setValue(JSValue value) { m_value = value; } 56 void setSetter(JSValue); 57 void setGetter(JSValue); [all...] |
JSCell.h | 28 #include "JSValue.h" 43 friend class JSValue; 81 // FIXME: remove these methods, can check isNumberCell in JSValue && then call asNumberCell::*. 85 virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType) const; 86 virtual bool getPrimitiveNumber(ExecState*, double& number, JSValue&); 104 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&); 105 virtual void put(ExecState*, unsigned propertyName, JSValue); 112 virtual JSValue getJSNumber(); 173 // --- JSValue inlines ---------------------------- 175 inline bool JSValue::isString() cons [all...] |
ArrayPrototype.cpp | 43 static JSValue JSC_HOST_CALL arrayProtoFuncToString(ExecState*, JSObject*, JSValue, const ArgList&); 44 static JSValue JSC_HOST_CALL arrayProtoFuncToLocaleString(ExecState*, JSObject*, JSValue, const ArgList&); 45 static JSValue JSC_HOST_CALL arrayProtoFuncConcat(ExecState*, JSObject*, JSValue, const ArgList&); 46 static JSValue JSC_HOST_CALL arrayProtoFuncJoin(ExecState*, JSObject*, JSValue, const ArgList&); 47 static JSValue JSC_HOST_CALL arrayProtoFuncPop(ExecState*, JSObject*, JSValue, const ArgList&) [all...] |
Completion.h | 26 #include "JSValue.h" 42 Completion(ComplType type = Normal, JSValue value = JSValue()) 49 JSValue value() const { return m_value; } 50 void setValue(JSValue v) { m_value = v; } 55 JSValue m_value; 59 Completion evaluate(ExecState*, ScopeChain&, const SourceCode&, JSValue thisValue = JSValue());
|
JSAPIValueWrapper.h | 34 friend JSValue jsAPIValueWrapper(ExecState*, JSValue); 36 JSValue value() const { return m_value; } 40 static PassRefPtr<Structure> createStructure(JSValue prototype) 47 JSAPIValueWrapper(ExecState* exec, JSValue value) 54 JSValue m_value; 57 inline JSValue jsAPIValueWrapper(ExecState* exec, JSValue value)
|
RegExpConstructor.cpp | 38 static JSValue regExpConstructorInput(ExecState*, const Identifier&, const PropertySlot&); 39 static JSValue regExpConstructorMultiline(ExecState*, const Identifier&, const PropertySlot&); 40 static JSValue regExpConstructorLastMatch(ExecState*, const Identifier&, const PropertySlot&); 41 static JSValue regExpConstructorLastParen(ExecState*, const Identifier&, const PropertySlot&); 42 static JSValue regExpConstructorLeftContext(ExecState*, const Identifier&, const PropertySlot&); 43 static JSValue regExpConstructorRightContext(ExecState*, const Identifier&, const PropertySlot&); 44 static JSValue regExpConstructorDollar1(ExecState*, const Identifier&, const PropertySlot&); 45 static JSValue regExpConstructorDollar2(ExecState*, const Identifier&, const PropertySlot&); 46 static JSValue regExpConstructorDollar3(ExecState*, const Identifier&, const PropertySlot&); 47 static JSValue regExpConstructorDollar4(ExecState*, const Identifier&, const PropertySlot&) [all...] |
Operations.cpp | 34 bool JSValue::equalSlowCase(ExecState* exec, JSValue v1, JSValue v2) 39 bool JSValue::strictEqualSlowCase(ExecState* exec, JSValue v1, JSValue v2) 44 NEVER_INLINE JSValue jsAddSlowCase(CallFrame* callFrame, JSValue v1, JSValue v2) 47 JSValue p1 = v1.toPrimitive(callFrame) [all...] |
Protect.h | 26 #include "JSValue.h" 52 inline void gcProtect(JSValue value) 58 inline void gcUnprotect(JSValue value) 77 operator JSValue() const { return JSValue(m_ptr); } 93 ProtectedJSValue(JSValue value); 99 JSValue get() const { return m_value; } 100 operator JSValue() const { return m_value; } 101 JSValue operator->() const { return m_value; } 107 ProtectedJSValue& operator=(JSValue); [all...] |
ObjectConstructor.cpp | 37 static JSValue JSC_HOST_CALL objectConstructorGetPrototypeOf(ExecState*, JSObject*, JSValue, const ArgList&); 38 static JSValue JSC_HOST_CALL objectConstructorGetOwnPropertyDescriptor(ExecState*, JSObject*, JSValue, const ArgList&); 39 static JSValue JSC_HOST_CALL objectConstructorGetOwnPropertyNames(ExecState*, JSObject*, JSValue, const ArgList&); 40 static JSValue JSC_HOST_CALL objectConstructorKeys(ExecState*, JSObject*, JSValue, const ArgList&); 41 static JSValue JSC_HOST_CALL objectConstructorDefineProperty(ExecState*, JSObject*, JSValue, const ArgList&) [all...] |
Operations.h | 33 NEVER_INLINE JSValue jsAddSlowCase(CallFrame*, JSValue, JSValue); 34 JSValue jsTypeStringForValue(CallFrame*, JSValue); 35 bool jsIsObjectType(JSValue); 36 bool jsIsFunctionType(JSValue); 38 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, JSString* s2) 61 ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, JSString* s2) 79 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, const UString& u2 [all...] |
/external/webkit/JavaScriptCore/API/ |
JSValueRef.cpp | 39 #include <runtime/JSValue.h> 52 JSValue jsValue = toJS(exec, value); 54 if (jsValue.isUndefined()) 56 if (jsValue.isNull()) 58 if (jsValue.isBoolean()) 60 if (jsValue.isNumber()) 62 if (jsValue.isString()) 64 ASSERT(jsValue.isObject()); 73 JSValue jsValue = toJS(exec, value) [all...] |
/external/webkit/JavaScriptCore/interpreter/ |
Interpreter.h | 35 #include "JSValue.h" 98 JSValue execute(ProgramExecutable*, CallFrame*, ScopeChainNode*, JSObject* thisObj, JSValue* exception); 99 JSValue execute(FunctionExecutable*, CallFrame*, JSFunction*, JSObject* thisObj, const ArgList& args, ScopeChainNode*, JSValue* exception); 100 JSValue execute(EvalExecutable* evalNode, CallFrame* exec, JSObject* thisObj, ScopeChainNode* scopeChain, JSValue* exception); 102 JSValue retrieveArguments(CallFrame*, JSFunction*) const; 103 JSValue retrieveCaller(CallFrame*, InternalFunction*) const; 104 void retrieveLastCaller(CallFrame*, int& lineNumber, intptr_t& sourceID, UString& sourceURL, JSValue& function) const [all...] |
/external/webkit/JavaScriptCore/jit/ |
JITStubs.cpp | 350 __declspec(naked) EncodedJSValue ctiTrampoline(void* code, RegisterFile*, CallFrame*, JSValue* exception, Profiler**, JSGlobalData*) 646 __asm EncodedJSValue ctiTrampoline(void*, RegisterFile*, CallFrame*, JSValue*, Profiler**, JSGlobalData*) 697 __declspec(naked) EncodedJSValue ctiTrampoline(void* code, RegisterFile*, CallFrame*, JSValue* exception, Profiler**, JSGlobalData*) 783 NEVER_INLINE void JITThunks::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const PutPropertySlot& slot, StructureStubInfo* stubInfo) 833 NEVER_INLINE void JITThunks::tryCacheGetByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const Identifier& propertyName, const PropertySlot& slot, StructureStubInfo* stubInfo) [all...] |