Home
last modified time | relevance | path

Searched refs:ScriptValue (Results 1 – 25 of 101) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DScriptValue.h45 class ScriptValue {
47 ScriptValue() in ScriptValue() function
51 virtual ~ScriptValue();
53 ScriptValue(v8::Handle<v8::Value> value, v8::Isolate* isolate) in ScriptValue() function
59 ScriptValue(const ScriptValue& value) in ScriptValue() function
72 static ScriptValue createUndefined(v8::Isolate* isolate) in createUndefined()
74 return ScriptValue(v8::Undefined(isolate), isolate); in createUndefined()
77 static ScriptValue createNull() in createNull()
80 return ScriptValue(v8::Null(isolate), isolate); in createNull()
82 static ScriptValue createBoolean(bool b) in createBoolean()
[all …]
DScriptFunctionCall.h40 class ScriptValue; variable
48 void appendArgument(const ScriptValue&);
60 Vector<ScriptValue> m_arguments;
66 ScriptValue call(bool& hadException, bool reportExceptions = true);
67 ScriptValue call();
77 ScriptCallback(ScriptState*, const ScriptValue&);
79 ScriptValue call();
83 ScriptValue m_function;
DScriptFunctionCall.cpp56 void ScriptCallArgumentHandler::appendArgument(const ScriptValue& argument) in appendArgument()
65 m_arguments.append(ScriptValue(v8String(isolate, argument), isolate)); in appendArgument()
72 m_arguments.append(ScriptValue(v8String(isolate, argument), isolate)); in appendArgument()
79 m_arguments.append(ScriptValue(v8::Number::New(isolate, argument), isolate)); in appendArgument()
86 m_arguments.append(ScriptValue(v8::Number::New(isolate, argument), isolate)); in appendArgument()
93 m_arguments.append(ScriptValue(v8::Number::New(isolate, argument), isolate)); in appendArgument()
100 m_arguments.append(ScriptValue(v8::Number::New(isolate, argument), isolate)); in appendArgument()
107 m_arguments.append(ScriptValue(v8::Number::New(isolate, argument), isolate)); in appendArgument()
113 m_arguments.append(ScriptValue(v8Boolean(argument, isolate), isolate)); in appendArgument()
123 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions) in call()
[all …]
DIDBBindingUtilities.h47 PassRefPtr<IDBKey> createIDBKeyFromScriptValueAndKeyPath(DOMRequestState*, const ScriptValue&, cons…
48 bool canInjectIDBKeyIntoScriptValue(DOMRequestState*, const ScriptValue&, const IDBKeyPath&);
49 ScriptValue idbAnyToScriptValue(DOMRequestState*, PassRefPtr<IDBAny>);
50 ScriptValue idbKeyToScriptValue(DOMRequestState*, PassRefPtr<IDBKey>);
51 PassRefPtr<IDBKey> scriptValueToIDBKey(DOMRequestState*, const ScriptValue&);
52 PassRefPtr<IDBKeyRange> scriptValueToIDBKeyRange(DOMRequestState*, const ScriptValue&);
DIDBBindingUtilitiesTest.cpp41 PassRefPtr<IDBKey> checkKeyFromValueAndKeyPathInternal(const ScriptValue& value, const String& keyP… in checkKeyFromValueAndKeyPathInternal()
49 void checkKeyPathNullValue(const ScriptValue& value, const String& keyPath) in checkKeyPathNullValue()
55 bool injectKey(PassRefPtr<IDBKey> key, ScriptValue& value, const String& keyPath) in injectKey()
59 ScriptValue keyValue = idbKeyToScriptValue(0, key); in injectKey()
63 void checkInjection(PassRefPtr<IDBKey> prpKey, ScriptValue& value, const String& keyPath) in checkInjection()
72 void checkInjectionFails(PassRefPtr<IDBKey> key, ScriptValue& value, const String& keyPath) in checkInjectionFails()
77 void checkKeyPathStringValue(const ScriptValue& value, const String& keyPath, const String& expecte… in checkKeyPathStringValue()
85 void checkKeyPathNumberValue(const ScriptValue& value, const String& keyPath, int expected) in checkKeyPathNumberValue()
111 ScriptValue scriptValue(object, v8::Isolate::GetCurrent()); in TEST_F()
122 ScriptValue scriptValue(object, v8::Isolate::GetCurrent()); in TEST_F()
[all …]
DScriptDebugServer.h53 class ScriptValue; variable
77 void stepOverStatement(const ScriptValue& frame);
78 void stepOutOfFunction(const ScriptValue& frame);
80 …, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, ScriptValue* newCallFrames,…
81 ScriptValue currentCallFrames();
101 …virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown,…
136 void stepCommandWithFrame(const char* functionName, const ScriptValue& frame);
DScriptPromiseResolverTest.cpp111 m_resolver->resolve(ScriptValue(v8::Integer::New(3, m_isolate), m_isolate)); in TEST_F()
125 m_resolver->reject(ScriptValue(v8::Integer::New(3, m_isolate), m_isolate)); in TEST_F()
139 m_resolver->resolve(ScriptValue(v8::Integer::New(3, m_isolate), m_isolate)); in TEST_F()
146 m_resolver->resolve(ScriptValue(v8::Integer::New(4, m_isolate), m_isolate)); in TEST_F()
159 m_resolver->resolve(ScriptValue(v8::Integer::New(3, m_isolate), m_isolate)); in TEST_F()
166 m_resolver->reject(ScriptValue(v8::Integer::New(4, m_isolate), m_isolate)); in TEST_F()
DScriptValue.cpp41 ScriptValue::~ScriptValue() in ~ScriptValue()
45 bool ScriptValue::getString(String& result) const in getString()
58 String ScriptValue::toString() const in toString()
121 PassRefPtr<JSONValue> ScriptValue::toJSONValue(ScriptState* scriptState) const in toJSONValue()
DWorkerScriptController.cpp145 ScriptValue WorkerScriptController::evaluate(const String& script, const String& fileName, const Te… in evaluate()
150 return ScriptValue(); in evaluate()
169 return ScriptValue(); in evaluate()
178 …INGRESOURCE_RETURN(V8StringResource<>, sourceURL, message->GetScriptResourceName(), ScriptValue()); in evaluate()
180 state->exception = ScriptValue(block.Exception(), isolate()); in evaluate()
186 return ScriptValue(); in evaluate()
188 return ScriptValue(result, isolate()); in evaluate()
DScriptObject.cpp44 : ScriptValue(v8Object, scriptState->isolate()) in ScriptObject()
49 ScriptObject::ScriptObject(ScriptState* scriptState, const ScriptValue& scriptValue) in ScriptObject()
50 : ScriptValue(scriptValue) in ScriptObject()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInjectedScript.h70 const ScriptValue& callFrames,
79 …void restartFrame(ErrorString*, const ScriptValue& callFrames, const String& callFrameId, RefPtr<J…
80 …void getStepInPositions(ErrorString*, const ScriptValue& callFrames, const String& callFrameId, Re…
81 …void setVariableValue(ErrorString*, const ScriptValue& callFrames, const String* callFrameIdOpt, c…
88 …ssRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFrames(const ScriptValue&);
90 …PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&, const String& groupN…
91 …efPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue& table, const ScriptValue& c…
93 ScriptValue findObjectById(const String& objectId) const;
94ScriptValue findCallFrameById(ErrorString*, const ScriptValue& topCallFrame, const String& callFra…
104 ScriptValue nodeAsScriptValue(Node*);
DAsyncCallStackTracker.h51 AsyncCallStack(const String&, const ScriptValue&);
54 ScriptValue callFrames() const { return m_callFrames; } in callFrames()
57 ScriptValue m_callFrames;
78 …void didInstallTimer(ExecutionContext*, int timerId, bool singleShot, const ScriptValue& callFrame…
82 void didRequestAnimationFrame(ExecutionContext*, int callbackId, const ScriptValue& callFrames);
90 …PassRefPtr<AsyncCallChain> createAsyncCallChain(const String& description, const ScriptValue& call…
92 static bool validateCallFrames(const ScriptValue& callFrames);
DInjectedScript.cpp82 void InjectedScript::evaluateOnCallFrame(ErrorString* errorString, const ScriptValue& callFrames, c… in evaluateOnCallFrame()
95 void InjectedScript::restartFrame(ErrorString* errorString, const ScriptValue& callFrames, const St… in restartFrame()
115 void InjectedScript::getStepInPositions(ErrorString* errorString, const ScriptValue& callFrames, co… in getStepInPositions()
135 void InjectedScript::setVariableValue(ErrorString* errorString, const ScriptValue& callFrames, cons… in setVariableValue()
220 ScriptValue resultValue = callFunctionWithEvalEnabled(function, hadException); in nodeForObjectId()
234 PassRefPtr<Array<CallFrame> > InjectedScript::wrapCallFrames(const ScriptValue& callFrames) in wrapCallFrames()
240 ScriptValue callFramesValue = callFunctionWithEvalEnabled(function, hadException); in wrapCallFrames()
248 PassRefPtr<TypeBuilder::Runtime::RemoteObject> InjectedScript::wrapObject(const ScriptValue& value,… in wrapObject()
257 ScriptValue r = callFunctionWithEvalEnabled(wrapFunction, hadException); in wrapObject()
264 …r::Runtime::RemoteObject> InjectedScript::wrapTable(const ScriptValue& table, const ScriptValue& c… in wrapTable()
[all …]
DScriptArguments.h42 class ScriptValue; variable
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;
DScriptArguments.cpp39 PassRefPtr<ScriptArguments> ScriptArguments::create(ScriptState* scriptState, Vector<ScriptValue>& … in create()
44 ScriptArguments::ScriptArguments(ScriptState* scriptState, Vector<ScriptValue>& arguments) in ScriptArguments()
54 const ScriptValue &ScriptArguments::argumentAt(size_t index) const in argumentAt()
70 const ScriptValue& value = argumentAt(0); in getFirstArgumentAsString()
DInjectedScriptHost.h46 class ScriptValue; variable
67 static Node* scriptValueAsNode(ScriptValue);
68 static ScriptValue nodeAsScriptValue(ScriptState*, Node*);
75 virtual ScriptValue get(ScriptState*);
DScriptDebugListener.h40 class ScriptValue; variable
70 …virtual void didPause(ScriptState*, const ScriptValue& callFrames, const ScriptValue& exception, c…
DJavaScriptCallFrame.h43 class ScriptValue; variable
69ScriptValue setVariableValue(int scopeNumber, const String& variableName, const ScriptValue& newVa…
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
DIDBObjectStore.h62 ScriptValue keyPath(ExecutionContext*) const;
67 …PassRefPtr<IDBRequest> openCursor(ExecutionContext*, const ScriptValue& range, const String& direc…
68 …PassRefPtr<IDBRequest> openKeyCursor(ExecutionContext*, const ScriptValue& range, const String& di…
69 PassRefPtr<IDBRequest> get(ExecutionContext*, const ScriptValue& key, ExceptionState&);
70 PassRefPtr<IDBRequest> add(ScriptState*, ScriptValue&, const ScriptValue& key, ExceptionState&);
71 PassRefPtr<IDBRequest> put(ScriptState*, ScriptValue&, const ScriptValue& key, ExceptionState&);
72 … PassRefPtr<IDBRequest> deleteFunction(ExecutionContext*, const ScriptValue& key, ExceptionState&);
80 PassRefPtr<IDBRequest> count(ExecutionContext*, const ScriptValue& range, ExceptionState&);
83 …ink::WebIDBDatabase::PutMode, PassRefPtr<IDBAny> source, ScriptState*, ScriptValue&, PassRefPtr<ID…
105 …BDatabase::PutMode, PassRefPtr<IDBAny> source, ScriptState*, ScriptValue&, const ScriptValue& key,…
DIDBKeyRange.h55 …static PassRefPtr<IDBKeyRange> fromScriptValue(ExecutionContext*, const ScriptValue&, ExceptionSta…
63 ScriptValue lowerValue(ExecutionContext*) const;
64 ScriptValue upperValue(ExecutionContext*) const;
68 static PassRefPtr<IDBKeyRange> only(ExecutionContext*, const ScriptValue& key, ExceptionState&);
69 …static PassRefPtr<IDBKeyRange> lowerBound(ExecutionContext*, const ScriptValue& bound, bool open, …
70 …static PassRefPtr<IDBKeyRange> upperBound(ExecutionContext*, const ScriptValue& bound, bool open, …
71 …ic PassRefPtr<IDBKeyRange> bound(ExecutionContext*, const ScriptValue& lower, const ScriptValue& u…
DIDBCursor.h63 ScriptValue key(ExecutionContext*);
64 ScriptValue primaryKey(ExecutionContext*);
65 ScriptValue value(ExecutionContext*);
66 ScriptValue source(ExecutionContext*) const;
68 PassRefPtr<IDBRequest> update(ScriptState*, ScriptValue&, ExceptionState&);
70 void continueFunction(ExecutionContext*, const ScriptValue& key, ExceptionState&);
71 …void continuePrimaryKey(ExecutionContext*, const ScriptValue& key, const ScriptValue& primaryKey, …
DIDBIndex.h56 ScriptValue keyPath(ExecutionContext*) const;
60 …PassRefPtr<IDBRequest> openCursor(ExecutionContext*, const ScriptValue& key, const String& directi…
61 …PassRefPtr<IDBRequest> openKeyCursor(ExecutionContext*, const ScriptValue& range, const String& di…
62 PassRefPtr<IDBRequest> count(ExecutionContext*, const ScriptValue& range, ExceptionState&);
63 PassRefPtr<IDBRequest> get(ExecutionContext*, const ScriptValue& key, ExceptionState&);
64 PassRefPtr<IDBRequest> getKey(ExecutionContext*, const ScriptValue& key, ExceptionState&);
DIDBKeyRange.cpp37 PassRefPtr<IDBKeyRange> IDBKeyRange::fromScriptValue(ExecutionContext* context, const ScriptValue& … in fromScriptValue()
65 ScriptValue IDBKeyRange::lowerValue(ExecutionContext* context) const in lowerValue()
71 ScriptValue IDBKeyRange::upperValue(ExecutionContext* context) const in upperValue()
88 PassRefPtr<IDBKeyRange> IDBKeyRange::only(ExecutionContext* context, const ScriptValue& keyValue, E… in only()
100 PassRefPtr<IDBKeyRange> IDBKeyRange::lowerBound(ExecutionContext* context, const ScriptValue& bound… in lowerBound()
112 PassRefPtr<IDBKeyRange> IDBKeyRange::upperBound(ExecutionContext* context, const ScriptValue& bound… in upperBound()
124 …e> IDBKeyRange::bound(ExecutionContext* context, const ScriptValue& lowerValue, const ScriptValue&… in bound()
DIDBObjectStore.cpp63 ScriptValue IDBObjectStore::keyPath(ExecutionContext* context) const in keyPath()
79 PassRefPtr<IDBRequest> IDBObjectStore::get(ExecutionContext* context, const ScriptValue& key, Excep… in get()
107 …questState* requestState, const IDBIndexMetadata& indexMetadata, const ScriptValue& objectValue, I… in generateIndexKeysForValue()
130 …efPtr<IDBRequest> IDBObjectStore::add(ScriptState* state, ScriptValue& value, const ScriptValue& k… in add()
136 …efPtr<IDBRequest> IDBObjectStore::put(ScriptState* state, ScriptValue& value, const ScriptValue& k… in put()
142 …e putMode, PassRefPtr<IDBAny> source, ScriptState* state, ScriptValue& value, const ScriptValue& k… in put()
150 …abase::PutMode putMode, PassRefPtr<IDBAny> source, ScriptState* state, ScriptValue& value, PassRef… in put()
238 PassRefPtr<IDBRequest> IDBObjectStore::deleteFunction(ExecutionContext* context, const ScriptValue&… in deleteFunction()
341 ScriptValue value = cursor->value(context); in handleEvent()
512 PassRefPtr<IDBRequest> IDBObjectStore::openCursor(ExecutionContext* context, const ScriptValue& ran… in openCursor()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaQueryListListener.h35 static PassRefPtr<MediaQueryListListener> create(const ScriptValue& value) in create()
46 MediaQueryListListener(const ScriptValue& value) : m_value(value) { } in MediaQueryListListener()
48 ScriptValue m_value;

12345