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.c1656 _mesa_make_current( struct gl_context *newCtx, in _mesa_make_current() argument
1663 _mesa_debug(newCtx, "_mesa_make_current()\n"); in _mesa_make_current()
1667 if (newCtx && drawBuffer && newCtx->WinSysDrawBuffer != drawBuffer) { in _mesa_make_current()
1668 if (!check_compatible(newCtx, drawBuffer)) { in _mesa_make_current()
1669 _mesa_warning(newCtx, in _mesa_make_current()
1674 if (newCtx && readBuffer && newCtx->WinSysReadBuffer != readBuffer) { in _mesa_make_current()
1675 if (!check_compatible(newCtx, readBuffer)) { in _mesa_make_current()
1676 _mesa_warning(newCtx, in _mesa_make_current()
1685 curCtx != newCtx && in _mesa_make_current()
1693 if (!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/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.cpp1194 EvalContext newCtx (ctx.format, ctx.floatPrecision, in evaluate() local
1196 const IVal ret = this->doEvaluate(newCtx); in evaluate()