Home
last modified time | relevance | path

Searched refs:attachment (Results 1 – 25 of 734) sorted by relevance

12345678910>>...30

/external/pdfium/fpdfsdk/
Dfpdf_attachment_embeddertest.cpp26 FPDF_ATTACHMENT attachment = FPDFDoc_GetAttachment(document(), 0); in TEST_F() local
27 ASSERT_TRUE(attachment); in TEST_F()
30 unsigned long length_bytes = FPDFAttachment_GetName(attachment, nullptr, 0); in TEST_F()
33 EXPECT_EQ(12u, FPDFAttachment_GetName(attachment, buf.data(), length_bytes)); in TEST_F()
37 length_bytes = FPDFAttachment_GetFile(attachment, nullptr, 0); in TEST_F()
40 4u, FPDFAttachment_GetFile(attachment, content_buf.data(), length_bytes)); in TEST_F()
44 EXPECT_FALSE(FPDFAttachment_HasKey(attachment, "none")); in TEST_F()
49 FPDFAttachment_GetValueType(attachment, kSizeKey)); in TEST_F()
51 FPDFAttachment_GetStringValue(attachment, kSizeKey, nullptr, 0)); in TEST_F()
55 FPDFAttachment_GetStringValue(attachment, kDateKey, nullptr, 0); in TEST_F()
[all …]
Dfpdf_attachment.cpp134 FPDFAttachment_GetName(FPDF_ATTACHMENT attachment, in FPDFAttachment_GetName() argument
137 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_GetName()
146 FPDFAttachment_HasKey(FPDF_ATTACHMENT attachment, FPDF_BYTESTRING key) { in FPDFAttachment_HasKey() argument
147 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_HasKey()
156 FPDFAttachment_GetValueType(FPDF_ATTACHMENT attachment, FPDF_BYTESTRING key) { in FPDFAttachment_GetValueType() argument
157 if (!FPDFAttachment_HasKey(attachment, key)) in FPDFAttachment_GetValueType()
160 CPDF_FileSpec spec(CPDFObjectFromFPDFAttachment(attachment)); in FPDFAttachment_GetValueType()
166 FPDFAttachment_SetStringValue(FPDF_ATTACHMENT attachment, in FPDFAttachment_SetStringValue() argument
169 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_SetStringValue()
188 FPDFAttachment_GetStringValue(FPDF_ATTACHMENT attachment, in FPDFAttachment_GetStringValue() argument
[all …]
/external/swiftshader/src/Vulkan/
DVkFramebuffer.cpp79 const VkAttachmentDescription attachment = renderPass->getAttachment(i); in clear() local
81 VkImageAspectFlags aspectMask = Format(attachment.format).getAspects(); in clear()
82 if(attachment.loadOp != VK_ATTACHMENT_LOAD_OP_CLEAR) in clear()
84 if(attachment.stencilLoadOp != VK_ATTACHMENT_LOAD_OP_CLEAR) in clear()
104 …enderPass *renderPass, uint32_t subpassIndex, const VkClearAttachment &attachment, const VkClearRe… in clearAttachment() argument
108 if(attachment.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) in clearAttachment()
110 ASSERT(attachment.colorAttachment < subpass.colorAttachmentCount); in clearAttachment()
111 uint32_t attachmentIndex = subpass.pColorAttachments[attachment.colorAttachment].attachment; in clearAttachment()
120 imageView->clearWithLayerMask(attachment.clearValue, attachment.aspectMask, rect.rect, in clearAttachment()
125 imageView->clear(attachment.clearValue, attachment.aspectMask, rect); in clearAttachment()
[all …]
DVkRenderPass.cpp89 dst[i].attachment = src[i].attachment; in CopyAttachmentReferences()
163 …ilResolveAttachment != nullptr && ext->pDepthStencilResolveAttachment->attachment != VK_ATTACHMENT… in RenderPass()
186 reference->attachment = ext->pDepthStencilResolveAttachment->attachment; in RenderPass()
191 MarkFirstUse(reference->attachment, i); in RenderPass()
297 if(subpass.pInputAttachments[j].attachment != VK_ATTACHMENT_UNUSED) in init()
298 MarkFirstUse(subpass.pInputAttachments[j].attachment, i); in init()
320 if(subpass.pColorAttachments[j].attachment != VK_ATTACHMENT_UNUSED) in init()
321 MarkFirstUse(subpass.pColorAttachments[j].attachment, i); in init()
323 subpass.pResolveAttachments[j].attachment != VK_ATTACHMENT_UNUSED) in init()
324 MarkFirstUse(subpass.pResolveAttachments[j].attachment, i); in init()
[all …]
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pass.c35 if (subpass_att->attachment == VK_ATTACHMENT_UNUSED) in lvp_render_pass_compile()
39 &pass->attachments[subpass_att->attachment]; in lvp_render_pass_compile()
55 subpass->depth_stencil_attachment->attachment == VK_ATTACHMENT_UNUSED) in lvp_render_pass_compile()
59 subpass->ds_resolve_attachment->attachment == VK_ATTACHMENT_UNUSED) in lvp_render_pass_compile()
65 if (subpass_att->attachment == VK_ATTACHMENT_UNUSED) in lvp_render_pass_compile()
69 &pass->attachments[subpass_att->attachment]; in lvp_render_pass_compile()
80 if (subpass_att->attachment == VK_ATTACHMENT_UNUSED) in lvp_render_pass_compile()
86 &pass->attachments[subpass_att->attachment]; in lvp_render_pass_compile()
93 subpass->depth_stencil_attachment->attachment; in lvp_render_pass_compile()
109 if (resolve_att->attachment == VK_ATTACHMENT_UNUSED) in lvp_render_pass_compile()
[all …]
/external/skqp/src/gpu/vk/
DGrVkRenderPass.cpp18 void setup_vk_attachment_description(VkAttachmentDescription* attachment, in setup_vk_attachment_description() argument
21 attachment->flags = 0; in setup_vk_attachment_description()
22 attachment->format = desc.fFormat; in setup_vk_attachment_description()
23 SkAssertResult(GrSampleCountToVkSampleCount(desc.fSamples, &attachment->samples)); in setup_vk_attachment_description()
26 attachment->loadOp = desc.fLoadStoreOps.fLoadOp; in setup_vk_attachment_description()
27 attachment->storeOp = desc.fLoadStoreOps.fStoreOp; in setup_vk_attachment_description()
28 attachment->stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
29 attachment->stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; in setup_vk_attachment_description()
32 attachment->loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
33 attachment->storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; in setup_vk_attachment_description()
[all …]
/external/mesa3d/src/mesa/main/
Dfbobject.h90 GLenum attachment,
96 GLenum attachment,
129 GLenum attachment, const char *caller);
133 GLenum attachment,
254 _mesa_FramebufferTexture1D_no_error(GLenum target, GLenum attachment,
258 _mesa_FramebufferTexture1D(GLenum target, GLenum attachment,
262 _mesa_FramebufferTexture2D_no_error(GLenum target, GLenum attachment,
266 _mesa_FramebufferTexture2D(GLenum target, GLenum attachment,
270 _mesa_FramebufferTexture2DMultisampleEXT(GLenum target, GLenum attachment,
275 _mesa_FramebufferTexture3D_no_error(GLenum target, GLenum attachment,
[all …]
Dfbobject.c262 GLenum attachment, bool *is_color_attachment) in get_attachment() argument
271 switch (attachment) { in get_attachment()
294 i = attachment - GL_COLOR_ATTACHMENT0_EXT; in get_attachment()
321 GLenum attachment) in get_fb0_attachment() argument
325 attachment = _mesa_back_to_front_if_single_buffered(fb, attachment); in get_fb0_attachment()
328 switch (attachment) { in get_fb0_attachment()
346 switch (attachment) { in get_fb0_attachment()
593 GLenum attachment, in _mesa_FramebufferRenderbuffer_sw() argument
600 att = get_attachment(ctx, fb, attachment, NULL); in _mesa_FramebufferRenderbuffer_sw()
604 if (attachment == GL_DEPTH_STENCIL_ATTACHMENT) { in _mesa_FramebufferRenderbuffer_sw()
[all …]
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DJimfsAsynchronousFileChannel.java60 @NullableDecl A attachment) { in addCallback() argument
61 future.addListener(new CompletionHandlerCallback<>(future, handler, attachment), executor); in addCallback()
80 @NullableDecl A attachment, in lock() argument
83 addCallback(lock(position, size, shared), handler, attachment); in lock() local
125 @NullableDecl A attachment,
127 addCallback(read(dst, position), handler, attachment);
151 @NullableDecl A attachment,
153 addCallback(write(src, position), handler, attachment);
194 @NullableDecl private final A attachment;
199 @NullableDecl A attachment) {
[all …]
/external/libchrome/ipc/
Dipc_message_attachment_set.cc24 for (const scoped_refptr<MessageAttachment>& attachment : attachments) { in count_attachments_of_type() local
25 if (attachment->GetType() == type) in count_attachments_of_type()
63 scoped_refptr<MessageAttachment> attachment, in AddAttachment() argument
66 if (attachment->GetType() == MessageAttachment::Type::PLATFORM_FILE && in AddAttachment()
73 switch (attachment->GetType()) { in AddAttachment()
79 attachments_.push_back(attachment); in AddAttachment()
87 scoped_refptr<MessageAttachment> attachment) { in AddAttachment() argument
89 return AddAttachment(attachment, &index); in AddAttachment()
Dipc_message_attachment.cc34 base::ScopedFD TakeOrDupFile(internal::PlatformFileAttachment* attachment) { in TakeOrDupFile() argument
35 return attachment->Owns() in TakeOrDupFile()
36 ? base::ScopedFD(attachment->TakePlatformFile()) in TakeOrDupFile()
37 : base::ScopedFD(HANDLE_EINTR(dup(attachment->file()))); in TakeOrDupFile()
69 auto* attachment = static_cast<internal::MachPortAttachmentMac*>(this); in TakeMojoHandle() local
72 static_cast<uint64_t>(attachment->get_mach_port())}; in TakeMojoHandle()
78 attachment->reset_mach_port_ownership(); in TakeMojoHandle()
83 auto* attachment = static_cast<internal::HandleAttachmentFuchsia*>(this); in TakeMojoHandle() local
86 static_cast<uint64_t>(attachment->Take())}; in TakeMojoHandle()
Dipc_mojo_message_helper.cc27 scoped_refptr<base::Pickle::Attachment> attachment; in ReadMessagePipeFrom() local
28 if (!message->ReadAttachment(iter, &attachment)) { in ReadMessagePipeFrom()
34 static_cast<MessageAttachment*>(attachment.get())->GetType(); in ReadMessagePipeFrom()
41 static_cast<internal::MojoHandleAttachment*>(attachment.get()) in ReadMessagePipeFrom()
/external/mesa3d/src/intel/vulkan/
Danv_pass.c76 subpass->depth_stencil_attachment->attachment == VK_ATTACHMENT_UNUSED) in anv_render_pass_compile()
80 subpass->ds_resolve_attachment->attachment == VK_ATTACHMENT_UNUSED) in anv_render_pass_compile()
85 if (subpass_att->attachment == VK_ATTACHMENT_UNUSED) in anv_render_pass_compile()
89 &pass->attachments[subpass_att->attachment]; in anv_render_pass_compile()
103 subpass_att->attachment == subpass->depth_stencil_attachment->attachment) in anv_render_pass_compile()
115 if (resolve_att->attachment == VK_ATTACHMENT_UNUSED) in anv_render_pass_compile()
120 assert(color_att->attachment < pass->attachment_count); in anv_render_pass_compile()
122 &pass->attachments[color_att->attachment]; in anv_render_pass_compile()
136 assert(ds_att->attachment < pass->attachment_count); in anv_render_pass_compile()
138 &pass->attachments[ds_att->attachment]; in anv_render_pass_compile()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_pass.c68 const uint32_t a = subpass->attachments[j].attachment; in radv_pass_has_layout_transitions()
191 if (subpass_att->attachment == VK_ATTACHMENT_UNUSED) in radv_render_pass_compile()
195 &pass->attachments[subpass_att->attachment]; in radv_render_pass_compile()
211 subpass->depth_stencil_attachment->attachment == VK_ATTACHMENT_UNUSED) in radv_render_pass_compile()
215 subpass->ds_resolve_attachment->attachment == VK_ATTACHMENT_UNUSED) in radv_render_pass_compile()
221 if (subpass_att->attachment == VK_ATTACHMENT_UNUSED) in radv_render_pass_compile()
225 &pass->attachments[subpass_att->attachment]; in radv_render_pass_compile()
236 if (subpass_att->attachment == VK_ATTACHMENT_UNUSED) in radv_render_pass_compile()
242 &pass->attachments[subpass_att->attachment]; in radv_render_pass_compile()
249 subpass->depth_stencil_attachment->attachment; in radv_render_pass_compile()
[all …]
/external/pdfium/public/
Dfpdf_attachment.h72 FPDFAttachment_GetName(FPDF_ATTACHMENT attachment,
84 FPDFAttachment_HasKey(FPDF_ATTACHMENT attachment, FPDF_BYTESTRING key);
95 FPDFAttachment_GetValueType(FPDF_ATTACHMENT attachment, FPDF_BYTESTRING key);
108 FPDFAttachment_SetStringValue(FPDF_ATTACHMENT attachment,
129 FPDFAttachment_GetStringValue(FPDF_ATTACHMENT attachment,
146 FPDFAttachment_SetFile(FPDF_ATTACHMENT attachment,
162 FPDFAttachment_GetFile(FPDF_ATTACHMENT attachment,
/external/skia/src/gpu/vk/
DGrVkRenderPass.cpp18 void setup_vk_attachment_description(VkAttachmentDescription* attachment, in setup_vk_attachment_description() argument
22 attachment->flags = 0; in setup_vk_attachment_description()
23 attachment->format = desc.fFormat; in setup_vk_attachment_description()
24 SkAssertResult(GrSampleCountToVkSampleCount(desc.fSamples, &attachment->samples)); in setup_vk_attachment_description()
29 attachment->loadOp = desc.fLoadStoreOps.fLoadOp; in setup_vk_attachment_description()
30 attachment->storeOp = desc.fLoadStoreOps.fStoreOp; in setup_vk_attachment_description()
31 attachment->stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
32 attachment->stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; in setup_vk_attachment_description()
35 attachment->loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
36 attachment->storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; in setup_vk_attachment_description()
[all …]
/external/angle/src/libANGLE/
DFramebuffer.cpp66 const FramebufferAttachment &attachment) in CheckAttachmentCompleteness() argument
68 ASSERT(attachment.isAttached()); in CheckAttachmentCompleteness()
70 const Extents &size = attachment.getSize(); in CheckAttachmentCompleteness()
77 if (!attachment.isRenderable(context)) in CheckAttachmentCompleteness()
83 if (attachment.type() == GL_TEXTURE) in CheckAttachmentCompleteness()
89 if (!attachment.isLayered()) in CheckAttachmentCompleteness()
91 if (attachment.layer() >= size.depth) in CheckAttachmentCompleteness()
115 const Texture *texture = attachment.getTexture(); in CheckAttachmentCompleteness()
127 GLuint attachmentMipLevel = static_cast<GLuint>(attachment.mipLevel()); in CheckAttachmentCompleteness()
202 const FramebufferAttachment &attachment, in CheckAttachmentSampleCompleteness() argument
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pass.c55 uint32_t attachment_idx = subpass->color_attachments[j].attachment; in pass_find_subpass_range_for_attachments()
65 subpass->resolve_attachments[j].attachment != VK_ATTACHMENT_UNUSED) { in pass_find_subpass_range_for_attachments()
70 uint32_t ds_attachment_idx = subpass->ds_attachment.attachment; in pass_find_subpass_range_for_attachments()
79 uint32_t input_attachment_idx = subpass->input_attachments[j].attachment; in pass_find_subpass_range_for_attachments()
90 uint32_t attachment_idx = subpass->resolve_attachments[j].attachment; in pass_find_subpass_range_for_attachments()
168 .attachment = desc->pInputAttachments[j].attachment, in v3dv_CreateRenderPass()
180 desc->pColorAttachments[j].attachment; in v3dv_CreateRenderPass()
182 .attachment = attachment_idx, in v3dv_CreateRenderPass()
198 .attachment = desc->pResolveAttachments[j].attachment, in v3dv_CreateRenderPass()
206 .attachment = desc->pDepthStencilAttachment->attachment, in v3dv_CreateRenderPass()
[all …]
/external/angle/src/libANGLE/renderer/gl/
DFramebufferGL.cpp79 const FramebufferAttachment *attachment) in BindFramebufferAttachment() argument
81 if (attachment) in BindFramebufferAttachment()
83 if (attachment->type() == GL_TEXTURE) in BindFramebufferAttachment()
85 const Texture *texture = attachment->getTexture(); in BindFramebufferAttachment()
93 if (attachment->isRenderToTexture()) in BindFramebufferAttachment()
99 textureGL->getTextureID(), attachment->mipLevel(), in BindFramebufferAttachment()
100 attachment->getSamples()); in BindFramebufferAttachment()
107 textureGL->getTextureID(), attachment->mipLevel(), in BindFramebufferAttachment()
108 attachment->getSamples()); in BindFramebufferAttachment()
115 textureGL->getTextureID(), attachment->mipLevel()); in BindFramebufferAttachment()
[all …]
/external/deqp/modules/gles3/functional/
Des3fFboStateQueryTests.cpp46 …::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, int r, int g, i… in checkAttachmentComponentSizeAtLeast() argument
66 gl.glGetFramebufferAttachmentParameteriv(target, attachment, paramNames[ndx], &state); in checkAttachmentComponentSizeAtLeast()
83 …::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, int r, int g, i… in checkAttachmentComponentSizeExactly() argument
103 gl.glGetFramebufferAttachmentParameteriv(target, attachment, paramNames[ndx], &state); in checkAttachmentComponentSizeExactly()
144 …::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, GLenum pname, G… in checkAttachmentParam() argument
147 gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, &state); in checkAttachmentParam()
619 bool attachmentExists (GLenum attachment) in attachmentExists() argument
622 …glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, attachment, GL_FRAMEBUFFER_ATTACHMENT_OBJECT… in attachmentExists()
637 …virtual void testColorAttachment (GLenum internalFormat, GLenum attachment, GLint bitsR, GLint bit…
639 …virtual void testDepthAttachment (GLenum internalFormat, GLenum attachment, GLint bitsD, GLint bit…
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dtilemgr.cpp95 SWR_RENDERTARGET_ATTACHMENT attachment, in GetHotTile() argument
107 HOTTILE& hotTile = tile.Attachment[attachment]; in GetHotTile()
112 uint32_t size = numSamples * mHotTileSize[attachment]; in GetHotTile()
136 uint32_t size = numSamples * mHotTileSize[attachment]; in GetHotTile()
149 switch (attachment) in GetHotTile()
168 SWR_INVALID("Unknown attachment: %d", attachment); in GetHotTile()
175 if (attachment == SWR_ATTACHMENT_STENCIL) in GetHotTile()
177 else if (attachment == SWR_ATTACHMENT_DEPTH) in GetHotTile()
190 attachment, in GetHotTile()
200 attachment, in GetHotTile()
[all …]
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Terminal/
DText_Suite.py18 class attachment(aetools.ComponentItem): class
93 attachment._superclassnames = ['text']
94 attachment._privpropdict = {
98 attachment._privelemdict = {
175 'atts' : attachment,
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/SystemEvents/
DText_Suite.py18 class attachment(aetools.ComponentItem): class
93 attachment._superclassnames = ['text']
94 attachment._privpropdict = {
98 attachment._privelemdict = {
175 'atts' : attachment,
/external/skqp/src/gpu/gl/
DGrGLCreateNullInterface.cpp161 void setAttachment(GrGLenum attachmentPoint, const FramebufferAttachment* attachment) { in setAttachment() argument
167 fAttachments[(int)AttachmentPoint::kStencil].reset(SkRef(attachment)); in setAttachment()
170 fAttachments[(int)AttachmentPoint::kDepth].reset(SkRef(attachment)); in setAttachment()
173 fAttachments[(int)AttachmentPoint::kColor].reset(SkRef(attachment)); in setAttachment()
179 for (auto& attachment : fAttachments) { in notifyAttachmentDeleteWhileBound() local
180 if (attachment.get() == deleted) { in notifyAttachmentDeleteWhileBound()
181 attachment.reset(nullptr); in notifyAttachmentDeleteWhileBound()
188 for (auto& attachment : fAttachments) { in numSamples() local
189 if (!attachment) { in numSamples()
193 GrAlwaysAssert(attachment->numSamples() == numSamples); in numSamples()
[all …]
/external/llvm-project/flang/lib/Parser/
Dmessage.cpp175 if (Message * attachment{attachment_.get()}) { in ResolveProvenances()
176 attachment->ResolveProvenances(allCooked); in ResolveProvenances()
201 for (const Message *attachment{attachment_.get()}; attachment; in Emit() local
202 attachment = attachment->attachment_.get()) { in Emit()
207 text += attachment->ToString(); in Emit()
209 o, attachment->GetProvenanceRange(allCooked), text, echoSourceLine); in Emit()
210 isContext = attachment->attachmentIsContext_; in Emit()

12345678910>>...30