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

1 2 3 45 6 7 8 91011>>

  /external/webkit/Source/WebCore/bindings/js/
JSLocationCustom.cpp 33 static JSValue nonCachingStaticReplaceFunctionGetter(ExecState* exec, JSValue, const Identifier& propertyName)
38 static JSValue nonCachingStaticReloadFunctionGetter(ExecState* exec, JSValue, const Identifier& propertyName)
43 static JSValue nonCachingStaticAssignFunctionGetter(ExecState* exec, JSValue, const Identifier& propertyName)
128 bool JSLocation::putDelegate(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
178 void JSLocation::setHref(ExecState* exec, JSValue value)
186 void JSLocation::setProtocol(ExecState* exec, JSValue value)
196 void JSLocation::setHost(ExecState* exec, JSValue value
    [all...]
JSSharedWorkerCustom.cpp 67 return JSValue::encode(JSValue());
75 return JSValue::encode(JSValue());
78 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), worker.release())));
JSWorkerContextBase.cpp 64 JSValue toJS(ExecState* exec, JSDOMGlobalObject*, WorkerContext* workerContext)
69 JSValue toJS(ExecState*, WorkerContext* workerContext)
81 JSDedicatedWorkerContext* toJSDedicatedWorkerContext(JSValue value)
92 JSSharedWorkerContext* toJSSharedWorkerContext(JSValue value)
103 JSWorkerContext* toJSWorkerContext(JSValue value)
JSHTMLAllCollectionCustom.cpp 36 #include <runtime/JSValue.h>
44 static JSValue getNamedItems(ExecState* exec, JSHTMLAllCollection* collection, const Identifier& propertyName)
65 return JSValue::encode(jsUndefined());
79 return JSValue::encode(toJS(exec, jsCollection->globalObject(), collection->item(index)));
82 return JSValue::encode(getNamedItems(exec, jsCollection, Identifier(exec, string)));
94 return JSValue::encode(toJS(exec, jsCollection->globalObject(), node));
100 return JSValue::encode(jsUndefined());
116 JSValue JSHTMLAllCollection::nameGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName)
122 JSValue JSHTMLAllCollection::item(ExecState* exec
    [all...]
JSHTMLCollectionCustom.cpp 40 static JSValue getNamedItems(ExecState* exec, JSHTMLCollection* collection, const Identifier& propertyName)
61 return JSValue::encode(jsUndefined());
75 return JSValue::encode(toJS(exec, jsCollection->globalObject(), collection->item(index)));
78 return JSValue::encode(getNamedItems(exec, jsCollection, Identifier(exec, string)));
90 return JSValue::encode(toJS(exec, jsCollection->globalObject(), node));
96 return JSValue::encode(jsUndefined());
112 JSValue JSHTMLCollection::nameGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName)
118 JSValue JSHTMLCollection::item(ExecState* exec)
127 JSValue JSHTMLCollection::namedItem(ExecState* exec
    [all...]
JSXSLTProcessorCustom.cpp 49 JSValue JSXSLTProcessor::importStylesheet(ExecState* exec)
51 JSValue nodeVal = exec->argument(0);
61 JSValue JSXSLTProcessor::transformToFragment(ExecState* exec)
63 JSValue nodeVal = exec->argument(0);
64 JSValue docVal = exec->argument(1);
74 JSValue JSXSLTProcessor::transformToDocument(ExecState* exec)
76 JSValue nodeVal = exec->argument(0);
88 JSValue JSXSLTProcessor::setParameter(ExecState* exec)
99 JSValue JSXSLTProcessor::getParameter(ExecState* exec)
109 JSValue JSXSLTProcessor::removeParameter(ExecState* exec
    [all...]
JSDOMBinding.h 67 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
86 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
193 template<class WrapperClass, class DOMClass> inline JSC::JSValue wrap(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, DOMClass* domObject)
204 void reportException(JSC::ExecState*, JSC::JSValue exception);
210 JSC::JSValue jsString(JSC::ExecState*, const String&); // empty if the string is null
211 JSC::JSValue jsStringSlowCase(JSC::ExecState*, JSStringCache&, StringImpl*);
212 JSC::JSValue jsString(JSC::ExecState*, const KURL&); // empty if the URL is null
213 inline JSC::JSValue jsString(JSC::ExecState* exec, const AtomicString& s)
218 JSC::JSValue jsStringOrNull(JSC::ExecState*, const String&); // null if the string is null
219 JSC::JSValue jsStringOrNull(JSC::ExecState*, const KURL&); // null if the URL is nul
    [all...]
JSDirectoryEntrySyncCustom.cpp 48 static PassRefPtr<WebKitFlags> getFlags(ExecState* exec, const JSValue& argument)
58 JSValue jsCreate = object->get(exec, Identifier(exec, "create"));
60 JSValue jsExclusive = object->get(exec, Identifier(exec, "exclusive"));
65 JSValue JSDirectoryEntrySync::getFile(ExecState* exec)
77 JSC::JSValue result = toJS(exec, this->globalObject(), WTF::getPtr(imp->getFile(path, flags, ec)));
82 JSValue JSDirectoryEntrySync::getDirectory(ExecState* exec)
94 JSC::JSValue result = toJS(exec, this->globalObject(), WTF::getPtr(imp->getDirectory(path, flags, ec)));
JSInjectedScriptHostCustom.cpp 68 return toNode(value.jsValue());
77 JSValue JSInjectedScriptHost::currentCallFrame(ExecState* exec)
92 JSValue JSInjectedScriptHost::inspectedNode(ExecState* exec)
105 JSValue JSInjectedScriptHost::internalConstructorName(ExecState* exec)
114 JSValue JSInjectedScriptHost::inspect(ExecState* exec)
124 JSValue JSInjectedScriptHost::databaseId(ExecState* exec)
136 JSValue JSInjectedScriptHost::storageId(ExecState* exec)
JSWorkerContextCustom.cpp 87 JSValue JSWorkerContext::eventSource(ExecState* exec) const
93 JSValue JSWorkerContext::xmlHttpRequest(ExecState* exec) const
99 JSValue JSWorkerContext::webSocket(ExecState* exec) const
105 JSValue JSWorkerContext::importScripts(ExecState* exec)
123 JSValue JSWorkerContext::setTimeout(ExecState* exec)
133 JSValue JSWorkerContext::setInterval(ExecState* exec)
145 JSValue JSWorkerContext::messageChannel(ExecState* exec) const
  /external/webkit/Source/JavaScriptCore/runtime/
StringConstructor.cpp 32 static NEVER_INLINE JSValue stringFromCharCodeSlowCase(ExecState* exec)
45 return JSValue::encode(jsSingleCharacterString(exec, exec->argument(0).toUInt32(exec)));
46 return JSValue::encode(stringFromCharCodeSlowCase(exec));
72 return JSValue::encode(new (exec) StringObject(exec, globalObject->stringObjectStructure()));
73 return JSValue::encode(new (exec) StringObject(exec, globalObject->stringObjectStructure(), exec->argument(0).toString(exec)));
86 return JSValue::encode(jsEmptyString(exec));
87 return JSValue::encode(jsString(exec, exec->argument(0).toString(exec)));
FunctionPrototype.cpp 57 return JSValue::encode(jsUndefined());
87 JSValue thisValue = exec->hostThisValue();
91 return JSValue::encode(jsMakeNontrivialString(exec, "function ", function->name(exec), "() {\n [native code]\n}"));
95 return JSValue::encode(jsMakeNontrivialString(exec, "function ", function->name(exec), "(", executable->paramString(), ") ", sourceString));
100 return JSValue::encode(jsMakeNontrivialString(exec, "function ", function->name(exec), "() {\n [native code]\n}"));
108 JSValue thisValue = exec->hostThisValue();
114 JSValue array = exec->argument(1);
132 return JSValue::encode(call(exec, thisValue, callType, callData, exec->argument(0), applyArgs));
137 JSValue thisValue = exec->hostThisValue();
146 return JSValue::encode(call(exec, thisValue, callType, callData, exec->argument(0), callArgs))
    [all...]
JSONObject.cpp 62 // PropertyNameForFunctionCall objects must be on the stack, since the JSValue that they create is not marked.
68 JSValue value(ExecState*) const;
73 mutable JSValue m_value;
106 JSValue toJSON(JSValue, const PropertyNameForFunctionCall&);
109 StringifyResult appendStringifiedValue(UStringBuilder&, JSValue, JSObject* holder, const PropertyNameForFunctionCall&);
131 static inline JSValue unwrapBoxedPrimitive(ExecState* exec, JSValue value)
145 static inline UString gap(ExecState* exec, JSValue space)
187 JSValue PropertyNameForFunctionCall::value(ExecState* exec) cons
    [all...]
JSValue.cpp 24 #include "JSValue.h"
42 double JSValue::toInteger(ExecState* exec) const
50 double JSValue::toIntegerPreserveNaN(ExecState* exec) const
57 JSObject* JSValue::toObjectSlowCase(ExecState* exec, JSGlobalObject* globalObject) const
71 JSObject* JSValue::toThisObjectSlowCase(ExecState* exec) const
83 JSObject* JSValue::synthesizeObject(ExecState* exec) const
96 JSObject* JSValue::synthesizePrototype(ExecState* exec) const
110 char* JSValue::description()
116 snprintf(description, size, "<JSValue()>");
192 bool JSValue::isValidCallee(
    [all...]
PropertyDescriptor.cpp 75 JSValue PropertyDescriptor::getter() const
81 JSValue PropertyDescriptor::setter() const
87 void PropertyDescriptor::setDescriptor(JSValue value, unsigned attributes)
104 void PropertyDescriptor::setAccessorDescriptor(JSValue getter, JSValue setter, unsigned attributes)
142 void PropertyDescriptor::setSetter(JSValue setter)
149 void PropertyDescriptor::setGetter(JSValue getter)
162 return (!m_value || JSValue::strictEqual(exec, other.m_value, m_value)) &&
163 (!m_getter || JSValue::strictEqual(exec, other.m_getter, m_getter)) &&
164 (!m_setter || JSValue::strictEqual(exec, other.m_setter, m_setter)) &
    [all...]
JSActivation.cpp 88 inline bool JSActivation::symbolTablePut(JSGlobalData& globalData, const Identifier& propertyName, JSValue value)
118 inline bool JSActivation::symbolTablePutWithAttributes(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, unsigned attributes)
157 void JSActivation::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
172 void JSActivation::putWithAttributes(ExecState* exec, const Identifier& propertyName, JSValue value, unsigned attributes)
200 JSValue JSActivation::toStrictThisObject(ExecState*) const
211 JSValue JSActivation::argumentsGetter(ExecState*, JSValue slotBase, const Identifier&)
216 if (JSValue arguments = callFrame->uncheckedR(argumentsRegister).jsValue())
220 JSValue arguments = JSValue(new (callFrame) Arguments(callFrame))
    [all...]
JSGlobalObjectFunctions.cpp 52 static JSValue encode(ExecState* exec, const char* doNotEscape)
74 static JSValue decode(ExecState* exec, const char* doNotUnescape, bool strict)
442 JSValue x = exec->argument(0);
444 return JSValue::encode(x);
449 if (JSValue parsedObject = preparser.tryLiteralParse())
450 return JSValue::encode(parsedObject);
457 return JSValue::encode(exec->interpreter()->execute(eval, exec, thisObject, static_cast<JSGlobalObject*>(unwrappedObject)->globalScopeChain()));
462 JSValue value = exec->argument(0);
466 return JSValue::encode(jsNumber(parseInt(value.toString(exec), radix)));
469 return JSValue::encode(value)
    [all...]
  /external/webkit/Source/WebCore/bindings/scripts/test/JS/
JSTestInterface.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*, TestInterface*);
59 TestInterface* toTestInterface(JSC::JSValue);
66 static PassRefPtr<JSC::Structure> createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
77 JSC::JSValue jsTestInterfaceConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
JSTestMediaQueryListListener.h 42 static PassRefPtr<JSC::Structure> createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
47 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
56 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestMediaQueryListListener*);
57 TestMediaQueryListListener* toTestMediaQueryListListener(JSC::JSValue);
66 static PassRefPtr<JSC::Structure> createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
80 JSC::JSValue jsTestMediaQueryListListenerConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
  /external/webkit/Source/WebCore/bridge/
runtime_method.cpp 54 JSValue RuntimeMethod::lengthGetter(ExecState*, JSValue slotBase, const Identifier&)
94 return JSValue::encode(jsUndefined());
98 JSValue thisValue = exec->hostThisValue();
103 return JSValue::encode(RuntimeObject::throwInvalidAccessError(exec));
116 JSValue result = instance->invokeMethod(exec, method);
118 return JSValue::encode(result);
  /external/webkit/Source/JavaScriptCore/dfg/
DFGJITCodeGenerator.cpp 56 JSValue jsValue = jsNumber(valueOfDoubleConstant(nodeIndex));
57 m_jit.move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), reg);
60 JSValue jsValue = valueOfJSConstant(nodeIndex);
61 m_jit.move(MacroAssembler::ImmPtr(JSValue::encode(jsValue)), reg);
137 JSValue jsValue = valueOfJSConstant(nodeIndex)
    [all...]
  /external/webkit/Source/WebCore/bridge/c/
c_instance.cpp 122 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
132 JSValue CInstance::getMethod(ExecState* exec, const Identifier& propertyName)
138 JSValue CInstance::invokeMethod(ExecState* exec, RuntimeMethod* runtimeMethod)
180 JSValue resultValue = convertNPVariantToValue(exec, &resultVariant, m_rootObject.get());
186 JSValue CInstance::invokeDefaultMethod(ExecState* exec)
215 JSValue resultValue = convertNPVariantToValue(exec, &resultVariant, m_rootObject.get());
225 JSValue CInstance::invokeConstruct(ExecState* exec, const ArgList& args)
254 JSValue resultValue = convertNPVariantToValue(exec, &resultVariant, m_rootObject.get());
259 JSValue CInstance::defaultValue(ExecState* exec, PreferredPrimitiveType hint) const
268 JSValue CInstance::stringValue(ExecState* exec) cons
    [all...]
  /external/webkit/Source/WebCore/bridge/objc/
objc_runtime.mm 94 JSValue ObjcField::valueFromInstance(ExecState* exec, const Instance* instance) const
96 JSValue result = jsUndefined();
113 return const_cast<JSValue&>(result);
116 static id convertValueToObjcObject(ExecState* exec, JSValue value)
124 void ObjcField::setValueToInstance(ExecState* exec, const Instance* instance, JSValue aValue) const
148 void ObjcArray::setValueAt(ExecState* exec, unsigned int index, JSValue aValue) const
171 JSValue ObjcArray::valueAt(ExecState* exec, unsigned int index) const
215 void ObjcFallbackObjectImp::put(ExecState*, const Identifier&, JSValue, PutPropertySlot&)
221 JSValue thisValue = exec->hostThisValue();
225 JSValue result = jsUndefined()
    [all...]
  /external/webkit/Source/JavaScriptCore/API/
JSObjectRef.cpp 106 JSValue jsPrototype = jsClass ? jsClass->prototype(exec) : 0;
187 JSValue message = argumentCount ? toJS(exec, arguments[0]) : jsUndefined();
236 JSValue jsValue = toJS(exec, value);
238 jsObject->setPrototypeWithCycleCheck(exec->globalData(), jsValue.isObject() ? jsValue : jsNull());
258 JSValue jsValue = jsObject->get(exec, propertyName->identifier(&exec->globalData()));
264 return toRef(exec, jsValue);
274 JSValue jsValue = toJS(exec, value)
    [all...]
JSValueRef.h 38 @abstract A constant identifying the type of a JSValue.
63 @param value The JSValue whose type you want to obtain.
72 @param value The JSValue to test.
81 @param value The JSValue to test.
90 @param value The JSValue to test.
99 @param value The JSValue to test.
108 @param value The JSValue to test.
117 @param value The JSValue to test.
126 @param value The JSValue to test.
159 @param value The JSValue to test
    [all...]

Completed in 83 milliseconds

1 2 3 45 6 7 8 91011>>