/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/ |
HydraulicErodeFilter.java | 124 float aa = (dtotal + a) / (ac + 1);
local 129 float dwj = Math.min(wt[idx], a - aa) * (a - amax) / dtotal;
|
/external/skia/src/core/ |
SkBlitter.cpp | 174 const uint8_t* aa = mask.getAddr8(clip.fLeft, clip.fTop); local 182 this->blitAntiH(clip.fLeft, y, aa, runs); 183 aa += mask.fRowBytes; 292 void SkRectClipBlitter::blitAntiH(int left, int y, const SkAlpha aa[], 308 SkAlphaRuns::BreakAt((int16_t*)runs, (uint8_t*)aa, dx); 310 aa += dx; 317 SkAlphaRuns::BreakAt((int16_t*)runs, (uint8_t*)aa, x1 - x0); 324 fBlitter->blitAntiH(x0, y, aa, runs); 415 void SkRgnClipBlitter::blitAntiH(int x, int y, const SkAlpha aa[], 428 SkAlphaRuns::Break((int16_t*)runs, (uint8_t*)aa, left - x, right - left) [all...] |
SkBlitter_A8.cpp | 65 unsigned aa = antialias[0]; local 67 if (aa == 255 && srcA == 255) { 70 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); 151 int aa = alpha[i]; local 152 if (aa == 0) { 155 if (aa == 255) { 162 sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); 273 static inline uint8_t aa_blend8(SkPMColor src, U8CPU da, int aa) { 274 SkASSERT((unsigned)aa <= 255); 276 int src_scale = SkAlpha255To256(aa); 297 int aa = *antialias; local [all...] |
SkDescriptor.h | 96 // remove the aa < stop test in the loop... 97 const uint32_t* aa = (const uint32_t*)this; local 99 const uint32_t* stop = (const uint32_t*)((const char*)aa + fLength); 101 if (*aa++ != *bb++) 103 } while (aa < stop);
|
/external/skia/tests/ |
Sk64Test.cpp | 83 int aa = rand.nextS() >> 1; local 85 a.set(aa); 87 REPORTER_ASSERT(reporter, a.get32() == aa && b.get32() == bb); 89 REPORTER_ASSERT(reporter, c.get32() == aa + bb); 91 REPORTER_ASSERT(reporter, c.get32() == aa - bb); 93 REPORTER_ASSERT(reporter, c.get32() == aa + bb); 95 REPORTER_ASSERT(reporter, c.get32() == aa - bb); 115 SkLONGLONG aa = asLL(a); local 118 REPORTER_ASSERT(reporter, (a < b) == (aa < bb)); 119 REPORTER_ASSERT(reporter, (a <= b) == (aa <= bb)) [all...] |
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_ie.c | 359 const u8 *aa; member in struct:wpa_auth_okc_iter_data 368 data->pmksa = pmksa_cache_get_okc(a->pmksa, data->aa, data->spa, 592 idata.aa = wpa_auth->addr;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
dct_inline.h | 272 register int32 aa = (int32)op1; local 278 : "r"(aa), 288 register int32 aa = (int32)k0; local 294 : "r"(aa), 304 register int32 aa = (int32)k4; local 310 : "r"(aa), 320 register int32 aa = (int32)k6; local 326 : "r"(aa), 335 register int32 aa = (int32)k6; local 341 : "r"(aa), 352 register int32 aa = (int32)k0; local [all...] |
fastquant_inline.h | 489 register int32 aa = Addition; local 504 "r"(aa), 513 register int32 aa = (int32)q_value; local 519 : "r"(aa), 528 register int32 aa = (int32)q_scale; local 533 : "r"(aa),
|
/frameworks/base/graphics/java/android/renderscript/ |
AllocationAdapter.java | 217 AllocationAdapter aa = new AllocationAdapter(0, rs, a); local 218 aa.mConstrainedLOD = true; 219 aa.mConstrainedFace = true; 220 aa.mConstrainedY = true; 221 aa.mConstrainedZ = true; 222 aa.initLOD(0); 223 return aa; 229 AllocationAdapter aa = new AllocationAdapter(0, rs, a); local 230 aa.mConstrainedLOD = true; 231 aa.mConstrainedFace = true [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidBufferedInputStreamTest.java | 33 ByteArrayInputStream aa = new ByteArrayInputStream(str.getBytes()); local 39 BufferedInputStream a = new BufferedInputStream(aa, 6);
|
OldAndroidBufferedReaderTest.java | 32 StringReader aa = new StringReader(str); local 37 BufferedReader a = new BufferedReader(aa, 5);
|
OldAndroidPushbackInputStreamTest.java | 30 ByteArrayInputStream aa = new ByteArrayInputStream(str.getBytes()); local 34 PushbackInputStream a = new PushbackInputStream(aa, 7);
|
OldStreamTokenizerTest.java | 53 StringReader aa = new StringReader(str); local 55 StreamTokenizer a = new StreamTokenizer(aa);
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
AsmGeneratorTest.java | 129 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, agen, local 135 aa.analyze(); 193 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, agen, local 199 aa.analyze();
|
/external/bluetooth/bluedroid/stack/smp/ |
smp_utils.c | 497 UINT8 i, *aa = a, *bb = b; local 502 aa[i] = aa[i] ^ bb[i];
|
/external/chromium_org/third_party/flot/ |
jquery.flot.pie.min.js | 1 (function(b){function c(D){var h=null;var L=null;var n=null;var B=null;var p=null;var M=0;var F=true;var o=10;var w=0.95;var A=0;var d=false;var z=false;var j=[];D.hooks.processOptions.push(g);D.hooks.bindEvents.push(e);function g(O,N){if(N.series.pie.show){N.grid.show=false;if(N.series.pie.label.show=="auto"){if(N.legend.show){N.series.pie.label.show=false}else{N.series.pie.label.show=true}}if(N.series.pie.radius=="auto"){if(N.series.pie.label.show){N.series.pie.radius=3/4}else{N.series.pie.radius=1}}if(N.series.pie.tilt>1){N.series.pie.tilt=1}if(N.series.pie.tilt<0){N.series.pie.tilt=0}O.hooks.processDatapoints.push(E);O.hooks.drawOverlay.push(H);O.hooks.draw.push(r)}}function e(P,N){var O=P.getOptions();if(O.series.pie.show&&O.grid.hoverable){N.unbind("mousemove").mousemove(t)}if(O.series.pie.show&&O.grid.clickable){N.unbind("click").click(l)}}function G(O){var P="";function N(S,T){if(!T){T=0}for(var R=0;R<S.length;++R){for(var Q=0;Q<T;Q++){P+="\t"}if(typeof S[R]=="object"){P+=""+R+":\n";N(S[R],T+1)}else{P+=""+R+": "+S[R]+"\n"}}}N(O);alert(P)}function q(P){for(var N=0;N<P.length;++N){var O=parseFloat(P[N].data[0][1]);if(O){M+=O}}}function E(Q,N,O,P){if(!d){d=true;h=Q.getCanvas();L=b(h).parent();a=Q.getOptions();Q.setData(K(Q.getData()))}}function I(){A=L.children().filter(".legend").children().width();n=Math.min(h.width,(h.height/a.series.pie.tilt))/2;p=(h.height/2)+a.series.pie.offset.top;B=(h.width/2);if(a.series.pie.offset.left=="auto"){if(a.legend.position.match("w")){B+=A/2}else{B-=A/2}}else{B+=a.series.pie.offset.left}if(B<n){B=n}else{if(B>h.width-n){B=h.width-n}}}function v(O){for(var N=0;N<O.length;++N){if(typeof(O[N].data)=="number"){O[N].data=[[1,O[N].data]]}else{if(typeof(O[N].data)=="undefined"||typeof(O[N].data[0])=="undefined"){if(typeof(O[N].data)!="undefined"&&typeof(O[N].data.label)!="undefined"){O[N].label=O[N].data.label}O[N].data=[[1,0]]}}}return O}function K(Q){Q=v(Q);q(Q);var P=0;var S=0;var N=a.series.pie.combine.color;var R=[];for(var O=0;O<Q.length;++O){Q[O].data[0][1]=parseFloat(Q[O].data[0][1]);if(!Q[O].data[0][1]){Q[O].data[0][1]=0}if(Q[O].data[0][1]/M<=a.series.pie.combine.threshold){P+=Q[O].data[0][1];S++;if(!N){N=Q[O].color}}else{R.push({data:[[1,Q[O].data[0][1]]],color:Q[O].color,label:Q[O].label,angle:(Q[O].data[0][1]*(Math.PI*2))/M,percent:(Q[O].data[0][1]/M*100)})}}if(S>0){R.push({data:[[1,P]],color:N,label:a.series.pie.combine.label,angle:(P*(Math.PI*2))/M,percent:(P/M*100)})}return R}function r(S,Q){if(!L){return}ctx=Q;I();var T=S.getData();var P=0;while(F&&P<o){F=false;if(P>0){n*=w}P+=1;N();if(a.series.pie.tilt<=0.8){O()}R()}if(P>=o){N();L.prepend('<div class="error">Could not draw pie with labels contained inside canvas</div>')}if(S.setSeries&&S.insertLegend){S.setSeries(T);S.insertLegend()}function N(){ctx.clearRect(0,0,h.width,h.height);L.children().filter(".pieLabel, .pieLabelBackground").remove()}function O(){var Z=5;var Y=15;var W=10;var X=0.02;if(a.series.pie.radius>1){var U=a.series.pie.radius}else{var U=n*a.series.pie.radius}if(U>=(h.width/2)-Z||U*a.series.pie.tilt>=(h.height/2)-Y||U<=W){return}ctx.save();ctx.translate(Z,Y);ctx.globalAlpha=X;ctx.fillStyle="#000";ctx.translate(B,p);ctx.scale(1,a.series.pie.tilt);for(var V=1;V<=W;V++){ctx.beginPath();ctx.arc(0,0,U,0,Math.PI*2,false);ctx.fill();U-=V}ctx.restore()}function R(){startAngle=Math.PI*a.series.pie.startAngle;if(a.series.pie.radius>1){var U=a.series.pie.radius}else{var U=n*a.series.pie.radius}ctx.save();ctx.translate(B,p);ctx.scale(1,a.series.pie.tilt);ctx.save();var Y=startAngle;for(var W=0;W<T.length;++W){T[W].startAngle=Y;X(T[W].angle,T[W].color,true)}ctx.restore();ctx.save();ctx.lineWidth=a.series.pie.stroke.width;Y=startAngle;for(var W=0;W<T.length;++W){X(T[W].angle,a.series.pie.stroke.color,false)}ctx.restore();J(ctx);if(a.series.pie.label.show){V()}ctx.restore();function X(ab,Z,aa){if(ab<=0){return}if(aa){ctx.fillStyle=Z}else{ctx.strokeStyle=Z;ctx.lineJoin="round"}ctx.beginPath();if(Math.abs(ab-Math.PI*2)>1e-9){ctx.moveTo(0,0)}else{if(b.browser.msie){ab-=0.0001}}ctx.arc(0,0,U,Y,Y+ab,false);ctx.closePath();Y+=ab;if(aa){ctx.fill()}else{ctx.stroke()}}function V(){var ac=startAngle;if(a.series.pie.label.radius>1){var Z=a.series.pie.label.radius}else{var Z=n*a.series.pie.label.radius}for(var ab=0;ab<T.length;++ab){if(T[ab].percent>=a.series.pie.label.threshold*100){aa(T[ab],ac,ab)}ac+=T[ab].angle}function aa(ap,ai,ag){if(ap.data[0][1]==0){return}var ar=a.legend.labelFormatter,aq,ae=a.series.pie.label.form (…)
|
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
bn_exp.c | 256 BIGNUM *aa; local 277 aa = BN_CTX_get(ctx); 279 if(!aa || !val[0]) goto err; 285 if (!BN_copy(aa, m)) goto err; 286 aa->neg = 0; 287 if (BN_RECP_CTX_set(&recp,aa,ctx) <= 0) goto err; 305 if (!BN_mod_mul_reciprocal(aa,val[0],val[0],&recp,ctx)) 312 aa,&recp,ctx)) 390 const BIGNUM *aa; local 437 aa= val[0] [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBlitMask_D32.cpp | 17 unsigned aa = *mask++; local 18 *device = SkBlendARGB32(pmc, *device, aa); 38 unsigned aa = *mask++; local 39 *device = SkAlphaMulQ(pmc, SkAlpha255To256(aa)) + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); 58 unsigned aa = *mask++; local 59 *device = (aa << SK_A32_SHIFT) + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa));
|
SkBlitter_ARGB32.cpp | 95 unsigned aa = antialias[0]; local 96 if (aa) { 97 if ((opaqueMask & aa) == 255) { 100 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); 244 unsigned aa = antialias[0]; local 245 if (aa) { 246 if (aa == 255) { 249 SkPMColor src = aa << SK_A32_SHIFT; 250 unsigned dst_scale = 256 - aa; 270 int count, U8CPU aa) { 423 int aa = *antialias; local 447 int aa = *antialias; local 468 int aa = *antialias; local [all...] |
SkFloat.cpp | 300 int aa = rand.nextS() >> 14; local 302 a.setInt(aa); 304 SkASSERT(a.getInt() == aa); 309 SkASSERT(cc == aa + bb); 313 SkASSERT(cc == aa - bb); 315 aa >>= 5; 317 a.setInt(aa); 321 SkASSERT(cc == aa * bb); 324 aa = rand.nextS() >> 11; 325 a.setFixed(aa); [all...] |
/external/clang/test/Analysis/ |
dynamic-cast.cpp | 23 B aa; local 24 A *a = &aa; 88 B aa; local 89 A *a = &aa; 94 B aa; local 95 A *a = &aa;
|
/external/clang/test/CodeGenCXX/ |
pointers-to-data-members.cpp | 17 int A::* aa[2]; member in class:ZeroInit::A 34 int A::*aa[2]; member in class:ZeroInit::__anon18507::A
|
/external/clang/test/SemaCXX/ |
crashes.cpp | 26 int aa() { return p; } // expected-error{{use of undeclared identifier 'p'}} function in struct:a::x
|
/external/eigen/test/eigen2/ |
eigen2_geometry.cpp | 110 AngleAxisx aa = q1; local 111 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1); 112 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1);
|
eigen2_geometry_with_eigen2_prefix.cpp | 112 AngleAxisx aa = q1; local 113 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1); 114 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1);
|