Home
last modified time | relevance | path

Searched refs:newCtx (Results 1 – 6 of 6) 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.c1688 _mesa_make_current( struct gl_context *newCtx, in _mesa_make_current() argument
1695 _mesa_debug(newCtx, "_mesa_make_current()\n"); in _mesa_make_current()
1699 if (newCtx && drawBuffer && newCtx->WinSysDrawBuffer != drawBuffer) { in _mesa_make_current()
1700 if (!check_compatible(newCtx, drawBuffer)) { in _mesa_make_current()
1701 _mesa_warning(newCtx, in _mesa_make_current()
1706 if (newCtx && readBuffer && newCtx->WinSysReadBuffer != readBuffer) { in _mesa_make_current()
1707 if (!check_compatible(newCtx, readBuffer)) { in _mesa_make_current()
1708 _mesa_warning(newCtx, in _mesa_make_current()
1717 curCtx != newCtx && in _mesa_make_current()
1728 if (!newCtx) { in _mesa_make_current()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c1353 TSCCContext *newCtx = (TSCCContext *)malloc(sizeof(TSCCContext)); in TSCC_clone() local
1355 newCtx->serial = TSCC_nextSerial(); in TSCC_clone()
1356 newCtx->wasClosed = 0; in TSCC_clone()
1357 newCtx->magic = 0xC0FFEE; in TSCC_clone()
1359 … log_verbose("TSCC_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial); in TSCC_clone()
1361 return newCtx; in TSCC_clone()
1390 TSCCContext *newCtx; in TSCC_fromU() local
1396 newCtx = TSCC_clone(ctx); in TSCC_fromU()
1398 if(newCtx == NULL) { in TSCC_fromU()
1404 ucnv_setFromUCallBack(fromUArgs->converter, junkFrom, newCtx, NULL, NULL, &subErr); in TSCC_fromU()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DServerImplTest.java156 Context newCtx = super.filterContext(context);
157 return newCtx.withValue(SERVER_TRACER_ADDED_KEY, "context added by tracer");
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp880 EvalContext newCtx (ctx.format, ctx.floatPrecision, in evaluate() local
882 const IVal ret = this->doEvaluate(newCtx); in evaluate()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp1381 EvalContext newCtx (ctx.format, ctx.floatPrecision, in evaluate() local
1383 const IVal ret = this->doEvaluate(newCtx); in evaluate()