Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Ddigitlst.cpp72 uprv_decContextDefault(&fContext, DEC_INIT_BASE); in DigitList()
73 fContext.traps = 0; in DigitList()
74 uprv_decContextSetRounding(&fContext, DEC_ROUND_HALF_EVEN); in DigitList()
75 fContext.digits = fStorage.getCapacity(); in DigitList()
108 uprv_memcpy(&fContext, &other.fContext, sizeof(decContext)); in operator =()
115 fContext.digits = fStorage.getCapacity(); in operator =()
152 int32_t savedDigits = fContext.digits; in compare()
153 fContext.digits = 1; in compare()
154 uprv_decNumberCompare(&result, this->fDecNumber, other.fDecNumber, &fContext); in compare()
155 fContext.digits = savedDigits; in compare()
[all …]
Ddigitlst.h376 decContext fContext; // public access to status flags.
Ddecimfmt.cpp1102 adjustedNum.fContext.status &= ~DEC_Inexact; in _format()
1109 if (fRoundingMode == kRoundUnnecessary && (adjustedNum.fContext.status & DEC_Inexact)) { in _format()
1140 if (fRoundingMode == kRoundUnnecessary && (adjustedNum.fContext.status & DEC_Inexact)) { in _format()
/external/skia/bench/
DBenchGpuTimer_gl.cpp12 fContext = glctx; in BenchGpuTimer()
27 fContext->makeCurrent(); in ~BenchGpuTimer()
28 SK_GL(*fContext, DeleteQueries(1, &fQuery)); in ~BenchGpuTimer()
30 fContext->unref(); in ~BenchGpuTimer()
35 fContext->makeCurrent(); in startGpu()
37 SK_GL(*fContext, BeginQuery(GR_GL_TIME_ELAPSED, fQuery)); in startGpu()
48 fContext->makeCurrent(); in endGpu()
49 SK_GL(*fContext, EndQuery(GR_GL_TIME_ELAPSED)); in endGpu()
53 SK_GL(*fContext, GetQueryObjectiv(fQuery, in endGpu()
58 SK_GL(*fContext, GetQueryObjectui64v(fQuery, in endGpu()
DBenchGpuTimer_gl.h22 const SkGLContext* fContext; variable
/external/skia/include/gpu/
DGrContext.h613 fContext = NULL; in AutoRenderTarget()
617 fContext = context; in AutoRenderTarget()
621 if (fContext) { in ~AutoRenderTarget()
622 fContext->setRenderTarget(fPrevTarget); in ~AutoRenderTarget()
626 GrContext* fContext;
758 GrAutoMatrix() : fContext(NULL) {} in GrAutoMatrix()
759 GrAutoMatrix(GrContext* ctx) : fContext(ctx) { in GrAutoMatrix()
762 GrAutoMatrix(GrContext* ctx, const GrMatrix& matrix) : fContext(ctx) { in GrAutoMatrix()
767 if (NULL != fContext) { in set()
768 fContext->setMatrix(fMatrix); in set()
[all …]
DSkGpuCanvas.h50 GrContext* fContext;
DSkGpuDevice.h55 GrContext* context() const { return fContext; } in context()
155 GrContext* fContext;
DGrTextContext.h39 GrContext* fContext; variable
/external/skia/src/gpu/mesa/
DSkMesaGLContext.cpp32 : fContext(NULL) in SkMesaGLContext()
46 if (fContext) { in destroyGLContext()
47 OSMesaDestroyContext((OSMesaContext)fContext); in destroyGLContext()
57 fContext = (Context)OSMesaCreateContextExt(OSMESA_BGRA, 0, 0, 0, NULL); in createGLContext()
59 fContext = (Context)OSMesaCreateContext(OSMESA_BGRA, NULL); in createGLContext()
61 if (!fContext) { in createGLContext()
76 if (!OSMesaMakeCurrent((OSMesaContext)fContext, in createGLContext()
97 if (fContext) { in makeCurrent()
98 if (!OSMesaMakeCurrent((OSMesaContext)fContext, fImage, in makeCurrent()
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DNamespaceSupport.java87 protected int[] fContext = new int[8]; field in NamespaceSupport
114 fContext[fCurrentContext] = fNamespaceSize; in reset()
133 if (fCurrentContext + 1 == fContext.length) { in pushContext()
134 int[] contextarray = new int[fContext.length * 2]; in pushContext()
135 System.arraycopy(fContext, 0, contextarray, 0, fContext.length); in pushContext()
136 fContext = contextarray; in pushContext()
140 fContext[++fCurrentContext] = fNamespaceSize; in pushContext()
149 fNamespaceSize = fContext[fCurrentContext--]; in popContext()
162 for (int i = fNamespaceSize; i > fContext[fCurrentContext]; i -= 2) { in declarePrefix()
235 return (fNamespaceSize - fContext[fCurrentContext]) / 2; in getDeclaredPrefixCount()
[all …]
/external/skia/src/gpu/unix/
DSkNativeGLContext_unix.cpp33 : fContext(NULL) in SkNativeGLContext()
47 if (fContext) { in destroyGLContext()
48 glXDestroyContext(fDisplay, fContext); in destroyGLContext()
49 fContext = NULL; in destroyGLContext()
176 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, 0, True); in createGLContext()
189 fContext = glXCreateContextAttribsARB( in createGLContext()
195 if (!ctxErrorOccurred && fContext) { in createGLContext()
213 fContext = glXCreateContextAttribsARB( in createGLContext()
225 if (ctxErrorOccurred || !fContext) { in createGLContext()
232 if (!glXIsDirect(fDisplay, fContext)) { in createGLContext()
[all …]
/external/skia/src/gpu/mac/
DSkNativeGLContext_mac.cpp21 : fContext(NULL) { in SkNativeGLContext()
29 if (fContext) { in destroyGLContext()
30 aglDestroyContext(fContext); in destroyGLContext()
52 fContext = aglCreateContext(format, NULL); in createGLContext()
53 if (NULL == fContext) { in createGLContext()
60 aglSetCurrentContext(fContext); in createGLContext()
73 aglSetCurrentContext(fContext); in makeCurrent()
/external/skia/src/gpu/android/
DSkNativeGLContext_android.cpp26 : fContext(EGL_NO_CONTEXT) in SkNativeGLContext()
39 if (fContext) { in destroyGLContext()
40 eglDestroyContext(fDisplay, fContext); in destroyGLContext()
41 fContext = EGL_NO_CONTEXT; in destroyGLContext()
79 fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, contextAttribs); in createGLContext()
89 eglMakeCurrent(fDisplay, fSurface, fSurface, fContext); in createGLContext()
101 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in makeCurrent()
/external/skia/src/gpu/
DGrTextContext.cpp62 fDrawTarget->setIndexSourceToBuffer(fContext->getQuadIndexBuffer()); in flushGlyphs()
78 fContext = context; in GrTextContext()
106 fOrigViewMatrix = fContext->getMatrix(); in GrTextContext()
107 fContext->setMatrix(fExtMatrix); in GrTextContext()
137 fDrawTarget = fContext->getTextTarget(fPaint); in GrTextContext()
160 fContext->setMatrix(fOrigViewMatrix); in ~GrTextContext()
179 fStrike = fContext->getFontCache()->getStrike(scaler); in drawPackedGlyph()
211 fContext->flushText(); in drawPackedGlyph()
214 fContext->getFontCache()->purgeExceptFor(fStrike); in drawPackedGlyph()
232 fContext->drawPath(fPaint, *glyph->fPath, kWinding_PathFill, in drawPackedGlyph()
[all …]
DSkGpuCanvas.cpp20 fContext = context; in SkGpuCanvas()
21 fContext->ref(); in SkGpuCanvas()
29 fContext->flush(false); in ~SkGpuCanvas()
30 fContext->unref(); in ~SkGpuCanvas()
DSkGpuDevice.cpp102 GrContext* fContext; member
157 fContext = context; in initFromRenderTarget()
158 fContext->ref(); in initFromRenderTarget()
191 fContext = context; in SkGpuDevice()
192 fContext->ref(); in SkGpuDevice()
225 fTexture = fContext->createUncachedTexture(desc, NULL, 0); in SkGpuDevice()
256 fContext->unlockTexture(fCache); in ~SkGpuDevice()
258 fContext->unref(); in ~SkGpuDevice()
264 fContext->setRenderTarget(fRenderTarget); in makeRenderTargetCurrent()
265 fContext->flush(true); in makeRenderTargetCurrent()
[all …]
DGrGpu.h87 GrAssert(NULL == fContext); in setContext()
88 fContext = context; in setContext()
90 GrContext* getContext() { return fContext; } in getContext()
91 const GrContext* getContext() const { return fContext; } in getContext()
488 GrContext* fContext; // not reffed (context refs gpu)
DGrGpu.cpp34 : fContext(NULL) in GrGpu()
/external/skia/src/xml/
DSkJS.cpp166 if ((fContext = JS_NewContext(fRuntime, 0x1000)) == NULL) { in SkJS()
171 if ((fGlobal = JS_NewObject(fContext, &global_class, NULL, NULL)) == NULL) { in SkJS()
175 if (JS_InitStandardClasses(fContext, fGlobal) == NULL) { in SkJS()
182 InitializeDisplayables(getBitmap(), fContext, fGlobal, NULL); in SkJS()
187 JS_DestroyContext(fContext); in ~SkJS()
193 return JS_EvaluateScript(fContext, fGlobal, script, strlen(script), in EvaluateScript()
198 JSString* str = JS_ValueToString(fContext, value); in ValueToString()
/external/skia/include/gpu/gl/
DSkNativeGLContext.h63 AGLContext fContext;
65 GLXContext fContext;
75 EGLContext fContext;
DSkMesaGLContext.h44 Context fContext;
/external/skia/tests/
DTestClassDef.h40 if (fContext) { \
41 function(reporter, fContext); \
DTest.h103 fContext = GetContext(); in GpuTest()
106 GrContext* fContext;
/external/skia/include/xml/
DSkJS.h37 JSContext *fContext; variable