HomeSort by relevance Sort by last modified time
    Searched refs:newCtx (Results 1 - 8 of 8) sorted by null

  /external/icu/icu4c/source/samples/ucnv/
flagcb.c 156 debugCBContext *newCtx;
157 newCtx = malloc(sizeof(debugCBContext));
159 newCtx->serial = debugCB_nextSerial();
160 newCtx->magic = 0xC0FFEE;
162 newCtx->subCallback = ctx->subCallback;
163 newCtx->subContext = ctx->subContext;
166 printf("debugCB_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial);
169 return newCtx;
  /external/mesa3d/src/mesa/main/
context.c     [all...]
  /external/chromium-trace/catapult/third_party/flot/
jquery.flot.pie.js 146 plot.hooks.draw.push(function(plot, newCtx) {
149 draw(plot, newCtx);
253 function draw(plot, newCtx) {
263 ctx = newCtx;
jquery.flot.pie.min.js 7 (function($){var REDRAW_ATTEMPTS=10;var REDRAW_SHRINK=.95;function init(plot){var canvas=null,target=null,options=null,maxRadius=null,centerLeft=null,centerTop=null,processed=false,ctx=null;var highlights=[];plot.hooks.processOptions.push(function(plot,options){if(options.series.pie.show){options.grid.show=false;if(options.series.pie.label.show=="auto"){if(options.legend.show){options.series.pie.label.show=false}else{options.series.pie.label.show=true}}if(options.series.pie.radius=="auto"){if(options.series.pie.label.show){options.series.pie.radius=3/4}else{options.series.pie.radius=1}}if(options.series.pie.tilt>1){options.series.pie.tilt=1}else if(options.series.pie.tilt<0){options.series.pie.tilt=0}}});plot.hooks.bindEvents.push(function(plot,eventHolder){var options=plot.getOptions();if(options.series.pie.show){if(options.grid.hoverable){eventHolder.unbind("mousemove").mousemove(onMouseMove)}if(options.grid.clickable){eventHolder.unbind("click").click(onClick)}}});plot.hooks.processDatapoints.push(function(plot,series,data,datapoints){var options=plot.getOptions();if(options.series.pie.show){processDatapoints(plot,series,data,datapoints)}});plot.hooks.drawOverlay.push(function(plot,octx){var options=plot.getOptions();if(options.series.pie.show){drawOverlay(plot,octx)}});plot.hooks.draw.push(function(plot,newCtx){var options=plot.getOptions();if(options.series.pie.show){draw(plot,newCtx)}});function processDatapoints(plot,series,datapoints){if(!processed){processed=true;canvas=plot.getCanvas();target=$(canvas).parent();options=plot.getOptions();plot.setData(combine(plot.getData()))}}function combine(data){var total=0,combined=0,numCombined=0,color=options.series.pie.combine.color,newdata=[];for(var i=0;i<data.length;++i){var value=data[i].data;if($.isArray(value)&&value.length==1){value=value[0]}if($.isArray(value)){if(!isNaN(parseFloat(value[1]))&&isFinite(value[1])){value[1]=+value[1]}else{value[1]=0}}else if(!isNaN(parseFloat(value))&&isFinite(value)){value=[1,+value]}else{value=[1,0]}data[i].data=[value]}for(var i=0;i<data.length;++i){total+=data[i].data[0][1]}for(var i=0;i<data.length;++i){var value=data[i].data[0][1];if(value/total<=options.series.pie.combine.threshold){combined+=value;numCombined++;if(!color){color=data[i].color}}}for(var i=0;i<data.length;++i){var value=data[i].data[0][1];if(numCombined<2||value/total>options.series.pie.combine.threshold){newdata.push($.extend(data[i],{data:[[1,value]],color:data[i].color,label:data[i].label,angle:value*Math.PI*2/total,percent:value/(total/100)}))}}if(numCombined>1){newdata.push({data:[[1,combined]],color:color,label:options.series.pie.combine.label,angle:combined*Math.PI*2/total,percent:combined/(total/100)})}return newdata}function draw(plot,newCtx){if(!target){return}var canvasWidth=plot.getPlaceholder().width(),canvasHeight=plot.getPlaceholder().height(),legendWidth=target.children().filter(".legend").children().width()||0;ctx=newCtx;processed=false;maxRadius=Math.min(canvasWidth,canvasHeight/options.series.pie.tilt)/2;centerTop=c (…)
  /external/icu/icu4c/source/test/cintltst/
ccapitst.c     [all...]
  /prebuilts/tools/common/m2/repository/io/netty/netty-transport/4.1.0.CR3/
netty-transport-4.1.0.CR3.jar 
  /external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
vktShaderBuiltinPrecisionTests.cpp 837 EvalContext newCtx (ctx.format, ctx.floatPrecision,
839 const IVal ret = this->doEvaluate(newCtx);
    [all...]
  /external/deqp/modules/glshared/
glsBuiltinPrecisionTests.cpp 858 EvalContext newCtx (ctx.format, ctx.floatPrecision,
860 const IVal ret = this->doEvaluate(newCtx);
    [all...]

Completed in 376 milliseconds