HomeSort by relevance Sort by last modified time
    Searched refs:Handle (Results 51 - 75 of 763) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/v8/src/
bootstrapper.h 55 bool Lookup(Vector<const char> name, Handle<SharedFunctionInfo>* handle) {
59 *handle = Handle<SharedFunctionInfo>(
67 void Add(Vector<const char> name, Handle<SharedFunctionInfo> shared) {
70 Handle<FixedArray> new_array =
74 Handle<String> str = FACTORY->NewStringFromAscii(name, TENURED);
96 // The returned value is a global handle casted to V8Environment*.
97 Handle<Context> CreateEnvironment(
99 Handle<Object> global_object
    [all...]
stub-cache.cc 102 Handle<Code> StubCache::ComputeLoadNonexistent(Handle<String> name,
103 Handle<JSObject> receiver) {
111 Handle<String> cache_name = factory()->empty_string();
113 Handle<JSObject> last = receiver;
115 last = Handle<JSObject>(JSObject::cast(last->GetPrototype()));
122 Handle<Object> probe(receiver->map()->FindInCodeCache(*cache_name, flags));
123 if (probe->IsCode()) return Handle<Code>::cast(probe);
126 Handle<Code> code =
135 Handle<Code> StubCache::ComputeLoadField(Handle<String> name
    [all...]
compiler.h 44 explicit CompilationInfo(Handle<Script> script);
45 explicit CompilationInfo(Handle<SharedFunctionInfo> shared_info);
46 explicit CompilationInfo(Handle<JSFunction> closure);
64 Handle<Code> code() const { return code_; }
65 Handle<JSFunction> closure() const { return closure_; }
66 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; }
67 Handle<Script> script() const { return script_; }
70 Handle<Context> calling_context() const { return calling_context_; }
109 void SetCode(Handle<Code> code) { code_ = code; }
118 void SetCallingContext(Handle<Context> context)
    [all...]
execution.cc 69 static Handle<Object> Invoke(bool is_construct,
70 Handle<JSFunction> function,
71 Handle<Object> receiver,
73 Handle<Object> args[],
89 Handle<Code> code = is_construct
97 Handle<GlobalObject> global = Handle<GlobalObject>::cast(receiver);
98 receiver = Handle<JSObject>(global->global_receiver());
107 // allocation of handles without explicit handle scopes.
135 return Handle<Object>()
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/
DateExtension.cpp 82 v8::Handle<v8::Object> dateObject = v8::Handle<v8::Object>::Cast(result);
90 v8::Handle<v8::Value> argv[1];
92 v8::Handle<v8::Function>::Cast(sleepFunctionHandle)->Call(v8::Object::New(), 1, argv);
95 v8::Handle<v8::FunctionTemplate> DateExtension::GetNativeFunction(v8::Handle<v8::String> name)
102 return v8::Handle<v8::FunctionTemplate>();
105 v8::Handle<v8::Value> DateExtension::Setup(const v8::Arguments& args)
110 v8::Handle<v8::Object> dateObject = v8::Handle<v8::Object>::Cast(args[0])
    [all...]
V8NPObject.h 46 v8::Handle<v8::Value> npObjectNamedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo&);
47 v8::Handle<v8::Value> npObjectIndexedPropertyGetter(uint32_t index, const v8::AccessorInfo&);
48 v8::Handle<v8::Value> npObjectGetNamedProperty(v8::Local<v8::Object> self, v8::Local<v8::String> name);
49 v8::Handle<v8::Value> npObjectGetIndexedProperty(v8::Local<v8::Object> self, uint32_t index);
52 v8::Handle<v8::Value> npObjectNamedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value>, const v8::AccessorInfo&);
53 v8::Handle<v8::Value> npObjectIndexedPropertySetter(uint32_t index, const v8::AccessorInfo&);
54 v8::Handle<v8::Value> npObjectSetNamedProperty(v8::Local<v8::Object> self, v8::Local<v8::String> name, v8::Local<v8::Value>);
55 v8::Handle<v8::Value> npObjectSetIndexedProperty(v8::Local<v8::Object> self, uint32_t index, v8::Local<v8::Value>);
57 v8::Handle<v8::Value> npObjectInvokeDefaultHandler(const v8::Arguments&);
66 // function, the persistent handle to the wrapper will be gone, and the wrapped NPObject will be removed so that i
    [all...]
V8Proxy.h 86 void batchConfigureAttributes(v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::ObjectTemplate>, const BatchedAttribute*, size_t attributeCount);
88 inline void configureAttribute(v8::Handle<v8::ObjectTemplate> instance, v8::Handle<v8::ObjectTemplate> proto, const BatchedAttribute& attribute)
106 void batchConfigureConstants(v8::Handle<v8::FunctionTemplate>, v8::Handle<v8::ObjectTemplate>, const BatchedConstant*, size_t constantCount);
113 void batchConfigureCallbacks(v8::Handle<v8::ObjectTemplate>,
114 v8::Handle<v8::Signature>,
172 v8::Local<v8::Value> runScript(v8::Handle<v8::Script>, bool isInlineCode);
175 v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, v8::Handle<v8::Object>, int argc, v8::Handle<v8::Value> argv[])
    [all...]
V8Collection.cpp 40 v8::Handle<v8::Value> toOptionsCollectionSetter(uint32_t index, v8::Handle<v8::Value> value, HTMLSelectElement* base)
55 HTMLOptionElement* element = V8HTMLOptionElement::toNative(v8::Handle<v8::Object>::Cast(value));
V8Binding.h 59 StringType v8StringToWebCoreString(v8::Handle<v8::String> v8String, ExternalMode external);
64 inline String v8StringToWebCoreString(v8::Handle<v8::String> v8String)
68 String v8NonStringValueToWebCoreString(v8::Handle<v8::Value>);
69 String v8ValueToWebCoreString(v8::Handle<v8::Value> value);
72 inline AtomicString v8StringToAtomicWebCoreString(v8::Handle<v8::String> v8String)
76 AtomicString v8NonStringValueToAtomicWebCoreString(v8::Handle<v8::Value>);
77 AtomicString v8ValueToAtomicWebCoreString(v8::Handle<v8::Value> value);
105 inline v8::Handle<v8::String> v8String(const String& string)
111 // all the calls (both to convert WTF::String to v8::String and to GC the handle)
117 int toInt32(v8::Handle<v8::Value> value, bool& ok)
    [all...]
ScheduledAction.h 49 ScheduledAction(v8::Handle<v8::Context>, v8::Handle<v8::Function>, int argc, v8::Handle<v8::Value> argv[]);
50 explicit ScheduledAction(v8::Handle<v8::Context> context, const WTF::String& code, const KURL& url = KURL())
V8IsolatedContext.h 91 v8::Handle<v8::Context> context() { return m_context->get(); }
97 static v8::Handle<v8::Object> getGlobalObject(v8::Handle<v8::Context> context)
99 return v8::Handle<v8::Object>::Cast(context->Global()->GetPrototype());
  /external/v8/test/cctest/
test-weakmaps.cc 37 static Handle<JSWeakMap> AllocateJSWeakMap() {
38 Handle<Map> map = FACTORY->NewMap(JS_WEAK_MAP_TYPE, JSWeakMap::kSize);
39 Handle<JSObject> weakmap_obj = FACTORY->NewJSObjectFromMap(map);
40 Handle<JSWeakMap> weakmap(JSWeakMap::cast(*weakmap_obj));
49 static void PutIntoWeakMap(Handle<JSWeakMap> weakmap,
50 Handle<JSObject> key,
52 Handle<ObjectHashTable> table = PutIntoObjectHashTable(
53 Handle<ObjectHashTable>(ObjectHashTable::cast(weakmap->table())),
54 Handle<JSObject>(JSObject::cast(*key)),
55 Handle<Smi>(Smi::FromInt(value)))
    [all...]
  /external/webkit/Source/WebKit2/Platform/
SharedMemory.h 52 class Handle {
53 WTF_MAKE_NONCOPYABLE(Handle);
55 Handle();
56 ~Handle();
61 static bool decode(CoreIPC::ArgumentDecoder*, Handle&);
72 mutable HANDLE m_handle;
82 // Create a shared memory object from the given handle and the requested protection. Will return 0 on failure.
83 static PassRefPtr<SharedMemory> create(const Handle&, Protection);
86 static PassRefPtr<SharedMemory> adopt(HANDLE, size_t, Protection);
91 bool createHandle(Handle&, Protection)
    [all...]
  /external/chromium/chrome/browser/webdata/
web_data_service_test_util.h 20 virtual void OnWebDataServiceRequestDone(WebDataService::Handle handle,
23 handle_ = handle;
31 WebDataService::Handle handle() { return handle_; } function in class:AutofillWebDataServiceConsumer
35 WebDataService::Handle handle_;
  /external/llvm/lib/Support/Windows/
Windows.h 48 handle_type Handle;
54 : Handle(HandleTraits::GetInvalid()) {}
57 : Handle(h) {}
60 if (HandleTraits::IsValid(Handle))
61 HandleTraits::Close(Handle);
65 handle_type t = Handle;
66 Handle = HandleTraits::GetInvalid();
71 if (HandleTraits::IsValid(Handle))
72 HandleTraits::Close(Handle);
73 Handle = h
    [all...]
  /external/v8/src/extensions/
gc-extension.cc 36 v8::Handle<v8::FunctionTemplate> GCExtension::GetNativeFunction(
37 v8::Handle<v8::String> str) {
42 v8::Handle<v8::Value> GCExtension::GC(const v8::Arguments& args) {
  /external/webkit/Source/JavaScriptCore/heap/
Local.h 29 #include "Handle.h"
33 A strongly referenced handle whose lifetime is temporary, limited to a given
40 template <typename T> class Local : public Handle<T> {
42 using Handle<T>::slot;
45 typedef typename Handle<T>::ExternalType ExternalType;
48 Local(JSGlobalData&, Handle<T>);
52 Local& operator=(Handle<T>);
60 : Handle<T>(globalData.allocateLocalHandle())
65 template <typename T> inline Local<T>::Local(JSGlobalData& globalData, Handle<T> other)
66 : Handle<T>(globalData.allocateLocalHandle()
    [all...]
Strong.h 30 #include "Handle.h"
38 // A strongly referenced handle that prevents the object it points to from being garbage collected.
39 template <typename T> class Strong : public Handle<T> {
40 using Handle<T>::slot;
41 using Handle<T>::setSlot;
44 typedef typename Handle<T>::ExternalType ExternalType;
47 : Handle<T>()
52 : Handle<T>(allocateGlobalHandle(globalData))
57 Strong(JSGlobalData& globalData, Handle<T> handle)
    [all...]
  /external/webkit/Source/WebCore/bindings/scripts/test/V8/
V8TestCallback.cpp 62 v8::Handle<v8::Context> v8Context = toV8Context(scriptExecutionContext(), m_worldContext);
69 v8::Handle<v8::Value> *argv = 0;
82 v8::Handle<v8::Context> v8Context = toV8Context(scriptExecutionContext(), m_worldContext);
88 v8::Handle<v8::Value> class1ParamHandle = toV8(class1Param);
94 v8::Handle<v8::Value> argv[] = {
109 v8::Handle<v8::Context> v8Context = toV8Context(scriptExecutionContext(), m_worldContext);
115 v8::Handle<v8::Value> class2ParamHandle = toV8(class2Param);
120 v8::Handle<v8::Value> strArgHandle = v8String(strArg);
126 v8::Handle<v8::Value> argv[] = {
142 v8::Handle<v8::Context> v8Context = toV8Context(scriptExecutionContext(), m_worldContext)
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8DOMTokenListCustom.cpp 41 v8::Handle<v8::Value> toV8(DOMTokenList* impl)
45 v8::Handle<v8::Object> wrapper = V8DOMTokenList::wrap(impl);
49 v8::Handle<v8::Value> elementValue = toV8(element);
  /external/v8/include/
v8.h 101 template <class T> class Handle;
163 * It is safe to extract the object stored in the handle by
164 * dereferencing the handle (for instance, to extract the Object* from
165 * a Handle<Object>); the value will still be governed by a handle
169 template <class T> class Handle {
172 * Creates an empty handle.
174 inline Handle() : val_(0) {}
177 * Creates a new handle for the specified value.
179 inline explicit Handle(T* val) : val_(val) {
    [all...]
v8-profiler.h 74 Handle<String> GetFunctionName() const;
77 Handle<String> GetScriptResourceName() const;
127 Handle<String> GetTitle() const;
170 Handle<Value> security_token = Handle<Value>());
175 Handle<Value> security_token = Handle<Value>());
185 static void StartProfiling(Handle<String> title);
192 Handle<String> title,
193 Handle<Value> security_token = Handle<Value>())
    [all...]
  /external/llvm/include/llvm-c/
BitWriter.h 45 descriptor. Returns 0 on success. Closes the Handle. */
46 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle);
  /external/v8/src/arm/
codegen-arm.h 53 static Handle<Code> MakeCodeEpilogue(MacroAssembler* masm,
58 static void PrintCode(Handle<Code> code, CompilationInfo* info);
62 static void SetFunctionInfo(Handle<JSFunction> fun,
65 Handle<Script> script);
  /external/v8/src/mips/
codegen-mips.h 55 static Handle<Code> MakeCodeEpilogue(MacroAssembler* masm,
60 static void PrintCode(Handle<Code> code, CompilationInfo* info);
64 static void SetFunctionInfo(Handle<JSFunction> fun,
67 Handle<Script> script);

Completed in 573 milliseconds

1 23 4 5 6 7 8 91011>>