• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/bindings/scripts/

Lines Matching refs:JSValue

122     JSValue correspondingElementWrapper = toJS(exec, castedThis->globalObject(), impl->correspondingElement());
149 JSValue correspondingElementWrapper = toJS(exec, castedThis->globalObject(), impl->correspondingElement());
151 return JSValue::encode(jsUndefined());
156 JSValue listener = exec->argument(1);
158 return JSValue::encode(jsUndefined());
160 return JSValue::encode(jsUndefined());
362 push(@getOwnPropertySlotImpl, " ${namespaceMaybe}JSValue proto = thisObject->prototype();\n");
458 push(@getOwnPropertyDescriptorImpl, " ${namespaceMaybe}JSValue proto = thisObject->prototype();\n");
834 push(@headerContent, " static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);\n");
835 push(@headerContent, " static void putByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::JSValue, bool shouldThrow);\n") if ($hasComplexSetter);
836 push(@headerContent, " bool putDelegate(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);\n") if $interface->extendedAttributes->{"CustomNamedSetter"};
854 push(@headerContent, " static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)\n");
895 push(@headerContent, " static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);\n");
896 push(@headerContent, " static JSC::JSValue getNamedConstructor(JSC::ExecState*, JSC::JSGlobalObject*);\n") if $interface->extendedAttributes->{"NamedConstructor"};
933 push(@headerContent, " JSC::JSValue " . $methodName . "(JSC::ExecState*) const;\n");
938 push(@headerContent, " void set" . $codeGenerator->WK_ucfirst($attribute->signature->name) . "(JSC::ExecState*, JSC::JSValue);\n");
956 push(@headerContent, " " . ($function->isStatic ? "static " : "") . "JSC::JSValue " . $functionImplementationName . "(JSC::ExecState*);\n");
1017 push(@headerContent, " JSC::JSValue getByIndex(JSC::ExecState*, unsigned index);\n");
1019 push(@headerContent, " static JSC::JSValue indexGetter(JSC::ExecState*, JSC::JSValue, unsigned);\n");
1025 push(@headerContent, " void indexSetter(JSC::ExecState*, unsigned index, JSC::JSValue);\n");
1031 push(@headerContent, " static JSC::JSValue nameGetter(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);\n");
1080 push(@headerContent, "JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, $implType*);\n");
1084 push(@headerContent, "PassRefPtr<NodeFilter> toNodeFilter(JSC::VM&, JSC::JSValue);\n");
1086 push(@headerContent, "PassRefPtr<DOMStringList> toDOMStringList(JSC::ExecState*, JSC::JSValue);\n");
1088 push(@headerContent, "$implType* to${interfaceName}(JSC::JSValue);\n");
1092 push(@headerContent, "JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, $interfaceName*);\n");
1123 " static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)\n" .
1128 push(@headerContent, " static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);\n");
1129 push(@headerContent, " bool putDelegate(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);\n");
1171 push(@headerContent, "JSC::JSValue ${getter}(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);\n");
1174 push(@headerContent, "void ${setter}(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);\n");
1181 push(@headerContent, "JSC::JSValue ${getter}(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);\n");
1186 push(@headerContent, "void ${constructorFunctionName}(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);\n");
1196 push(@headerContent, "JSC::JSValue ${getter}(JSC::ExecState*, JSC::JSValue, JSC::PropertyName);\n");
1418 push(@implContent, " JSValue arg$parameterIndex(exec->argument($parameterIndex));\n");
1826 push(@implContent, "void ${className}Prototype::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)\n");
2025 push(@implContent, "JSValue ${getFunctionName}(ExecState* exec, JSValue slotBase, PropertyName)\n");
2105 push(@implContent, " if (JSValue cachedValue = castedThis->m_" . $attribute->signature->name . ".get())\n");
2112 push(@implContent, " JSValue result = " . NativeToJSValue($attribute->signature, 0, $interfaceName, "castedThis->impl()->$implGetterFunctionName(" . (join ", ", @callWithArgs) . ")", "castedThis") . ";\n");
2116 push(@implContent, " JSValue result = " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl", "castedThis") . ";\n");
2118 push(@implContent, " JSValue result = " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl.$implGetterFunctionName(" . (join ", ", @callWithArgs) . ")", "castedThis") . ";\n");
2140 push(@implContent, " JSValue result = toJS(exec, castedThis->globalObject(), obj.get());\n");
2142 push(@implContent, " JSValue result = $jsType;\n");
2167 push(@implContent, " JSC::JSValue result = " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl.$implGetterFunctionName(" . join(", ", @arguments) . ")", "castedThis") . ";\n");
2170 push(@implContent, " JSC::JSValue result = " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl->$implGetterFunctionName(" . join(", ", @arguments) . ")", "castedThis") . ";\n");
2192 push(@implContent, "JSValue ${constructorFunctionName}(ExecState* exec, JSValue slotBase, PropertyName)\n");
2219 push(@implContent, "void ${className}::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)\n");
2243 push(@implContent, "void ${className}::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)\n");
2281 push(@implContent, ", JSValue value)\n");
2427 push(@implContent, "void ${constructorFunctionName}(ExecState* exec, JSObject* thisObject, JSValue value)\n");
2463 push(@implContent, "JSValue ${className}::getConstructor(ExecState* exec, JSGlobalObject* globalObject)\n{\n");
2467 push(@implContent, "JSValue ${className}::getNamedConstructor(ExecState* exec, JSGlobalObject* globalObject)\n{\n");
2511 push(@implContent, " return JSValue::encode(${className}::" . $functionImplementationName . "(exec));\n");
2531 push(@implContent, " JSValue thisValue = exec->hostThisValue();\n");
2543 push(@implContent, " return JSValue::encode(jsUndefined());\n");
2547 push(@implContent, " return JSValue::encode(castedThis->" . $functionImplementationName . "(exec));\n");
2551 push(@implContent, " return JSValue::encode(setWebGLArrayHelper<$implType, $viewType>(exec, castedThis->impl()));\n");
2560 push(@implContent, " return JSValue::encode(jsUndefined());\n");
2578 push(@implContent, " return JSValue::encode(jsNull());\n");
2640 push(@implContent, "JSValue ${getter}(ExecState* exec, JSValue, PropertyName)\n");
2654 push(@implContent, "\nJSValue ${className}::indexGetter(ExecState* exec, JSValue slotBase, unsigned index)\n");
2679 push(@implContent, " return JSValue(result);\n");
2693 push(@implContent, "JSValue ${className}::nameGetter(ExecState* exec, JSValue slotBase, PropertyName propertyName)\n");
2811 push(@implContent, "JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, $implType* impl)\n");
2819 push(@implContent, " if (JSValue result = getExistingWrapper<$className, $implType>(exec, impl))\n");
2822 push(@implContent, " if (JSValue result = getExistingWrapper<$className>(exec, impl))\n");
2869 push(@implContent, "$implType* to${interfaceName}(JSC::JSValue value)\n");
2961 push(@arguments, GenerateCallWith($function->signature->extendedAttributes->{"CallWith"}, \@$outputArray, "JSValue::encode(jsUndefined())", $function));
2998 push(@$outputArray, " return JSValue::encode(jsUndefined());\n");
3031 push(@$outputArray, " return JSValue::encode(jsUndefined());\n\n");
3056 push(@$outputArray, " return JSValue::encode(jsUndefined());\n");
3065 push(@$outputArray, " return JSValue::encode(jsUndefined());\n");
3098 push(@$outputArray, " return JSValue::encode(jsUndefined());\n");
3104 push(@$outputArray, " return JSValue::encode(jsUndefined());\n");
3109 push(@$outputArray, " return JSValue::encode(jsUndefined());\n");
3300 JSValue js${paramName} = toJS(exec, m_data->globalObject(), ${paramName});
3342 push(@implContent, $indent . "return JSValue::encode(jsUndefined());\n");
3345 push(@implContent, "\n" . $indent . "JSC::JSValue result = " . NativeToJSValue($function->signature, 1, $interfaceName, $functionString, $thisObject) . ";\n");
3350 push(@implContent, $indent . " return JSValue::encode(jsUndefined());\n");
3353 push(@implContent, $indent . "return JSValue::encode(result);\n");
3942 push(@$outputArray, " static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)\n");
3987 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
4055 push(@$outputArray, " JSValue arg$parameterIndex(exec->argument($parameterIndex));\n");
4103 return JSValue::encode(jsUndefined());
4107 JSValue initializerValue = exec->argument(1);
4117 return JSValue::encode(jsUndefined());
4121 return JSValue::encode(toJS(exec, jsConstructor->globalObject(), event.get()));
4161 push(@$outputArray, " return JSValue::encode(JSValue());\n");
4162 push(@$outputArray, " return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));\n");
4165 push(@$outputArray, "JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, ${interfaceName}* object)\n");
4171 push(@$outputArray, "void ${className}::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)\n");
4232 push(@$outputArray, " return JSValue::encode(JSValue());\n");
4236 push(@$outputArray, " return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));\n");