Home
last modified time | relevance | path

Searched refs:newCtx (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/samples/ucnv/
Dflagcb.c160 debugCBContext *newCtx; in debugCB_clone() local
161 newCtx = malloc(sizeof(debugCBContext)); in debugCB_clone()
163 newCtx->serial = debugCB_nextSerial(); in debugCB_clone()
164 newCtx->magic = 0xC0FFEE; in debugCB_clone()
166 newCtx->subCallback = ctx->subCallback; in debugCB_clone()
167 newCtx->subContext = ctx->subContext; in debugCB_clone()
170 printf("debugCB_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial); in debugCB_clone()
173 return newCtx; in debugCB_clone()
/external/mesa3d/src/mesa/main/
Dcontext.c1614 _mesa_make_current( struct gl_context *newCtx, in _mesa_make_current() argument
1621 _mesa_debug(newCtx, "_mesa_make_current()\n"); in _mesa_make_current()
1625 if (newCtx && drawBuffer && newCtx->WinSysDrawBuffer != drawBuffer) { in _mesa_make_current()
1626 if (!check_compatible(newCtx, drawBuffer)) { in _mesa_make_current()
1627 _mesa_warning(newCtx, in _mesa_make_current()
1632 if (newCtx && readBuffer && newCtx->WinSysReadBuffer != readBuffer) { in _mesa_make_current()
1633 if (!check_compatible(newCtx, readBuffer)) { in _mesa_make_current()
1634 _mesa_warning(newCtx, in _mesa_make_current()
1643 curCtx != newCtx && in _mesa_make_current()
1649 _glapi_set_context((void *) newCtx); in _mesa_make_current()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c1350 TSCCContext *newCtx = (TSCCContext *)malloc(sizeof(TSCCContext)); in TSCC_clone() local
1352 newCtx->serial = TSCC_nextSerial(); in TSCC_clone()
1353 newCtx->wasClosed = 0; in TSCC_clone()
1354 newCtx->magic = 0xC0FFEE; in TSCC_clone()
1356 … log_verbose("TSCC_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial); in TSCC_clone()
1358 return newCtx; in TSCC_clone()
1382 TSCCContext *newCtx; in TSCC_fromU() local
1388 newCtx = TSCC_clone(ctx); in TSCC_fromU()
1390 if(newCtx == NULL) { in TSCC_fromU()
1396 ucnv_setFromUCallBack(fromUArgs->converter, junkFrom, newCtx, NULL, NULL, &subErr); in TSCC_fromU()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp846 EvalContext newCtx (ctx.format, ctx.floatPrecision, in evaluate() local
848 const IVal ret = this->doEvaluate(newCtx); in evaluate()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp880 EvalContext newCtx (ctx.format, ctx.floatPrecision, in evaluate() local
882 const IVal ret = this->doEvaluate(newCtx); in evaluate()