Home
last modified time | relevance | path

Searched refs:Local (Results 1 – 25 of 751) sorted by relevance

12345678910>>...31

/external/dexmaker/src/main/java/com/google/dexmaker/
DCode.java195 private final Local<?> thisLocal;
201 private final List<Local<?>> parameters = new ArrayList<Local<?>>();
202 private final List<Local<?>> locals = new ArrayList<Local<?>>();
213 thisLocal = Local.get(this, method.declaringType); in Code()
217 parameters.add(Local.get(this, parameter)); in Code()
228 public <T> Local<T> newLocal(TypeId<T> type) { in newLocal()
232 Local<T> result = Local.get(this, type); in newLocal()
241 public <T> Local<T> getParameter(int index, TypeId<T> type) { in getParameter()
252 public <T> Local<T> getThis(TypeId<T> type) { in getThis()
260 private <T> Local<T> coerce(Local<?> local, TypeId<T> expectedType) { in coerce()
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DV8EventListener.cpp41 V8EventListener::V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scr… in V8EventListener()
47 v8::Local<v8::Function> V8EventListener::getListenerFunction(ExecutionContext*) in getListenerFunction()
49 v8::Local<v8::Object> listener = getListenerObject(scriptState()->executionContext()); in getListenerFunction()
53 return v8::Local<v8::Function>(); in getListenerFunction()
56 return v8::Local<v8::Function>::Cast(listener); in getListenerFunction()
60 v8::Local<v8::Value> property = listener->Get(v8AtomicString(isolate(), "handleEvent")); in getListenerFunction()
64 return v8::Local<v8::Function>::Cast(property); in getListenerFunction()
67 return v8::Local<v8::Function>(); in getListenerFunction()
70 v8::Local<v8::Value> V8EventListener::callListenerFunction(v8::Handle<v8::Value> jsEvent, Event* ev… in callListenerFunction()
72 … v8::Local<v8::Function> handlerFunction = getListenerFunction(scriptState()->executionContext()); in callListenerFunction()
[all …]
DV8NPObject.h42 void npObjectNamedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Val…
44 void npObjectGetNamedProperty(v8::Local<v8::Object> self, v8::Local<v8::String> name, const v8::Pro…
45 void npObjectGetIndexedProperty(v8::Local<v8::Object> self, uint32_t index, const v8::PropertyCallb…
48 void npObjectNamedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value>, const v8::Proper…
50 void npObjectSetNamedProperty(v8::Local<v8::Object> self, v8::Local<v8::String> name, v8::Local<v8:…
51 void npObjectSetIndexedProperty(v8::Local<v8::Object> self, uint32_t index, v8::Local<v8::Value>, c…
58 v8::Local<v8::Object> createV8ObjectForNPObject(NPObject*, NPObject* root, v8::Isolate*);
DV8LazyEventListener.cpp74 return v8::Local<v8::Object>::New(scriptState->isolate(), value.As<v8::Object>()); in toObjectWrapper()
77 v8::Local<v8::Value> V8LazyEventListener::callListenerFunction(v8::Handle<v8::Value> jsEvent, Event… in callListenerFunction()
79 v8::Local<v8::Object> listenerObject = getListenerObject(scriptState()->executionContext()); in callListenerFunction()
81 return v8::Local<v8::Value>(); in callListenerFunction()
83 v8::Local<v8::Function> handlerFunction = listenerObject.As<v8::Function>(); in callListenerFunction()
84 v8::Local<v8::Object> receiver = getReceiverObject(event); in callListenerFunction()
86 return v8::Local<v8::Value>(); in callListenerFunction()
89 return v8::Local<v8::Value>(); in callListenerFunction()
93 return v8::Local<v8::Value>(); in callListenerFunction()
96 return v8::Local<v8::Value>(); in callListenerFunction()
[all …]
DV8ScriptRunner.cpp53 v8::Local<v8::Value> throwStackOverflowExceptionIfNeeded(v8::Isolate* isolate) in throwStackOverflowExceptionIfNeeded()
61 …v8::Local<v8::Value> result = v8::Function::New(isolate, throwStackOverflowException)->Call(v8::Un… in throwStackOverflowExceptionIfNeeded()
66 v8::Local<v8::Script> compileAndProduceCache(v8::Isolate* isolate, v8::Handle<v8::String> code, v8:… in compileAndProduceCache()
69 v8::Local<v8::Script> script = v8::ScriptCompiler::Compile(isolate, &source, options); in compileAndProduceCache()
82 v8::Local<v8::Script> compileAndConsumeCache(v8::Isolate* isolate, v8::Handle<v8::String> code, v8:… in compileAndConsumeCache()
96 v8::Local<v8::Script> V8ScriptRunner::compileScript(const ScriptSourceCode& source, v8::Isolate* is… in compileScript()
101 v8::Local<v8::Script> V8ScriptRunner::compileScript(v8::Handle<v8::String> code, const String& file… in compileScript()
114 v8::Local<v8::Script> script; in compileScript()
163 v8::Local<v8::Value> V8ScriptRunner::runCompiledScript(v8::Handle<v8::Script> script, ExecutionCont… in runCompiledScript()
166 return v8::Local<v8::Value>(); in runCompiledScript()
[all …]
DV8WorkerGlobalScopeEventListener.cpp48 V8WorkerGlobalScopeEventListener::V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, … in V8WorkerGlobalScopeEventListener()
70 invokeEventHandler(event, v8::Local<v8::Value>::New(isolate(), jsEvent)); in handleEvent()
73 v8::Local<v8::Value> V8WorkerGlobalScopeEventListener::callListenerFunction(v8::Handle<v8::Value> j… in callListenerFunction()
75 … v8::Local<v8::Function> handlerFunction = getListenerFunction(scriptState()->executionContext()); in callListenerFunction()
76 v8::Local<v8::Object> receiver = getReceiverObject(event); in callListenerFunction()
78 return v8::Local<v8::Value>(); in callListenerFunction()
93 …v8::Local<v8::Value> result = V8ScriptRunner::callFunction(handlerFunction, scriptState()->executi… in callListenerFunction()
101 v8::Local<v8::Object> V8WorkerGlobalScopeEventListener::getReceiverObject(Event* event) in getReceiverObject()
103 v8::Local<v8::Object> listener = getListenerObject(scriptState()->executionContext()); in getReceiverObject()
111 return v8::Local<v8::Object>(); in getReceiverObject()
[all …]
DV8ScriptRunner.h47 …static v8::Local<v8::Script> compileScript(const ScriptSourceCode&, v8::Isolate*, AccessControlSta…
48 …static v8::Local<v8::Script> compileScript(v8::Handle<v8::String>, const String& fileName, const T…
49 …static v8::Local<v8::Value> runCompiledScript(v8::Handle<v8::Script>, ExecutionContext*, v8::Isola…
50 …static v8::Local<v8::Value> compileAndRunInternalScript(v8::Handle<v8::String>, v8::Isolate*, cons…
51 static v8::Local<v8::Value> runCompiledInternalScript(v8::Handle<v8::Script>, v8::Isolate*);
52 …static v8::Local<v8::Value> callInternalFunction(v8::Handle<v8::Function>, v8::Handle<v8::Value> r…
53 …static v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, ExecutionContext*, v8::Handle<v…
54 …static v8::Local<v8::Value> callAsFunction(v8::Isolate*, v8::Handle<v8::Object>, v8::Handle<v8::Va…
55 static v8::Local<v8::Object> instantiateObject(v8::Isolate*, v8::Handle<v8::ObjectTemplate>);
56 …static v8::Local<v8::Object> instantiateObject(v8::Isolate*, v8::Handle<v8::Function>, int argc = …
[all …]
DV8ErrorHandler.cpp45 V8ErrorHandler::V8ErrorHandler(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptSt… in V8ErrorHandler()
50 v8::Local<v8::Value> V8ErrorHandler::callListenerFunction(v8::Handle<v8::Value> jsEvent, Event* eve… in callListenerFunction()
60 v8::Local<v8::Object> listener = getListenerObject(scriptState()->executionContext()); in callListenerFunction()
61 v8::Local<v8::Value> returnValue; in callListenerFunction()
63 v8::Local<v8::Function> callFunction = v8::Local<v8::Function>::Cast(listener); in callListenerFunction()
64 v8::Local<v8::Object> thisValue = scriptState()->context()->Global(); in callListenerFunction()
66 …v8::Local<v8::Value> error = V8HiddenValue::getHiddenValue(isolate(), jsEvent->ToObject(), V8Hidde… in callListenerFunction()
84 v8::Local<v8::Value> wrappedEvent = toV8(event, creationContext, isolate); in storeExceptionOnErrorEventWrapper()
87 …V8HiddenValue::setHiddenValue(isolate, v8::Local<v8::Object>::Cast(wrappedEvent), V8HiddenValue::e… in storeExceptionOnErrorEventWrapper()
91 bool V8ErrorHandler::shouldPreventDefault(v8::Local<v8::Value> returnValue) in shouldPreventDefault()
/external/chromium_org/v8/test/cctest/
Dtest-decls.cc57 Local<Context> context = Local<Context>::New(isolate, context_); in ~DeclarationContext()
66 v8::Handle<Value> value = Local<Value>());
73 virtual v8::Handle<Value> Get(Local<String> key);
74 virtual v8::Handle<Value> Set(Local<String> key, Local<Value> value);
75 virtual v8::Handle<Integer> Query(Local<String> key);
85 virtual Local<ObjectTemplate> GetHolder(Local<FunctionTemplate> function) { in GetHolder()
91 static void HandleGet(Local<String> key,
93 static void HandleSet(Local<String> key,
94 Local<Value> value,
96 static void HandleQuery(Local<String> key,
[all …]
Dtest-javascript-arm64.cc49 using ::v8::Local;
63 static void ExpectBoolean(bool expected, Local<Value> result) { in ExpectBoolean()
69 static void ExpectInt32(int32_t expected, Local<Value> result) { in ExpectInt32()
75 static void ExpectNumber(double expected, Local<Value> result) { in ExpectNumber()
81 static void ExpectUndefined(Local<Value> result) { in ExpectUndefined()
91 Local<Value> result = CompileRun("0x271828;"); in TEST()
99 Local<Value> result = CompileRun("var my_global_var = 0x123; my_global_var;"); in TEST()
107 Local<Value> result = CompileRun( in TEST()
117 Local<Value> result = CompileRun( in TEST()
139 Local<Value> result = CompileRun(buffer); in if_comparison_testcontext_helper()
[all …]
Dtest-api.cc65 using ::v8::Local;
94 v8::Local<v8::String> profile_name = in RunWithProfiler()
105 static Local<Value> signature_expected_receiver;
151 Local<Context> local_env; in THREADED_TEST()
166 Local<Script> script = v8_compile(source); in THREADED_TEST()
188 static void TestSignature(const char* loop_js, Local<Value> receiver) { in TestSignature()
219 isolate, IncrementingSignatureCallback, Local<Value>(), sig); in THREADED_TEST()
234 Local<Value> fun_instance = fun->InstanceTemplate()->NewInstance(); in THREADED_TEST()
235 Local<Value> sub_fun_instance = sub_fun->InstanceTemplate()->NewInstance(); in THREADED_TEST()
269 Local<Value> test_object = CompileRun(source.start()); in THREADED_TEST()
[all …]
Dcctest.h145 static v8::Local<v8::Object> global() { in global()
164 static v8::Local<v8::Context> NewContext(
296 v8::Local<v8::Context>::New(isolate_, context_)->Exit(); in ~LocalContext()
306 v8::Local<v8::Context> local() { in local()
307 return v8::Local<v8::Context>::New(isolate_, context_); in local()
316 v8::Local<v8::Context> context = v8::Context::New(isolate, in Initialize()
339 static inline v8::Local<v8::Value> v8_num(double x) { in v8_num()
344 static inline v8::Local<v8::String> v8_str(const char* x) { in v8_str()
349 static inline v8::Local<v8::Script> v8_compile(const char* x) { in v8_compile()
354 static inline v8::Local<v8::Script> v8_compile(v8::Local<v8::String> x) { in v8_compile()
[all …]
Dtest-js-arm64-variables.cc51 using ::v8::Local;
65 static void ExpectInt32(int32_t expected, Local<Value> result) { in ExpectInt32()
75 Local<Value> result = CompileRun( in TEST()
87 Local<Value> result = CompileRun( in TEST()
98 Local<Value> result = CompileRun( in TEST()
109 Local<Value> result = CompileRun( in TEST()
123 Local<Value> result = CompileRun( in TEST()
137 Local<Value> result = CompileRun( in TEST()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
DV8InspectorFrontendHostCustom.cpp63 static bool populateContextMenuItems(const v8::Local<v8::Array>& itemArray, ContextMenu& menu, v8::… in populateContextMenuItems()
66 v8::Local<v8::Object> item = v8::Local<v8::Object>::Cast(itemArray->Get(i)); in populateContextMenuItems()
67 v8::Local<v8::Value> type = item->Get(v8AtomicString(isolate, "type")); in populateContextMenuItems()
68 v8::Local<v8::Value> id = item->Get(v8AtomicString(isolate, "id")); in populateContextMenuItems()
69 v8::Local<v8::Value> label = item->Get(v8AtomicString(isolate, "label")); in populateContextMenuItems()
70 v8::Local<v8::Value> enabled = item->Get(v8AtomicString(isolate, "enabled")); in populateContextMenuItems()
71 v8::Local<v8::Value> checked = item->Get(v8AtomicString(isolate, "checked")); in populateContextMenuItems()
72 v8::Local<v8::Value> subItems = item->Get(v8AtomicString(isolate, "subItems")); in populateContextMenuItems()
83 v8::Local<v8::Array> subItemsArray = v8::Local<v8::Array>::Cast(subItems); in populateContextMenuItems()
111 v8::Local<v8::Object> eventWrapper = v8::Local<v8::Object>::Cast(info[0]); in showContextMenuMethodCustom()
[all …]
DV8HTMLPlugInElementCustom.cpp57 v8::Local<v8::Object> instance = wrapper->newLocal(info.GetIsolate()); in getScriptableObjectProperty()
61 TONATIVE_VOID(v8::Local<v8::Value>, value, instance->Get(property)); in getScriptableObjectProperty()
72 void callNpObjectSetter(v8::Local<v8::Object> self, v8::Local<v8::String> name, v8::Local<v8::Value… in callNpObjectSetter()
77 void callNpObjectSetter(v8::Local<v8::Object> self, uint32_t index, v8::Local<v8::Value> value, con… in callNpObjectSetter()
84 void setScriptableObjectProperty(PropertyType property, v8::Local<v8::Value> value, const v8::Prope… in setScriptableObjectProperty()
91 v8::Local<v8::Object> instance = wrapper->newLocal(info.GetIsolate()); in setScriptableObjectProperty()
117 void V8HTMLAppletElement::namedPropertyGetterCustom(v8::Local<v8::String> name, const v8::PropertyC… in namedPropertyGetterCustom()
122 void V8HTMLEmbedElement::namedPropertyGetterCustom(v8::Local<v8::String> name, const v8::PropertyCa… in namedPropertyGetterCustom()
127 void V8HTMLObjectElement::namedPropertyGetterCustom(v8::Local<v8::String> name, const v8::PropertyC… in namedPropertyGetterCustom()
132 void V8HTMLAppletElement::namedPropertySetterCustom(v8::Local<v8::String> name, v8::Local<v8::Value… in namedPropertySetterCustom()
[all …]
/external/chromium_org/extensions/renderer/
Dsafe_builtins.cc124 v8::Local<v8::String> MakeKey(const char* name, v8::Isolate* isolate) { in MakeKey()
130 v8::Local<v8::Value> value, in SaveImpl()
131 v8::Local<v8::Context> context) { in SaveImpl()
137 v8::Local<v8::Object> Load(const char* name, v8::Handle<v8::Context> context) { in Load()
138 v8::Local<v8::Value> value = in Load()
166 v8::Local<v8::Function> function = info[0].As<v8::Function>(); in Apply()
167 v8::Local<v8::Object> recv; in Apply()
179 v8::Local<v8::Object> args = info[2]->ToObject(); in Apply()
184 scoped_ptr<v8::Local<v8::Value> []> argv(new v8::Local<v8::Value>[argc]); in Apply()
190 v8::Local<v8::Value> return_value = function->Call(recv, argc, argv.get()); in Apply()
[all …]
Dsafe_builtins.h31 v8::Local<v8::Object> GetArray() const;
32 v8::Local<v8::Object> GetFunction() const;
33 v8::Local<v8::Object> GetJSON() const;
36 v8::Local<v8::Object> GetObjekt() const;
37 v8::Local<v8::Object> GetRegExp() const;
38 v8::Local<v8::Object> GetString() const;
39 v8::Local<v8::Object> GetError() const;
/external/chromium_org/v8/include/
Dv8.h102 template <class T> class Local; variable
303 template<class F> friend class Local; variable
334 template <class T> class Local : public Handle<T> {
336 V8_INLINE Local();
337 template <class S> V8_INLINE Local(Local<S> that) in Local() function
348 template <class S> V8_INLINE static Local<T> Cast(Local<S> that) { in Cast()
352 if (that.IsEmpty()) return Local<T>(); in Cast()
354 return Local<T>(T::Cast(*that)); in Cast()
356 template <class S> V8_INLINE Local(Handle<S> that) in Local() function
361 template <class S> V8_INLINE Local<S> As() { in As()
[all …]
/external/oprofile/events/x86-64/hammer/
Dunit_masks125 0xa1 Requests Local I/O to Local I/O
126 0xa2 Requests Local I/O to Local Memory
127 0xa3 Requests Local I/O to Local (I/O or Mem)
128 0xa4 Requests Local CPU to Local I/O
129 0xa5 Requests Local (CPU or I/O) to Local I/O
130 0xa8 Requests Local CPU to Local Memory
131 0xaa Requests Local (CPU or I/O) to Local Memory
132 0xac Requests Local CPU to Local (I/O or Mem)
133 0xaf Requests Local (CPU or I/O) to Local (I/O or Mem)
134 0x91 Requests Local I/O to Remote I/O
[all …]
/external/chromium_org/third_party/skia/experimental/SkV8Example/
DBaseContext.h53 static void GetStyle(Local<String> name,
56 static void SetStyle(Local<String> name, Local<Value> value,
60 static void GetFillStyle(Local<String> name,
62 static void SetFillStyle(Local<String> name, Local<Value> value,
64 static void GetStrokeStyle(Local<String> name,
66 static void SetStrokeStyle(Local<String> name, Local<Value> value,
68 static void GetWidth(Local<String> name,
70 static void GetHeight(Local<String> name,
/external/skia/experimental/SkV8Example/
DBaseContext.h53 static void GetStyle(Local<String> name,
56 static void SetStyle(Local<String> name, Local<Value> value,
60 static void GetFillStyle(Local<String> name,
62 static void SetFillStyle(Local<String> name, Local<Value> value,
64 static void GetStrokeStyle(Local<String> name,
66 static void SetStrokeStyle(Local<String> name, Local<Value> value,
68 static void GetWidth(Local<String> name,
70 static void GetHeight(Local<String> name,
/external/oprofile/events/x86-64/family11h/
Dunit_masks131 0xa1 Requests Local I/O to Local I/O
132 0xa2 Requests Local I/O to Local Memory
133 0xa3 Requests Local I/O to Local (I/O or Mem)
134 0xa4 Requests Local CPU to Local I/O
135 0xa5 Requests Local (CPU or I/O) to Local I/O
136 0xa8 Requests Local CPU to Local Memory
137 0xaa Requests Local (CPU or I/O) to Local Memory
138 0xac Requests Local CPU to Local (I/O or Mem)
139 0xaf Requests Local (CPU or I/O) to Local (I/O or Mem)
140 0x91 Requests Local I/O to Remote I/O
[all …]
/external/chromium_org/v8/src/
Dapi.h184 static Local<FunctionTemplate> ToFunctionTemplate(NeanderObject obj);
185 static Local<ObjectTemplate> ToObjectTemplate(NeanderObject obj);
187 static inline Local<Context> ToLocal(
189 static inline Local<Value> ToLocal(
191 static inline Local<Function> ToLocal(
193 static inline Local<Name> ToLocal(
195 static inline Local<String> ToLocal(
197 static inline Local<Symbol> ToLocal(
199 static inline Local<RegExp> ToLocal(
201 static inline Local<Object> ToLocal(
[all …]
/external/chromium_org/v8/test/mjsunit/
Ddebug-scopes.js132 if (scopes[i] == debug.ScopeType.Local ||
195 if (scope.scopeType() == debug.ScopeType.Local ||
217 CheckScopeChain([debug.ScopeType.Local,
233 CheckScopeChain([debug.ScopeType.Local,
250 CheckScopeChain([debug.ScopeType.Local,
268 CheckScopeChain([debug.ScopeType.Local,
285 CheckScopeChain([debug.ScopeType.Local,
302 CheckScopeChain([debug.ScopeType.Local,
323 CheckScopeChain([debug.ScopeType.Local,
342 debug.ScopeType.Local,
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
DV8TestInterface.cpp58 static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::Property… in testInterfaceAttributeAttributeGetterCallback()
65 static void testInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyC… in testInterfaceAttributeAttributeSetter()
79 static void testInterfaceAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Valu… in testInterfaceAttributeAttributeSetterCallback()
93 static void doubleAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbac… in doubleAttributeAttributeGetterCallback()
100 static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallback… in doubleAttributeAttributeSetter()
114 static void doubleAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Va… in doubleAttributeAttributeSetterCallback()
128 static void floatAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallback… in floatAttributeAttributeGetterCallback()
135 static void floatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackI… in floatAttributeAttributeSetter()
149 static void floatAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Val… in floatAttributeAttributeSetterCallback()
163 static void unrestrictedDoubleAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::Pro… in unrestrictedDoubleAttributeAttributeGetterCallback()
[all …]

12345678910>>...31