Home
last modified time | relevance | path

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

/external/icu/icu4c/source/samples/ucnv/
Dflagcb.c156 debugCBContext *newCtx; in debugCB_clone() local
157 newCtx = malloc(sizeof(debugCBContext)); in debugCB_clone()
159 newCtx->serial = debugCB_nextSerial(); in debugCB_clone()
160 newCtx->magic = 0xC0FFEE; in debugCB_clone()
162 newCtx->subCallback = ctx->subCallback; in debugCB_clone()
163 newCtx->subContext = ctx->subContext; in debugCB_clone()
166 printf("debugCB_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial); in debugCB_clone()
169 return newCtx; in debugCB_clone()
/external/mesa3d/src/mesa/main/
Dcontext.c1417 _mesa_make_current( struct gl_context *newCtx, in _mesa_make_current() argument
1424 _mesa_debug(newCtx, "_mesa_make_current()\n"); in _mesa_make_current()
1428 if (newCtx && drawBuffer && newCtx->WinSysDrawBuffer != drawBuffer) { in _mesa_make_current()
1429 if (!check_compatible(newCtx, drawBuffer)) { in _mesa_make_current()
1430 _mesa_warning(newCtx, in _mesa_make_current()
1435 if (newCtx && readBuffer && newCtx->WinSysReadBuffer != readBuffer) { in _mesa_make_current()
1436 if (!check_compatible(newCtx, readBuffer)) { in _mesa_make_current()
1437 _mesa_warning(newCtx, in _mesa_make_current()
1446 curCtx != newCtx) in _mesa_make_current()
1450 _glapi_set_context((void *) newCtx); in _mesa_make_current()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c1347 TSCCContext *newCtx = (TSCCContext *)malloc(sizeof(TSCCContext)); in TSCC_clone() local
1349 newCtx->serial = TSCC_nextSerial(); in TSCC_clone()
1350 newCtx->wasClosed = 0; in TSCC_clone()
1351 newCtx->magic = 0xC0FFEE; in TSCC_clone()
1353 … log_verbose("TSCC_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial); in TSCC_clone()
1355 return newCtx; in TSCC_clone()
1379 TSCCContext *newCtx; in TSCC_fromU() local
1385 newCtx = TSCC_clone(ctx); in TSCC_fromU()
1387 if(newCtx == NULL) { in TSCC_fromU()
1393 ucnv_setFromUCallBack(fromUArgs->converter, junkFrom, newCtx, NULL, NULL, &subErr); in TSCC_fromU()
[all …]
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp849 EvalContext newCtx (ctx.format, ctx.floatPrecision, in evaluate() local
851 const IVal ret = this->doEvaluate(newCtx); in evaluate()