/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_program_pair.h | 67 unsigned int Abs:1;
|
radeon_program.h | 51 unsigned int Abs:1; 53 /** Post-Abs negation. */
|
/external/chromium_org/third_party/skia/src/core/ |
SkFloat.h | 30 void abs() { fPacked = Abs(fPacked); } function in class:SkFloat 96 static int32_t Abs(int32_t packed) { return (uint32_t)(packed << 1) >> 1; }
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_program_pair.h | 67 unsigned int Abs:1;
|
radeon_program.h | 51 unsigned int Abs:1; 53 /** Post-Abs negation. */
|
/external/skia/src/core/ |
SkFloat.h | 30 void abs() { fPacked = Abs(fPacked); } function in class:SkFloat 96 static int32_t Abs(int32_t packed) { return (uint32_t)(packed << 1) >> 1; }
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 71 struct match_info Abs; 108 tokens.Abs.String = src_str + matches[2].rm_so; 109 tokens.Abs.Length = match_length(matches, 2); 122 /* Abs */ 123 if (tokens.Abs.Length > 0) { 124 src_reg->Abs = 1; 192 DBG("File=%u index=%u swizzle=%x negate=%u abs=%u\n", 194 src_reg->Negate, src_reg->Abs);
|
/external/chromium_org/v8/test/cctest/ |
test-compiler.cc | 163 static double Abs(int x) { 176 TEST(Abs) { 179 CHECK_EQ(3.0, Abs(-3));
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 71 struct match_info Abs; 108 tokens.Abs.String = src_str + matches[2].rm_so; 109 tokens.Abs.Length = match_length(matches, 2); 122 /* Abs */ 123 if (tokens.Abs.Length > 0) { 124 src_reg->Abs = 1; 192 DBG("File=%u index=%u swizzle=%x negate=%u abs=%u\n", 194 src_reg->Negate, src_reg->Abs);
|
/external/v8/test/cctest/ |
test-compiler.cc | 176 static double Abs(int x) { 189 TEST(Abs) { 192 CHECK_EQ(3.0, Abs(-3));
|
/external/chromium_org/v8/src/ |
utils.h | 256 T Abs(T a) { [all...] |
/external/opencv/cvaux/src/ |
cvscanlines.cpp | 196 dx = abs( x1 - x2 ) + 1; 197 dy = abs( y1 - y2 ) + 1; 239 dx = abs( x1 - x2 ) + 1; 240 dy = abs( y1 - y2 ) + 1; [all...] |
/external/llvm/lib/Target/R600/ |
AMDGPUISelDAGToDAG.cpp | 52 bool FoldOperand(SDValue &Src, SDValue &Sel, SDValue &Neg, SDValue &Abs, 482 SDValue &Abs, const R600InstrInfo *TII) { 489 if (!Abs.getNode()) 492 Abs = CurDAG->getTargetConstant(1, MVT::i32); 533 SDValue &Abs = (AbsIdx[i] > -1) ? Ops[AbsIdx[i] - 1] : FakeAbs; 534 if (FoldOperand(Src, Sel, Neg, Abs, TII)) 589 SDValue &Abs = Ops[AbsIdx[i] - 1]; 590 if (FoldOperand(Src, Sel, Neg, Abs, TII))
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_instruction.h | 266 GLuint Abs:1; 269 * Post-Abs negation.
|
/external/clang/lib/CodeGen/ |
CGBuiltin.cpp | 163 return CGF.EmitNounwindRuntimeCall(Fn, V, "abs"); 250 Builder.CreateSelect(CmpResult, ArgValue, NegOp, "abs"); 520 Value *Abs = EmitFAbs(*this, V, E->getArg(0)->getType()); 522 Builder.CreateFCmpULT(Abs, ConstantFP::getInfinity(V->getType()),"isinf"); 526 Builder.CreateFCmpUGE(Abs, ConstantFP::get(V->getContext(), Smallest), 538 Value *Abs = EmitFAbs(*this, V, E->getArg(0)->getType()); 540 Builder.CreateFCmpUNE(Abs, ConstantFP::getInfinity(V->getType()),"isinf"); [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyLibCalls.cpp | [all...] |
/external/mesa3d/src/mesa/program/ |
prog_instruction.h | 266 GLuint Abs:1; 269 * Post-Abs negation.
|
/cts/suite/pts/deviceTests/browserbench/assets/octane/ |
box2d.js | 23 F.NVector=function(y){if(y===G)y=0;for(var w=Array(y||0),A=0;A<y;++A)w[A]=0;return w};F.is=function(y,w){if(y===null)return false;if(w instanceof Function&&y instanceof w)return true;if(y.constructor.__implements!=G&&y.constructor.__implements[w])return true;return false};F.parseUInt=function(y){return Math.abs(parseInt(y))}})(Box2D);var Vector=Array,Vector_a2j_Number=Box2D.NVector;if(typeof Box2D==="undefined")Box2D={};if(typeof Box2D.Collision==="undefined")Box2D.Collision={}; 54 e.p1.x,t=e.p2.y-e.p1.y,x=Math.abs(t),C=b.normal,J=0,T=0,P=J=0;P=0;if(Math.abs(v)<Number.MIN_VALUE){if(r<this.lowerBound.x||this.upperBound.x<r)return false}else{J=1/v;T=(this.lowerBound.x-r)*J;J=(this.upperBound.x-r)*J;P=-1;if(T>J){P=T;T=J;J=P;P=1}if(T>f){C.x=P;C.y=0;f=T}m=Math.min(m,J);if(f>m)return false}if(x<Number.MIN_VALUE){if(s<this.lowerBound.y||this.upperBound.y<s)return false}else{J=1/t;T=(this.lowerBound.y-s)*J;J=(this.upperBound.y-s)*J;P=-1;if(T>J){P=T;T=J;J=P;P=1}if(T>f){C.y=P;C.x=0;f= 82 0;){v=J[--T];if(v.aabb.TestOverlap(t)!=false){x=v.aabb.GetCenter();C=v.aabb.GetExtents();if(!(Math.abs(r.x*(f.x-x.x)+r.y*(f.y-x.y))-s.x*C.x-s.y*C.y>0))if(v.IsLeaf()){x=new S;x.p1=e.p1;x.p2=e.p2;x.maxFraction=e.maxFraction;v=b(x,v);if(v==0)break;if(v>0){x=f.x+v*(m.x-f.x);C=f.y+v*(m.y-f.y);t.lowerBound.x=Math.min(f.x,x);t.lowerBound.y=Math.min(f.y,C);t.upperBound.x=Math.max(f.x,x);t.upperBound.y=Math.max(f.y,C)}}else{J[T++]=v.child1;J[T++]=v.child2}}}}};u.prototype.AllocateNode=function(){if(this.m_freeList){var b= 83 this.m_freeList;this.m_freeList=b.parent;b.parent=null;b.child1=null;b.child2=null;return b}return new H};u.prototype.FreeNode=function(b){b.parent=this.m_freeList;this.m_freeList=b};u.prototype.InsertLeaf=function(b){++this.m_insertionCount;if(this.m_root==null){this.m_root=b;this.m_root.parent=null}else{var e=b.aabb.GetCenter(),f=this.m_root;if(f.IsLeaf()==false){do{var m=f.child1;f=f.child2;f=Math.abs((m.aabb.lowerBound.x+m.aabb.upperBound.x)/2-e.x)+Math.abs((m.aabb.lowerBound.y+m.aabb.upperBound.y)/ 84 2-e.y)<Math.abs((f.aabb.lowerBound.x+f.aabb.upperBound.x)/2-e.x)+Math.abs((f.aabb.lowerBound.y+f.aabb.upperBound.y)/2-e.y)?m:f}while(f.IsLeaf()==false)}e=f.parent;m=this.Al (…) [all...] |