Home
last modified time | relevance | path

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

/external/icu4c/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/icu/source/test/cintltst/
Dccapitst.c1389 TSCCContext *newCtx = (TSCCContext *)malloc(sizeof(TSCCContext)); in TSCC_clone() local
1391 newCtx->serial = TSCC_nextSerial(); in TSCC_clone()
1392 newCtx->wasClosed = 0; in TSCC_clone()
1393 newCtx->magic = 0xC0FFEE; in TSCC_clone()
1395 … log_verbose("TSCC_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial); in TSCC_clone()
1397 return newCtx; in TSCC_clone()
1420 TSCCContext *newCtx; in TSCC_fromU() local
1426 newCtx = TSCC_clone(ctx); in TSCC_fromU()
1428 if(newCtx == NULL) { in TSCC_fromU()
1434 ucnv_setFromUCallBack(fromUArgs->converter, junkFrom, newCtx, NULL, NULL, &subErr); in TSCC_fromU()
[all …]
/external/icu4c/test/cintltst/
Dccapitst.c1348 TSCCContext *newCtx = (TSCCContext *)malloc(sizeof(TSCCContext)); in TSCC_clone() local
1350 newCtx->serial = TSCC_nextSerial(); in TSCC_clone()
1351 newCtx->wasClosed = 0; in TSCC_clone()
1352 newCtx->magic = 0xC0FFEE; in TSCC_clone()
1354 … log_verbose("TSCC_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial); in TSCC_clone()
1356 return newCtx; in TSCC_clone()
1380 TSCCContext *newCtx; in TSCC_fromU() local
1386 newCtx = TSCC_clone(ctx); in TSCC_fromU()
1388 if(newCtx == NULL) { in TSCC_fromU()
1394 ucnv_setFromUCallBack(fromUArgs->converter, junkFrom, newCtx, NULL, NULL, &subErr); in TSCC_fromU()
[all …]