Home
last modified time | relevance | path

Searched refs:Handle (Results 1 – 25 of 1566) sorted by relevance

12345678910>>...63

/external/chromium_org/v8/src/
Dfactory.h43 Handle<Box> NewBox(
44 Handle<Object> value,
48 Handle<FixedArray> NewFixedArray(
53 Handle<FixedArray> NewFixedArrayWithHoles(
58 Handle<FixedDoubleArray> NewFixedDoubleArray(
62 Handle<ConstantPoolArray> NewConstantPoolArray(
67 Handle<SeededNumberDictionary> NewSeededNumberDictionary(
70 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary(
73 Handle<NameDictionary> NewNameDictionary(int at_least_space_for);
75 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for);
[all …]
Dstub-cache.h80 Handle<JSObject> StubHolder(Handle<JSObject> receiver,
81 Handle<JSObject> holder);
83 Handle<Code> FindIC(Handle<Name> name,
84 Handle<Map> stub_holder_map,
89 Handle<Code> FindHandler(Handle<Name> name,
90 Handle<Map> map,
94 Handle<Code> ComputeMonomorphicIC(Handle<Name> name,
95 Handle<Type> type,
96 Handle<Code> handler,
99 Handle<Code> ComputeLoadNonexistent(Handle<Name> name, Handle<Type> type);
[all …]
Dhandles.h45 class Handle {
47 INLINE(explicit Handle(T** location)) { location_ = location; } in INLINE()
48 INLINE(explicit Handle(T* obj));
49 INLINE(Handle(T* obj, Isolate* isolate));
51 INLINE(Handle()) : location_(NULL) {} in INLINE() argument
55 template <class S> Handle(Handle<S> handle) { in Handle() function
68 INLINE(bool is_identical_to(const Handle<T> other) const);
76 template <class S> static Handle<T> cast(Handle<S> that) { in cast()
78 return Handle<T>(reinterpret_cast<T**>(that.location_)); in cast()
81 static Handle<T> null() { return Handle<T>(); } in null()
[all …]
Dcompilation-cache.h53 Handle<CompilationCacheTable> GetTable(int generation);
56 Handle<CompilationCacheTable> GetFirstTable() { in GetFirstTable()
59 void SetFirstTable(Handle<CompilationCacheTable> value) { in SetFirstTable()
76 void Remove(Handle<SharedFunctionInfo> function_info);
98 Handle<SharedFunctionInfo> Lookup(Handle<String> source,
99 Handle<Object> name,
103 Handle<Context> context);
104 void Put(Handle<String> source,
105 Handle<Context> context,
106 Handle<SharedFunctionInfo> function_info);
[all …]
Dfactory.cc45 Handle<Box> Factory::NewBox(Handle<Object> value, PretenureFlag pretenure) { in NewBox()
53 Handle<FixedArray> Factory::NewFixedArray(int size, PretenureFlag pretenure) { in NewFixedArray()
62 Handle<FixedArray> Factory::NewFixedArrayWithHoles(int size, in NewFixedArrayWithHoles()
72 Handle<FixedDoubleArray> Factory::NewFixedDoubleArray(int size, in NewFixedDoubleArray()
82 Handle<ConstantPoolArray> Factory::NewConstantPoolArray( in NewConstantPoolArray()
97 Handle<NameDictionary> Factory::NewNameDictionary(int at_least_space_for) { in NewNameDictionary()
106 Handle<SeededNumberDictionary> Factory::NewSeededNumberDictionary( in NewSeededNumberDictionary()
116 Handle<UnseededNumberDictionary> Factory::NewUnseededNumberDictionary( in NewUnseededNumberDictionary()
126 Handle<ObjectHashSet> Factory::NewObjectHashSet(int at_least_space_for) { in NewObjectHashSet()
135 Handle<ObjectHashTable> Factory::NewObjectHashTable( in NewObjectHashTable()
[all …]
Dexecution.h66 static Handle<Object> Call(Isolate* isolate,
67 Handle<Object> callable,
68 Handle<Object> receiver,
70 Handle<Object> argv[],
81 static Handle<Object> New(Handle<JSFunction> func,
83 Handle<Object> argv[],
90 static Handle<Object> TryCall(Handle<JSFunction> func,
91 Handle<Object> receiver,
93 Handle<Object> argv[],
97 static Handle<Object> ToNumber(
[all …]
Dcompilation-cache.cc68 static Handle<CompilationCacheTable> AllocateTable(Isolate* isolate, int size) { in AllocateTable()
75 Handle<CompilationCacheTable> CompilationSubCache::GetTable(int generation) { in GetTable()
77 Handle<CompilationCacheTable> result; in GetTable()
84 result = Handle<CompilationCacheTable>(table, isolate()); in GetTable()
121 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) { in Remove()
126 Handle<CompilationCacheTable> table = GetTable(generation); in Remove()
144 Handle<SharedFunctionInfo> function_info, in HasOrigin()
145 Handle<Object> name, in HasOrigin()
149 Handle<Script> script = in HasOrigin()
150 Handle<Script>(Script::cast(function_info->script()), isolate()); in HasOrigin()
[all …]
Dstub-cache.cc102 Handle<Code> StubCache::FindIC(Handle<Name> name, in FindIC()
103 Handle<Map> stub_holder, in FindIC()
109 Handle<Object> probe(stub_holder->FindInCodeCache(*name, flags), isolate_); in FindIC()
110 if (probe->IsCode()) return Handle<Code>::cast(probe); in FindIC()
111 return Handle<Code>::null(); in FindIC()
115 Handle<Code> StubCache::FindHandler(Handle<Name> name, in FindHandler()
116 Handle<Map> stub_holder, in FindHandler()
122 Handle<Object> probe(stub_holder->FindInCodeCache(*name, flags), isolate_); in FindHandler()
123 if (probe->IsCode()) return Handle<Code>::cast(probe); in FindHandler()
124 return Handle<Code>::null(); in FindHandler()
[all …]
Dbootstrapper.cc78 Handle<String> Bootstrapper::NativesSourceLookup(int index) { in NativesSourceLookup()
88 Handle<String> source_code = in NativesSourceLookup()
92 Handle<Object> cached_source(heap->natives_source_cache()->get(index), in NativesSourceLookup()
94 return Handle<String>::cast(cached_source); in NativesSourceLookup()
155 Handle<Object> global_object,
156 v8::Handle<v8::ObjectTemplate> global_template,
164 Handle<Context> result() { return result_; } in result()
167 Handle<Context> native_context() { return native_context_; } in native_context()
172 Handle<JSFunction> CreateEmptyFunction(Isolate* isolate);
174 Handle<JSFunction> GetThrowTypeErrorFunction();
[all …]
Dic.h99 void UpdateState(Handle<Object> receiver, Handle<Object> name);
114 bool IsUndeclaredGlobal(Handle<Object> receiver) { in IsUndeclaredGlobal()
152 static inline Handle<Map> GetCodeCacheHolder(InlineCacheHolderFlag flag,
166 static Handle<Map> TypeToMap(Type* type, Isolate* isolate);
167 static Type* MapToType(Handle<Map> type);
168 static Handle<Type> CurrentTypeOf(Handle<Object> object, Isolate* isolate);
172 Handle<Code> target() const { return target_; } in target()
195 void TraceIC(const char* type, Handle<Object> name);
199 Handle<Object> object,
200 Handle<Object> key);
[all …]
Dliveedit.h71 void RecordFunctionInfo(Handle<SharedFunctionInfo> info,
73 void RecordRootFunctionInfo(Handle<Code> code);
87 static JSArray* GatherCompileInfo(Handle<Script> script,
88 Handle<String> source);
90 static void WrapSharedFunctionInfos(Handle<JSArray> array);
93 Handle<JSArray> new_compile_info_array,
94 Handle<JSArray> shared_info_array);
96 static MaybeObject* FunctionSourceUpdated(Handle<JSArray> shared_info_array);
99 static void SetFunctionScript(Handle<JSValue> function_wrapper,
100 Handle<Object> script_handle);
[all …]
/external/v8/src/
Dfactory.h43 Handle<FixedArray> NewFixedArray(
48 Handle<FixedArray> NewFixedArrayWithHoles(
53 Handle<FixedDoubleArray> NewFixedDoubleArray(
57 Handle<SeededNumberDictionary> NewSeededNumberDictionary(
60 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary(
63 Handle<StringDictionary> NewStringDictionary(int at_least_space_for);
65 Handle<ObjectHashSet> NewObjectHashSet(int at_least_space_for);
67 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for);
69 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors);
70 Handle<DeoptimizationInputData> NewDeoptimizationInputData(
[all …]
Dstub-cache.h80 Handle<Code> ComputeLoadNonexistent(Handle<String> name,
81 Handle<JSObject> receiver);
83 Handle<Code> ComputeLoadField(Handle<String> name,
84 Handle<JSObject> receiver,
85 Handle<JSObject> holder,
88 Handle<Code> ComputeLoadCallback(Handle<String> name,
89 Handle<JSObject> receiver,
90 Handle<JSObject> holder,
91 Handle<AccessorInfo> callback);
93 Handle<Code> ComputeLoadConstant(Handle<String> name,
[all …]
Dhandles.h44 class Handle {
46 INLINE(explicit Handle(T** location)) { location_ = location; } in INLINE()
47 INLINE(explicit Handle(T* obj));
48 INLINE(Handle(T* obj, Isolate* isolate));
50 INLINE(Handle()) : location_(NULL) {} in INLINE() argument
54 template <class S> Handle(Handle<S> handle) { in Handle() function
67 bool is_identical_to(const Handle<T> other) const { in is_identical_to()
81 template <class S> static Handle<T> cast(Handle<S> that) { in cast()
83 return Handle<T>(reinterpret_cast<T**>(that.location())); in cast()
86 static Handle<T> null() { return Handle<T>(); } in null()
[all …]
Dfactory.cc43 Handle<FixedArray> Factory::NewFixedArray(int size, PretenureFlag pretenure) { in NewFixedArray()
52 Handle<FixedArray> Factory::NewFixedArrayWithHoles(int size, in NewFixedArrayWithHoles()
62 Handle<FixedDoubleArray> Factory::NewFixedDoubleArray(int size, in NewFixedDoubleArray()
72 Handle<StringDictionary> Factory::NewStringDictionary(int at_least_space_for) { in NewStringDictionary()
80 Handle<SeededNumberDictionary> Factory::NewSeededNumberDictionary( in NewSeededNumberDictionary()
89 Handle<UnseededNumberDictionary> Factory::NewUnseededNumberDictionary( in NewUnseededNumberDictionary()
98 Handle<ObjectHashSet> Factory::NewObjectHashSet(int at_least_space_for) { in NewObjectHashSet()
106 Handle<ObjectHashTable> Factory::NewObjectHashTable(int at_least_space_for) { in NewObjectHashTable()
114 Handle<DescriptorArray> Factory::NewDescriptorArray(int number_of_descriptors) { in NewDescriptorArray()
122 Handle<DeoptimizationInputData> Factory::NewDeoptimizationInputData( in NewDeoptimizationInputData()
[all …]
Dcompilation-cache.h53 Handle<CompilationCacheTable> GetTable(int generation);
56 Handle<CompilationCacheTable> GetFirstTable() { in GetFirstTable()
59 void SetFirstTable(Handle<CompilationCacheTable> value) { in SetFirstTable()
76 void Remove(Handle<SharedFunctionInfo> function_info);
98 Handle<SharedFunctionInfo> Lookup(Handle<String> source,
99 Handle<Object> name,
102 void Put(Handle<String> source, Handle<SharedFunctionInfo> function_info);
106 Handle<String> source, Handle<SharedFunctionInfo> function_info);
109 Handle<CompilationCacheTable> TablePut(
110 Handle<String> source, Handle<SharedFunctionInfo> function_info);
[all …]
Dexecution.h65 static Handle<Object> Call(Handle<Object> callable,
66 Handle<Object> receiver,
68 Handle<Object> argv[],
79 static Handle<Object> New(Handle<JSFunction> func,
81 Handle<Object> argv[],
88 static Handle<Object> TryCall(Handle<JSFunction> func,
89 Handle<Object> receiver,
91 Handle<Object> argv[],
95 static Handle<Object> ToBoolean(Handle<Object> obj);
98 static Handle<Object> ToNumber(Handle<Object> obj, bool* exc);
[all …]
Dcompilation-cache.cc68 static Handle<CompilationCacheTable> AllocateTable(Isolate* isolate, int size) { in AllocateTable()
75 Handle<CompilationCacheTable> CompilationSubCache::GetTable(int generation) { in GetTable()
77 Handle<CompilationCacheTable> result; in GetTable()
84 result = Handle<CompilationCacheTable>(table, isolate()); in GetTable()
120 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) { in Remove()
125 Handle<CompilationCacheTable> table = GetTable(generation); in Remove()
143 Handle<SharedFunctionInfo> function_info, in HasOrigin()
144 Handle<Object> name, in HasOrigin()
147 Handle<Script> script = in HasOrigin()
148 Handle<Script>(Script::cast(function_info->script()), isolate()); in HasOrigin()
[all …]
Dbootstrapper.cc73 Handle<String> Bootstrapper::NativesSourceLookup(int index) { in NativesSourceLookup()
85 Handle<String> source_code = in NativesSourceLookup()
89 Handle<Object> cached_source(heap->natives_source_cache()->get(index)); in NativesSourceLookup()
90 return Handle<String>::cast(cached_source); in NativesSourceLookup()
143 Handle<Object> global_object,
144 v8::Handle<v8::ObjectTemplate> global_template,
148 Handle<Context> result() { return result_; } in result()
157 Handle<Context> global_context_;
165 Handle<Context> global_context() { return global_context_; } in global_context()
170 Handle<JSFunction> CreateEmptyFunction(Isolate* isolate);
[all …]
Dstub-cache.cc102 Handle<Code> StubCache::ComputeLoadNonexistent(Handle<String> name, in ComputeLoadNonexistent()
103 Handle<JSObject> receiver) { in ComputeLoadNonexistent()
111 Handle<String> cache_name = factory()->empty_string(); in ComputeLoadNonexistent()
113 Handle<JSObject> last = receiver; in ComputeLoadNonexistent()
115 last = Handle<JSObject>(JSObject::cast(last->GetPrototype())); in ComputeLoadNonexistent()
122 Handle<Object> probe(receiver->map()->FindInCodeCache(*cache_name, flags)); in ComputeLoadNonexistent()
123 if (probe->IsCode()) return Handle<Code>::cast(probe); in ComputeLoadNonexistent()
126 Handle<Code> code = in ComputeLoadNonexistent()
135 Handle<Code> StubCache::ComputeLoadField(Handle<String> name, in ComputeLoadField()
136 Handle<JSObject> receiver, in ComputeLoadField()
[all …]
Dhandles.cc133 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray> content, in AddKeysFromJSArray()
134 Handle<JSArray> array) { in AddKeysFromJSArray()
140 Handle<FixedArray> UnionOfKeys(Handle<FixedArray> first, in UnionOfKeys()
141 Handle<FixedArray> second) { in UnionOfKeys()
147 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy( in ReinitializeJSGlobalProxy()
148 Handle<JSFunction> constructor, in ReinitializeJSGlobalProxy()
149 Handle<JSGlobalProxy> global) { in ReinitializeJSGlobalProxy()
157 void SetExpectedNofProperties(Handle<JSFunction> func, int nof) { in SetExpectedNofProperties()
167 Handle<Map> new_initial_map = in SetExpectedNofProperties()
169 Handle<Map>(func->initial_map())); in SetExpectedNofProperties()
[all …]
Dliveedit.h71 void RecordFunctionInfo(Handle<SharedFunctionInfo> info,
73 void RecordRootFunctionInfo(Handle<Code> code);
87 static JSArray* GatherCompileInfo(Handle<Script> script,
88 Handle<String> source);
90 static void WrapSharedFunctionInfos(Handle<JSArray> array);
93 Handle<JSArray> new_compile_info_array,
94 Handle<JSArray> shared_info_array);
96 static MaybeObject* FunctionSourceUpdated(Handle<JSArray> shared_info_array);
99 static void SetFunctionScript(Handle<JSValue> function_wrapper,
100 Handle<Object> script_handle);
[all …]
/external/chromium_org/gin/
Dconverter.cc13 using v8::Handle;
23 Handle<Value> Converter<bool>::ToV8(Isolate* isolate, bool val) { in ToV8()
27 bool Converter<bool>::FromV8(Isolate* isolate, Handle<Value> val, bool* out) { in FromV8()
32 Handle<Value> Converter<int32_t>::ToV8(Isolate* isolate, int32_t val) { in ToV8()
36 bool Converter<int32_t>::FromV8(Isolate* isolate, Handle<Value> val, in FromV8()
44 Handle<Value> Converter<uint32_t>::ToV8(Isolate* isolate, uint32_t val) { in ToV8()
48 bool Converter<uint32_t>::FromV8(Isolate* isolate, Handle<Value> val, in FromV8()
56 Handle<Value> Converter<int64_t>::ToV8(Isolate* isolate, int64_t val) { in ToV8()
60 bool Converter<int64_t>::FromV8(Isolate* isolate, Handle<Value> val, in FromV8()
70 Handle<Value> Converter<uint64_t>::ToV8(Isolate* isolate, uint64_t val) { in ToV8()
[all …]
Dconverter.h22 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
25 v8::Handle<v8::Value> val,
31 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
34 v8::Handle<v8::Value> val,
40 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
43 v8::Handle<v8::Value> val,
50 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
53 v8::Handle<v8::Value> val,
60 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
63 v8::Handle<v8::Value> val,
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8PromiseCustom.h65 … static v8::Local<v8::Object> createPromise(v8::Handle<v8::Object> creationContext, v8::Isolate*);
68 static v8::Local<v8::Object> getInternal(v8::Handle<v8::Object> promise);
71 static PromiseState getState(v8::Handle<v8::Object> internal);
75 …static void setState(v8::Handle<v8::Object> internal, PromiseState, v8::Handle<v8::Value>, v8::Iso…
78 static bool isPromise(v8::Handle<v8::Value> maybePromise, v8::Isolate*);
81 static v8::Local<v8::Object> toPromise(v8::Handle<v8::Value> maybePromise, v8::Isolate*);
84 static void resolve(v8::Handle<v8::Object> promise, v8::Handle<v8::Value> result, v8::Isolate*);
87 static void reject(v8::Handle<v8::Object> promise, v8::Handle<v8::Value> result, v8::Isolate*);
92 …static v8::Local<v8::Object> then(v8::Handle<v8::Object> promise, v8::Handle<v8::Function> onFulfi…
96 static void setValue(v8::Handle<v8::Object> promise, v8::Handle<v8::Value>, v8::Isolate*);
[all …]

12345678910>>...63