Home
last modified time | relevance | path

Searched refs:newLocal (Results 1 – 25 of 71) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/inspector/
DJavaScriptCallFrame.cpp55 v8::Handle<v8::Context> debuggerContext = m_debuggerContext.newLocal(m_isolate); in caller()
57 …v8::Handle<v8::Value> callerFrame = m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate,… in caller()
68 v8::Context::Scope contextScope(m_debuggerContext.newLocal(m_isolate)); in sourceID()
69 …v8::Handle<v8::Value> result = m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate, "sou… in sourceID()
78 v8::Context::Scope contextScope(m_debuggerContext.newLocal(m_isolate)); in line()
79 …v8::Handle<v8::Value> result = m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate, "lin… in line()
88 v8::Context::Scope contextScope(m_debuggerContext.newLocal(m_isolate)); in column()
89 …v8::Handle<v8::Value> result = m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate, "col… in column()
98 v8::Context::Scope contextScope(m_debuggerContext.newLocal(m_isolate)); in functionName()
99 …v8::Handle<v8::Value> result = m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate, "fun… in functionName()
[all …]
/external/dexmaker/src/test/java/com/google/dexmaker/examples/
DFibonacciMaker.java43 Local<Integer> constant1 = code.newLocal(TypeId.INT); in main()
44 Local<Integer> constant2 = code.newLocal(TypeId.INT); in main()
45 Local<Integer> a = code.newLocal(TypeId.INT); in main()
46 Local<Integer> b = code.newLocal(TypeId.INT); in main()
47 Local<Integer> c = code.newLocal(TypeId.INT); in main()
48 Local<Integer> d = code.newLocal(TypeId.INT); in main()
49 Local<Integer> result = code.newLocal(TypeId.INT); in main()
DHelloWorldMaker.java73 Local<Integer> a = code.newLocal(TypeId.INT); in generateHelloMethod()
74 Local<Integer> b = code.newLocal(TypeId.INT); in generateHelloMethod()
75 Local<Integer> c = code.newLocal(TypeId.INT); in generateHelloMethod()
76 Local<String> s = code.newLocal(TypeId.STRING); in generateHelloMethod()
77 Local<PrintStream> localSystemOut = code.newLocal(printStreamType); in generateHelloMethod()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DMoveParamCombiner.java81 LocalItem newLocal; in run()
88 newLocal = localB; in run()
90 newLocal = localA; in run()
92 newLocal = localA; in run()
102 .setResultLocal(newLocal); in run()
DSsaRenamer.java513 LocalItem newLocal in visitMoveInsn() local
522 = associatedLocal == null || newLocal == null in visitMoveInsn()
523 || newLocal.equals(associatedLocal); in visitMoveInsn()
537 ssaSourceReg, ropResult.getType(), newLocal); in visitMoveInsn()
540 && equalsHandlesNulls(newLocal, sourceLocal)) && in visitMoveInsn()
558 ssaReg.getType(), newLocal)); in visitMoveInsn()
DPhiTypeResolver.java187 LocalItem newLocal = sameLocals ? firstLocal : null; in resolveResultType() local
192 && equalsHandlesNulls(newLocal, result.getLocalItem())) { in resolveResultType()
196 insn.changeResultType(newResultType, newLocal); in resolveResultType()
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
DV8TestCallbackInterface.cpp71 invokeCallback(m_callback.newLocal(isolate), 0, argv, executionContext(), isolate); in voidMethod()
89 return invokeCallback(m_callback.newLocal(isolate), 0, argv, executionContext(), isolate); in booleanMethod()
113 invokeCallback(m_callback.newLocal(isolate), 1, argv, executionContext(), isolate); in voidMethodBooleanArg()
137 invokeCallback(m_callback.newLocal(isolate), 1, argv, executionContext(), isolate); in voidMethodSequenceArg()
161 invokeCallback(m_callback.newLocal(isolate), 1, argv, executionContext(), isolate); in voidMethodFloatArg()
185 invokeCallback(m_callback.newLocal(isolate), 1, argv, executionContext(), isolate); in voidMethodTestInterfaceEmptyArg()
215 invokeCallback(m_callback.newLocal(isolate), 2, argv, executionContext(), isolate); in voidMethodTestInterfaceEmptyStringArg()
246 …invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>::Cast(thisHandle), 1, argv, ex… in callbackWithThisValueVoidMethodStringArg()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DScheduledAction.cpp90 v8::Handle<v8::Context> context = m_context.newLocal(m_isolate); in execute()
100 …frame->script().callFunction(m_function.newLocal(m_isolate), context->Global(), info.size(), info.… in execute()
112 v8::Handle<v8::Context> context = m_context.newLocal(m_isolate); in execute()
118 …V8ScriptRunner::callFunction(m_function.newLocal(m_isolate), worker, context->Global(), info.size(… in execute()
127 handles->append(m_info[i].newLocal(m_isolate)); in createLocalHandlesForArgs()
DV8PerIsolateData.cpp92 return m_toStringTemplate.newLocal(m_isolate); in toStringTemplate()
100 return result->value.newLocal(m_isolate); in privateTemplate()
111 return result->value.newLocal(m_isolate); in privateTemplateIfExists()
125 return result->value.newLocal(m_isolate); in rawDOMTemplate()
139 return m_regexContext.newLocal(m_isolate); in ensureRegexContext()
149 return result->value.newLocal(m_isolate)->HasInstance(value); in hasInstance()
DScriptPreprocessor.cpp95 v8::Context::Scope contextScope(m_context.newLocal(m_isolate)); in preprocessSourceCode()
104 … = V8ScriptRunner::callAsFunction(m_preprocessorFunction.newLocal(m_isolate), m_context.newLocal(m… in preprocessSourceCode()
DSharedPersistent.h50 v8::Local<T> newLocal(v8::Isolate* isolate) const in newLocal() function
52 return m_value.newLocal(isolate); in newLocal()
DScriptDebugServer.cpp68 v8::Handle<v8::Object> debuggerScript = m_debuggerScript.newLocal(m_isolate); in callDebuggerMethod()
99 … setBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.newLocal(m_isolate)->Get(v… in setBreakpoint()
117 …moveBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.newLocal(m_isolate)->Get(v… in removeBreakpoint()
128 …tion> clearBreakpoints = v8::Local<v8::Function>::Cast(m_debuggerScript.newLocal(m_isolate)->Get(v… in clearBreakpoints()
141 …etBreakpointsActivated = v8::Local<v8::Function>::Cast(m_debuggerScript.newLocal(m_isolate)->Get(v… in setBreakpointsActivated()
199 …v8::Handle<v8::Function> breakProgramFunction = m_breakProgramCallbackTemplate.newLocal(m_isolate)… in breakProgram()
215 v8::Handle<v8::Value> argv[] = { m_executionState.newLocal(m_isolate) }; in stepIntoStatement()
233 m_executionState.newLocal(m_isolate), in stepCommandWithFrame()
321 …rrentCallFrameFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.newLocal(m_isolate)->Get(v… in wrapCallFrames()
340 …RefPtr<JavaScriptCallFrame> currentCallFrame = wrapCallFrames(m_executionState.newLocal(m_isolate)… in currentCallFrames()
[all …]
DScriptState.h55 v8::Local<v8::Value> exception() { return m_exception.newLocal(m_isolate); } in exception()
60 return m_context.newLocal(m_isolate); in context()
DV8WindowShell.cpp142 …v8::Handle<v8::Object> windowWrapper = m_global.newLocal(m_isolate)->FindInstanceInPrototypeChain(… in clearForNavigation()
288 …v8::Context::New(m_isolate, &extensionConfiguration, globalTemplate, m_global.newLocal(m_isolate)); in createContext()
350 ASSERT(documentWrapper == m_document.newLocal(m_isolate) || m_document.isEmpty()); in updateDocumentProperty()
353 checkDocumentWrapper(m_document.newLocal(m_isolate), m_frame->document()); in updateDocumentProperty()
476 v8::Handle<v8::Object> documentHandle = m_document.newLocal(m_isolate); in namedItemAdded()
495 v8::Handle<v8::Object> documentHandle = m_document.newLocal(m_isolate); in namedItemRemoved()
DV8AbstractEventListener.h87 return m_listener.newLocal(m_isolate); in getListenerObject()
92 return m_listener.newLocal(m_isolate); in getExistingListenerObject()
DV8CustomElementLifecycleCallbacks.cpp170 v8::Handle<v8::Object> prototype = m_prototype.newLocal(isolate); in created()
176 v8::Handle<v8::Function> callback = m_created.newLocal(isolate); in created()
216 v8::Handle<v8::Function> callback = m_attributeChanged.newLocal(isolate); in attributeChanged()
244 v8::Handle<v8::Function> callback = weakCallback.newLocal(isolate); in call()
DScriptState.cpp60 return toDOMWindow(m_context.newLocal(m_isolate)); in domWindow()
66 return toExecutionContext(m_context.newLocal(m_isolate)); in executionContext()
DDOMDataStore.h94 …:Handle<v8::Object> result = ScriptWrappable::getUnsafeWrapperFromObject(object).newLocal(isolate); in getWrapper()
139 return ScriptWrappable::getUnsafeWrapperFromObject(object).newLocal(isolate); in get()
140 return m_wrapperMap.newLocal(V8T::toInternalPointer(object), isolate); in get()
DDOMWrapperMap.h52 v8::Handle<v8::Object> newLocal(KeyType* key, v8::Isolate* isolate) in newLocal() function
54 return m_map.get(key).newLocal(isolate); in newLocal()
DV8NPObject.cpp88 npObject = v8ObjectToNPObject(wrapper->newLocal(isolate)); in npObjectInvokeImpl()
265 v8Function = functionTemplate.newLocal(isolate)->GetFunction(); in npObjectGetProperty()
429 v8::Handle<v8::Object> wrapper = staticNPObjectMap().newLocal(object, isolate); in createV8ObjectForNPObject()
470 v8::Handle<v8::Object> wrapper = staticNPObjectMap().newLocal(object, isolate); in forgetV8ObjectForNPObject()
484 v8::Handle<v8::Object> wrapper = staticNPObjectMap().newLocal(object, isolate); in dropV8WrapperForNPObject()
/external/dexmaker/src/test/java/com/google/dexmaker/
DDexMakerTest.java86 Local<Constructable> localResult = code.newLocal(constructable); in testNewInstance()
131 Local<Integer> localResult = code.newLocal(TypeId.INT); in testInvokeStatic()
149 Local<Method> localMethod = code.newLocal(methodType); in testCreateLocalMethodAsNull()
177 Local<Integer> localResult = code.newLocal(TypeId.INT); in testInvokeVirtual()
207 Local<Integer> localA = directCode.newLocal(TypeId.INT); in testInvokeDirect()
213 Local<Integer> localB = code.newLocal(TypeId.INT); in testInvokeDirect()
240 Local<Integer> localResult = superHashCode.newLocal(TypeId.INT); in testInvokeSuper()
247 Local<Integer> localZero = generatedHashCode.newLocal(TypeId.INT); in testInvokeSuper()
269 Local<Object> localResult = code.newLocal(TypeId.OBJECT); in testInvokeInterface()
292 Local<Integer> result = code.newLocal(TypeId.INT); in testInvokeVoidMethodIgnoresTargetLocal()
[all …]
/external/dexmaker/src/main/java/com/google/dexmaker/stock/
DProxyBuilder.java419 Local<InvocationHandler> localHandler = code.newLocal(handlerType); in generateCodeForAllMethods()
420 Local<Object> invokeResult = code.newLocal(TypeId.OBJECT); in generateCodeForAllMethods()
421 Local<Integer> intValue = code.newLocal(TypeId.INT); in generateCodeForAllMethods()
422 Local<Object[]> args = code.newLocal(objectArrayType); in generateCodeForAllMethods()
423 Local<Integer> argsLength = code.newLocal(TypeId.INT); in generateCodeForAllMethods()
424 Local<Object> temp = code.newLocal(TypeId.OBJECT); in generateCodeForAllMethods()
425 Local<?> resultHolder = code.newLocal(resultType); in generateCodeForAllMethods()
426 Local<Method[]> methodArray = code.newLocal(methodArrayType); in generateCodeForAllMethods()
427 Local<Method> thisMethod = code.newLocal(methodType); in generateCodeForAllMethods()
428 Local<Integer> methodIndex = code.newLocal(TypeId.INT); in generateCodeForAllMethods()
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8PromiseCustom.cpp224 v8::Handle<v8::Value> info[] = { m_argument.newLocal(isolate) }; in performTask()
226 …v8::Local<v8::Value> value = V8ScriptRunner::callFunction(m_handler.newLocal(isolate), context, v8… in performTask()
228 V8PromiseCustom::reject(m_promise.newLocal(isolate), trycatch.Exception(), isolate); in performTask()
230 V8PromiseCustom::resolve(m_promise.newLocal(isolate), value, isolate); in performTask()
266 v8::Local<v8::Object> originatorValueObject = m_originatorValueObject.newLocal(isolate); in performTask()
270 …tom::updateDerivedFromPromise(m_promise.newLocal(isolate), m_onFulfilled.newLocal(isolate), m_onRe… in performTask()
279 …V8PromiseCustom::updateDerivedFromReason(m_promise.newLocal(isolate), m_onRejected.newLocal(isolat… in performTask()
286 …tom::updateDerivedFromPromise(m_promise.newLocal(isolate), m_onFulfilled.newLocal(isolate), m_onRe… in performTask()
290 …V8PromiseCustom::updateDerivedFromValue(m_promise.newLocal(isolate), m_onFulfilled.newLocal(isolat… in performTask()
342 … v8::Local<v8::Object> promise(v8::Isolate* isolate) const { return m_promise.newLocal(isolate); } in promise()
[all …]
DV8HTMLPlugInElementCustom.cpp54 v8::Local<v8::Object> instanceTemplate = wrapper->newLocal(info.GetIsolate()); in npObjectNamedGetter()
69 v8::Local<v8::Object> instanceTemplate = wrapper->newLocal(info.GetIsolate()); in npObjectNamedSetter()
135 v8::Local<v8::Object> instanceTemplate = wrapper->newLocal(info.GetIsolate()); in npObjectIndexedGetter()
150 v8::Local<v8::Object> instanceTemplate = wrapper->newLocal(info.GetIsolate()); in npObjectIndexedSetter()
/external/chromium_org/third_party/WebKit/Source/bindings/templates/
Dcallback_interface.cpp96 …return invokeCallback(m_callback.newLocal(isolate), {{this_handle_parameter}}{{method.arguments | …
98 …invokeCallback(m_callback.newLocal(isolate), {{this_handle_parameter}}{{method.arguments | length}…

123