Searched refs:JSValue (Results 201 - 225 of 550) sorted by relevance

1234567891011>>

/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DJSIDBObjectStoreCustom.cpp45 JSValue JSIDBObjectStore::createIndex(ExecState* exec)
62 JSValue optionsValue = exec->argument(2);
79 JSValue result = toJS(exec, globalObject(), impl()->createIndex(context, name, keyPath, unique, multiEntry, ec).get());
H A DJSMessagePortCustom.cpp61 JSC::JSValue JSMessagePort::postMessage(JSC::ExecState* exec)
66 void fillMessagePortArray(JSC::ExecState* exec, JSC::JSValue value, MessagePortArray& portArray, ArrayBufferArray& arrayBuffers)
83 JSValue value = object->get(exec, i);
H A DJSNodeFilterCondition.cpp34 JSNodeFilterCondition::JSNodeFilterCondition(VM&, NodeFilter* owner, JSValue filter)
51 JSValue filter = m_filter.get();
70 JSValue result = JSMainThreadExecState::call(exec, filter, callType, callData, m_filter.get(), args);
H A DJSSVGLengthCustom.cpp35 JSValue JSSVGLength::value(ExecState* exec) const
49 void JSSVGLength::setValue(ExecState* exec, JSValue value)
74 JSValue JSSVGLength::convertToSpecifiedUnits(ExecState* exec)
H A DJSXSLTProcessorCustom.cpp49 JSValue JSXSLTProcessor::setParameter(ExecState* exec)
60 JSValue JSXSLTProcessor::getParameter(ExecState* exec)
70 JSValue JSXSLTProcessor::removeParameter(ExecState* exec)
H A DJSPluginElementFunctions.h41 JSC::JSValue runtimeObjectPropertyGetter(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
44 bool runtimeObjectCustomPut(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSHTMLElement*, JSC::PutPropertySlot&);
53 JSC::JSValue proto = element->prototype();
67 JSC::JSValue proto = element->prototype();
H A DJSHTMLCanvasElementCustom.cpp49 JSValue initializerValue = exec->argument(1);
69 JSValue JSHTMLCanvasElement::getContext(ExecState* exec)
86 JSValue jsValue = toJS(exec, globalObject(), WTF::getPtr(context));
102 JSValue JSHTMLCanvasElement::supportsContext(ExecState* exec)
123 JSValue JSHTMLCanvasElement::toDataURL(ExecState* exec)
132 JSValue v = exec->argument(1);
139 JSValue result = JSC::jsString(exec, canvas->toDataURL(type, qualityPtr, ec));
H A DJSStorageCustom.cpp45 JSValue JSStorage::nameGetter(ExecState* exec, JSValue slotBase, PropertyName propertyName)
49 JSValue prototype = asObject(slotBase)->prototype();
54 JSValue result = jsStringOrNull(exec, thisObj->impl()->getItem(propertyNameToString(propertyName), ec));
69 JSValue prototype = thisObject->prototype();
102 bool JSStorage::putDelegate(ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot&)
111 JSValue prototype = this->prototype();
/macosx-10.9.5/WebCore-7537.78.1/bindings/objc/
H A DWebScriptObject.h195 @class JSValue;
307 @method JSValue
308 @result The equivalent Objective-C JSValue for this WebScriptObject.
312 - (JSValue *)JSValue;
/macosx-10.9.5/WebCore-7537.78.1/bindings/scripts/test/JS/
H A DJSFloat64Array.h45 static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
46 static void putByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::JSValue, bool shouldThrow);
49 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
55 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
67 JSC::JSValue getByIndex(JSC::ExecState*, unsigned index);
68 void indexSetter(JSC::ExecState*, unsigned index, JSC::JSValue);
71 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, Float64Array*);
72 Float64Array* toFloat64Array(JSC::JSValue);
88 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
116 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototyp
[all...]
H A DJSTestEventConstructor.h51 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
56 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
93 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventConstructor*);
94 TestEventConstructor* toTestEventConstructor(JSC::JSValue);
108 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
136 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
150 JSC::JSValue jsTestEventConstructorAttr1(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
151 JSC::JSValue jsTestEventConstructorAttr2(JSC::ExecState*, JSC::JSValue, JS
[all...]
H A DJSTestEventTarget.h51 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
57 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
77 static JSC::JSValue indexGetter(JSC::ExecState*, JSC::JSValue, unsigned);
80 static JSC::JSValue nameGetter(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);
100 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventTarget*);
101 TestEventTarget* toTestEventTarget(JSC::JSValue);
117 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
145 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototyp
[all...]
H A DJSTestOverloadedConstructors.cpp61 return JSValue::encode(jsUndefined());
63 return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
73 return JSValue::encode(jsUndefined());
75 return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
85 return JSValue::encode(jsUndefined());
87 return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
97 return JSValue::encode(jsUndefined());
99 return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
105 JSValue arg0(exec->argument(0));
209 JSValue jsTestOverloadedConstructorsConstructo
[all...]
H A DJSFloat64Array.cpp62 return JSValue::encode(JSValue());
63 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
66 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Float64Array* object)
71 void JSFloat64Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
208 JSValue jsFloat64ArrayConstructor(ExecState* exec, JSValue slotBase, PropertyName)
214 void JSFloat64Array::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
226 void JSFloat64Array::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)
247 JSValue JSFloat64Arra
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bridge/c/
H A Dc_runtime.cpp41 JSValue CField::valueFromInstance(ExecState* exec, const Instance* inst) const
56 JSValue result = convertNPVariantToValue(exec, &property, instance->rootObject());
64 void CField::setValueToInstance(ExecState *exec, const Instance *inst, JSValue aValue) const
/macosx-10.9.5/WebCore-7537.78.1/bridge/
H A Druntime_method.h56 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
71 static JSValue lengthGetter(ExecState*, JSValue, PropertyName);
/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DJSObject.h48 inline JSCell* getJSFunction(JSValue value)
57 inline JSCell* getCallableObject(JSValue value)
123 JSValue prototype() const;
124 void setPrototype(VM&, JSValue prototype);
125 bool setPrototypeWithCycleCheck(VM&, JSValue prototype);
132 JSValue get(ExecState*, PropertyName) const;
133 JSValue get(ExecState*, unsigned propertyName) const;
159 JS_EXPORT_PRIVATE static void put(JSCell*, ExecState*, PropertyName, JSValue, PutPropertySlot&);
160 JS_EXPORT_PRIVATE static void putByIndex(JSCell*, ExecState*, unsigned propertyName, JSValue, bool shouldThrow);
162 void putByIndexInline(ExecState* exec, unsigned propertyName, JSValue valu
[all...]
H A DJSCell.h53 friend class JSValue;
96 JS_EXPORT_PRIVATE JSValue toPrimitive(ExecState*, PreferredPrimitiveType) const;
97 bool getPrimitiveNumber(ExecState*, double& number, JSValue&) const;
110 static void put(JSCell*, ExecState*, PropertyName, JSValue, PutPropertySlot&);
111 static void putByIndex(JSCell*, ExecState*, unsigned propertyName, JSValue, bool shouldThrow);
126 JSValue fastGetOwnProperty(ExecState*, const String&);
153 static JSValue defaultValue(const JSObject*, ExecState*, PreferredPrimitiveType);
158 JS_EXPORT_PRIVATE static bool customHasInstance(JSObject*, ExecState*, JSValue);
159 static NO_RETURN_DUE_TO_CRASH void putDirectVirtual(JSObject*, ExecState*, PropertyName, JSValue, unsigned attributes);
177 inline To jsCast(JSValue fro
[all...]
H A DExceptionHelpers.cpp48 JSValue TerminatedExecutionError::defaultValue(const JSObject*, ExecState* exec, PreferredPrimitiveType hint)
52 return JSValue(QNaN);
65 bool isTerminatedExecutionException(JSValue value)
87 JSObject* createInvalidParamError(ExecState* exec, const char* op, JSValue value)
96 JSObject* createNotAConstructorError(ExecState* exec, JSValue value)
105 JSObject* createNotAFunctionError(ExecState* exec, JSValue value)
114 JSObject* createNotAnObjectError(ExecState* exec, JSValue value)
H A DRegExpObject.h58 void setLastIndex(ExecState* exec, JSValue lastIndex, bool shouldThrow)
65 JSValue getLastIndex() const
71 JSValue exec(ExecState*, JSString*);
75 static void put(JSCell*, ExecState*, PropertyName, JSValue, PutPropertySlot&);
79 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
105 RegExpObject* asRegExpObject(JSValue);
107 inline RegExpObject* asRegExpObject(JSValue value)
H A DStringConstructor.cpp75 static NEVER_INLINE JSValue stringFromCharCodeSlowCase(ExecState* exec)
88 return JSValue::encode(jsSingleCharacterString(exec, exec->argument(0).toUInt32(exec)));
89 return JSValue::encode(stringFromCharCodeSlowCase(exec));
101 return JSValue::encode(StringObject::create(exec, globalObject->stringObjectStructure()));
103 return JSValue::encode(StringObject::create(exec, globalObject->stringObjectStructure(), exec->argument(0).toString(exec)));
115 return JSValue::encode(jsEmptyString(exec));
116 return JSValue::encode(exec->argument(0).toString(exec));
/macosx-10.9.5/JavaScriptCore-7537.78.1/debugger/
H A DDebugger.cpp126 JSValue evaluateInGlobalCallFrame(const String& script, JSValue& exception, JSGlobalObject* globalObject)
134 vm.exception = JSValue();
138 JSValue result = vm.interpreter->execute(eval, globalCallFrame, globalObject, globalCallFrame->scope());
141 vm.exception = JSValue();
/macosx-10.9.5/JavaScriptCore-7537.78.1/heap/
H A DSlotVisitorInlines.h38 ALWAYS_INLINE void SlotVisitor::append(JSValue* slot, size_t count)
41 JSValue& value = slot[i];
54 ALWAYS_INLINE void SlotVisitor::append(JSValue* slot)
60 ALWAYS_INLINE void SlotVisitor::appendUnbarrieredValue(JSValue* slot)
80 ALWAYS_INLINE void SlotVisitor::internalAppend(JSValue value)
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/
H A DJITOpcodes32_64.cpp157 Jump sawException = branch32(NotEqual, AbsoluteAddress(reinterpret_cast<char*>(&vm->exception) + OBJECT_OFFSETOF(JSValue, u.asBits.tag)), TrustedImm32(JSValue::EmptyValueTag));
279 load32(Address(regT2, Structure::prototypeOffset() + OBJECT_OFFSETOF(JSValue, u.asBits.payload)), regT2);
330 Jump isCell = branch32(Equal, regT1, TrustedImm32(JSValue::CellTag));
332 compare32(Equal, regT1, TrustedImm32(JSValue::UndefinedTag), regT0);
357 compare32(Equal, regT0, TrustedImm32(JSValue::BooleanTag), regT0);
368 compare32(Below, regT0, TrustedImm32(JSValue::LowestTag + 1), regT0);
378 Jump isNotCell = branch32(NotEqual, regT1, TrustedImm32(JSValue::CellTag));
394 Jump activationNotCreated = branch32(Equal, tagFor(activation), TrustedImm32(JSValue::EmptyValueTag));
406 Jump argsNotCreated = branch32(Equal, tagFor(unmodifiedArgumentsRegister(arguments)), TrustedImm32(JSValue
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bridge/objc/
H A Dobjc_runtime.mm89 JSValue ObjcField::valueFromInstance(ExecState* exec, const Instance* instance) const
91 JSValue result = jsUndefined();
111 return const_cast<JSValue&>(result);
114 static id convertValueToObjcObject(ExecState* exec, JSValue value)
122 void ObjcField::setValueToInstance(ExecState* exec, const Instance* instance, JSValue aValue) const
149 void ObjcArray::setValueAt(ExecState* exec, unsigned int index, JSValue aValue) const
172 JSValue ObjcArray::valueAt(ExecState* exec, unsigned int index) const
225 void ObjcFallbackObjectImp::put(JSCell*, ExecState*, PropertyName, JSValue, PutPropertySlot&)
231 JSValue thisValue = exec->hostThisValue();
235 JSValue resul
[all...]

Completed in 216 milliseconds

1234567891011>>