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

1234567891011>>

/external/v8/src/
H A Dhandles.h38 // A Handle provides a reference to an object that survives relocation by
44 class Handle { class in namespace:v8::internal
46 INLINE(explicit Handle(T** location)) { location_ = location; }
47 INLINE(explicit Handle(T* obj));
48 INLINE(Handle(T* obj, Isolate* isolate));
50 INLINE(Handle()) : location_(NULL) {} function in class:v8::internal::Handle
53 // Ex. Handle<JSFunction> can be passed when Handle<Object> is expected.
54 template <class S> Handle(Handle< function in class:v8::internal::Handle
[all...]
H A 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<DeoptimizationInputDat
[all...]
H A 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<JSObjec
[all...]
H A 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<Objec
[all...]
H A Dd8-windows.cc38 void Shell::AddOSMethods(Handle<ObjectTemplate> os_templ) {
H A Dcompilation-cache.h53 Handle<CompilationCacheTable> GetTable(int generation);
56 Handle<CompilationCacheTable> GetFirstTable() {
59 void SetFirstTable(Handle<CompilationCacheTable> value) {
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<Strin
[all...]
H A 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<Objec
[all...]
H A Dmessages.cc42 Handle<Object> message_obj) {
48 Handle<Object> data(loc->script()->name());
51 data_str = Handle<String>::cast(data)->ToCString(DISALLOW_NULLS);
58 Handle<JSMessageObject> MessageHandler::MakeMessageObject(
61 Vector< Handle<Object> > args,
62 Handle<String> stack_trace,
63 Handle<JSArray> stack_frames) {
64 Handle<String> type_handle = FACTORY->LookupAsciiSymbol(type);
65 Handle<FixedArray> arguments_elements =
70 Handle<JSArra
[all...]
H A Dmessages.h48 v8::internal::Handle<v8::internal::JSArray> args,
52 v8::internal::Handle<v8::internal::JSArray> args() const { return args_; }
56 v8::internal::Handle<v8::internal::JSArray> const args_;
69 MessageLocation(Handle<Script> script,
77 Handle<Script> script() const { return script_; }
82 Handle<Script> script_;
93 static Handle<JSMessageObject> MakeMessageObject(
96 Vector< Handle<Object> > args,
97 Handle<String> stack_trace,
98 Handle<JSArra
[all...]
H A Dcompilation-cache.cc68 static Handle<CompilationCacheTable> AllocateTable(Isolate* isolate, int size) {
75 Handle<CompilationCacheTable> CompilationSubCache::GetTable(int generation) {
77 Handle<CompilationCacheTable> result;
84 result = Handle<CompilationCacheTable>(table, isolate());
120 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) {
125 Handle<CompilationCacheTable> table = GetTable(generation);
143 Handle<SharedFunctionInfo> function_info,
144 Handle<Object> name,
147 Handle<Script> script =
148 Handle<Scrip
[all...]
H A Dfactory.cc43 Handle<FixedArray> Factory::NewFixedArray(int size, PretenureFlag pretenure) {
52 Handle<FixedArray> Factory::NewFixedArrayWithHoles(int size,
62 Handle<FixedDoubleArray> Factory::NewFixedDoubleArray(int size,
72 Handle<StringDictionary> Factory::NewStringDictionary(int at_least_space_for) {
80 Handle<SeededNumberDictionary> Factory::NewSeededNumberDictionary(
89 Handle<UnseededNumberDictionary> Factory::NewUnseededNumberDictionary(
98 Handle<ObjectHashSet> Factory::NewObjectHashSet(int at_least_space_for) {
106 Handle<ObjectHashTable> Factory::NewObjectHashTable(int at_least_space_for) {
114 Handle<DescriptorArray> Factory::NewDescriptorArray(int number_of_descriptors) {
122 Handle<DeoptimizationInputDat
[all...]
H A Dbootstrapper.cc73 Handle<String> Bootstrapper::NativesSourceLookup(int index) {
85 Handle<String> source_code =
89 Handle<Object> cached_source(heap->natives_source_cache()->get(index));
90 return Handle<String>::cast(cached_source);
143 Handle<Object> global_object,
144 v8::Handle<v8::ObjectTemplate> global_template,
148 Handle<Context> result() { return result_; }
157 Handle<Context> global_context_;
165 Handle<Context> global_context() { return global_context_; }
170 Handle<JSFunctio
[all...]
H A Dd8.h125 virtual Handle<String> Prompt(const char* prompt) = 0;
190 Handle<String> ReadFile(const char* name);
267 static bool ExecuteString(Handle<String> source,
268 Handle<Value> name,
273 static Handle<String> ReadFile(const char* name);
280 static Handle<Array> GetCompletions(Handle<String> text,
281 Handle<String> full);
292 static Handle<Object> DebugMessageDetails(Handle<Strin
[all...]
H A Dhandles.cc133 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray> content,
134 Handle<JSArray> array) {
140 Handle<FixedArray> UnionOfKeys(Handle<FixedArray> first,
141 Handle<FixedArray> second) {
147 Handle<JSGlobalProxy> ReinitializeJSGlobalProxy(
148 Handle<JSFunction> constructor,
149 Handle<JSGlobalProxy> global) {
157 void SetExpectedNofProperties(Handle<JSFunctio
[all...]
/external/webkit/Source/WebKit2/Shared/
H A DSandboxExtension.h54 class Handle { class in class:WebKit::SandboxExtension
55 WTF_MAKE_NONCOPYABLE(Handle);
58 Handle();
59 ~Handle();
62 static bool decode(CoreIPC::ArgumentDecoder*, Handle&);
71 static PassRefPtr<SandboxExtension> create(const Handle&);
72 static void createHandle(const String& path, Type type, Handle&);
73 static String createHandleForTemporaryFile(const String& prefix, Type type, Handle&);
81 explicit SandboxExtension(const Handle&);
89 inline SandboxExtension::Handle function in class:WebKit::SandboxExtension::Handle
93 create(const Handle&) argument
[all...]
/external/webkit/Source/WebKit2/Platform/gtk/
H A DSharedMemoryGtk.cpp34 SharedMemory::Handle::Handle() function in class:WebKit::SharedMemory::Handle
39 SharedMemory::Handle::~Handle()
44 void SharedMemory::Handle::encode(CoreIPC::ArgumentEncoder* encoder) const
49 bool SharedMemory::Handle::decode(CoreIPC::ArgumentDecoder* decoder, Handle& handle)
61 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection)
72 bool SharedMemory::createHandle(Handle& handle, Protection protection)
/external/chromium/base/
H A Dsync_socket.h26 typedef HANDLE Handle; typedef in class:base::SyncSocket
28 typedef int Handle;
31 // Creates a SyncSocket from a Handle. Used in transport.
32 explicit SyncSocket(Handle handle) : handle_(handle) { }
65 Handle handle() const { return handle_; }
68 Handle handle_;
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8CustomXPathNSResolver.cpp41 PassRefPtr<V8CustomXPathNSResolver> V8CustomXPathNSResolver::create(v8::Handle<v8::Object> resolver)
46 V8CustomXPathNSResolver::V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver)
57 v8::Handle<v8::Function> lookupNamespaceURIFunc;
58 v8::Handle<v8::String> lookupNamespaceURIName = v8::String::New("lookupNamespaceURI");
62 v8::Handle<v8::Value> lookupNamespaceURI = m_resolver->Get(lookupNamespaceURIName);
64 lookupNamespaceURIFunc = v8::Handle<v8::Function>::Cast(lookupNamespaceURI);
80 v8::Handle<v8::Value> argv[argc] = { v8String(prefix) };
81 v8::Handle<v8::Function> function = lookupNamespaceURIFunc.IsEmpty() ? v8::Handle<v8::Function>::Cast(m_resolver) : lookupNamespaceURIFunc;
83 v8::Handle<v
[all...]
H A DV8ImageDataCustom.cpp38 v8::Handle<v8::Value> toV8(ImageData* impl)
42 v8::Handle<v8::Object> wrapper = V8ImageData::wrap(impl);
45 v8::Handle<v8::Value> pixelArray = toV8(impl->data());
/external/v8/src/extensions/
H A Dgc-extension.h39 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
40 v8::Handle<v8::String> name);
41 static v8::Handle<v8::Value> GC(const v8::Arguments& args);
H A Dexternalize-string-extension.h39 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
40 v8::Handle<v8::String> name);
41 static v8::Handle<v8::Value> Externalize(const v8::Arguments& args);
42 static v8::Handle<v8::Value> IsAscii(const v8::Arguments& args);
/external/webkit/Source/WebCore/bindings/v8/
H A DDateExtension.h46 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(v8::Handle<v8::String>);
47 static v8::Handle<v8::Value> Setup(const v8::Arguments&);
48 static v8::Handle<v8::Value> OnSleepDetected(const v8::Arguments&);
/external/webkit/Source/WebCore/bindings/scripts/test/V8/
H A DV8TestInterface.h38 static bool HasInstance(v8::Handle<v8::Value> value);
41 static TestInterface* toNative(v8::Handle<v8::Object> object)
45 inline static v8::Handle<v8::Object> wrap(TestInterface*);
48 static v8::Handle<v8::Value> constructorCallback(const v8::Arguments& args);
51 static v8::Handle<v8::Object> wrapSlow(TestInterface*);
55 v8::Handle<v8::Object> V8TestInterface::wrap(TestInterface* impl)
57 v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
63 inline v8::Handle<v8::Value> toV8(TestInterface* impl)
69 inline v8::Handle<v8::Value> toV8(PassRefPtr< TestInterface > impl)
H A DV8TestObj.h36 static bool HasInstance(v8::Handle<v8::Value> value);
39 static TestObj* toNative(v8::Handle<v8::Object> object)
43 inline static v8::Handle<v8::Object> wrap(TestObj*);
46 static v8::Handle<v8::Value> customMethodCallback(const v8::Arguments&);
47 static v8::Handle<v8::Value> customMethodWithArgsCallback(const v8::Arguments&);
48 static v8::Handle<v8::Value> customAttrAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info);
52 static v8::Handle<v8::Object> wrapSlow(TestObj*);
56 v8::Handle<v8::Object> V8TestObj::wrap(TestObj* impl)
58 v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
64 inline v8::Handle<v
[all...]
/external/v8/include/
H A Dv8-debug.h119 virtual Handle<Object> GetExecutionState() const = 0;
120 virtual Handle<Object> GetEventData() const = 0;
125 virtual Handle<String> GetJSON() const = 0;
132 virtual Handle<Context> GetEventContext() const = 0;
161 virtual Handle<Object> GetExecutionState() const = 0;
162 virtual Handle<Object> GetEventData() const = 0;
169 virtual Handle<Context> GetEventContext() const = 0;
175 virtual Handle<Value> GetCallbackData() const = 0;
198 Handle<Object> exec_state,
199 Handle<Objec
[all...]

Completed in 495 milliseconds

1234567891011>>