HomeSort by relevance Sort by last modified time
    Searched full:jsvalue (Results 26 - 50 of 522) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/interpreter/
Interpreter.h 34 #include "JSValue.h"
97 JSValue execute(ProgramExecutable*, CallFrame*, ScopeChainNode*, JSObject* thisObj);
98 JSValue executeCall(CallFrame*, JSObject* function, CallType, const CallData&, JSValue thisValue, const ArgList&);
100 JSValue execute(EvalExecutable* evalNode, CallFrame* exec, JSObject* thisObj, ScopeChainNode* scopeChain);
102 JSValue retrieveArguments(CallFrame*, JSFunction*) const;
103 JSValue retrieveCaller(CallFrame*, JSFunction*) const;
104 void retrieveLastCaller(CallFrame*, int& lineNumber, intptr_t& sourceID, UString& sourceURL, JSValue& function) const;
110 NEVER_INLINE JSValue callEval(CallFrame*, RegisterFile*, Register* argv, int argc, int registerOffset);
111 NEVER_INLINE HandlerInfo* throwException(CallFrame*&, JSValue&, unsigned bytecodeOffset)
    [all...]
Interpreter.cpp 87 static NEVER_INLINE JSValue concatenateStrings(ExecState* exec, Register* strings, unsigned count)
92 NEVER_INLINE bool Interpreter::resolve(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
108 JSValue result = slot.getValue(callFrame, ident);
112 callFrame->uncheckedR(dst) = JSValue(result);
120 NEVER_INLINE bool Interpreter::resolveSkip(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
135 if (callFrame->uncheckedR(codeBlock->activationRegister()).jsValue())
147 JSValue result = slot.getValue(callFrame, ident);
152 callFrame->uncheckedR(dst) = JSValue(result);
160 NEVER_INLINE bool Interpreter::resolveGlobal(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
171 callFrame->uncheckedR(dst) = JSValue(globalObject->getDirectOffset(offset))
    [all...]
  /external/webkit/Source/WebCore/bindings/js/
JSDataViewCustom.cpp 45 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, DataView* object)
58 return JSValue::encode(jsUndefined());
62 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), view.get())));
65 static JSValue getDataViewMember(ExecState* exec, DataView* imp, DataViewAccessType type)
81 JSC::JSValue result;
92 result = isnan(value) ? JSValue(nonInlineNaN()) : jsNumber(value);
102 JSValue JSDataView::getInt8(ExecState* exec)
107 JSValue JSDataView::getUint8(ExecState* exec)
112 JSValue JSDataView::getFloat32(ExecState* exec)
117 JSValue JSDataView::getFloat64(ExecState* exec
    [all...]
JSJavaScriptCallFrameCustom.cpp 39 JSValue JSJavaScriptCallFrame::evaluate(ExecState* exec)
41 JSValue exception;
42 JSValue result = impl()->evaluate(exec->argument(0).toString(exec), exception);
50 JSValue JSJavaScriptCallFrame::thisObject(ExecState*) const
52 return impl()->thisObject() ? JSValue(impl()->thisObject()) : jsNull();
55 JSValue JSJavaScriptCallFrame::type(ExecState* exec) const
68 JSValue JSJavaScriptCallFrame::scopeChain(ExecState* exec) const
89 JSValue JSJavaScriptCallFrame::scopeType(ExecState* exec)
108 return jsJavaScriptCallFrameLOCAL_SCOPE(exec, JSValue(), Identifier());
111 return jsJavaScriptCallFrameCLOSURE_SCOPE(exec, JSValue(), Identifier())
    [all...]
JSSQLResultSetRowListCustom.cpp 42 JSValue JSSQLResultSetRowList::item(ExecState* exec)
61 JSValue jsValue;
65 jsValue = jsString(exec, value.string());
68 jsValue = jsNull();
71 jsValue = jsNumber(value.number());
77 object->putDirect(exec->globalData(), Identifier(exec, stringToUString(m_impl->columnNames()[i])), jsValue, DontDelete | ReadOnly);
  /external/webkit/Source/WebCore/bridge/c/
c_instance.h 59 virtual JSValue valueOf(ExecState*) const;
60 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const;
62 virtual JSValue getMethod(ExecState* exec, const Identifier& propertyName);
63 virtual JSValue invokeMethod(ExecState*, RuntimeMethod* method);
65 virtual JSValue invokeDefaultMethod(ExecState*);
68 virtual JSValue invokeConstruct(ExecState*, const ArgList&);
72 JSValue stringValue(ExecState*) const;
73 JSValue numberValue(ExecState*) const;
74 JSValue booleanValue() const;
  /external/webkit/Source/WebCore/bridge/
runtime_object.h 43 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&);
45 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const;
64 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
73 static JSValue fallbackObjectGetter(ExecState*, JSValue, const Identifier&);
74 static JSValue fieldGetter(ExecState*, JSValue, const Identifier&);
75 static JSValue methodGetter(ExecState*, JSValue, const Identifier&);
runtime_array.h 44 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&);
45 virtual void put(ExecState*, unsigned propertyName, JSValue);
61 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
70 static JSValue lengthGetter(ExecState*, JSValue, const Identifier&);
71 static JSValue indexGetter(ExecState*, JSValue, unsigned);
  /external/webkit/Source/JavaScriptCore/runtime/
JSObject.h 43 inline JSCell* getJSFunction(JSGlobalData& globalData, JSValue value)
89 JSValue prototype() const;
90 void setPrototype(JSGlobalData&, JSValue prototype);
91 bool setPrototypeWithCycleCheck(JSGlobalData&, JSValue prototype);
98 JSValue get(ExecState*, const Identifier& propertyName) const;
99 JSValue get(ExecState*, unsigned propertyName) const;
109 virtual void put(ExecState*, const Identifier& propertyName, JSValue value, PutPropertySlot&);
110 virtual void put(ExecState*, unsigned propertyName, JSValue value);
112 virtual void putWithAttributes(JSGlobalData*, const Identifier& propertyName, JSValue value, unsigned attributes, bool checkReadOnly, PutPropertySlot& slot);
113 virtual void putWithAttributes(JSGlobalData*, const Identifier& propertyName, JSValue value, unsigned attributes)
    [all...]
BooleanPrototype.cpp 56 JSValue thisValue = exec->hostThisValue();
58 return JSValue::encode(jsNontrivialString(exec, "false"));
61 return JSValue::encode(jsNontrivialString(exec, "true"));
67 return JSValue::encode(jsNontrivialString(exec, "false"));
70 return JSValue::encode(jsNontrivialString(exec, "true"));
75 JSValue thisValue = exec->hostThisValue();
77 return JSValue::encode(thisValue);
82 return JSValue::encode(asBooleanObject(thisValue)->internalValue());
JSCell.h 64 friend class JSValue;
105 // FIXME: remove these methods, can check isNumberCell in JSValue && then call asNumberCell::*.
109 virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType) const;
110 virtual bool getPrimitiveNumber(ExecState*, double& number, JSValue&);
128 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&);
129 virtual void put(ExecState*, unsigned propertyName, JSValue);
134 virtual JSValue getJSNumber();
186 // --- JSValue inlines ----------------------------
188 inline bool JSValue::isString() const
193 inline bool JSValue::isGetterSetter() cons
    [all...]
RegExpObject.h 43 void setLastIndex(JSGlobalData& globalData, JSValue lastIndex)
47 JSValue getLastIndex() const
52 JSValue test(ExecState*);
53 JSValue exec(ExecState*);
57 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&);
61 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
92 RegExpObject* asRegExpObject(JSValue);
94 inline RegExpObject* asRegExpObject(JSValue value)
WriteBarrier.h 29 #include "JSValue.h"
35 inline void writeBarrier(JSGlobalData&, const JSCell*, JSValue)
44 typedef JSValue* HandleSlot;
50 template <> struct JSValueChecker<JSValue> {
111 void set(JSGlobalData& globalData, const JSCell* owner, JSValue value)
117 m_value = JSValue::encode(value);
120 void setWithoutWriteBarrier(JSValue value)
125 m_value = JSValue::encode(value);
128 JSValue get() const
130 return JSValue::decode(m_value)
    [all...]
JSActivation.h 57 virtual void put(ExecState*, const Identifier&, JSValue, PutPropertySlot&);
59 virtual void putWithAttributes(ExecState*, const Identifier&, JSValue, unsigned attributes);
63 virtual JSValue toStrictThisObject(ExecState*) const;
69 static Structure* createStructure(JSGlobalData& globalData, JSValue proto) { return Structure::create(globalData, proto, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info); }
78 bool symbolTablePut(JSGlobalData&, const Identifier&, JSValue);
79 bool symbolTablePutWithAttributes(JSGlobalData&, const Identifier&, JSValue, unsigned attributes);
81 static JSValue argumentsGetter(ExecState*, JSValue, const Identifier&);
90 JSActivation* asActivation(JSValue);
92 inline JSActivation* asActivation(JSValue value
    [all...]
JSArray.h 36 // getStorage() - m_indexBias * sizeof(JSValue)
74 virtual void put(ExecState*, unsigned propertyName, JSValue); // FIXME: Make protected and add setItem.
82 void sort(ExecState*, JSValue compareFunction, CallType, const CallData&);
83 void sortNumeric(ExecState*, JSValue compareFunction, CallType, const CallData&);
85 void push(ExecState*, JSValue);
86 JSValue pop();
92 JSValue getIndex(unsigned i)
99 void setIndex(JSGlobalData& globalData, unsigned i, JSValue v)
113 void uncheckedSetIndex(JSGlobalData& globalData, unsigned i, JSValue v)
126 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype
    [all...]
JSFunction.h 76 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
97 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&);
102 static JSValue argumentsGetter(ExecState*, JSValue, const Identifier&);
103 static JSValue callerGetter(ExecState*, JSValue, const Identifier&);
104 static JSValue lengthGetter(ExecState*, JSValue, const Identifier&);
110 JSFunction* asFunction(JSValue);
112 inline JSFunction* asFunction(JSValue value
    [all...]
ExceptionHelpers.h 32 #include "JSValue.h"
52 JSObject* createNotAnObjectError(ExecState*, JSValue);
53 JSObject* createInvalidParamError(ExecState*, const char* op, JSValue);
54 JSObject* createNotAConstructorError(ExecState*, JSValue);
55 JSObject* createNotAFunctionError(ExecState*, JSValue);
  /external/webkit/Source/JavaScriptCore/API/
JSCallbackObject.h 50 JSValue getPrivateProperty(const Identifier& propertyName) const
53 return JSValue();
57 void setPrivateProperty(JSGlobalData& globalData, JSCell* owner, const Identifier& propertyName, JSValue value)
81 JSValue getPrivateProperty(const Identifier& propertyName) const
85 return JSValue();
89 void setPrivateProperty(JSGlobalData& globalData, JSCell* owner, const Identifier& propertyName, JSValue value)
131 static Structure* createStructure(JSGlobalData& globalData, JSValue proto)
136 JSValue getPrivateProperty(const Identifier& propertyName) const
141 void setPrivateProperty(JSGlobalData& globalData, const Identifier& propertyName, JSValue value)
160 virtual void put(ExecState*, const Identifier&, JSValue, PutPropertySlot&)
    [all...]
APICast.h 31 #include "JSValue.h"
39 class JSValue;
63 inline JSC::JSValue toJS(JSC::ExecState* exec, JSValueRef v)
70 return JSC::JSValue();
75 return JSC::JSValue::decode(reinterpret_cast<JSC::EncodedJSValue>(const_cast<OpaqueJSValue*>(v)));
79 inline JSC::JSValue toJSForGC(JSC::ExecState* exec, JSValueRef v)
86 return JSC::JSValue();
89 return JSC::JSValue::decode(reinterpret_cast<JSC::EncodedJSValue>(const_cast<OpaqueJSValue*>(v)));
108 inline JSValueRef toRef(JSC::ExecState* exec, JSC::JSValue v)
118 return reinterpret_cast<JSValueRef>(JSC::JSValue::encode(v))
    [all...]
  /external/webkit/Source/WebKit/mac/Plugins/Hosted/
ProxyInstance.h 52 JSC::JSValue fieldValue(JSC::ExecState*, const JSC::Bindings::Field*) const;
53 void setFieldValue(JSC::ExecState*, const JSC::Bindings::Field*, JSC::JSValue) const;
66 virtual JSC::JSValue getMethod(JSC::ExecState* exec, const JSC::Identifier& propertyName);
67 virtual JSC::JSValue invokeMethod(JSC::ExecState*, JSC::RuntimeMethod*);
70 virtual JSC::JSValue invokeDefaultMethod(JSC::ExecState*);
73 virtual JSC::JSValue invokeConstruct(JSC::ExecState*, const JSC::ArgList&);
75 virtual JSC::JSValue defaultValue(JSC::ExecState*, JSC::PreferredPrimitiveType) const;
76 virtual JSC::JSValue valueOf(JSC::ExecState*) const;
80 JSC::JSValue stringValue(JSC::ExecState*) const;
81 JSC::JSValue numberValue(JSC::ExecState*) const
    [all...]
  /external/webkit/Source/WebCore/bridge/qt/
qt_instance.h 48 virtual JSValue valueOf(ExecState*) const;
49 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const;
53 virtual JSValue getMethod(ExecState* exec, const Identifier& propertyName);
54 virtual JSValue invokeMethod(ExecState*, RuntimeMethod*);
58 JSValue stringValue(ExecState* exec) const;
59 JSValue numberValue(ExecState* exec) const;
60 JSValue booleanValue() const;
68 virtual void put(JSObject*, ExecState*, const Identifier&, JSValue, PutPropertySlot&);
qt_pixmapruntime.h 35 virtual JSValue getMethod(ExecState* exec, const Identifier& propertyName);
36 virtual JSValue invokeMethod(ExecState*, RuntimeMethod*);
39 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const;
40 virtual JSValue valueOf(ExecState* exec) const;
  /external/webkit/Source/JavaScriptCore/heap/
MarkStack.h 29 #include "JSValue.h"
68 JSValue* values = barriers->slot();
83 friend class HeapRootMarker; // Allowed to mark a JSValue* or JSCell** directly.
84 void append(JSValue*);
85 void append(JSValue*, size_t count);
89 void internalAppend(JSValue);
93 MarkSet(JSValue* values, JSValue* end, MarkSetProperties properties)
100 JSValue* m_values;
101 JSValue* m_end
    [all...]
  /external/webkit/Source/WebCore/bridge/jni/jsc/
JavaInstanceJSC.h 53 virtual JSValue valueOf(ExecState*) const;
54 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const;
56 virtual JSValue getMethod(ExecState* exec, const Identifier& propertyName);
57 virtual JSValue invokeMethod(ExecState* exec, RuntimeMethod* method);
61 JSValue stringValue(ExecState*) const;
62 JSValue numberValue(ExecState*) const;
63 JSValue booleanValue() const;
  /external/webkit/Source/JavaScriptCore/debugger/
DebuggerCallFrame.h 45 DebuggerCallFrame(CallFrame* callFrame, JSValue exception)
57 JSValue evaluate(const UString&, JSValue& exception) const;
58 JSValue exception() const { return m_exception; }
62 JSValue m_exception;

Completed in 313 milliseconds

12 3 4 5 6 7 8 91011>>