Searched refs:Handle (Results 1 - 25 of 1265) sorted by relevance

1234567891011>>

/external/chromium_org/v8/src/ic/
H A Dcall-optimization.h18 explicit CallOptimization(Handle<JSFunction> function);
22 Handle<JSFunction> constant_function() const {
29 Handle<FunctionTemplateInfo> expected_receiver_type() const {
34 Handle<CallHandlerInfo> api_call_info() const {
40 Handle<JSObject> LookupHolderOfExpectedType(
41 Handle<Map> receiver_map, HolderLookup* holder_lookup) const;
44 bool IsCompatibleReceiver(Handle<Object> receiver,
45 Handle<JSObject> holder) const;
48 void Initialize(Handle<JSFunction> function);
52 void AnalyzePossibleApiFunction(Handle<JSFunctio
[all...]
H A Dhandler-compiler.h20 static Handle<Code> Find(Handle<Name> name, Handle<Map> map, Code::Kind kind,
25 Handle<HeapType> type, Handle<JSObject> holder,
33 virtual Register FrontendHeader(Register object_reg, Handle<Name> name,
39 virtual void FrontendFooter(Handle<Name> name, Label* miss) { UNREACHABLE(); }
41 Register Frontend(Register object_reg, Handle<Name> name);
42 void NonexistentFrontendHeader(Handle<Name> name, Label* miss,
48 Handle<Ma
[all...]
H A Dic-compiler.h24 static Handle<Code> ComputeLoad(Isolate* isolate, InlineCacheState ic_state,
26 static Handle<Code> ComputeStore(Isolate* isolate, InlineCacheState ic_state,
29 static Handle<Code> ComputeMonomorphic(Code::Kind kind, Handle<Name> name,
30 Handle<HeapType> type,
31 Handle<Code> handler,
33 static Handle<Code> ComputePolymorphic(Code::Kind kind, TypeHandleList* types,
36 Handle<Name> name,
40 static Handle<Code> ComputeKeyedLoadMonomorphic(Handle<Ma
[all...]
H A Dcall-optimization.cc13 CallOptimization::CallOptimization(Handle<JSFunction> function) {
18 Handle<JSObject> CallOptimization::LookupHolderOfExpectedType(
19 Handle<Map> object_map, HolderLookup* holder_lookup) const {
23 return Handle<JSObject>::null();
28 return Handle<JSObject>::null();
32 Handle<JSObject> prototype(JSObject::cast(object_map->prototype()));
41 return Handle<JSObject>::null();
45 bool CallOptimization::IsCompatibleReceiver(Handle<Object> receiver,
46 Handle<JSObject> holder) const {
49 Handle<Ma
[all...]
/external/chromium_org/v8/src/
H A Dtype-feedback-vector.cc14 Handle<TypeFeedbackVector> TypeFeedbackVector::Copy(
15 Isolate* isolate, Handle<TypeFeedbackVector> vector) {
16 Handle<TypeFeedbackVector> result;
17 result = Handle<TypeFeedbackVector>::cast(
18 isolate->factory()->CopyFixedArray(Handle<FixedArray>::cast(vector)));
H A Dfactory.h17 Handle<Oddball> NewOddball(Handle<Map> map,
19 Handle<Object> to_number,
23 Handle<FixedArray> NewFixedArray(
28 Handle<FixedArray> NewFixedArrayWithHoles(
33 Handle<FixedArray> NewUninitializedFixedArray(int size);
38 Handle<FixedArrayBase> NewFixedDoubleArray(
43 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles(
47 Handle<ConstantPoolArray> NewConstantPoolArray(
50 Handle<ConstantPoolArra
[all...]
H A Dd8-windows.cc11 void Shell::AddOSMethods(Isolate* isolate, Handle<ObjectTemplate> os_templ) {
H A Dcompilation-cache.h30 Handle<CompilationCacheTable> GetTable(int generation);
33 Handle<CompilationCacheTable> GetFirstTable() {
36 void SetFirstTable(Handle<CompilationCacheTable> value) {
53 void Remove(Handle<SharedFunctionInfo> function_info);
75 Handle<SharedFunctionInfo> Lookup(Handle<String> source,
76 Handle<Object> name,
80 Handle<Context> context);
81 void Put(Handle<String> source,
82 Handle<Contex
[all...]
H A Di18n.h25 static Handle<ObjectTemplateInfo> GetTemplate(Isolate* isolate);
28 static Handle<ObjectTemplateInfo> GetTemplate2(Isolate* isolate);
41 Handle<String> locale,
42 Handle<JSObject> options,
43 Handle<JSObject> resolved);
47 Handle<JSObject> obj);
65 Handle<String> locale,
66 Handle<JSObject> options,
67 Handle<JSObject> resolved);
71 Handle<JSObjec
[all...]
H A Dallocation-site-scopes.h25 Handle<AllocationSite> top() { return top_; }
26 Handle<AllocationSite> current() { return current_; }
28 bool ShouldCreateMemento(Handle<JSObject> object) { return false; }
37 void InitializeTraversal(Handle<AllocationSite> site) {
39 current_ = Handle<AllocationSite>(*top_, isolate());
44 Handle<AllocationSite> top_;
45 Handle<AllocationSite> current_;
56 Handle<AllocationSite> EnterNewScope();
57 void ExitScope(Handle<AllocationSite> site, Handle<JSObjec
[all...]
H A Dliveedit.h48 void RecordFunctionInfo(Handle<SharedFunctionInfo> info,
50 void RecordRootFunctionInfo(Handle<Code> code);
82 Handle<Script> script,
83 Handle<String> source);
85 static void WrapSharedFunctionInfos(Handle<JSArray> array);
87 static void ReplaceFunctionCode(Handle<JSArray> new_compile_info_array,
88 Handle<JSArray> shared_info_array);
90 static void FunctionSourceUpdated(Handle<JSArray> shared_info_array);
93 static void SetFunctionScript(Handle<JSValue> function_wrapper,
94 Handle<Objec
[all...]
H A Dfactory.cc18 Handle<T> Factory::New(Handle<Map> map, AllocationSpace space) {
27 Handle<T> Factory::New(Handle<Map> map,
29 Handle<AllocationSite> allocation_site) {
37 Handle<HeapObject> Factory::NewFillerObject(int size,
47 Handle<Box> Factory::NewBox(Handle<Object> value) {
48 Handle<Box> result = Handle<Bo
[all...]
H A Dtype-feedback-vector.h25 static Handle<TypeFeedbackVector> Copy(Isolate* isolate,
26 Handle<TypeFeedbackVector> vector);
29 static inline Handle<Object> UninitializedSentinel(Isolate* isolate);
32 static inline Handle<Object> MegamorphicSentinel(Isolate* isolate);
35 static inline Handle<Object> PremonomorphicSentinel(Isolate* isolate);
38 static inline Handle<Object> GenericSentinel(Isolate* isolate);
42 static inline Handle<Object> MonomorphicArraySentinel(
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimationTestHelper.h13 v8::Handle<v8::Value> stringToV8Value(String);
15 v8::Handle<v8::Value> doubleToV8Value(double);
17 void setV8ObjectPropertyAsString(v8::Handle<v8::Object>, String, String);
19 void setV8ObjectPropertyAsNumber(v8::Handle<v8::Object>, String, double);
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Dshared_memory.h34 typedef HANDLE Handle; typedef in class:webrtc::SharedMemory
35 static const Handle kInvalidHandle;
37 typedef int Handle;
38 static const Handle kInvalidHandle;
45 Handle handle() const { return handle_; }
54 SharedMemory(void* data, size_t size, Handle handle, int id);
58 const Handle handle_;
H A Dshared_memory.cc16 const SharedMemory::Handle SharedMemory::kInvalidHandle = NULL;
18 const SharedMemory::Handle SharedMemory::kInvalidHandle = -1;
21 SharedMemory::SharedMemory(void* data, size_t size, Handle handle, int id)
/external/chromium_org/gin/
H A Dconverter.cc13 using v8::Handle;
23 Handle<Value> Converter<bool>::ToV8(Isolate* isolate, bool val) {
27 bool Converter<bool>::FromV8(Isolate* isolate, Handle<Value> val, bool* out) {
32 Handle<Value> Converter<int32_t>::ToV8(Isolate* isolate, int32_t val) {
36 bool Converter<int32_t>::FromV8(Isolate* isolate, Handle<Value> val,
44 Handle<Value> Converter<uint32_t>::ToV8(Isolate* isolate, uint32_t val) {
48 bool Converter<uint32_t>::FromV8(Isolate* isolate, Handle<Value> val,
56 Handle<Value> Converter<int64_t>::ToV8(Isolate* isolate, int64_t val) {
60 bool Converter<int64_t>::FromV8(Isolate* isolate, Handle<Value> val,
70 Handle<Valu
[all...]
H A Dhandle.h12 // You can use gin::Handle on the stack to retain a gin::Wrappable object.
17 class Handle { class in namespace:gin
19 Handle() : object_(NULL) {} function in class:gin::Handle
21 Handle(v8::Handle<v8::Value> wrapper, T* object) function in class:gin::Handle
34 v8::Handle<v8::Value> ToV8() const { return wrapper_; }
38 v8::Handle<v8::Value> wrapper_;
43 struct Converter<gin::Handle<T> > {
44 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
45 const gin::Handle<
[all...]
/external/chromium_org/mojo/public/cpp/utility/
H A Drun_loop_handler.h16 virtual void OnHandleReady(const Handle& handle) = 0;
17 virtual void OnHandleError(const Handle& handle, MojoResult result) = 0;
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DHandleOwner.java7 import org.chromium.mojo.system.Handle;
16 public interface HandleOwner<H extends Handle> extends Closeable {
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DPrivateScriptRunner.h19 static v8::Handle<v8::Value> installClassIfNeeded(LocalFrame*, String className);
20 static v8::Handle<v8::Value> runDOMAttributeGetter(ScriptState*, ScriptState* scriptStateInUserScript, const char* className, const char* attributeName, v8::Handle<v8::Value> holder);
21 static bool runDOMAttributeSetter(ScriptState*, ScriptState* scriptStateInUserScript, const char* className, const char* attributeName, v8::Handle<v8::Value> holder, v8::Handle<v8::Value> v8Value);
22 static v8::Handle<v8::Value> runDOMMethod(ScriptState*, ScriptState* scriptStateInUserScript, const char* className, const char* methodName, v8::Handle<v8::Value> holder, int argc, v8::Handle<v8::Value> argv[]);
H A DV8ThrowException.h36 static v8::Handle<v8::Value> createDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
40 static v8::Handle<v8::Value> createDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext, v8::Isolate*);
42 static v8::Handle<v8::Value> throwDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
46 static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext, v8::Isolate*);
48 static v8::Handle<v8::Value> throwException(v8::Handle<v
[all...]
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
H A Dcache.h41 struct Handle { }; struct in class:leveldb::Cache
52 virtual Handle* Insert(const Slice& key, void* value, size_t charge,
60 virtual Handle* Lookup(const Slice& key) = 0;
65 virtual void Release(Handle* handle) = 0;
71 virtual void* Value(Handle* handle) = 0;
85 void LRU_Remove(Handle* e);
86 void LRU_Append(Handle* e);
87 void Unref(Handle* e);
/external/chromium_org/mojo/bindings/js/
H A Dhandle.h17 // Wrapper for mojo Handles exposed to JavaScript. This ensures the Handle
23 static gin::Handle<HandleWrapper> Create(v8::Isolate* isolate,
28 mojo::Handle get() const { return handle_.get(); }
29 mojo::Handle release() { return handle_.release(); }
47 // TODO(mpcomplete): define converters for all Handle subtypes.
49 struct Converter<mojo::Handle> {
50 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
51 const mojo::Handle& val);
52 static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
53 mojo::Handle* ou
[all...]
/external/chromium_org/v8/include/
H A Dv8-debug.h64 virtual Handle<Object> GetExecutionState() const = 0;
65 virtual Handle<Object> GetEventData() const = 0;
70 virtual Handle<String> GetJSON() const = 0;
77 virtual Handle<Context> GetEventContext() const = 0;
108 virtual Handle<Object> GetExecutionState() const = 0;
109 virtual Handle<Object> GetEventData() const = 0;
116 virtual Handle<Context> GetEventContext() const = 0;
122 virtual Handle<Value> GetCallbackData() const = 0;
160 Handle<Value> data = Handle<Valu
[all...]

Completed in 687 milliseconds

1234567891011>>