/external/webkit/Source/WebCore/bindings/v8/ |
ScriptValue.h | 49 class ScriptValue { 51 ScriptValue() {} 53 ScriptValue(v8::Handle<v8::Value> value) 60 V8GCController::registerGlobalHandle(SCRIPTVALUE, this, m_value); 64 ScriptValue(const ScriptValue& value) 71 V8GCController::registerGlobalHandle(SCRIPTVALUE, this, m_value); 75 ScriptValue& operator=(const ScriptValue& value) 87 V8GCController::registerGlobalHandle(SCRIPTVALUE, this, m_value) [all...] |
ScriptFunctionCall.h | 40 class ScriptValue; 48 void appendArgument(const ScriptValue&); 60 Vector<ScriptValue> m_arguments; 66 ScriptValue call(bool& hadException, bool reportExceptions = true); 67 ScriptValue call(); 77 ScriptCallback(ScriptState*, ScriptValue); 79 ScriptValue call(); 80 ScriptValue call(bool& hadException); 83 ScriptValue m_function;
|
ScriptFunctionCall.cpp | 36 #include "ScriptValue.h" 56 void ScriptCallArgumentHandler::appendArgument(const ScriptValue& argument) 115 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions) 123 return ScriptValue(); 136 return ScriptValue(); 139 return ScriptValue(result); 142 ScriptValue ScriptFunctionCall::call() 175 ScriptCallback::ScriptCallback(ScriptState* state, ScriptValue function) 181 ScriptValue ScriptCallback::call() 187 ScriptValue ScriptCallback::call(bool& hadException [all...] |
WorkerScriptController.h | 42 class ScriptValue; 54 ScriptValue evaluate(const ScriptSourceCode&); 55 ScriptValue evaluate(const ScriptSourceCode&, ScriptValue* exception); 57 void setException(ScriptValue);
|
WorkerScriptController.cpp | 40 #include "ScriptValue.h" 64 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode) 69 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* exception) 72 return ScriptValue(); 75 ScriptValue result = m_proxy->evaluate(sourceCode.source(), sourceCode.url().string(), WTF::toZeroBasedTextPosition(sourceCode.startPosition()), &state); 103 void WorkerScriptController::setException(ScriptValue exception)
|
ScriptValue.cpp | 32 #include "ScriptValue.h" 41 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) 47 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value) 50 return ScriptValue(value->deserialize()); 53 bool ScriptValue::getString(String& result) const 65 String ScriptValue::toString(ScriptState*) const 128 PassRefPtr<InspectorValue> ScriptValue::toInspectorValue(ScriptState* scriptState) const
|
/external/skia/src/animator/ |
SkMemberInfo.cpp | 195 SkScriptValue scriptValue; 196 scriptValue.fType = SkType_Unknown; 197 scriptValue.fOperand.fS32 = 0; 259 success = engine.evaluateScript(&script, &scriptValue); 266 if (scriptValue.fType == SkType_Displayable) { 269 maker.findKey(scriptValue.fOperand.fDisplayable, &charPtr); 270 scriptValue.fOperand.fString = new SkString(charPtr); 271 scriptValue.fType = SkType_String; 272 engine.SkScriptEngine::track(scriptValue.fOperand.fString); 277 displayable->setReference(this, scriptValue.fOperand.fDisplayable) [all...] |
SkAnimatorScript.cpp | 99 bool SkAnimatorScript::Box(void* user, SkScriptValue* scriptValue) { 101 SkDisplayTypes type = scriptValue->fType; 105 SkDisplayArray* boxedValue = new SkDisplayArray(*scriptValue->fOperand.fArray); 111 boxedValue->value = !! scriptValue->fOperand.fS32; 116 boxedValue->value = scriptValue->fOperand.fS32; 121 boxedValue->value = scriptValue->fOperand.fScalar; 124 SkDisplayString* boxedValue = new SkDisplayString(*scriptValue->fOperand.fString); 128 scriptValue->fOperand.fObject = scriptValue->fOperand.fDisplayable; 129 scriptValue->fType = SkType_Displayable [all...] |
SkDisplayTypes.cpp | 135 SkScriptValue* scriptValue) { 136 if (scriptValue == NULL) 141 scriptValue->fType = SkType_String; 153 scriptValue->fOperand.fString = new SkString(&value.c_str()[start], end - start); 155 scriptValue->fOperand.fString = new SkString(value); 164 bool SkDisplayString::getProperty(int index, SkScriptValue* scriptValue) const { 167 scriptValue->fType = SkType_Int; 168 scriptValue->fOperand.fS32 = (int32_t) value.size();
|
SkScript2.h | 220 SkScriptValue2 scriptValue; 221 scriptValue.fOperand = *operand; 222 scriptValue.fType = type; 223 convertTo(SkOperand2::kString, &scriptValue); 224 *operand = scriptValue.fOperand; 230 SkOperand2::OpType getUnboxType(SkOperand2 scriptValue); 237 bool handleUnbox(SkScriptValue2* scriptValue);
|
/external/webkit/Source/WebCore/bindings/js/ |
ScriptFunctionCall.h | 46 class ScriptValue; 53 void appendArgument(const ScriptValue&); 79 ScriptValue call(bool& hadException, bool reportExceptions = true); 80 ScriptValue call(); 90 ScriptCallback(ScriptState*, ScriptValue); 92 ScriptValue call(); 93 ScriptValue call(bool& hadException); 96 ScriptValue m_function;
|
ScriptValue.h | 47 class ScriptValue { 49 ScriptValue() { } 50 ScriptValue(JSC::JSGlobalData& globalData, JSC::JSValue value) : m_value(globalData, value) {} 51 virtual ~ScriptValue() {} 56 bool isEqual(ScriptState*, const ScriptValue&) const; 63 bool operator==(const ScriptValue& other) const { return m_value == other.m_value; } 66 static ScriptValue deserialize(ScriptState*, SerializedScriptValue*, SerializationErrorMode = Throwing); 68 static ScriptValue undefined();
|
ScriptFunctionCall.cpp | 36 #include "ScriptValue.h" 54 void ScriptCallArgumentHandler::appendArgument(const ScriptValue& argument) 124 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions) 136 return ScriptValue(); 142 return ScriptValue(); 150 return ScriptValue(); 153 return ScriptValue(m_exec->globalData(), result); 156 ScriptValue ScriptFunctionCall::call() 194 ScriptCallback::ScriptCallback(ScriptState* state, ScriptValue function) 200 ScriptValue ScriptCallback::call( [all...] |
ScriptValue.cpp | 31 #include "ScriptValue.h" 47 bool ScriptValue::getString(ScriptState* scriptState, String& result) const 59 String ScriptValue::toString(ScriptState* scriptState) const 68 bool ScriptValue::isEqual(ScriptState* scriptState, const ScriptValue& anotherValue) const 76 bool ScriptValue::isNull() const 83 bool ScriptValue::isUndefined() const 90 bool ScriptValue::isObject() const 97 bool ScriptValue::isFunction() const 103 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState, SerializationErrorMode throwExceptions [all...] |
WorkerScriptController.cpp | 37 #include "ScriptValue.h" 102 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode) 105 return ScriptValue(); 107 ScriptValue exception; 108 ScriptValue result(evaluate(sourceCode, &exception)); 116 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* exception) 119 return ScriptValue(); 134 return ScriptValue(); 138 return ScriptValue(*m_globalData, comp.value()) [all...] |
WorkerScriptController.h | 44 class ScriptValue; 59 ScriptValue evaluate(const ScriptSourceCode&); 60 ScriptValue evaluate(const ScriptSourceCode&, ScriptValue* exception); 62 void setException(ScriptValue);
|
JSInjectedScriptHostCustom.cpp | 47 #include "ScriptValue.h" 64 Node* InjectedScriptHost::scriptValueAsNode(ScriptValue value) 71 ScriptValue InjectedScriptHost::nodeAsScriptValue(ScriptState* state, Node* node) 74 return ScriptValue(state->globalData(), toJS(state, node)); 117 ScriptValue object(exec->globalData(), exec->argument(0)); 118 ScriptValue hints(exec->globalData(), exec->argument(1));
|
/external/webkit/Source/WebCore/css/ |
MediaQueryListListener.h | 25 #include "ScriptValue.h" 37 static PassRefPtr<MediaQueryListListener> create(ScriptValue value) 48 MediaQueryListListener(ScriptValue value) : m_value(value) { } 50 ScriptValue m_value;
|
/external/webkit/Source/WebCore/inspector/ |
ScriptArguments.h | 42 class ScriptValue; 46 static PassRefPtr<ScriptArguments> create(ScriptState*, Vector<ScriptValue>& arguments); 50 const ScriptValue& argumentAt(size_t) const; 59 ScriptArguments(ScriptState*, Vector<ScriptValue>& arguments); 62 Vector<ScriptValue> m_arguments;
|
ScriptArguments.cpp | 34 #include "ScriptValue.h" 38 PassRefPtr<ScriptArguments> ScriptArguments::create(ScriptState* scriptState, Vector<ScriptValue>& arguments) 43 ScriptArguments::ScriptArguments(ScriptState* scriptState, Vector<ScriptValue>& arguments) 53 const ScriptValue &ScriptArguments::argumentAt(size_t index) const 69 const ScriptValue& value = argumentAt(0);
|
/external/webkit/Source/WebCore/dom/ |
CustomEvent.h | 30 #include "ScriptValue.h" 44 void initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, ScriptValue detail); 48 ScriptValue detail() const { return m_detail; } 53 ScriptValue m_detail;
|
/external/webkit/Source/WebCore/html/ |
AsyncImageResizer.h | 39 #include "ScriptValue.h" 80 static PassRefPtr<AsyncImageResizer> create(CachedImage*, OutputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption, OrientationOption); 89 AsyncImageResizer(CachedImage*, OutputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption, OrientationOption); 93 ScriptValue m_successCallback; 94 ScriptValue m_errorCallback;
|
AsyncImageResizer.cpp | 43 PassRefPtr<AsyncImageResizer> AsyncImageResizer::create(CachedImage* cachedImage, OutputType outputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption aspectRatioOption, OrientationOption orientationOption) 48 AsyncImageResizer::AsyncImageResizer(CachedImage* cachedImage, OutputType outputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption aspectRatioOption, OrientationOption orientationOption)
|
/external/webkit/Source/WebCore/bindings/ |
ScriptControllerBase.cpp | 30 #include "ScriptValue.h" 48 ScriptValue ScriptController::executeScript(const String& script, bool forceUserGesture) 53 ScriptValue ScriptController::executeScript(const ScriptSourceCode& sourceCode) 56 return ScriptValue(); 61 ScriptValue result = evaluate(sourceCode); 89 ScriptValue result = executeScript(decodedURL.substring(javascriptSchemeLength), false);
|
/external/webkit/Tools/TestWebKitAPI/ |
JavaScriptTest.cpp | 53 JSValueRef scriptValue = WKSerializedScriptValueDeserialize(resultSerializedScriptValue, scriptContext, 0); 54 TEST_ASSERT(scriptValue); 56 JSStringRef scriptString = JSValueToStringCopy(scriptContext, scriptValue, 0);
|