Lines Matching refs:PathSize
589 unsigned PathSize = (BasePath ? BasePath->size() : 0);
591 + PathSize * sizeof(CXXBaseSpecifier*));
593 new (Buffer) CXXStaticCastExpr(T, VK, K, Op, PathSize, WrittenTy, L,
595 if (PathSize) E->setCastPath(*BasePath);
600 unsigned PathSize) {
602 C.Allocate(sizeof(CXXStaticCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
603 return new (Buffer) CXXStaticCastExpr(EmptyShell(), PathSize);
614 unsigned PathSize = (BasePath ? BasePath->size() : 0);
616 + PathSize * sizeof(CXXBaseSpecifier*));
618 new (Buffer) CXXDynamicCastExpr(T, VK, K, Op, PathSize, WrittenTy, L,
620 if (PathSize) E->setCastPath(*BasePath);
625 unsigned PathSize) {
627 C.Allocate(sizeof(CXXDynamicCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
628 return new (Buffer) CXXDynamicCastExpr(EmptyShell(), PathSize);
671 unsigned PathSize = (BasePath ? BasePath->size() : 0);
673 C.Allocate(sizeof(CXXReinterpretCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
675 new (Buffer) CXXReinterpretCastExpr(T, VK, K, Op, PathSize, WrittenTy, L,
677 if (PathSize) E->setCastPath(*BasePath);
682 CXXReinterpretCastExpr::CreateEmpty(const ASTContext &C, unsigned PathSize) {
684 + PathSize * sizeof(CXXBaseSpecifier*));
685 return new (Buffer) CXXReinterpretCastExpr(EmptyShell(), PathSize);
706 unsigned PathSize = (BasePath ? BasePath->size() : 0);
708 + PathSize * sizeof(CXXBaseSpecifier*));
710 new (Buffer) CXXFunctionalCastExpr(T, VK, Written, K, Op, PathSize, L, R);
711 if (PathSize) E->setCastPath(*BasePath);
716 CXXFunctionalCastExpr::CreateEmpty(const ASTContext &C, unsigned PathSize) {
718 + PathSize * sizeof(CXXBaseSpecifier*));
719 return new (Buffer) CXXFunctionalCastExpr(EmptyShell(), PathSize);