Lines Matching defs:st
508 struct st {
511 struct st *s = malloc(sizeof(struct st)); // no-warning
516 struct st {
521 struct st *s = malloc(sizeof(struct st)); // no-warning
526 struct st {
531 struct st *s = malloc(sizeof(struct st)); // no-warning
536 struct st {
541 struct st *s = malloc(sizeof(struct st)); // no-warning
546 struct st {
551 struct st *s = malloc(sizeof(struct st)); // no-warning
556 struct st {
561 struct st *s = malloc(sizeof(struct st) - sizeof(char)); // no-warning
566 struct st {
571 struct st *s = malloc(sizeof(struct st) + 2); // expected-warning{{Cast a region whose size is not a multiple of the destination type size}}
576 struct st {
581 struct st *s = malloc(2); // expected-warning{{Cast a region whose size is not a multiple of the destination type size}}
586 struct st {
591 struct st *s = malloc(sizeof(struct st) + 3); // no-warning
596 struct st {
601 struct st *s = malloc(sizeof(struct st) + 3); // no-warning
606 struct st {
611 struct st *s = malloc(sizeof(struct st) + 3); // no-warning
619 struct st {
624 struct st *s = malloc(sizeof(struct st) + 3 * sizeof(struct foo)); // no-warning
632 struct st {
637 struct st *s = malloc(sizeof(struct st) + 3 * sizeof(struct foo)); // no-warning
645 struct st {
650 struct st *s = malloc(sizeof(struct st) + 3 * sizeof(struct foo)); // no-warning
658 struct st {
663 struct st *s = malloc(3 * sizeof(struct st) + 3 * sizeof(struct foo)); // expected-warning{{Cast a region whose size is not a multiple of the destination type size}}
671 struct st {
676 struct st *s = malloc(3 * sizeof(struct st) + 3 * sizeof(struct foo)); // expected-warning{{Cast a region whose size is not a multiple of the destination type size}}
684 struct st {
689 struct st *s = malloc(3 * sizeof(struct st) + 3 * sizeof(struct foo)); // expected-warning{{Cast a region whose size is not a multiple of the destination type size}}
694 struct st {
699 struct st *s = malloc(sizeof(struct st) + 3); // expected-warning{{Cast a region whose size is not a multiple of the destination type size}}
704 struct st {
709 struct st *s = malloc(sizeof(struct st) + 3); // expected-warning{{Cast a region whose size is not a multiple of the destination type size}}
714 struct st {
719 struct st *s = malloc(sizeof(struct st) + 3); // expected-warning{{Cast a region whose size is not a multiple of the destination type size}}