/external/skia/include/core/ |
SkRegion.h | 124 * faster than calling region.op(rect, kUnion_Op) in a loop. If count is 239 enum Op { 240 kDifference_Op, //!< subtract the op region from the first region 244 /** subtract the first region from the op region */ 246 kReplace_Op, //!< replace the dst region with the op region 254 * Set this region to the result of applying the Op to this region and the 255 * specified rectangle: this = (this op rect). 258 bool op(const SkIRect& rect, Op op) { function in class:SkRegion 273 bool op(int left, int top, int right, int bottom, Op op) { function in class:SkRegion 284 bool op(const SkRegion& rgn, Op op) { return this->op(*this, rgn, op); } function in class:SkRegion [all...] |
/external/skia/src/gpu/ |
GrSWMaskHelper.h | 52 // Draw a single rect into the accumulation bitmap using the specified op 53 void drawRect(const SkRect& rect, SkRegion::Op op, GrAA, uint8_t alpha); 55 // Draw a single path into the accumuation bitmap using the specified op 56 void drawShape(const GrShape&, SkRegion::Op op, GrAA, uint8_t alpha);
|
/external/skia/src/gpu/effects/ |
GrCoverageSetOpXP.cpp | 21 static GrXferProcessor* Create(SkRegion::Op regionOp, bool invertCoverage) { 27 const char* name() const override { return "Coverage Set Op"; } 34 CoverageSetOpXP(SkRegion::Op regionOp, bool fInvertCoverage); 48 SkRegion::Op fRegionOp; 88 CoverageSetOpXP::CoverageSetOpXP(SkRegion::Op regionOp, bool invertCoverage) 144 constexpr GrCoverageSetOpXPFactory::GrCoverageSetOpXPFactory(SkRegion::Op regionOp, 148 const GrXPFactory* GrCoverageSetOpXPFactory::Get(SkRegion::Op regionOp, bool invertCoverage) { 225 SkFAIL("Unknown region op."); 249 SkRegion::Op regionOp = SkRegion::Op(d->fRandom->nextULessThan(SkRegion::kLastOp + 1)) [all...] |
/frameworks/base/core/java/android/app/ |
BackStackRecord.java | 58 final BackStackRecord.Op op = bse.mOps.get(opNum); local 59 mOps[pos++] = op.cmd; 60 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; 61 mOps[pos++] = op.enterAnim; 62 mOps[pos++] = op.exitAnim; 63 mOps[pos++] = op.popEnterAnim; 64 mOps[pos++] = op.popExitAnim; 99 BackStackRecord.Op op = new BackStackRecord.Op() local 304 final Op op = mOps.get(opNum); local 612 final Op op = mOps.get(opNum); local 718 final Op op = mOps.get(opNum); local 734 final Op op = mOps.get(opNum); local 762 final Op op = mOps.get(opNum); local 820 final Op op = mOps.get(opNum); local 894 final Op op = mOps.get(opNum); local 970 final Op op = mOps.get(opNum); local 986 final Op op = mOps.get(opNum); local 996 final Op op = mOps.get(opNum); local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Region.java | 36 public enum Op { 44 Op(int nativeInt) { 251 return op(r, Op.UNION); 255 * Perform the specified Op on this region and the specified rect. Return 256 * true if the result of the op is not empty. 258 public boolean op(Rect r, Op op) { method in class:Region 260 op.nativeInt) 267 public boolean op(int left, int top, int right, int bottom, Op op) { method in class:Region 276 public boolean op(Region region, Op op) { method in class:Region 284 public boolean op(Rect rect, Region region, Op op) { method in class:Region 293 public boolean op(Region region1, Region region2, Op op) { method in class:Region [all...] |
/frameworks/support/fragment/java/android/support/v4/app/ |
BackStackRecord.java | 57 final BackStackRecord.Op op = bse.mOps.get(opNum); local 58 mOps[pos++] = op.cmd; 59 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; 60 mOps[pos++] = op.enterAnim; 61 mOps[pos++] = op.exitAnim; 62 mOps[pos++] = op.popEnterAnim; 63 mOps[pos++] = op.popExitAnim; 98 BackStackRecord.Op op = new BackStackRecord.Op() local 296 final Op op = mOps.get(opNum); local 601 final Op op = mOps.get(opNum); local 710 final Op op = mOps.get(opNum); local 726 final Op op = mOps.get(opNum); local 754 final Op op = mOps.get(opNum); local 812 final Op op = mOps.get(opNum); local 886 final Op op = mOps.get(opNum); local 965 final Op op = mOps.get(opNum); local 988 final Op op = mOps.get(opNum); local 998 final Op op = mOps.get(opNum); local [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
sinit.go | 43 if n.Left != nil && n.Type != nil && n.Left.Op == OTYPE && n.Class == PFUNC { 49 if n.Op != ONAME { 101 switch defn.Op { 115 defn.Op = OEMPTY 201 if n.Op == ONAME && n.Ninit.Len() != 0 { 213 if n.Op == OCLOSURE { 216 if n.Op == ODOTMETH || n.Op == OCALLPART { 230 switch n.Op { 257 if n.Op != ONAME || n.Class != PEXTERN || n.Name.Defn == nil || n.Name.Defn.Op != OAS [all...] |
/prebuilts/go/darwin-x86/src/cmd/vet/ |
nilfunc.go | 29 if e.Op != token.EQL && e.Op != token.NEQ { 60 f.Badf(e.Pos(), "comparison of function %v %v nil is always %v", obj.Name(), e.Op, e.Op == token.NEQ)
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
sinit.go | 43 if n.Left != nil && n.Type != nil && n.Left.Op == OTYPE && n.Class == PFUNC { 49 if n.Op != ONAME { 101 switch defn.Op { 115 defn.Op = OEMPTY 201 if n.Op == ONAME && n.Ninit.Len() != 0 { 213 if n.Op == OCLOSURE { 216 if n.Op == ODOTMETH || n.Op == OCALLPART { 230 switch n.Op { 257 if n.Op != ONAME || n.Class != PEXTERN || n.Name.Defn == nil || n.Name.Defn.Op != OAS [all...] |
/prebuilts/go/linux-x86/src/cmd/vet/ |
nilfunc.go | 29 if e.Op != token.EQL && e.Op != token.NEQ { 60 f.Badf(e.Pos(), "comparison of function %v %v nil is always %v", obj.Name(), e.Op, e.Op == token.NEQ)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
GenDepex.py | 104 # all supported op codes and operands
111 # op code that should not be the last one
113 # op code must not present at the same time
115 # op code that should be the first one if it presents
204 # not OP, take it as GUID
211 # check if OP is valid in this phase
234 for Op in self.AboveAllOpcode:
235 if Op in self.PostfixNotation:
236 if Op != self.PostfixNotation[0]:
237 EdkLogger.error("GenDepex", PARSER_ERROR, "%s should be the first opcode in the expression" % Op,
[all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
BitstreamReader.h | 448 void ReadAbbreviatedLiteral(const BitCodeAbbrevOp &Op, 450 assert(Op.isLiteral() && "Not a literal"); 452 Vals.push_back(Op.getLiteralValue()); 455 void ReadAbbreviatedField(const BitCodeAbbrevOp &Op, 457 assert(!Op.isLiteral() && "Use ReadAbbreviatedLiteral for literals!"); 460 switch (Op.getEncoding()) { 463 Vals.push_back(Read((unsigned)Op.getEncodingData())); 466 Vals.push_back(ReadVBR64((unsigned)Op.getEncodingData())); 495 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); 496 if (Op.isLiteral()) [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
PTXISelLowering.cpp | 109 SDValue PTXTargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) const { 110 switch (Op.getOpcode()) { 114 return LowerSETCC(Op, DAG); 116 return LowerGlobalAddress(Op, DAG); 147 SDValue PTXTargetLowering::LowerSETCC(SDValue Op, SelectionDAG &DAG) const { 148 assert(Op.getValueType() == MVT::i1 && "SetCC type must be 1-bit integer"); 149 SDValue Op0 = Op.getOperand(0); 150 SDValue Op1 = Op.getOperand(1); 151 SDValue Op2 = Op.getOperand(2); 152 DebugLoc dl = Op.getDebugLoc() [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
X86AsmBackend.cpp | 116 static unsigned getRelaxedOpcodeBranch(unsigned Op) { 117 switch (Op) { 119 return Op; 141 static unsigned getRelaxedOpcodeArith(unsigned Op) { 142 switch (Op) { 144 return Op; 210 static unsigned getRelaxedOpcode(unsigned Op) { 211 unsigned R = getRelaxedOpcodeArith(Op); 212 if (R != Op) 214 return getRelaxedOpcodeBranch(Op); [all...] |
/external/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 212 Metadata &getFwdReference(MDNode &Op); 269 /// If \c Op is already mapped, return the mapping. If it's not an \a 273 /// \return None if \c Op is an unmapped uniqued \a MDNode. 274 /// \post getMappedOp(Op) only returns None if this returns None. 275 Optional<Metadata *> tryToMapOperand(const Metadata *Op); 287 Optional<Metadata *> getMappedOp(const Metadata *Op) const; 431 Value *Op = C->getOperand(OpNo); 432 Mapped = mapValueOrNull(Op); 435 if (Mapped != Op) 516 Optional<Metadata *> MDNodeMapper::tryToMapOperand(const Metadata *Op) { [all...] |
/external/skia/src/core/ |
SkLiteDL.cpp | 41 // Helper for getting back at arrays which have been copy_v'd together after an Op. 43 static D* pod(T* op, size_t offset = 0) { 44 return SkTAddOffset<D>(op+1, offset); 64 struct Op { 68 static_assert(sizeof(Op) == 4, ""); 70 struct SetDrawFilter final : Op { 83 struct Save final : Op { 87 struct Restore final : Op { 91 struct SaveLayer final : Op { 109 struct Concat final : Op { 146 SkClipOp op; member in struct:__anon29583::final 154 SkClipOp op; member in struct:__anon29583::final 162 SkClipOp op; member in struct:__anon29583::final 170 SkClipOp op; member in struct:__anon29583::final [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
PPCISelLowering.cpp | 482 static bool isFloatingPointZero(SDValue Op) { 483 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(Op)) 485 else if (ISD::isEXTLoad(Op.getNode()) || ISD::isNON_EXTLoad(Op.getNode())) { 487 if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(Op.getOperand(1))) 494 /// isConstantOrUndef - Op is either an undef node or a ConstantSDNode. Return 495 /// true if Op is undef or if it matches the specified value. 496 static bool isConstantOrUndef(int Op, int Val) { 497 return Op < 0 || Op == Val [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
AdaptiveIconMaskTest.java | 30 import android.graphics.Region.Op; 107 boolean result = maskRegion.op(safeZoneRegion, intersectRegion, Region.Op.INTERSECT); 112 result = safeZoneRegion.op(intersectRegion, subtractRegion, Op.DIFFERENCE); 147 circle99.op(maskPath, Path.Op.DIFFERENCE); 149 maskPath.op(circle101, Path.Op.DIFFERENCE);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Regions.java | 62 private void drawRgn(Canvas canvas, int color, String str, Region.Op op) { 70 rgn.op(mRect2, op); 106 drawRgn(canvas, Color.RED, "Union", Region.Op.UNION); 111 drawRgn(canvas, Color.BLUE, "Xor", Region.Op.XOR); 116 drawRgn(canvas, Color.GREEN, "Difference", Region.Op.DIFFERENCE); 121 drawRgn(canvas, Color.WHITE, "Intersect", Region.Op.INTERSECT);
|
/external/skia/include/private/ |
GrAuditTrail.h | 87 // Because op combining is heavily dependent on sequence of draw calls, these calls will only 109 struct Op { 113 SkTArray<Op> fOps; 125 struct Op { 134 typedef SkTArray<std::unique_ptr<Op>, true> OpPool; 136 typedef SkTArray<Op*> Ops; 175 #define GR_AUDIT_TRAIL_ADD_OP(audit_trail, op, rt_id) \ 176 GR_AUDIT_TRAIL_INVOKE_GUARD(audit_trail, addOp, op, rt_id); 178 #define GR_AUDIT_TRAIL_OPS_RESULT_COMBINED(audit_trail, combineWith, op) \ 179 GR_AUDIT_TRAIL_INVOKE_GUARD(audit_trail, opsCombined, combineWith, op); [all...] |
/external/skia/tests/ |
PrimitiveProcessorTest.cpp | 28 class Op : public GrMeshDrawOp { 32 const char* name() const override { return "Dummy Op"; } 35 return std::unique_ptr<GrMeshDrawOp>(new Op(numAttribs)); 39 Op(int numAttribs) : INHERITED(ClassID()), fNumAttribs(numAttribs) { 130 Op::Make(attribCnt)); 138 Op::Make(attribCnt + 1));
|
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
SPUISelLowering.h | 77 SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG, 115 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const; 123 virtual void computeMaskedBitsForTargetNode(const SDValue Op, 130 virtual unsigned ComputeNumSignBitsForTargetNode(SDValue Op, 144 void LowerAsmOperandForConstraint(SDValue Op, std::string &Constraint,
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/ |
gnu.go | 21 switch inst.Op { 31 switch inst.Op { 33 inst.Op = FDIVR 35 inst.Op = FDIV 37 inst.Op = FSUBR 39 inst.Op = FSUB 41 inst.Op = FDIVRP 43 inst.Op = FDIVP 45 inst.Op = FSUBRP 47 inst.Op = FSUB [all...] |
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/ |
gnu.go | 21 switch inst.Op { 31 switch inst.Op { 33 inst.Op = FDIVR 35 inst.Op = FDIV 37 inst.Op = FSUBR 39 inst.Op = FSUB 41 inst.Op = FDIVRP 43 inst.Op = FDIVP 45 inst.Op = FSUBRP 47 inst.Op = FSUB [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
TestAfterDivZeroChecker.cpp | 108 BinaryOperator::Opcode Op = BO->getOpcode(); 109 if (Op == BO_Div || Op == BO_Rem || Op == BO_DivAssign || 110 Op == BO_RemAssign) { 205 BinaryOperator::Opcode Op = B->getOpcode(); 206 if (Op == BO_Div || Op == BO_Rem || Op == BO_DivAssign || 207 Op == BO_RemAssign) [all...] |