Searched refs:newCtx (Results 1 – 2 of 2) sorted by relevance
/external/icu4c/samples/ucnv/ |
D | flagcb.c | 156 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/icu4c/test/cintltst/ |
D | ccapitst.c | 1377 TSCCContext *newCtx = (TSCCContext *)malloc(sizeof(TSCCContext)); in TSCC_clone() local 1379 newCtx->serial = TSCC_nextSerial(); in TSCC_clone() 1380 newCtx->wasClosed = 0; in TSCC_clone() 1381 newCtx->magic = 0xC0FFEE; in TSCC_clone() 1383 … log_verbose("TSCC_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial); in TSCC_clone() 1385 return newCtx; in TSCC_clone() 1408 TSCCContext *newCtx; in TSCC_fromU() local 1414 newCtx = TSCC_clone(ctx); in TSCC_fromU() 1416 if(newCtx == NULL) { in TSCC_fromU() 1422 ucnv_setFromUCallBack(fromUArgs->converter, junkFrom, newCtx, NULL, NULL, &subErr); in TSCC_fromU() [all …]
|