Searched defs:wrapper (Results 26 - 50 of 185) sorted by relevance

12345678

/external/chromium_org/sync/api/attachments/
H A Dattachment_id.cc14 Wrapper* wrapper) {
15 *wrapper = new sync_pb::AttachmentIdProto();
19 Wrapper* wrapper) {
20 delete *wrapper;
24 AttachmentId::ImmutableAttachmentIdProtoTraits::Unwrap(const Wrapper& wrapper) { argument
25 return *wrapper;
30 Wrapper* wrapper) {
31 return *wrapper;
13 InitializeWrapper( Wrapper* wrapper) argument
18 DestroyWrapper( Wrapper* wrapper) argument
29 UnwrapMutable( Wrapper* wrapper) argument
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8EventListenerList.h94 // Non-callable attribute setter input is treated as null (no wrapper)
101 V8EventListener* wrapper = doFindWrapper(object, wrapperProperty, scriptState); local
102 if (wrapper)
103 return wrapper;
H A DDictionaryHelperForCore.cpp261 // We need to handle a DOMWindow specially, because a DOMWindow wrapper
319 v8::Handle<v8::Object> wrapper = v8::Handle<v8::Object>::Cast(v8Value); local
323 v8::Handle<v8::Object> track = V8TextTrack::findInstanceInPrototypeChain(wrapper, dictionary.isolate());
339 // We need to handle a LocalDOMWindow specially, because a LocalDOMWindow wrapper
342 v8::Handle<v8::Object> wrapper = v8::Handle<v8::Object>::Cast(v8Value); local
343 v8::Handle<v8::Object> window = V8Window::findInstanceInPrototypeChain(wrapper, dictionary.isolate());
351 v8::Handle<v8::Object> wrapper = v8::Handle<v8::Object>::Cast(v8Value); local
352 value = toWrapperTypeInfo(wrapper)->toEventTarget(wrapper);
H A DScriptPromisePropertyBase.cpp46 v8::Handle<v8::Object> wrapper = ensureHolderWrapper(scriptState); local
47 ASSERT(wrapper->CreationContext() == context);
49 v8::Handle<v8::Value> cachedPromise = V8HiddenValue::getHiddenValue(m_isolate, wrapper, promiseName());
56 V8HiddenValue::setHiddenValue(m_isolate, wrapper, promiseName(), promise);
61 V8HiddenValue::setHiddenValue(m_isolate, wrapper, resolverName(), resolver);
85 // wrapper has died.
91 v8::Local<v8::Object> wrapper = persistent->newLocal(m_isolate); local
92 ScriptState::Scope scope(ScriptState::from(wrapper->CreationContext()));
94 v8::Local<v8::Promise::Resolver> resolver = V8HiddenValue::getHiddenValue(m_isolate, wrapper, resolverName()).As<v8::Promise::Resolver>();
96 V8HiddenValue::deleteHiddenValue(m_isolate, wrapper, resolverNam
137 v8::Local<v8::Object> wrapper = persistent->newLocal(m_isolate); local
142 v8::Local<v8::Object> wrapper = holder(context->Global(), m_isolate); local
154 v8::Local<v8::Object> wrapper = (*i)->newLocal(m_isolate); local
[all...]
H A DScriptWrappable.cpp53 // It's possible that no one except for the new wrapper owns this object at
55 // object gets associated with the wrapper.
60 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, wrapperTypeInfo, toScriptWrappableBase(), isolate); local
61 if (UNLIKELY(wrapper.IsEmpty()))
62 return wrapper;
64 wrapperTypeInfo->installConditionallyEnabledProperties(wrapper, isolate);
65 return associateWithWrapper(wrapperTypeInfo, wrapper, isolate);
68 v8::Handle<v8::Object> ScriptWrappable::associateWithWrapper(const WrapperTypeInfo* wrapperTypeInfo, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) argument
70 return V8DOMWrapper::associateObjectWithWrapperNonTemplate(this, wrapperTypeInfo, wrapper, isolate);
H A DV8DOMWrapper.h53 static v8::Handle<v8::Object> associateObjectWithWrapper(RawPtr<T> object, const WrapperTypeInfo* wrapperTypeInfo, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) argument
55 return associateObjectWithWrapper<V8T, T>(object.get(), wrapperTypeInfo, wrapper, isolate);
69 inline void V8DOMWrapper::setNativeInfo(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* wrapperTypeInfo, ScriptWrappableBase* internalPointer) argument
71 ASSERT(wrapper->InternalFieldCount() >= 2);
79 wrapper->SetAlignedPointerInInternalField(v8DOMWrapperObjectIndex, internalPointer);
80 wrapper->SetAlignedPointerInInternalField(v8DOMWrapperTypeIndex, const_cast<WrapperTypeInfo*>(wrapperTypeInfo));
83 inline void V8DOMWrapper::setNativeInfoForHiddenWrapper(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* wrapperTypeInfo, ScriptWrappableBase* internalPointer) argument
86 ASSERT(wrapper->InternalFieldCount() >= 2);
97 wrapper->SetAlignedPointerInInternalField(wrapper
107 setNativeInfoWithPersistentHandle(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* wrapperTypeInfo, ScriptWrappableBase* internalPointer, WrapperPersistentNode* handle) argument
123 clearNativeInfo(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* wrapperTypeInfo) argument
134 associateObjectWithWrapper(PassRefPtr<T> object, const WrapperTypeInfo* wrapperTypeInfo, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) argument
143 associateObjectWithWrapper(T* object, const WrapperTypeInfo* wrapperTypeInfo, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) argument
151 associateObjectWithWrapperNonTemplate(ScriptWrappable* impl, const WrapperTypeInfo* wrapperTypeInfo, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) argument
170 associateObjectWithWrapperNonTemplate(Node* node, const WrapperTypeInfo* wrapperTypeInfo, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DImageData.cpp128 v8::Handle<v8::Object> ImageData::associateWithWrapper(const WrapperTypeInfo* wrapperType, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) argument
130 ScriptWrappable::associateWithWrapper(wrapperType, wrapper, isolate);
132 if (!wrapper.IsEmpty()) {
134 v8::Handle<v8::Value> pixelArray = toV8(data(), wrapper, isolate);
139 wrapper->ForceSet(v8AtomicString(isolate, "data"), pixelArray, v8::ReadOnly);
141 return wrapper;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A D__init__.py39 def wrapper(*args, **kwargs): function in function:_singleton_method
40 """Singleton wrapper around a coverage method."""
45 return wrapper
/external/chromium_org/base/win/
H A Dwrapped_window_proc_unittest.cc71 TestWrappedExceptionFiter wrapper; local
76 EXPECT_TRUE(wrapper.called());
/external/chromium_org/content/renderer/service_worker/
H A Dembedded_worker_dispatcher.cc27 // A thin wrapper of WebEmbeddedWorker which also adds and releases process
74 scoped_ptr<WorkerWrapper> wrapper(
104 wrapper->worker()->startWorkerContext(start_data);
105 workers_.AddWithID(wrapper.release(), params.embedded_worker_id);
110 WorkerWrapper* wrapper = workers_.Lookup(embedded_worker_id); local
111 if (!wrapper) {
119 wrapper->worker()->terminateWorkerContext();
125 WorkerWrapper* wrapper = workers_.Lookup(embedded_worker_id); local
126 if (!wrapper) {
130 wrapper
[all...]
/external/chromium_org/sync/internal_api/public/util/
H A Dimmutable.h163 // static void InitializeWrapper(Wrapper* wrapper);
165 // static void DestroyWrapper(Wrapper* wrapper);
180 // Wrapper* wrapper) {
181 // *wrapper = new SomeOtherType();
185 // Wrapper* wrapper) {
186 // delete *wrapper;
198 static void InitializeWrapper(Wrapper* wrapper) {} argument
200 static void DestroyWrapper(Wrapper* wrapper) {} argument
202 static const T& Unwrap(const Wrapper& wrapper) { return wrapper; } argument
204 UnwrapMutable(Wrapper* wrapper) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8ArrayBufferCustom.cpp87 v8::Handle<v8::Object> wrapper = v8::ArrayBuffer::New(isolate, impl->data(), impl->byteLength()); local
90 V8DOMWrapper::associateObjectWithWrapper<V8ArrayBuffer>(impl, &wrapperTypeInfo, wrapper, isolate);
91 return wrapper;
H A DV8HTMLPlugInElementCustom.cpp53 RefPtr<SharedPersistent<v8::Object> > wrapper = impl->pluginWrapper(); local
54 if (!wrapper)
57 v8::Local<v8::Object> instance = wrapper->newLocal(info.GetIsolate());
87 RefPtr<SharedPersistent<v8::Object> > wrapper = impl->pluginWrapper(); local
88 if (!wrapper)
91 v8::Local<v8::Object> instance = wrapper->newLocal(info.GetIsolate());
183 RefPtr<SharedPersistent<v8::Object> > wrapper = impl->pluginWrapper(); local
184 if (!wrapper)
187 v8::Local<v8::Object> instance = wrapper->newLocal(info.GetIsolate());
H A DV8InjectedScriptManager.cpp68 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, &V8InjectedScriptHost::wrapperTypeInfo, host->toScriptWrappableBase(), isolate); local
69 if (UNLIKELY(wrapper.IsEmpty()))
70 return wrapper;
72 // Create a weak reference to the v8 wrapper of InspectorBackend to deref
73 // InspectorBackend when the wrapper is garbage collected.
80 callbackData->handle.set(isolate, wrapper);
84 V8DOMWrapper::setNativeInfoWithPersistentHandle(wrapper, &V8InjectedScriptHost::wrapperTypeInfo, host->toScriptWrappableBase(), callbackData->hostPtr);
86 V8DOMWrapper::setNativeInfo(wrapper, &V8InjectedScriptHost::wrapperTypeInfo, host->toScriptWrappableBase());
88 ASSERT(V8DOMWrapper::isDOMWrapper(wrapper));
89 return wrapper;
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
H A DV8TestInterfaceConstructor3.cpp46 v8::Handle<v8::Object> wrapper = info.Holder(); local
47 impl->associateWithWrapper(&V8TestInterfaceConstructor3::wrapperTypeInfo, wrapper, info.GetIsolate());
48 v8SetReturnValue(info, wrapper);
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DAudioBuffer.cpp204 v8::Handle<v8::Object> AudioBuffer::associateWithWrapper(const WrapperTypeInfo* wrapperType, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate) argument
206 ScriptWrappable::associateWithWrapper(wrapperType, wrapper, isolate);
208 if (!wrapper.IsEmpty()) {
218 return wrapper;
/external/chromium_org/third_party/WebKit/Source/platform/
H A DCrossThreadCopier.h199 static Type copy(const AllowCrossThreadAccessWrapper<T>& wrapper) { return wrapper.value(); } argument
219 static Type copy(const AllowAccessLaterWrapper<T>& wrapper) { return wrapper.value(); } argument
/external/chromium_org/third_party/re2/re2/testing/
H A Dexhaustive_tester.h32 const string& wrapper,
36 wrapper_(wrapper),
57 string wrapper_; // Regexp wrapper - either empty or has one %s.
58 string topwrapper_; // Regexp top-level wrapper.
74 const string& wrapper,
81 const string& wrapper);
26 ExhaustiveTester(int maxatoms, int maxops, const vector<string>& alphabet, const vector<string>& ops, int maxstrlen, const vector<string>& stralphabet, const string& wrapper, const string& topwrapper) argument
/external/guava/guava/src/com/google/common/eventbus/
H A DEventBus.java254 for (EventHandler wrapper : wrappers) {
255 enqueueEvent(event, wrapper);
304 * Dispatches {@code event} to the handler in {@code wrapper}. This method
309 * @param wrapper wrapper that will call the handler.
311 protected void dispatch(Object event, EventHandler wrapper) { argument
313 wrapper.handleEvent(event);
316 "Could not dispatch event: " + event + " to handler " + wrapper, e);
/external/javassist/src/main/javassist/
H A DCtPrimitiveType.java31 CtPrimitiveType(String name, char desc, String wrapper, argument
36 wrapperName = wrapper;
68 * Returns the name of the wrapper class.
69 * For example, if the type is int, then the wrapper class is
76 * from the wrapper object.
84 * from the wrapper object.
/external/jemalloc/src/
H A Dtsd.c21 malloc_tsd_dalloc(void *wrapper) argument
24 idalloct(wrapper, false);
/external/libnfc-nxp/Linux_x86/
H A DphOsalNfc_Timer.c125 phDal4Nfc_Message_Wrapper_t wrapper; local
145 wrapper.mtype = 1;
146 wrapper.msg.eMsgType = PH_OSALNFC_TIMER_MSG;
147 wrapper.msg.pMsgData = osal_defer_msg;
148 wrapper.msg.Size = sizeof(phOsalNfc_DeferedCalldInfo_t);
152 phDal4Nfc_msgsnd(nDeferedCallMessageQueueId, (void *)&wrapper,
/external/regex-re2/re2/testing/
H A Dexhaustive_tester.h32 const string& wrapper,
36 wrapper_(wrapper),
57 string wrapper_; // Regexp wrapper - either empty or has one %s.
58 string topwrapper_; // Regexp top-level wrapper.
74 const string& wrapper,
81 const string& wrapper);
26 ExhaustiveTester(int maxatoms, int maxops, const vector<string>& alphabet, const vector<string>& ops, int maxstrlen, const vector<string>& stralphabet, const string& wrapper, const string& topwrapper) argument
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dtestbase.py45 def wrapper(test_method): function in function:broken
57 return wrapper
/external/chromium_org/chrome/browser/extensions/
H A Dwebstore_install_helper.cc156 const base::ListValue& wrapper) {
160 CHECK(wrapper.Get(0, &value));
155 OnJSONParseSucceeded( const base::ListValue& wrapper) argument

Completed in 1369 milliseconds

12345678