/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/virglrenderer/vtest/ |
D | vtest_renderer.c | 58 struct vtest_renderer renderer; variable 119 renderer.in_fd = in_fd; in vtest_create_renderer() 120 renderer.out_fd = out_fd; in vtest_create_renderer() 141 ret = virgl_renderer_init(&renderer, in vtest_create_renderer() 152 ret = vtest_block_read(renderer.in_fd, vtestname, length); in vtest_create_renderer() 168 virgl_renderer_cleanup(&renderer); in vtest_destroy_renderer() 169 renderer.in_fd = -1; in vtest_destroy_renderer() 170 renderer.out_fd = -1; in vtest_destroy_renderer() 192 ret = vtest_block_write(renderer.out_fd, hdr_buf, 8); in vtest_send_caps2() 195 vtest_block_write(renderer.out_fd, caps_buf, max_size); in vtest_send_caps2() [all …]
|
/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/skqp/samplecode/ |
D | SamplePdfFileViewer.cpp | 35 std::unique_ptr<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(path)); in LoadPdf() local 36 if (nullptr == renderer.get()) { in LoadPdf() 41 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), in LoadPdf() 42 (int) renderer->MediaBox(0).height()); in LoadPdf() 43 renderer->renderPage(0, canvas, renderer->MediaBox(0)); in LoadPdf()
|
/external/skia/samplecode/ |
D | SamplePdfFileViewer.cpp | 35 std::unique_ptr<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(path)); in LoadPdf() local 36 if (nullptr == renderer.get()) { in LoadPdf() 41 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), in LoadPdf() 42 (int) renderer->MediaBox(0).height()); in LoadPdf() 43 renderer->renderPage(0, canvas, renderer->MediaBox(0)); in LoadPdf()
|
/external/v8/tools/ |
D | perf-compare.py | 436 renderer = ResultTableRenderer(args.output) 437 renderer.PrintHeader() 440 renderer.StartTOC(title) 442 renderer.PrintBenchmarkLink(suite_name) 443 renderer.FinishTOC() 446 renderer.StartSuite(suite_name, run_names) 451 renderer.StartBenchmark(benchmark_name) 456 renderer.PrintResult(result) 461 renderer.PrintComparison(result, main_result) 462 renderer.FinishBenchmark() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_program_binary.c | 48 char renderer[10]; in brw_program_binary_init() local 50 int len = snprintf(renderer, sizeof(renderer), "i965_%04x", device_id); in brw_program_binary_init() 51 assert(len == sizeof(renderer) - 1); in brw_program_binary_init() 52 _mesa_sha1_update(&ctx, renderer, len); in brw_program_binary_init()
|
/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, 234 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/swiftshader/src/Vulkan/ |
D | VkQueue.cpp | 27 renderer = new sw::Renderer(context, sw::OpenGL, true); in Queue() 33 delete renderer; in destroy() 48 executionState.renderer = renderer; in submit()
|