/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | HtmlStreamRendererTest.java | 43 private final HtmlStreamRenderer renderer = HtmlStreamRenderer.create( field in HtmlStreamRendererTest 99 renderer.openDocument(); in testIllegalElementName() 100 renderer.openTag(":svg", ImmutableList.<String>of()); in testIllegalElementName() 101 renderer.openTag("svg:", ImmutableList.<String>of()); in testIllegalElementName() 102 renderer.openTag("-1", ImmutableList.<String>of()); in testIllegalElementName() 103 renderer.openTag("svg::svg", ImmutableList.<String>of()); in testIllegalElementName() 104 renderer.openTag("a@b", ImmutableList.<String>of()); in testIllegalElementName() 105 renderer.closeDocument(); in testIllegalElementName() 122 renderer.openDocument(); in testIllegalAttributeName() 123 renderer.openTag("div", ImmutableList.of(":svg", "x")); in testIllegalAttributeName() [all …]
|
D | Benchmark.java | 135 final HtmlStreamRenderer renderer = HtmlStreamRenderer.create( in sanitize() local 146 renderer.openDocument(); in sanitize() 150 renderer.closeDocument(); in sanitize() 154 renderer.text(textChunk); in sanitize() 169 renderer.openTag(elementName, attrs); in sanitize() 175 renderer.closeTag(elementName); in sanitize() 195 HtmlStreamRenderer renderer = HtmlStreamRenderer.create( in sanitizeUsingPolicyBuilder() local 202 HtmlSanitizer.sanitize(html, policyBuilder.build(renderer)); in sanitizeUsingPolicyBuilder()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_mc.c | 480 vl_mc_init(struct vl_mc *renderer, struct pipe_context *pipe, in vl_mc_init() argument 487 assert(renderer); in vl_mc_init() 490 memset(renderer, 0, sizeof(struct vl_mc)); in vl_mc_init() 492 renderer->pipe = pipe; in vl_mc_init() 493 renderer->buffer_width = buffer_width; in vl_mc_init() 494 renderer->buffer_height = buffer_height; in vl_mc_init() 495 renderer->macroblock_size = macroblock_size; in vl_mc_init() 497 if (!init_pipe_state(renderer)) in vl_mc_init() 500 renderer->vs_ref = create_ref_vert_shader(renderer); in vl_mc_init() 501 if (!renderer->vs_ref) in vl_mc_init() [all …]
|
D | vl_mc.h | 78 bool vl_mc_init(struct vl_mc *renderer, struct pipe_context *pipe, 85 void vl_mc_cleanup(struct vl_mc *renderer); 87 bool vl_mc_init_buffer(struct vl_mc *renderer, struct vl_mc_buffer *buffer); 93 void vl_mc_render_ref(struct vl_mc *renderer, struct vl_mc_buffer *buffer, struct pipe_sampler_view… 95 void vl_mc_render_ycbcr(struct vl_mc *renderer, struct vl_mc_buffer *buffer, unsigned component, un…
|
/external/swiftshader/src/D3D8/ |
D | Direct3DDevice8.cpp | 58 renderer = new sw::Renderer(context, sw::Direct3D, false); in Direct3DDevice8() 163 delete renderer; in ~Direct3DDevice8() 164 renderer = 0; in ~Direct3DDevice8() 385 renderer->clear(rgba, sw::FORMAT_A32B32G32R32F, renderTarget, clearRect, 0xF); in Clear() 938 renderer->draw(drawType, indexOffset, primitiveCount); in DrawIndexedPrimitive() 1038 renderer->draw(drawType, 0, primitiveCount); in DrawIndexedPrimitiveUP() 1069 renderer->draw(drawType, 0, primitiveCount); in DrawPrimitive() 1130 renderer->draw(drawType, 0, primitiveCount); in DrawPrimitiveUP() 1788 renderer->setModelMatrix(C * M); in MultiplyTransform() 1791 renderer->setViewMatrix(C * M); in MultiplyTransform() [all …]
|
/external/swiftshader/src/D3D9/ |
D | Direct3DDevice9.cpp | 64 renderer = new sw::Renderer(context, sw::Direct3D, false); in Direct3DDevice9() 187 delete renderer; in ~Direct3DDevice9() 188 renderer = 0; in ~Direct3DDevice9() 430 renderer->clear(rgba, sw::FORMAT_A32B32G32R32F, renderTarget[index], clearRect, 0xF); in Clear() 1052 renderer->draw(drawType, indexOffset, primitiveCount, instance == 0); in DrawIndexedPrimitive() 1058 renderer->draw(drawType, indexOffset, primitiveCount); in DrawIndexedPrimitive() 1147 renderer->draw(drawType, 0, primitiveCount); in DrawIndexedPrimitiveUP() 1181 renderer->draw(drawType, 0, primitiveCount); in DrawPrimitive() 1245 renderer->draw(drawType, 0, primitiveCount); in DrawPrimitiveUP() 2242 renderer->setModelMatrix(C * M); in MultiplyTransform() [all …]
|
D | Direct3DSwapChain9.cpp | 91 sw::Renderer *renderer = device->renderer; in Present() local 104 for(thread = 0; thread < renderer->getThreadCount(); thread++) in Present() 106 …int64_t drawTime = renderer->getVertexTime(thread) + renderer->getSetupTime(thread) + renderer->ge… in Present() 108 …int vertexPercentage = sw::clamp((int)(100 * renderer->getVertexTime(thread) / frameTime), 0, 100); in Present() 109 … int setupPercentage = sw::clamp((int)(100 * renderer->getSetupTime(thread) / frameTime), 0, 100); in Present() 110 … int pixelPercentage = sw::clamp((int)(100 * renderer->getPixelTime(thread) / frameTime), 0, 100); in Present() 148 renderer->resetTimers(); in Present()
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | HtmlChangeReporter.java | 59 HtmlStreamEventReceiver renderer, in HtmlChangeReporter() argument 61 this.output = new OutputChannel(renderer); in HtmlChangeReporter() 139 private final HtmlStreamEventReceiver renderer; field in HtmlChangeReporter.OutputChannel 143 OutputChannel(HtmlStreamEventReceiver renderer) { in OutputChannel() argument 144 this.renderer = renderer; in OutputChannel() 148 renderer.openDocument(); in openDocument() 152 renderer.closeDocument(); in closeDocument() 162 renderer.openTag(elementName, attrs); in openTag() 166 renderer.closeTag(elementName); in closeTag() 170 renderer.text(text); in text()
|
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
D | VideoTrack.java | 41 public void addRenderer(VideoRenderer renderer) { in addRenderer() argument 42 renderers.add(renderer); in addRenderer() 43 nativeAddRenderer(nativeTrack, renderer.nativeVideoRenderer); in addRenderer() 46 public void removeRenderer(VideoRenderer renderer) { in removeRenderer() argument 47 if (!renderers.remove(renderer)) { in removeRenderer() 50 nativeRemoveRenderer(nativeTrack, renderer.nativeVideoRenderer); in removeRenderer() 51 renderer.dispose(); in removeRenderer()
|
/external/webrtc/talk/app/webrtc/ |
D | videotrackrenderers.cc | 39 void VideoTrackRenderers::AddRenderer(VideoRendererInterface* renderer) { in AddRenderer() argument 40 if (!renderer) { in AddRenderer() 44 renderers_.insert(renderer); in AddRenderer() 47 void VideoTrackRenderers::RemoveRenderer(VideoRendererInterface* renderer) { in RemoveRenderer() argument 49 renderers_.erase(renderer); in RemoveRenderer() 62 for (VideoRendererInterface* renderer : renderers_) { in RenderFrame() 63 renderer->RenderFrame(frame); in RenderFrame()
|
D | videotrack.cc | 53 void VideoTrack::AddRenderer(VideoRendererInterface* renderer) { in AddRenderer() argument 54 renderers_.AddRenderer(renderer); in AddRenderer() 57 void VideoTrack::RemoveRenderer(VideoRendererInterface* renderer) { in RemoveRenderer() argument 58 renderers_.RemoveRenderer(renderer); in RemoveRenderer()
|
/external/mesa3d/src/hgl/ |
D | GLRendererRoster.cpp | 94 return item.renderer; in GetRenderer() 165 GLRendererRoster::AddRenderer(BGLRenderer* renderer, in AddRenderer() argument 169 item.renderer = renderer; in AddRenderer() 181 renderer->fOwningRoster = this; in AddRenderer() 182 renderer->fID = fNextID++; in AddRenderer() 207 BGLRenderer* renderer in CreateRenderer() local 209 if (!renderer) { in CreateRenderer() 214 if (AddRenderer(renderer, image, &ref, nodeRef.node) != B_OK) { in CreateRenderer() 215 renderer->Release(); in CreateRenderer()
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
D | Table.java | 58 final IColumnRenderer renderer, final boolean defaultSorting) { in add() argument 59 columns.add(new Column(columns.size(), header, style, renderer, in add() 66 this.defaultComparator = renderer.getComparator(); in add() 145 private final IColumnRenderer renderer; field in Table.Column 152 final IColumnRenderer renderer, final boolean defaultSorting) { in Column() argument 155 this.renderer = renderer; in Column() 156 index = new SortIndex<ITableItem>(renderer.getComparator()); in Column() 164 visible = renderer.init(items, total); in init() 178 renderer.footer(tr.td(style), total, resources, base); in footer() 188 renderer.item(td, item, resources, base); in body()
|
/external/mesa3d/docs/specs/ |
D | MESA_query_renderer.spec | 50 There are also cases where more than one renderer may be available per 61 contexts with respect to a specific renderer. 66 int renderer, int attribute, 71 int renderer, int attribute); 114 Bool glXQueryRendererIntegerMESA(Display *dpy, int screen, int renderer, 119 of each renderer attribute are listed in the table below. 121 GLX renderer attribute number description 127 the renderer implementation 129 not the renderer is hardware 132 memory available to the renderer [all …]
|
/external/skia/samplecode/ |
D | SamplePdfFileViewer.cpp | 37 std::unique_ptr<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(path)); in LoadPdf() local 38 if (nullptr == renderer.get()) { in LoadPdf() 43 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), in LoadPdf() 44 (int) renderer->MediaBox(0).height()); in LoadPdf() 45 renderer->renderPage(0, canvas, renderer->MediaBox(0)); in LoadPdf()
|
/external/skqp/samplecode/ |
D | SamplePdfFileViewer.cpp | 37 std::unique_ptr<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(path)); in LoadPdf() local 38 if (nullptr == renderer.get()) { in LoadPdf() 43 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), in LoadPdf() 44 (int) renderer->MediaBox(0).height()); in LoadPdf() 45 renderer->renderPage(0, canvas, renderer->MediaBox(0)); in LoadPdf()
|
/external/skqp/src/atlastext/ |
D | SkAtlasTextContext.cpp | 12 sk_sp<SkAtlasTextContext> SkAtlasTextContext::Make(sk_sp<SkAtlasTextRenderer> renderer) { in Make() argument 13 return sk_sp<SkAtlasTextContext>(new SkAtlasTextContext(std::move(renderer))); in Make() 16 SkAtlasTextContext::SkAtlasTextContext(sk_sp<SkAtlasTextRenderer> renderer) in SkAtlasTextContext() argument 17 : fInternalContext(SkInternalAtlasTextContext::Make(std::move(renderer))) {} in SkAtlasTextContext()
|
/external/skia/src/atlastext/ |
D | SkAtlasTextContext.cpp | 12 sk_sp<SkAtlasTextContext> SkAtlasTextContext::Make(sk_sp<SkAtlasTextRenderer> renderer) { in Make() argument 13 return sk_sp<SkAtlasTextContext>(new SkAtlasTextContext(std::move(renderer))); in Make() 16 SkAtlasTextContext::SkAtlasTextContext(sk_sp<SkAtlasTextRenderer> renderer) in SkAtlasTextContext() argument 17 : fInternalContext(SkInternalAtlasTextContext::Make(std::move(renderer))) {} in SkAtlasTextContext()
|
/external/webrtc/talk/media/devices/ |
D | videorendererfactory.h | 52 CarbonVideoRenderer* renderer = new CarbonVideoRenderer(x, y); in CreateGuiVideoRenderer() 54 if (renderer->Initialize()) { in CreateGuiVideoRenderer() 55 return renderer; in CreateGuiVideoRenderer() 57 delete renderer; in CreateGuiVideoRenderer()
|
/external/freetype/include/freetype/ |
D | ftrender.h | 89 (*FT_Renderer_RenderFunc)( FT_Renderer renderer, 95 (*FT_Renderer_TransformFunc)( FT_Renderer renderer, 102 (*FT_Renderer_GetCBoxFunc)( FT_Renderer renderer, 108 (*FT_Renderer_SetModeFunc)( FT_Renderer renderer, 221 FT_Renderer renderer,
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYLegendWidget.java | 133 …private void drawSeriesLegendCell(Canvas canvas, XYSeriesRenderer renderer, XYSeriesFormatter form… in drawSeriesLegendCell() argument 137 renderer.drawSeriesLegendIcon( in drawSeriesLegendCell() 159 for(XYSeriesRenderer renderer : plot.getRendererList()) { in doOnDraw() 161 … SeriesAndFormatterList sfl = plot.getSeriesAndFormatterListForRenderer(renderer.getClass()); in doOnDraw() 167 Hashtable<XYRegionFormatter, String> urf = renderer.getUniqueRegionFormatters(); in doOnDraw() 182 for(XYSeriesRenderer renderer : plot.getRendererList()) { in doOnDraw() 183 …t<XYSeries,XYSeriesFormatter> sfl = plot.getSeriesAndFormatterListForRenderer(renderer.getClass()); in doOnDraw() 191 … drawSeriesLegendCell(canvas, renderer, formatter, cellRect, sfl.getSeries(i).getTitle()); in doOnDraw()
|
/external/webrtc/talk/media/base/ |
D | videoengine_unittest.h | 795 cricket::VideoRenderer* renderer; in AddRemoveRecvStreams() local 796 EXPECT_FALSE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreams() 797 EXPECT_FALSE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreams() 804 EXPECT_TRUE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreams() 805 EXPECT_TRUE(renderer == NULL); in AddRemoveRecvStreams() 806 EXPECT_TRUE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreams() 807 EXPECT_TRUE(NULL == renderer); in AddRemoveRecvStreams() 812 EXPECT_TRUE(channel_->GetRenderer(1, &renderer)); in AddRemoveRecvStreams() 813 EXPECT_TRUE(&renderer1 == renderer); in AddRemoveRecvStreams() 814 EXPECT_TRUE(channel_->GetRenderer(2, &renderer)); in AddRemoveRecvStreams() [all …]
|
/external/webrtc/webrtc/test/ |
D | video_renderer.cc | 28 VideoRenderer* renderer = CreatePlatformRenderer(window_title, width, height); in Create() local 29 if (renderer != NULL) { in Create() 31 return renderer; in Create()
|
/external/mesa3d/src/glx/ |
D | query_renderer.c | 80 int renderer, int attribute, in glXQueryRendererIntegerMESA() argument 98 if (renderer != 0) in glXQueryRendererIntegerMESA() 141 int renderer, int attribute) in glXQueryRendererStringMESA() argument 158 if (renderer != 0) in glXQueryRendererStringMESA()
|
/external/skia/src/gpu/gl/ |
D | GrGLContext.cpp | 26 const char* renderer = reinterpret_cast<const char*>(rendererUByte); in Make() local 40 args.fRenderer = GrGLGetRendererFromString(renderer); in Make() 42 GrGLGetANGLEInfoFromString(renderer, &args.fANGLEBackend, &args.fANGLEVendor, in Make() 56 GrGLGetDriverInfo(interface->fStandard, args.fVendor, renderer, ver, in Make()
|