Searched refs:attachment (Results 1 - 25 of 75) sorted by relevance

123

/macosx-10.10/WebKit2-7600.1.25/Platform/IPC/mac/
H A DMachPort.h56 Attachment attachment; local
57 if (!decoder.decode(attachment))
60 p.m_port = attachment.port();
61 p.m_disposition = attachment.disposition();
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cssm/lib/
H A Dcssmcontext.cpp46 attachment.free(extent);
47 attachment.free(ContextAttributes);
55 { attachment.enter(); }
58 { return attachment.tryEnter(); }
115 void *data = attachment.malloc(size(*attr));
126 attachment.free(data);
137 Context::Builder builder(attachment);
161 attachment.free(ContextAttributes);
168 attachment.free(oldAttributes);
178 StLock<Module, &Module::safeLock, &Module::safeUnlock> _(attachment
[all...]
H A Dcssm.cpp154 Attachment *attachment = &HandleObject::findAndKill<Attachment>(ModuleHandle, CSSMERR_CSSM_INVALID_ADDIN_HANDLE); local
155 attachment->detach(true); // expect locked, will unlock
156 // the attachment is now off the maps, known idle, and unhooked
157 delete attachment;
184 Attachment &attachment = HandleObject::findAndLock<Attachment>(ModuleHandle, CSSMERR_CSSM_INVALID_ADDIN_HANDLE); local
185 StLock<Mutex> _(attachment, true);
186 Required(ModuleGUID) = attachment.module.myGuid();
195 Attachment &attachment = HandleObject::findAndLock<Attachment>(ModuleHandle, CSSMERR_CSSM_INVALID_ADDIN_HANDLE); local
196 StLock<Mutex> _(attachment, true);
198 result.Guid = attachment
220 Attachment &attachment = HandleObject::findAndLock<Attachment>(AddInHandle, CSSMERR_CSSM_INVALID_ADDIN_HANDLE); local
[all...]
H A Dcssmcontext.h61 : Context(type, algorithmId), attachment(attach), extent(0) { }
64 CSPAttachment &attachment; member in class:HandleContext
87 // This locks the underlying attachment.
110 attachment(static_cast<CSPAttachment &>(allocator)), // order dependency(!)
111 locker(attachment, true)
112 { attachment.finishEnter(); }
114 CSPAttachment &attachment; member in class:HandleContext::Maker
H A Dmodule.cpp30 #include "attachment.h"
64 // locked module - no more attachment creations possible
87 // Create a new attachment for this module
104 Attachment *attachment = cssm.attachmentMakerFor(subserviceType)->make(this, local
113 // add to module's attachment map
114 attachmentMap.insert(AttachmentMap::value_type(attachment->handle(), attachment));
116 delete attachment;
121 return attachment->handle();
127 // THREADS: Requires the attachment t
130 detach(Attachment *attachment) argument
[all...]
H A Dattachment.cpp26 // attachment - CSSM module attachment objects
28 #include "attachment.h"
69 // tell the module to create an attachment
104 // Detach an attachment.
116 CssmError::throwMe(CSSM_ERRCODE_FUNCTION_FAILED); //@#attachment busy
142 // These do not lock the attachment object. The attachment can't go away
179 Required(modHandle) = HandleObject::find<HandleContext>((CSSM_HANDLE)handle, CSSMERR_CSSM_INVALID_ADDIN_HANDLE).attachment.handle();
195 Attachment &attachment local
[all...]
H A Dtransition.cpp66 Attachment &attachment; member in class:TransitLock
68 TransitLock(Attachment &att) : attachment(att)
70 attachment.module.safeLock();
75 attachment.module.safeUnlock();
76 attachment.exit();
296 Context *newContext = new(context.attachment) Context(context.type(), context.algorithm());
298 newContext->CSPHandle = context.attachment.handle();
299 newContext->copyFrom(context, context.attachment);
302 context.attachment.free(newContext);
337 context.copyFrom(source, context.attachment);
456 CSPAttachment *attachment; local
[all...]
H A Dattachfactory.cpp64 StandardAttachment<type, Table> *attachment = local
73 attachment->resolveSymbols(FunctionTable, NumFunctions);
74 return attachment;
84 // Implementation of an attachment factory
88 // generate explicitly known attachment types
H A Dgenerator.pl150 ($actuals .= ",\n${tabs}attachment.module.cssm.getPrivilege()");
164 CSPAttachment &attachment = context.attachment;";
167 $Type &attachment = enterAttachment<$Type>($handle);";
170 TransitLock _(attachment);
171 ${prefix}return attachment.downcalls.$barename($actuals);
H A Dattachment.h26 // attachment - CSSM module attachment objects
76 // service a symbol table inquiry against our attachment
80 // terminate the live attachment and prepare to die
130 AttachmentSubclass &attachment = HandleObject::findAndLock<AttachmentSubclass>(h, CSSMERR_CSSM_INVALID_ADDIN_HANDLE); local
131 attachment.finishEnter();
132 return attachment;
137 // For the standard attachment types, function dispatch to the plugin
/macosx-10.10/WebCore-7600.1.25/html/canvas/
H A DWebGLFramebuffer.cpp61 virtual void attach(GraphicsContext3D*, GC3Denum attachment) override;
62 virtual void unattach(GraphicsContext3D*, GC3Denum attachment) override;
125 void WebGLRenderbufferAttachment::attach(GraphicsContext3D* context, GC3Denum attachment) argument
128 context->framebufferRenderbuffer(GraphicsContext3D::FRAMEBUFFER, attachment, GraphicsContext3D::RENDERBUFFER, object);
131 void WebGLRenderbufferAttachment::unattach(GraphicsContext3D* context, GC3Denum attachment) argument
133 if (attachment == GraphicsContext3D::DEPTH_STENCIL_ATTACHMENT) {
137 context->framebufferRenderbuffer(GraphicsContext3D::FRAMEBUFFER, attachment, GraphicsContext3D::RENDERBUFFER, 0);
155 virtual void attach(GraphicsContext3D*, GC3Denum attachment) override;
156 virtual void unattach(GraphicsContext3D*, GC3Denum attachment) override;
223 void WebGLTextureAttachment::attach(GraphicsContext3D* context, GC3Denum attachment) argument
229 unattach(GraphicsContext3D* context, GC3Denum attachment) argument
238 isAttachmentComplete(WebGLFramebuffer::WebGLAttachment* attachedObject, GC3Denum attachment, const char** reason) argument
289 setAttachmentForBoundFramebuffer(GC3Denum attachment, GC3Denum texTarget, WebGLTexture* texture, GC3Dint level) argument
302 setAttachmentForBoundFramebuffer(GC3Denum attachment, WebGLRenderbuffer* renderbuffer) argument
315 attach(GC3Denum attachment, GC3Denum attachmentPoint) argument
337 removeAttachmentFromBoundFramebuffer(GC3Denum attachment) argument
363 removeAttachmentFromBoundFramebuffer(WebGLSharedObject* attachment) argument
427 WebGLAttachment* attachment = it->value.get(); local
487 WebGLAttachment* attachment = getAttachment(GraphicsContext3D::STENCIL_ATTACHMENT); local
508 WebGLAttachment* attachment = it->value.get(); local
580 WebGLAttachment* attachment = it->value.get(); local
[all...]
H A DWebGLFramebuffer.h55 virtual void attach(GraphicsContext3D*, GC3Denum attachment) = 0;
56 virtual void unattach(GraphicsContext3D*, GC3Denum attachment) = 0;
66 void setAttachmentForBoundFramebuffer(GC3Denum attachment, GC3Denum texTarget, WebGLTexture*, GC3Dint level);
67 void setAttachmentForBoundFramebuffer(GC3Denum attachment, WebGLRenderbuffer*);
70 // If a given attachment point for the currently bound framebuffer is not null, remove the attached object.
119 // attach 'attachment' at 'attachmentPoint'.
120 void attach(GC3Denum attachment, GC3Denum attachmentPoint);
122 // Check if a new drawBuffers call should be issued. This is called when we add or remove an attachment.
/macosx-10.10/WebKit2-7600.1.25/Platform/IPC/
H A DAttachment.cpp58 bool Attachment::decode(ArgumentDecoder& decoder, Attachment& attachment) argument
60 if (!decoder.removeAttachment(attachment))
/macosx-10.10/WebKit-7600.1.25/win/Interfaces/
H A DIWebHTTPURLResponse.idl43 HRESULT isAttachment([out, retval] BOOL* attachment);
/macosx-10.10/Security-57031.1.35/Security/include/security_cdsa_client/
H A Dgenkey.cpp45 check(CSSM_CSP_CreateKeyGenContext(attachment()->handle(), mAlgorithm,
60 &compositeRcc(), key.makeNewKey(attachment())));
78 pubSpec.label, publicKey.makeNewKey(attachment()),
80 privSpec.label, &compositeRcc(), privateKey.makeNewKey(attachment())));
H A Dwrapkey.cpp34 wrappedKey.makeNewKey(attachment())));
67 unwrappedKey.makeNewKey(attachment()), &data));
92 unwrappedKey.makeNewKey(attachment()), &data));
118 unwrappedKey.makeNewKey(attachment()),
142 unwrappedKey.makeNewKey(attachment()),
165 check(CSSM_CSP_CreateDeriveKeyContext(attachment()->handle(), mAlgorithm,
178 derivedKey.makeNewKey(attachment())));
H A Dcspclient.cpp127 check(CSSM_CSP_CreateDigestContext(attachment()->handle(), CSSM_ALGID_NONE, &mHandle));
181 check(CSSM_CSP_CreatePassThroughContext(attachment()->handle(), mKey, &mHandle));
194 check(CSSM_CSP_CreateDigestContext(attachment()->handle(), mAlgorithm, &mHandle));
247 check(CSSM_CSP_CreateRandomGenContext(attachment()->handle(), mAlgorithm,
H A Dcryptoclient.cpp52 check(CSSM_CSP_CreateSymmetricContext(attachment()->handle(), mAlgorithm,
58 check(CSSM_CSP_CreateAsymmetricContext(attachment()->handle(), mAlgorithm,
H A Dmacclient.cpp36 check(CSSM_CSP_CreateMacContext(attachment()->handle(), mAlgorithm,
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cdsa_client/lib/
H A Dgenkey.cpp45 check(CSSM_CSP_CreateKeyGenContext(attachment()->handle(), mAlgorithm,
60 &compositeRcc(), key.makeNewKey(attachment())));
78 pubSpec.label, publicKey.makeNewKey(attachment()),
80 privSpec.label, &compositeRcc(), privateKey.makeNewKey(attachment())));
H A Dwrapkey.cpp34 wrappedKey.makeNewKey(attachment())));
67 unwrappedKey.makeNewKey(attachment()), &data));
92 unwrappedKey.makeNewKey(attachment()), &data));
118 unwrappedKey.makeNewKey(attachment()),
142 unwrappedKey.makeNewKey(attachment()),
165 check(CSSM_CSP_CreateDeriveKeyContext(attachment()->handle(), mAlgorithm,
178 derivedKey.makeNewKey(attachment())));
H A Dcspclient.cpp127 check(CSSM_CSP_CreateDigestContext(attachment()->handle(), CSSM_ALGID_NONE, &mHandle));
181 check(CSSM_CSP_CreatePassThroughContext(attachment()->handle(), mKey, &mHandle));
194 check(CSSM_CSP_CreateDigestContext(attachment()->handle(), mAlgorithm, &mHandle));
247 check(CSSM_CSP_CreateRandomGenContext(attachment()->handle(), mAlgorithm,
H A Dcryptoclient.cpp52 check(CSSM_CSP_CreateSymmetricContext(attachment()->handle(), mAlgorithm,
58 check(CSSM_CSP_CreateAsymmetricContext(attachment()->handle(), mAlgorithm,
/macosx-10.10/WebKit2-7600.1.25/Platform/unix/
H A DSharedMemoryUnix.cpp81 IPC::Attachment attachment; local
82 if (!decoder.decode(attachment))
85 handle.adoptFromAttachment(attachment.releaseFileDescriptor(), attachment.size());
/macosx-10.10/WebKit2-7600.1.25/UIProcess/mac/
H A DServicesController.mm135 NSTextAttachment *attachment = [[NSTextAttachment alloc] init];
137 [attachment setAttachmentCell:cell];
138 NSMutableAttributedString *richString = (NSMutableAttributedString *)[NSMutableAttributedString attributedStringWithAttachment:attachment];

Completed in 396 milliseconds

123