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

1 23 4 5 6 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/runtime/
JSWrapperObject.h 36 JSValue internalValue() const;
37 void setInternalValue(JSGlobalData&, JSValue);
39 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
58 inline JSValue JSWrapperObject::internalValue() const
63 inline void JSWrapperObject::setInternalValue(JSGlobalData& globalData, JSValue value)
MathObject.cpp 120 return JSValue::encode(jsNumber(fabs(exec->argument(0).toNumber(exec))));
125 return JSValue::encode(jsDoubleNumber(acos(exec->argument(0).toNumber(exec))));
130 return JSValue::encode(jsDoubleNumber(asin(exec->argument(0).toNumber(exec))));
135 return JSValue::encode(jsDoubleNumber(atan(exec->argument(0).toNumber(exec))));
142 return JSValue::encode(jsDoubleNumber(atan2(arg0, arg1)));
147 return JSValue::encode(jsNumber(ceil(exec->argument(0).toNumber(exec))));
152 return JSValue::encode(jsDoubleNumber(cos(exec->argument(0).toNumber(exec))));
157 return JSValue::encode(jsDoubleNumber(exp(exec->argument(0).toNumber(exec))));
162 return JSValue::encode(jsNumber(floor(exec->argument(0).toNumber(exec))));
167 return JSValue::encode(jsDoubleNumber(log(exec->argument(0).toNumber(exec))))
    [all...]
NumberPrototype.cpp 67 static ALWAYS_INLINE bool toThisNumber(JSValue thisValue, double &x)
69 JSValue v = thisValue.getJSNumber();
81 JSValue argument0 = exec->argument(0);
114 return JSValue::encode(jsString(exec, UString::number(x)));
122 return JSValue::encode(jsString(exec, UString(buffer, length)));
132 JSValue thisValue = exec->hostThisValue();
133 JSValue v = thisValue.getJSNumber();
148 return JSValue::encode(jsString(exec, UString::number(x)));
157 return JSValue::encode(jsString(exec, UString(buffer, length)));
170 JSValue thisValue = exec->hostThisValue()
    [all...]
ObjectConstructor.cpp 100 JSValue arg = args.at(0);
109 return JSValue::encode(constructObject(exec, asInternalFunction(exec->callee())->globalObject(), args));
121 return JSValue::encode(constructObject(exec, asInternalFunction(exec->callee())->globalObject(), args));
134 return JSValue::encode(asObject(exec->argument(0))->prototype());
143 return JSValue::encode(jsNull());
147 return JSValue::encode(jsUndefined());
149 return JSValue::encode(jsUndefined());
163 return JSValue::encode(description);
177 return JSValue::encode(names);
191 return JSValue::encode(keys)
    [all...]
ArgList.h 91 JSValue at(size_t i) const
94 return m_buffer[i].jsValue();
105 void append(JSValue v)
132 JSValue last()
135 return m_buffer[m_size - 1].jsValue();
147 void slowAppend(JSValue);
182 typedef JSValue* iterator;
183 typedef const JSValue* const_iterator;
192 : m_args(reinterpret_cast<JSValue*>(&exec[exec->hostThisRegister() + 1]))
197 ArgList(JSValue* args, unsigned argCount
    [all...]
RegExpPrototype.cpp 31 #include "JSValue.h"
63 JSValue thisValue = exec->hostThisValue();
66 return JSValue::encode(asRegExpObject(thisValue)->test(exec));
71 JSValue thisValue = exec->hostThisValue();
74 return JSValue::encode(asRegExpObject(thisValue)->exec(exec));
79 JSValue thisValue = exec->hostThisValue();
84 JSValue arg0 = exec->argument(0);
85 JSValue arg1 = exec->argument(1);
94 return JSValue::encode(jsUndefined());
100 return JSValue::encode(jsUndefined())
    [all...]
Error.h 63 JSValue throwError(ExecState*, JSValue);
71 inline EncodedJSValue throwVMError(ExecState* exec, JSValue error) { return JSValue::encode(throwError(exec, error)); }
72 inline EncodedJSValue throwVMTypeError(ExecState* exec) { return JSValue::encode(throwTypeError(exec)); }
74 JSValue createTypeErrorFunction(ExecState* exec, const UString& message);
ErrorPrototype.cpp 55 JSValue name = thisObj->get(exec, exec->propertyNames().name);
56 JSValue message = thisObj->get(exec, exec->propertyNames().message);
62 return JSValue::encode(jsMakeNontrivialString(exec, name.toString(exec), ": ", message.toString(exec)));
63 return JSValue::encode(jsNontrivialString(exec, name.toString(exec)));
66 return JSValue::encode(jsMakeNontrivialString(exec, "Error: ", message.toString(exec)));
67 return JSValue::encode(jsNontrivialString(exec, "Error"));
JSNotAnObject.h 46 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
55 // JSValue methods
56 virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType) const;
57 virtual bool getPrimitiveNumber(ExecState*, double& number, JSValue&);
68 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&);
69 virtual void put(ExecState*, unsigned propertyName, JSValue);
  /external/webkit/Source/JavaScriptCore/heap/
Handle.h 44 // Creating a JSValue Handle is invalid
45 template <> class Handle<JSValue>;
59 typedef JSValue (HandleBase::*UnspecifiedBoolType);
83 static JSValue toJSValue(T* cell) { return reinterpret_cast<JSCell*>(cell); }
88 typedef JSValue ExternalType;
89 static ExternalType getFromSlot(HandleSlot slot) { return slot ? *slot : JSValue(); }
90 static JSValue toJSValue(const JSValue& v) { return v; }
128 bool isObject() const { return jsValue().isObject(); }
129 bool getNumber(double number) const { return jsValue().getNumber(number);
    [all...]
  /external/webkit/Source/WebCore/bridge/qt/
qt_runtime.h 63 virtual JSValue valueFromInstance(ExecState*, const Instance*) const;
64 virtual void setValueToInstance(ExecState*, const Instance*, JSValue) const;
105 virtual void setValueAt(ExecState*, unsigned index, JSValue) const;
106 virtual JSValue valueAt(ExecState*, unsigned index) const;
156 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
186 static JSValue lengthGetter(ExecState*, JSValue, const Identifier&);
187 static JSValue connectGetter(ExecState*, JSValue, const Identifier&);
188 static JSValue disconnectGetter(ExecState*, JSValue, const Identifier&)
    [all...]
  /external/webkit/Source/WebCore/bindings/scripts/test/JS/
JSTestSerializedScriptValueInterface.h 44 static PassRefPtr<JSC::Structure> createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
49 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
58 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestSerializedScriptValueInterface*);
59 TestSerializedScriptValueInterface* toTestSerializedScriptValueInterface(JSC::JSValue);
66 static PassRefPtr<JSC::Structure> createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
77 JSC::JSValue jsTestSerializedScriptValueInterfaceValue(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
78 JSC::JSValue jsTestSerializedScriptValueInterfaceConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
  /external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
JSNPObject.h 47 JSC::JSValue callMethod(JSC::ExecState*, NPIdentifier methodName);
48 JSC::JSValue callObject(JSC::ExecState*);
49 JSC::JSValue callConstructor(JSC::ExecState*);
58 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
68 virtual void put(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);
72 static JSC::JSValue propertyGetter(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
73 static JSC::JSValue methodGetter(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
  /external/webkit/Source/JavaScriptGlue/
UserObjectImp.h 48 virtual JSValue callAsFunction(ExecState *exec);
50 virtual void put(ExecState *exec, const Identifier &propertyName, JSValue value, PutPropertySlot&);
52 JSValue toPrimitive(ExecState*, PreferredPrimitiveType preferredType = NoPreference) const;
61 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
67 static JSValue userObjectGetter(ExecState*, JSValue, const Identifier& propertyName);
  /external/webkit/Source/WebCore/bindings/js/
JSFloat32ArrayCustom.cpp 36 void JSFloat32Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Float32Array* object)
46 JSC::JSValue JSFloat32Array::set(JSC::ExecState* exec)
57 return JSValue::encode(JSValue());
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
JSFloat64ArrayCustom.cpp 36 void JSFloat64Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Float64Array* object)
46 JSC::JSValue JSFloat64Array::set(JSC::ExecState* exec)
57 return JSValue::encode(JSValue());
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
JSInt16ArrayCustom.cpp 36 void JSInt16Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Int16Array* object)
46 JSC::JSValue JSInt16Array::set(JSC::ExecState* exec)
57 return JSValue::encode(JSValue());
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
JSInt32ArrayCustom.cpp 36 void JSInt32Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Int32Array* object)
46 JSC::JSValue JSInt32Array::set(JSC::ExecState* exec)
57 return JSValue::encode(JSValue());
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
JSInt8ArrayCustom.cpp 37 void JSInt8Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
42 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Int8Array* object)
47 JSC::JSValue JSInt8Array::set(JSC::ExecState* exec)
58 return JSValue::encode(JSValue());
59 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
JSUint16ArrayCustom.cpp 36 void JSUint16Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Uint16Array* object)
46 JSC::JSValue JSUint16Array::set(JSC::ExecState* exec)
57 return JSValue::encode(JSValue());
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
JSUint32ArrayCustom.cpp 36 void JSUint32Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Uint32Array* object)
46 JSC::JSValue JSUint32Array::set(JSC::ExecState* exec)
57 return JSValue::encode(JSValue());
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
JSUint8ArrayCustom.cpp 36 void JSUint8Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Uint8Array* object)
46 JSC::JSValue JSUint8Array::set(JSC::ExecState* exec)
57 return JSValue::encode(JSValue());
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
JSWorkerContextBase.h 52 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
63 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, WorkerContext*);
64 JSC::JSValue toJS(JSC::ExecState*, WorkerContext*);
66 JSDedicatedWorkerContext* toJSDedicatedWorkerContext(JSC::JSValue);
67 JSWorkerContext* toJSWorkerContext(JSC::JSValue);
70 JSSharedWorkerContext* toJSSharedWorkerContext(JSC::JSValue);
JSWorkerCustom.cpp 42 JSC::JSValue JSWorker::postMessage(JSC::ExecState* exec)
56 return JSValue::encode(JSValue());
65 return JSValue::encode(JSValue());
68 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), worker.release())));
JSDOMWindowCustom.cpp 107 JSValue nonCachingStaticFunctionGetter(ExecState* exec, JSValue, const Identifier& propertyName)
112 static JSValue childFrameGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName)
117 static JSValue indexGetter(ExecState* exec, JSValue slotBase, unsigned index)
122 static JSValue namedItemGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName)
239 JSValue proto = prototype();
352 void JSDOMWindow::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot
    [all...]

Completed in 76 milliseconds

1 23 4 5 6 7 8 91011>>