/external/webkit/WebCore/bridge/objc/ |
objc_runtime.mm | 93 JSValue ObjcField::valueFromInstance(ExecState* exec, const Instance* instance) const 95 JSValue result = jsUndefined(); 112 return const_cast<JSValue&>(result); 115 static id convertValueToObjcObject(ExecState* exec, JSValue value) 123 void ObjcField::setValueToInstance(ExecState* exec, const Instance* instance, JSValue aValue) const 147 void ObjcArray::setValueAt(ExecState* exec, unsigned int index, JSValue aValue) const 170 JSValue ObjcArray::valueAt(ExecState* exec, unsigned int index) const 213 void ObjcFallbackObjectImp::put(ExecState*, const Identifier&, JSValue, PutPropertySlot&) 217 static JSValue JSC_HOST_CALL callObjCFallbackObject(ExecState* exec, JSObject* function, JSValue thisValue, const ArgList& args [all...] |
objc_utility.h | 76 ObjcValue convertValueToObjcValue(ExecState*, JSValue, ObjcValueType); 77 JSValue convertNSStringToString(ExecState* exec, NSString *nsstring); 78 JSValue convertObjcValueToValue(ExecState*, void* buffer, ObjcValueType, RootObject*);
|
/external/webkit/JavaScriptCore/jit/ |
JITCode.h | 34 #include "JSValue.h" 77 inline JSValue execute(RegisterFile* registerFile, CallFrame* callFrame, JSGlobalData* globalData, JSValue* exception) 79 return JSValue::decode(ctiTrampoline(m_ref.m_code.executableAddress(), registerFile, callFrame, exception, Profiler::enabledProfilerReference(), globalData));
|
/external/webkit/JavaScriptCore/profiler/ |
Profiler.h | 42 class JSValue; 55 static CallIdentifier createCallIdentifier(ExecState* exec, JSValue, const UString& sourceURL, int lineNumber); 60 void willExecute(ExecState*, JSValue function); 62 void didExecute(ExecState*, JSValue function);
|
/external/webkit/JavaScriptCore/runtime/ |
JSCell.cpp | 120 // It should only be called by JSValue::get. 132 // It should only be called by JSValue::get. 141 void JSCell::put(ExecState* exec, const Identifier& identifier, JSValue value, PutPropertySlot& slot) 146 void JSCell::put(ExecState* exec, unsigned identifier, JSValue value) 181 JSValue JSCell::getJSNumber() 183 return JSValue(); 191 JSValue JSCell::toPrimitive(ExecState*, PreferredPrimitiveType) const 194 return JSValue(); 197 bool JSCell::getPrimitiveNumber(ExecState*, double&, JSValue&)
|
JSStaticScopeObject.h | 46 JSStaticScopeObject(ExecState* exec, const Identifier& ident, JSValue value, unsigned attributes) 57 virtual void put(ExecState*, const Identifier&, JSValue, PutPropertySlot&); 58 void putWithAttributes(ExecState*, const Identifier&, JSValue, unsigned attributes); 60 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount); }
|
JSObject.cpp | 97 void JSObject::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 107 JSValue nextPrototypeValue = value; 122 JSValue prototype; 137 if (JSValue gs = obj->getDirect(propertyName)) { 167 void JSObject::put(ExecState* exec, unsigned propertyName, JSValue value) 173 void JSObject::putWithAttributes(ExecState* exec, const Identifier& propertyName, JSValue value, unsigned attributes, bool checkReadOnly, PutPropertySlot& slot) 178 void JSObject::putWithAttributes(ExecState* exec, const Identifier& propertyName, JSValue value, unsigned attributes) 183 void JSObject::putWithAttributes(ExecState* exec, unsigned propertyName, JSValue value, unsigned attributes) 232 static ALWAYS_INLINE JSValue callDefaultValueFunction(ExecState* exec, const JSObject* object, const Identifier& propertyName) 234 JSValue function = object->get(exec, propertyName) [all...] |
ExceptionHelpers.cpp | 54 JSValue createInterruptedExecutionException(JSGlobalData* globalData) 59 static JSValue createError(ExecState* exec, ErrorType e, const char* msg) 64 JSValue createStackOverflowError(ExecState* exec) 69 JSValue createTypeError(ExecState* exec, const char* message) 74 JSValue createUndefinedVariableError(ExecState* exec, const Identifier& ident, unsigned bytecodeOffset, CodeBlock* codeBlock) 87 static UString createErrorMessage(ExecState* exec, CodeBlock* codeBlock, int, int expressionStart, int expressionStop, JSValue value, UString error) 112 JSObject* createInvalidParamError(ExecState* exec, const char* op, JSValue value, unsigned bytecodeOffset, CodeBlock* codeBlock) 126 JSObject* createNotAConstructorError(ExecState* exec, JSValue value, unsigned bytecodeOffset, CodeBlock* codeBlock) 147 JSValue createNotAFunctionError(ExecState* exec, JSValue value, unsigned bytecodeOffset, CodeBlock* codeBlock [all...] |
Arguments.h | 86 static PassRefPtr<Structure> createStructure(JSValue prototype) 100 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&); 101 virtual void put(ExecState*, unsigned propertyName, JSValue, PutPropertySlot&); 112 Arguments* asArguments(JSValue); 114 inline Arguments* asArguments(JSValue value) 241 if (jsValue() == JSValue()) 243 return asArguments(jsValue());
|
NumberConstructor.h | 36 JSValue getValueProperty(ExecState*, int token) const; 40 static PassRefPtr<Structure> createStructure(JSValue proto)
|
NumberObject.cpp | 39 JSValue NumberObject::getJSNumber() 44 NumberObject* constructNumber(ExecState* exec, JSValue number)
|
/external/webkit/JavaScriptGlue/ |
JSUtils.h | 35 #include <JavaScriptCore/JSValue.h> 58 JSUserObject *KJSValueToJSObject(JSValue inValue, ExecState *exec); 59 CFTypeRef KJSValueToCFType(JSValue inValue, ExecState *exec); 60 JSValue JSObjectKJSValue(JSUserObject* ptr);
|
JSValueWrapper.cpp | 36 JSValueWrapper::JSValueWrapper(JSValue inValue) 45 JSValue JSValueWrapper::GetValue() 112 JSValue propValue = ptr->GetValue().toObject(exec)->get(exec, CFStringToIdentifier(propertyName, exec)); 127 void JSValueWrapper::JSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue) 135 JSValue value = JSObjectKJSValue((JSUserObject*)jsValue); 152 JSValue value = JSObjectKJSValue((JSUserObject*)thisObj); 161 JSValue kgsArg = JSObjectKJSValue((JSUserObject*)jsArg); 169 JSValue resultValue = call(exec, objValue, callType, callData, ksjThisObj, listArgs);
|
/external/webkit/WebCore/bindings/js/ |
JSAbstractWorkerCustom.cpp | 47 JSValue JSAbstractWorker::addEventListener(ExecState* exec, const ArgList& args) 49 JSValue listener = args.at(1); 57 JSValue JSAbstractWorker::removeEventListener(ExecState* exec, const ArgList& args) 59 JSValue listener = args.at(1);
|
JSCallbackData.cpp | 44 JSValue JSCallbackData::invokeCallback(MarkedArgumentBuffer& args, bool* raisedException) 50 JSValue function = callback()->get(exec, Identifier(exec, "handleEvent")); 57 return JSValue(); 62 JSValue result = JSC::call(exec, function, callType, callData, callback(), args);
|
JSEventSourceCustom.cpp | 46 JSValue JSEventSource::addEventListener(ExecState* exec, const ArgList& args) 48 JSValue listener = args.at(1); 56 JSValue JSEventSource::removeEventListener(ExecState* exec, const ArgList& args) 58 JSValue listener = args.at(1);
|
JSXMLHttpRequestUploadCustom.cpp | 54 JSValue JSXMLHttpRequestUpload::addEventListener(ExecState* exec, const ArgList& args) 56 JSValue listener = args.at(1); 64 JSValue JSXMLHttpRequestUpload::removeEventListener(ExecState* exec, const ArgList& args) 66 JSValue listener = args.at(1);
|
JSNodeCustom.cpp | 71 JSValue JSNode::insertBefore(ExecState* exec, const ArgList& args) 81 JSValue JSNode::replaceChild(ExecState* exec, const ArgList& args) 91 JSValue JSNode::removeChild(ExecState* exec, const ArgList& args) 101 JSValue JSNode::appendChild(ExecState* exec, const ArgList& args) 111 JSValue JSNode::addEventListener(ExecState* exec, const ArgList& args) 113 JSValue listener = args.at(1); 121 JSValue JSNode::removeEventListener(ExecState* exec, const ArgList& args) 123 JSValue listener = args.at(1); 175 static ALWAYS_INLINE JSValue createWrapper(ExecState* exec, JSDOMGlobalObject* globalObject, Node* node) 232 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Node* node [all...] |
JSSVGPODListCustom.h | 38 typedef PODType (*ConversionCallback)(JSC::JSValue); 42 static JSC::JSValue finishGetter(JSC::ExecState* exec, ExceptionCode& ec, JSPODListType* wrapper, 58 static JSC::JSValue finishSetter(JSC::ExecState* exec, ExceptionCode& ec, JSPODListType* wrapper, 77 static JSC::JSValue finishSetterReadOnlyResult(JSC::ExecState* exec, ExceptionCode& ec, JSPODListType* wrapper, 92 static JSC::JSValue clear(JSPODListType* wrapper, JSC::ExecState* exec, const JSC::ArgList&, 108 static JSC::JSValue initialize(JSPODListType* wrapper, JSC::ExecState* exec, const JSC::ArgList& args, 118 static JSC::JSValue getItem(JSPODListType* wrapper, JSC::ExecState* exec, const JSC::ArgList& args, 135 static JSC::JSValue insertItemBefore(JSPODListType* wrapper, JSC::ExecState* exec, const JSC::ArgList& args, 152 static JSC::JSValue replaceItem(JSPODListType* wrapper, JSC::ExecState* exec, const JSC::ArgList& args, 169 static JSC::JSValue removeItem(JSPODListType* wrapper, JSC::ExecState* exec, const JSC::ArgList& args [all...] |
JSCanvasRenderingContext2DCustom.cpp | 45 static JSValue toJS(ExecState* exec, CanvasStyle* style) 54 static PassRefPtr<CanvasStyle> toHTMLCanvasStyle(ExecState* exec, JSValue value) 68 JSValue JSCanvasRenderingContext2D::strokeStyle(ExecState* exec) const 74 void JSCanvasRenderingContext2D::setStrokeStyle(ExecState* exec, JSValue value) 80 JSValue JSCanvasRenderingContext2D::fillStyle(ExecState* exec) const 86 void JSCanvasRenderingContext2D::setFillStyle(ExecState* exec, JSValue value) 92 JSValue JSCanvasRenderingContext2D::setFillColor(ExecState* exec, const ArgList& args) 129 JSValue JSCanvasRenderingContext2D::setStrokeColor(ExecState* exec, const ArgList& args) 167 JSValue JSCanvasRenderingContext2D::strokeRect(ExecState* exec, const ArgList& args) 181 JSValue JSCanvasRenderingContext2D::drawImage(ExecState* exec, const ArgList& args [all...] |
JSExceptionBase.h | 31 class JSValue;
39 ExceptionBase* toExceptionBase(JSC::JSValue);
|
JSGeolocationCustom.cpp | 44 static PassRefPtr<PositionCallback> createPositionCallback(ExecState* exec, JSDOMGlobalObject* globalObject, JSValue value) 56 static PassRefPtr<PositionErrorCallback> createPositionErrorCallback(ExecState* exec, JSDOMGlobalObject* globalObject, JSValue value) 72 static PassRefPtr<PositionOptions> createPositionOptions(ExecState* exec, JSValue value) 90 JSValue enableHighAccuracyValue = object->get(exec, Identifier(exec, "enableHighAccuracy")); 99 JSValue timeoutValue = object->get(exec, Identifier(exec, "timeout")); 115 JSValue maximumAgeValue = object->get(exec, Identifier(exec, "maximumAge")); 136 JSValue JSGeolocation::getCurrentPosition(ExecState* exec, const ArgList& args) 158 JSValue JSGeolocation::watchPosition(ExecState* exec, const ArgList& args)
|
JSHTMLDocumentCustom.cpp | 58 JSValue JSHTMLDocument::nameGetter(ExecState* exec, const Identifier& propertyName, const PropertySlot& slot) 85 JSValue JSHTMLDocument::all(ExecState* exec) const 88 JSValue v = getDirect(Identifier(exec, "all")); 95 void JSHTMLDocument::setAll(ExecState* exec, JSValue value) 103 JSValue JSHTMLDocument::open(ExecState* exec, const ArgList& args) 111 JSValue function = wrapper->get(exec, Identifier(exec, "open")); 158 JSValue JSHTMLDocument::write(ExecState* exec, const ArgList& args) 164 JSValue JSHTMLDocument::writeln(ExecState* exec, const ArgList& args)
|
/external/webkit/WebKit/mac/Plugins/Hosted/ |
ProxyInstance.mm | 79 virtual JSValue valueFromInstance(ExecState*, const Instance*) const; 80 virtual void setValueToInstance(ExecState*, const Instance*, JSValue) const; 85 JSValue ProxyField::valueFromInstance(ExecState* exec, const Instance* instance) const 90 void ProxyField::setValueToInstance(ExecState* exec, const Instance* instance, JSValue value) const 136 JSValue ProxyInstance::invoke(JSC::ExecState* exec, InvokeType type, uint64_t identifier, const JSC::ArgList& args) 157 JSValue ProxyInstance::invokeMethod(ExecState* exec, const MethodList& methodList, const ArgList& args) 185 JSValue ProxyInstance::invokeDefaultMethod(ExecState* exec, const ArgList& args) 209 JSValue ProxyInstance::invokeConstruct(ExecState* exec, const ArgList& args) 214 JSValue ProxyInstance::defaultValue(ExecState* exec, PreferredPrimitiveType hint) const 223 JSValue ProxyInstance::stringValue(ExecState* exec) cons [all...] |
/external/webkit/WebCore/bridge/c/ |
c_instance.cpp | 104 JSValue CInstance::invokeMethod(ExecState* exec, const MethodList& methodList, const ArgList& args) 141 JSValue resultValue = convertNPVariantToValue(exec, &resultVariant, m_rootObject.get()); 147 JSValue CInstance::invokeDefaultMethod(ExecState* exec, const ArgList& args) 176 JSValue resultValue = convertNPVariantToValue(exec, &resultVariant, m_rootObject.get()); 186 JSValue CInstance::invokeConstruct(ExecState* exec, const ArgList& args) 215 JSValue resultValue = convertNPVariantToValue(exec, &resultVariant, m_rootObject.get()); 220 JSValue CInstance::defaultValue(ExecState* exec, PreferredPrimitiveType hint) const 229 JSValue CInstance::stringValue(ExecState* exec) const 236 JSValue CInstance::numberValue(ExecState* exec) const 242 JSValue CInstance::booleanValue() cons [all...] |