Lines Matching full:local

28 inline v8::Local<v8::Boolean> v8Boolean(bool value, v8::Isolate* isolate) {  in v8Boolean()
37 const char* functionName, int argc, v8::Local<v8::Value> argv[]) { in callDebuggerMethod()
41 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in callDebuggerMethod()
42 v8::Local<v8::Object> debuggerScript = m_debuggerScript.Get(m_isolate); in callDebuggerMethod()
43 v8::Local<v8::Function> function = v8::Local<v8::Function>::Cast( in callDebuggerMethod()
91 int V8Debugger::contextId(v8::Local<v8::Context> context) { in contextId()
92 v8::Local<v8::Value> data = in contextId()
106 int V8Debugger::getGroupId(v8::Local<v8::Context> context) { in getGroupId()
107 v8::Local<v8::Value> data = in getGroupId()
125 v8::Local<v8::DebugInterface::Script> script = scripts.Get(i); in getCompiledScripts()
129 v8::Local<v8::String> v8ContextData; in getCompiledScripts()
143 v8::Local<v8::Context> context = debuggerContext(); in setBreakpoint()
146 v8::Local<v8::Object> info = v8::Object::New(m_isolate); in setBreakpoint()
166 v8::Local<v8::Function> setBreakpointFunction = v8::Local<v8::Function>::Cast( in setBreakpoint()
170 v8::Local<v8::Value> breakpointId = in setBreakpoint()
189 v8::Local<v8::Context> context = debuggerContext(); in removeBreakpoint()
192 v8::Local<v8::Object> info = v8::Object::New(m_isolate); in removeBreakpoint()
200 v8::Local<v8::Function> removeBreakpointFunction = in removeBreakpoint()
201 v8::Local<v8::Function>::Cast( in removeBreakpoint()
212 v8::Local<v8::Context> context = debuggerContext(); in clearBreakpoints()
215 v8::Local<v8::Function> clearBreakpoints = v8::Local<v8::Function>::Cast( in clearBreakpoints()
229 v8::Local<v8::Context> context = debuggerContext(); in setBreakpointsActivated()
232 v8::Local<v8::Object> info = v8::Object::New(m_isolate); in setBreakpointsActivated()
238 v8::Local<v8::Function> setBreakpointsActivated = in setBreakpointsActivated()
239 v8::Local<v8::Function>::Cast( in setBreakpointsActivated()
280 v8::Local<v8::Value> exception; in breakProgram()
281 v8::Local<v8::Array> hitBreakpoints; in breakProgram()
290 v8::Local<v8::Function> breakFunction; in breakProgram()
333 const String16& sourceID, v8::Local<v8::String> newSource, bool dryRun, in setScriptSource()
360 v8::Local<v8::Value> argv[] = {toV8String(m_isolate, sourceID), newSource, in setScriptSource()
363 v8::Local<v8::Value> v8result; in setScriptSource()
371 v8::Local<v8::Message> message = tryCatch.Message(); in setScriptSource()
380 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in setScriptSource()
381 v8::Local<v8::Object> resultTuple = in setScriptSource()
431 v8::Local<v8::Value> currentCallFramesV8; in currentCallFrames()
433 v8::Local<v8::Function> currentCallFramesFunction = in currentCallFrames()
434 v8::Local<v8::Function>::Cast( in currentCallFrames()
444 v8::Local<v8::Value> argv[] = {m_executionState, in currentCallFrames()
452 v8::Local<v8::Array> callFramesArray = currentCallFramesV8.As<v8::Array>(); in currentCallFrames()
455 v8::Local<v8::Value> callFrameValue; in currentCallFrames()
459 v8::Local<v8::Object> callFrameObject = callFrameValue.As<v8::Object>(); in currentCallFrames()
461 debuggerContext(), v8::Local<v8::Object>::Cast(callFrameObject))); in currentCallFrames()
466 static V8Debugger* toV8Debugger(v8::Local<v8::Value> data) { in toV8Debugger()
467 void* p = v8::Local<v8::External>::Cast(data)->Value(); in toV8Debugger()
476 v8::Local<v8::Context> pausedContext = in breakProgramCallback()
478 v8::Local<v8::Value> exception; in breakProgramCallback()
479 v8::Local<v8::Array> hitBreakpoints; in breakProgramCallback()
481 v8::Local<v8::Object>::Cast(info[0]), exception, in breakProgramCallback()
485 void V8Debugger::handleProgramBreak(v8::Local<v8::Context> pausedContext, in handleProgramBreak()
486 v8::Local<v8::Object> executionState, in handleProgramBreak()
487 v8::Local<v8::Value> exception, in handleProgramBreak()
488 v8::Local<v8::Array> hitBreakpointNumbers, in handleProgramBreak()
501 v8::Local<v8::Value> hitBreakpointNumber = in handleProgramBreak()
542 v8::Local<v8::Value> V8Debugger::callInternalGetterFunction( in callInternalGetterFunction()
543 v8::Local<v8::Object> object, const char* functionName) { in callInternalGetterFunction()
546 v8::Local<v8::Value> getterValue = in callInternalGetterFunction()
552 return v8::Local<v8::Function>::Cast(getterValue) in callInternalGetterFunction()
566 v8::Local<v8::Context> eventContext = eventDetails.GetEventContext(); in handleV8DebugEvent()
582 v8::Local<v8::Context> context = debuggerContext(); in handleV8DebugEvent()
584 v8::Local<v8::Value> argv[] = {eventDetails.GetEventData()}; in handleV8DebugEvent()
585 v8::Local<v8::Value> value = in handleV8DebugEvent()
589 v8::Local<v8::Object> scriptObject = v8::Local<v8::Object>::Cast(value); in handleV8DebugEvent()
590 v8::Local<v8::DebugInterface::Script> script; in handleV8DebugEvent()
598 v8::Local<v8::Context> context = debuggerContext(); in handleV8DebugEvent()
599 v8::Local<v8::Object> eventData = eventDetails.GetEventData(); in handleV8DebugEvent()
600 v8::Local<v8::Value> exception = in handleV8DebugEvent()
602 v8::Local<v8::Value> promise = in handleV8DebugEvent()
605 v8::Local<v8::Value> uncaught = in handleV8DebugEvent()
609 exception, v8::Local<v8::Array>(), isPromiseRejection, in handleV8DebugEvent()
612 v8::Local<v8::Value> argv[] = {eventDetails.GetEventData()}; in handleV8DebugEvent()
613 v8::Local<v8::Value> hitBreakpoints = in handleV8DebugEvent()
617 v8::Local<v8::Value>(), in handleV8DebugEvent()
623 void V8Debugger::handleV8AsyncTaskEvent(v8::Local<v8::Context> context, in handleV8AsyncTaskEvent()
624 v8::Local<v8::Object> executionState, in handleV8AsyncTaskEvent()
625 v8::Local<v8::Object> eventData) { in handleV8AsyncTaskEvent()
668 v8::Local<v8::String> scriptValue = in compileDebuggerScript()
673 v8::Local<v8::Value> value; in compileDebuggerScript()
683 v8::Local<v8::Context> V8Debugger::debuggerContext() const { in debuggerContext()
689 v8::Local<v8::Context> context, v8::Local<v8::Function> function) { in functionScopes()
692 return v8::Local<v8::Value>::New(m_isolate, v8::Undefined(m_isolate)); in functionScopes()
694 v8::Local<v8::Value> argv[] = {function}; in functionScopes()
695 v8::Local<v8::Value> scopesValue; in functionScopes()
698 v8::Local<v8::Value> copied; in functionScopes()
704 if (!markAsInternal(context, v8::Local<v8::Array>::Cast(copied), in functionScopes()
707 if (!markArrayEntriesAsInternal(context, v8::Local<v8::Array>::Cast(copied), in functionScopes()
714 v8::Local<v8::Context> context, v8::Local<v8::Value> value) { in internalProperties()
715 v8::Local<v8::Array> properties; in internalProperties()
720 v8::Local<v8::Function> function = value.As<v8::Function>(); in internalProperties()
721 v8::Local<v8::Value> location = functionLocation(context, function); in internalProperties()
738 v8::Local<v8::Value> entries = in internalProperties()
739 collectionEntries(context, v8::Local<v8::Object>::Cast(value)); in internalProperties()
747 v8::Local<v8::Value> location = in internalProperties()
748 generatorObjectLocation(context, v8::Local<v8::Object>::Cast(value)); in internalProperties()
757 v8::Local<v8::Function> function = value.As<v8::Function>(); in internalProperties()
758 v8::Local<v8::Value> boundFunction = function->GetBoundFunction(); in internalProperties()
759 v8::Local<v8::Value> scopes; in internalProperties()
770 v8::Local<v8::Value> V8Debugger::collectionEntries( in collectionEntries()
771 v8::Local<v8::Context> context, v8::Local<v8::Object> object) { in collectionEntries()
776 v8::Local<v8::Value> argv[] = {object}; in collectionEntries()
777 v8::Local<v8::Value> entriesValue = in collectionEntries()
781 v8::Local<v8::Array> entries = entriesValue.As<v8::Array>(); in collectionEntries()
782 v8::Local<v8::Array> copiedArray = in collectionEntries()
787 v8::Local<v8::Value> item; in collectionEntries()
790 v8::Local<v8::Value> copied; in collectionEntries()
799 v8::Local<v8::Array>::Cast(copiedArray), in collectionEntries()
805 v8::Local<v8::Value> V8Debugger::generatorObjectLocation( in generatorObjectLocation()
806 v8::Local<v8::Context> context, v8::Local<v8::Object> object) { in generatorObjectLocation()
811 v8::Local<v8::Value> argv[] = {object}; in generatorObjectLocation()
812 v8::Local<v8::Value> location = in generatorObjectLocation()
815 v8::Local<v8::Value> copied; in generatorObjectLocation()
821 if (!markAsInternal(context, v8::Local<v8::Object>::Cast(copied), in generatorObjectLocation()
827 v8::Local<v8::Value> V8Debugger::functionLocation( in functionLocation()
828 v8::Local<v8::Context> context, v8::Local<v8::Function> function) { in functionLocation()
836 v8::Local<v8::Object> location = v8::Object::New(m_isolate); in functionLocation()
862 v8::Local<v8::StackTrace> stackTrace) { in createStackTrace()