Lines Matching refs:state
52 SkCanvasState* state = NULL;
55 state = SkCanvasStateUtils::CaptureCanvasState(&canvas);
56 REPORTER_ASSERT(reporter, state);
57 tmpCanvas = SkCanvasStateUtils::CreateFromCanvasState(state);
72 SkCanvasStateUtils::ReleaseCanvasState(state);
141 SkCanvasState* state = NULL;
144 state = SkCanvasStateUtils::CaptureCanvasState(&canvas);
145 REPORTER_ASSERT(reporter, state);
146 tmpCanvas = SkCanvasStateUtils::CreateFromCanvasState(state);
161 SkCanvasStateUtils::ReleaseCanvasState(state);
192 SkCanvasState* state = SkCanvasStateUtils::CaptureCanvasState(&canvas);
193 REPORTER_ASSERT(reporter, state);
194 SkCanvas* tmpCanvas = SkCanvasStateUtils::CreateFromCanvasState(state);
201 SkCanvasStateUtils::ReleaseCanvasState(state);
215 SkCanvasState* state = SkCanvasStateUtils::CaptureCanvasState(&canvas);
216 REPORTER_ASSERT(reporter, !state);