Searched refs:JSValue (Results 1 - 25 of 379) sorted by relevance

1234567891011>>

/external/webkit/WebKit/mac/ForwardingHeaders/runtime/
H A DJSValue.h1 #import <JavaScriptCore/JSValue.h>
/external/webkit/JavaScriptCore/runtime/
H A DJSGlobalObjectFunctions.h34 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_CAL
[all...]
H A DJSNumberCell.h39 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
112 ALWAYS_INLINE JSValue::JSValue(EncodeAsDoubleTag, ExecState* exec, double d) function in class:JSC::JSValue
117 inline JSValue::JSValue(ExecState* exec, double d) function in class:JSC::JSValue
123 inline JSValue::JSValue(ExecState* exec, int i) function in class:JSC::JSValue
129 inline JSValue::JSValue(ExecState* exec, unsigned i) function in class:JSC::JSValue
135 inline JSValue::JSValue(ExecState* exec, long i) function in class:JSC::JSValue
141 inline JSValue::JSValue(ExecState* exec, unsigned long i) function in class:JSC::JSValue
147 inline JSValue::JSValue(ExecState* exec, long long i) function in class:JSC::JSValue
153 inline JSValue::JSValue(ExecState* exec, unsigned long long i) function in class:JSC::JSValue
159 inline JSValue::JSValue(JSGlobalData* globalData, double d) function in class:JSC::JSValue
165 inline JSValue::JSValue(JSGlobalData* globalData, int i) function in class:JSC::JSValue
171 inline JSValue::JSValue(JSGlobalData* globalData, unsigned i) function in class:JSC::JSValue
201 ALWAYS_INLINE JSValue::JSValue(EncodeAsDoubleTag, ExecState*, double d) function in class:JSC::JSValue
206 inline JSValue::JSValue(ExecState*, double d) function in class:JSC::JSValue
213 inline JSValue::JSValue(ExecState*, int i) function in class:JSC::JSValue
220 inline JSValue::JSValue(ExecState*, unsigned i) function in class:JSC::JSValue
227 inline JSValue::JSValue(ExecState*, long i) function in class:JSC::JSValue
234 inline JSValue::JSValue(ExecState*, unsigned long i) function in class:JSC::JSValue
241 inline JSValue::JSValue(ExecState*, long long i) function in class:JSC::JSValue
248 inline JSValue::JSValue(ExecState*, unsigned long long i) function in class:JSC::JSValue
255 inline JSValue::JSValue(JSGlobalData*, double d) function in class:JSC::JSValue
262 inline JSValue::JSValue(JSGlobalData*, int i) function in class:JSC::JSValue
269 inline JSValue::JSValue(JSGlobalData*, unsigned i) function in class:JSC::JSValue
301 inline JSValue::JSValue(ExecState*, char i) function in class:JSC::JSValue
307 inline JSValue::JSValue(ExecState*, unsigned char i) function in class:JSC::JSValue
313 inline JSValue::JSValue(ExecState*, short i) function in class:JSC::JSValue
319 inline JSValue::JSValue(ExecState*, unsigned short i) function in class:JSC::JSValue
[all...]
H A DExceptionHelpers.h41 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 throwOutOfMemoryErro
[all...]
H A DJSImmediate.h33 #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 jsNumbe
541 inline JSValue::JSValue(JSNullTag) function in class:JSC::JSValue
546 inline JSValue::JSValue(JSUndefinedTag) function in class:JSC::JSValue
551 inline JSValue::JSValue(JSTrueTag) function in class:JSC::JSValue
556 inline JSValue::JSValue(JSFalseTag) function in class:JSC::JSValue
[all...]
H A DJSValue.h63 class JSValue { class in namespace:JSC
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(JSCel
452 inline JSValue::JSValue() function in class:JSC::JSValue
458 inline JSValue::JSValue(JSNullTag) function in class:JSC::JSValue
464 inline JSValue::JSValue(JSUndefinedTag) function in class:JSC::JSValue
470 inline JSValue::JSValue(JSTrueTag) function in class:JSC::JSValue
476 inline JSValue::JSValue(JSFalseTag) function in class:JSC::JSValue
482 inline JSValue::JSValue(HashTableDeletedValueTag) function in class:JSC::JSValue
488 inline JSValue::JSValue(JSCell* ptr) function in class:JSC::JSValue
500 inline JSValue::JSValue(const JSCell* ptr) function in class:JSC::JSValue
607 ALWAYS_INLINE JSValue::JSValue(EncodeAsDoubleTag, ExecState*, double d) function in class:JSC::JSValue
612 inline JSValue::JSValue(ExecState* exec, double d) function in class:JSC::JSValue
622 inline JSValue::JSValue(ExecState* exec, char i) function in class:JSC::JSValue
627 inline JSValue::JSValue(ExecState* exec, unsigned char i) function in class:JSC::JSValue
632 inline JSValue::JSValue(ExecState* exec, short i) function in class:JSC::JSValue
637 inline JSValue::JSValue(ExecState* exec, unsigned short i) function in class:JSC::JSValue
642 inline JSValue::JSValue(ExecState*, int i) function in class:JSC::JSValue
648 inline JSValue::JSValue(ExecState* exec, unsigned i) function in class:JSC::JSValue
657 inline JSValue::JSValue(ExecState* exec, long i) function in class:JSC::JSValue
666 inline JSValue::JSValue(ExecState* exec, unsigned long i) function in class:JSC::JSValue
675 inline JSValue::JSValue(ExecState* exec, long long i) function in class:JSC::JSValue
684 inline JSValue::JSValue(ExecState* exec, unsigned long long i) function in class:JSC::JSValue
693 inline JSValue::JSValue(JSGlobalData* globalData, double d) function in class:JSC::JSValue
703 inline JSValue::JSValue(JSGlobalData*, int i) function in class:JSC::JSValue
709 inline JSValue::JSValue(JSGlobalData* globalData, unsigned i) function in class:JSC::JSValue
796 inline JSValue::JSValue() function in class:JSC::JSValue
802 inline JSValue::JSValue(HashTableDeletedValueTag) function in class:JSC::JSValue
807 inline JSValue::JSValue(JSCell* ptr) function in class:JSC::JSValue
815 inline JSValue::JSValue(const JSCell* ptr) function in class:JSC::JSValue
[all...]
H A DMathObject.cpp36 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, cons
[all...]
H A DCallData.h40 class JSValue;
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&);
H A DJSAPIValueWrapper.h34 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)
H A DPropertyDescriptor.h29 #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...]
H A DCompletion.h26 #include "JSValue.h"
42 Completion(ComplType type = Normal, JSValue value = JSValue()) argument
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());
H A DObjectPrototype.cpp34 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, cons
[all...]
H A DDatePrototype.cpp73 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, cons
[all...]
H A DCallData.cpp33 JSValue call(ExecState* exec, JSValue functionObject, CallType callType, const CallData& callData, JSValue thisValue, const ArgList& args)
H A DObjectPrototype.h33 virtual void put(ExecState*, const Identifier&, JSValue, PutPropertySlot&);
39 JSValue JSC_HOST_CALL objectProtoFuncToString(ExecState*, JSObject*, JSValue, const ArgList&);
/external/webkit/WebCore/ForwardingHeaders/runtime/
H A DJSValue.h3 #include <JavaScriptCore/JSValue.h>
/external/webkit/WebCore/bindings/js/
H A DJSExceptionBase.h31 class JSValue;
39 ExceptionBase* toExceptionBase(JSC::JSValue);
H A DJSCanvasNumberArrayCustom.cpp38 JSValue JSCanvasNumberArray::getByIndex(JSC::ExecState* exec, unsigned int index)
40 JSC::JSValue result = jsNumber(exec, impl()->item(index));
H A DJSEventTarget.h29 #include <runtime/JSValue.h>
40 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, EventTarget*);
41 EventTarget* toEventTarget(JSC::JSValue);
H A DJSHTMLSelectElementCustom.h36 void selectIndexSetter(HTMLSelectElement*, JSC::ExecState*, unsigned index, JSC::JSValue);
H A DJSNodeFilterCondition.h24 #include <runtime/JSValue.h>
33 static PassRefPtr<JSNodeFilterCondition> create(JSC::JSValue filter)
39 JSNodeFilterCondition(JSC::JSValue filter);
44 mutable JSC::JSValue m_filter;
/external/webkit/JavaScriptCore/debugger/
H A DDebuggerCallFrame.h45 DebuggerCallFrame(CallFrame* callFrame, JSValue exception)
57 JSValue evaluate(const UString&, JSValue& exception) const;
58 JSValue exception() const { return m_exception; }
62 JSValue m_exception;
/external/webkit/JavaScriptCore/interpreter/
H A DInterpreter.h35 #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
[all...]
/external/webkit/WebCore/bridge/jni/jsc/
H A DJNIUtilityPrivate.h33 #include <runtime/JSValue.h>
42 jvalue convertValueToJValue(ExecState*, JSValue, JNIType, const char* javaClassName);
43 bool dispatchJNICall(ExecState*, const void* targetAppletView, jobject obj, bool isStatic, JNIType returnType, jmethodID methodID, jvalue* args, jvalue& result, const char* callingURL, JSValue& exceptionDescription);
/external/webkit/WebCore/bridge/objc/
H A Dobjc_instance.h47 virtual JSValue valueOf(ExecState*) const;
48 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const;
50 virtual JSValue invokeMethod(ExecState*, const MethodList&, const ArgList&);
52 virtual JSValue invokeDefaultMethod(ExecState*, const ArgList&);
54 JSValue getValueOfUndefinedField(ExecState*, const Identifier&) const;
55 virtual bool setValueOfUndefinedField(ExecState*, const Identifier&, JSValue);
59 JSValue stringValue(ExecState*) const;
60 JSValue numberValue(ExecState*) const;
61 JSValue booleanValue() const;

Completed in 466 milliseconds

1234567891011>>