Home
last modified time | relevance | path

Searched refs:globalState (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/src/pathops/
DSkPathOpsTSect.cpp12 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect()
14 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(2)); in intersect()
21 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect()
23 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(2)); in intersect()
30 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect()
32 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(2)); in intersect()
39 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect()
41 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(2)); in intersect()
48 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect()
50 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(2)); in intersect()
[all …]
DSkOpContour.h48 SkOpSegment* result = fCount++ ? this->globalState()->allocator()->make<SkOpSegment>() in appendSegment()
88 return SkDEBUGRELEASE(this->globalState()->debugAngle(id), nullptr); in debugAngle()
92 return this->globalState()->coincidence(); in debugCoincidence()
100 return SkDEBUGRELEASE(this->globalState()->debugContour(id), nullptr); in debugContour()
110 return SkDEBUGRELEASE(this->globalState()->debugPtT(id), nullptr); in debugPtT()
114 return SkDEBUGRELEASE(this->globalState()->debugSegment(id), nullptr); in debugSegment()
127 return SkDEBUGRELEASE(this->globalState()->debugSpan(id), nullptr); in debugSpan()
130 SkOpGlobalState* globalState() const { in globalState() function
190 void init(SkOpGlobalState* globalState, bool operand, bool isXor) { in init() argument
191 fState = globalState; in init()
[all …]
DSkOpEdgeBuilder.h16 SkOpGlobalState* globalState) in SkOpEdgeBuilder() argument
17 : fGlobalState(globalState) in SkOpEdgeBuilder()
25 SkOpEdgeBuilder(const SkPath& path, SkOpContourHead* contours2, SkOpGlobalState* globalState) in SkOpEdgeBuilder() argument
26 : fGlobalState(globalState) in SkOpEdgeBuilder()
DSkOpBuilder.cpp55 SkOpGlobalState globalState(&contourHead, &allocator SkDEBUGPARAMS(false) in FixWinding()
57 SkOpEdgeBuilder builder(*path, &contourHead, &globalState); in FixWinding()
71 globalState.setPhase(SkOpPhase::kFixWinding); in FixWinding()
78 topSegment->debugID(), globalState.nested(), topContour->isCcw()); in FixWinding()
80 if ((globalState.nested() & 1) != SkToBool(topContour->isCcw())) { in FixWinding()
85 globalState.clearNested(); in FixWinding()
DSkOpSpan.cpp95 SkOpGlobalState* SkOpPtT::globalState() const { in globalState() function in SkOpPtT
96 return contour()->globalState(); in globalState()
107 SkDEBUGCODE(fID = span->globalState()->nextPtTID()); in init()
224 SkOpGlobalState* SkOpSpanBase::globalState() const { in globalState() function in SkOpSpanBase
225 return contour()->globalState(); in globalState()
238 SkDEBUGCODE(fID = globalState()->nextSpanID()); in initBase()
280 SkOpCoincidence* coins = this->globalState()->coincidence(); in checkForCollapsedCoincidence()
365 SkOpGlobalState* globals = this->globalState(); in computeWindSum()
444 SkOpCoincidence* coincidence = this->globalState()->coincidence(); in release()
462 this->globalState()->setWindingFailed(); in setOppSum()
[all …]
DSkPathOpsOp.cpp50 SkASSERT(segment->globalState()->debugSkipAssert()); in findChaseOp()
55 SkASSERT(segment->globalState()->debugSkipAssert()); in findChaseOp()
223 SkOpGlobalState globalState(contourList, &allocator in OpDebug()
225 SkOpCoincidence coincidence(&globalState); in OpDebug()
257 SkOpEdgeBuilder builder(*minuend, contourList, &globalState); in OpDebug()
286 globalState.setPhase(SkOpPhase::kWalking); in OpDebug()
290 globalState.debugAddToGlobalCoinDicts(); in OpDebug()
312 debugWorstState.debugDoYourWorst(&globalState); in OpDebug()
DSkOpCoincidence.h60 SkDEBUGCODE(SkOpGlobalState* globalState() { return fGlobalState; }) in SkDEBUGCODE()
62 void init(SkDEBUGCODE(SkOpGlobalState* globalState)) {
64 SkDEBUGCODE(fGlobalState = globalState);
136 SkOpCoincidence(SkOpGlobalState* globalState) in SkOpCoincidence() argument
139 , fGlobalState(globalState) in SkOpCoincidence()
145 globalState->setCoincidence(this); in SkOpCoincidence()
218 SkOpGlobalState* globalState() { in globalState() function
222 const SkOpGlobalState* globalState() const { in globalState() function
DSkPathOpsCommon.cpp191 contour->globalState()->setContourHead(contourHead); in SortContourList()
253 SkOpGlobalState* globalState = contourList->globalState(); in HandleCoincidence() local
283 SkASSERT(globalState->debugSkipAssert()); in HandleCoincidence()
322 SkOpCoincidence overlaps(globalState); in HandleCoincidence()
336 SkASSERT(globalState->debugSkipAssert()); in HandleCoincidence()
DSkPathOpsSimplify.cpp152 SkOpGlobalState globalState(contourList, &allocator in SimplifyDebug()
154 SkOpCoincidence coincidence(&globalState); in SimplifyDebug()
175 SkOpEdgeBuilder builder(*workingPath, contourList, &globalState); in SimplifyDebug()
195 globalState.setPhase(SkOpPhase::kWalking); in SimplifyDebug()
199 globalState.debugAddToGlobalCoinDicts(); in SimplifyDebug()
DSkPathOpsTypes.h221 #define SkOPASSERT(cond) SkASSERT((this->globalState() && \
222 (this->globalState()->debugCheckHealth() || \
223 this->globalState()->debugSkipAssert())) || (cond))
225 #define SkOPASSERT(cond) SkASSERT((this->globalState() && \
226 this->globalState()->debugSkipAssert()) || (cond))
228 #define SkOPOBJASSERT(obj, cond) SkASSERT((obj->globalState() && \
229 obj->globalState()->debugSkipAssert()) || (cond))
DSkOpSegment.h63 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); in addEndSpan()
81 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); in addStartSpan()
221 SkOpGlobalState* globalState() const;
234 SkOpGlobalState* globalState = this->globalState(); in insert() local
235 globalState->setAllocatedOpSpan(); in insert()
236 SkOpSpan* result = globalState->allocator()->make<SkOpSpan>(); in insert()
DSkOpContour.cpp64 SkArenaAlloc* allocator = fContour->globalState()->allocator(); in addCurve()
108 SkArenaAlloc* allocator = fContour->globalState()->allocator(); in flush()
DSkPathOpsTightBounds.cpp53 SkOpGlobalState globalState(contourList, &allocator SkDEBUGPARAMS(false) in TightBounds()
65 SkOpEdgeBuilder builder(*workingPath, contourList, &globalState); in TightBounds()
DSkPathOpsConic.h43 SkOpGlobalState* globalState() const { return fPts.globalState(); } in globalState() function
DSkPathOpsDebug.h161 this->globalState()->debugSetPhase(__func__, lineNo, phase, iteration)
163 obj->globalState()->debugSetPhase(__func__, lineNo, phase, iteration)
182 this->globalState()->debugSetPhase(phase)
184 obj->globalState()->debugSetPhase(phase)
DSkAddIntersections.cpp282 SkIntersections ts { SkDEBUGCODE(test->globalState()) }; in AddIntersectTs()
454 SkDEBUGPARAMS(ts.globalState())), in AddIntersectTs()
456 SkDEBUGPARAMS(ts.globalState()))); in AddIntersectTs()
485 SkDEBUGPARAMS(ts.globalState())), in AddIntersectTs()
487 SkDEBUGPARAMS(ts.globalState()))); in AddIntersectTs()
504 test->globalState()->debugAddLoopCount(&ts, wt, wn); in AddIntersectTs()
557 SkASSERT(coincidence->globalState()->debugSkipAssert() in AddIntersectTs()
DSkIntersections.h18 SkIntersections(SkDEBUGCODE(SkOpGlobalState* globalState = nullptr)) in SkIntersections() argument
21 SkDEBUGPARAMS(fDebugGlobalState(globalState)) in SkIntersections()
107 SkOpGlobalState* globalState() const { return fDebugGlobalState; } in globalState() function
DSkOpSegment.cpp227 this->globalState()->resetAllocatedOpSpan(); in addExpanded()
230 *startOver |= this->globalState()->allocatedOpSpan(); in addExpanded()
289 SkOpAngle* priorAngle = this->globalState()->allocator()->make<SkOpAngle>(); in calcAngles()
297 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); in calcAngles()
316 this->globalState()->coincidence()->release(this); in clearAll()
788 SkOpGlobalState* SkOpSegment::globalState() const { in globalState() function in SkOpSegment
789 return contour()->globalState(); in globalState()
806 SkDEBUGCODE(fID = globalState()->nextSegmentID()); in init()
890 this->globalState()->setWindingFailed(); in markAndChaseWinding()
1175 SkOpCoincidence* coincidences = this->globalState()->coincidence(); in missingCoincidence()
DSkOpAngle.h109 SkOpGlobalState* globalState() const;
/external/libese/apps/boot/card/src/com/android/verifiedboot/storage/
DBasicLock.java35 private OwnerInterface globalState; field in BasicLock
150 if (globalState == null) { in initialized()
174 globalState = globalStateOwner; in initialize()
275 if (globalState.production() == true) { in set()
279 if (globalState.inBootloader() == false) { in set()
285 if (globalState.inBootloader() == true) { in set()
DVersionStorage.java29 private OwnerInterface globalState; field in VersionStorage
34 globalState = globalStateRef; in VersionStorage()
73 if (globalState.production() == true && in setSlot()
74 globalState.inBootloader() == false) { in setSlot()
DStorage.java61 private GlobalStateImpl globalState; field in Storage
127 globalState = new GlobalStateImpl(); in Storage()
130 versionStorage = new VersionStorage(globalState); in Storage()
182 locks[lockNum].initialize(globalState, lockStorage, offset); in Storage()
199 return globalState; in getShareableInterfaceObject()
204 return globalState; in getShareableInterfaceObject()
281 working[0] = globalState.inBootloaderRaw(); in sendStorageState()
290 if (globalState.inBootloader() == true) { in sendStorageState()
301 if (globalState.production() == true) { in sendStorageState()
533 if (globalState.setProduction(enable) == true) { in process()
[all …]
DCarrierLock.java159 OwnerInterface globalState; field in CarrierLock
222 globalState = globalStateOwner; in initialize()
419 globalState.production() == true) { in setWithMetadata()
445 if (globalState.production() == true) { in setWithMetadata()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotBase.py39 globalState = GlobalState(tableType=self.tableTag,
41 reader = OTTableReader(data, globalState)
79 globalState = GlobalState(tableType=self.tableTag)
84 writer = OTTableWriter(globalState)
124 def __init__(self, data, globalState={}, localState=None, offset=0): argument
128 self.globalState = globalState
133 cachingStats = self.globalState.cachingStats
136 return self.__class__(self.data, self.globalState, self.localState, offset)
194 def __init__(self, globalState, localState=None): argument
197 self.globalState = globalState
[all …]
/external/r8/src/main/java/com/android/tools/r8/naming/
DMethodNameMinifier.java90 private final NamingState<DexProto> globalState; field in MethodNameMinifier
99 this.globalState = NamingState.createRoot(appInfo.dexItemFactory, dictionary); in MethodNameMinifier()
267 if (globalState.isReserved(method.name, method.proto)) { in assignNameForInterfaceMethodInAllStates()
351 globalState.reserveName(method.method.name, method.method.proto); in reserveNamesForMethods()

12