Lines Matching refs:NewCtx
489 Context NewCtx = ContextFactory.add(Ctx, D, newID); in addDefinition() local
491 return NewCtx; in addDefinition()
497 Context NewCtx = ContextFactory.add(Ctx, D, newID); in addReference() local
499 return NewCtx; in addReference()
507 Context NewCtx = ContextFactory.remove(Ctx, D); in updateDefinition() local
508 NewCtx = ContextFactory.add(NewCtx, D, newID); in updateDefinition()
510 return NewCtx; in updateDefinition()
518 Context NewCtx = Ctx; in clearDefinition() local
519 if (NewCtx.contains(D)) { in clearDefinition()
520 NewCtx = ContextFactory.remove(NewCtx, D); in clearDefinition()
521 NewCtx = ContextFactory.add(NewCtx, D, 0); in clearDefinition()
523 return NewCtx; in clearDefinition()
528 Context NewCtx = Ctx; in removeDefinition() local
529 if (NewCtx.contains(D)) { in removeDefinition()
530 NewCtx = ContextFactory.remove(NewCtx, D); in removeDefinition()
532 return NewCtx; in removeDefinition()