/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/torture/ |
H A D | Wsizeof-pointer-memaccess1.c | 80 struct A a, *pa1 = &a; local 85 memset (pa1, 0, sizeof (pa1)); /* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */ 89 memset (pa1, 0, sizeof (struct A *)); /* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */ 95 memcpy (pa1, x, sizeof (pa1)); /* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */ 99 memcpy (pa1, x, sizeof (struct A *)); /* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */ 105 memcpy (x, pa1, sizeof (pa1)); /* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */ 109 memcpy (x, pa1, sizeo [all...] |
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/ |
H A D | Wsizeof-pointer-memaccess2.C | 85 struct A a, *pa1 = &a; local 90 memset (pa1, 0, sizeof (pa1)); // { dg-warning "call is the same expression as the destination; did you mean to dereference it" } 94 memset (pa1, 0, sizeof (struct A *)); // { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } 100 memcpy (pa1, x, sizeof (pa1)); // { dg-warning "call is the same expression as the destination; did you mean to dereference it" } 104 memcpy (pa1, x, sizeof (struct A *)); // { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } 110 memcpy (x, pa1, sizeof (pa1)); // { dg-warning "call is the same expression as the source; did you mean to dereference it" } 114 memcpy (x, pa1, sizeo [all...] |
H A D | Wsizeof-pointer-memaccess1.C | 84 struct A a, *pa1 = &a; local 89 memset (pa1, 0, sizeof (pa1)); // { dg-warning "call is the same expression as the destination; did you mean to dereference it" } 93 memset (pa1, 0, sizeof (struct A *)); // { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } 99 memcpy (pa1, x, sizeof (pa1)); // { dg-warning "call is the same expression as the destination; did you mean to dereference it" } 103 memcpy (pa1, x, sizeof (struct A *)); // { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } 109 memcpy (x, pa1, sizeof (pa1)); // { dg-warning "call is the same expression as the source; did you mean to dereference it" } 113 memcpy (x, pa1, sizeo [all...] |
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/ |
H A D | Wsizeof-pointer-memaccess2.c | 28 struct A a, *pa1 = &a; local 33 memset (pa1, 0, sizeof (pa1)); /* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */ 37 memset (pa1, 0, sizeof (struct A *)); /* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */ 43 memcpy (pa1, x, sizeof (pa1)); /* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */ 47 memcpy (pa1, x, sizeof (struct A *)); /* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */ 53 memcpy (x, pa1, sizeof (pa1)); /* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */ 57 memcpy (x, pa1, sizeo [all...] |
H A D | Wsizeof-pointer-memaccess1.c | 31 struct A a, *pa1 = &a; local 38 arr[i++] = memchr (pa1, 0, sizeof (pa1)); /* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */ 42 arr[i++] = memchr (pa1, 0, sizeof (struct A *)); /* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */ 56 arr[i++] = memchr (pa1, 0, sizeof (*pa1));
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | Wsizeof-pointer-memaccess1.c | 23 struct A a, *pa1 = &a; local 28 bzero (pa1, sizeof (pa1)); /* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */ 32 bzero (pa1, sizeof (struct A *)); /* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */ 38 bcopy (x, pa1, sizeof (pa1)); /* { dg-warning "call is the same expression as the destination; did you mean to dereference it" } */ 42 bcopy (x, pa1, sizeof (struct A *)); /* { dg-warning "call is the same pointer type \[^\n\r\]* as the destination; expected \[^\n\r\]* or an explicit length" } */ 48 bcopy (pa1, x, sizeof (pa1)); /* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */ 52 bcopy (pa1, [all...] |
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/ |
H A D | assign1.go | 94 pa1 *A1 var 162 pa0 = pa1 // ERROR "cannot use|incompatible" 164 pa = pa1 // ERROR "cannot use|incompatible" 165 pa1 = pa0 // ERROR "cannot use|incompatible" 166 pa1 = pa // ERROR "cannot use|incompatible" 283 pa0 = (*[10]int)(pa1) 285 pa = (*A)(pa1) 286 pa1 = (*A1)(pa0) 287 pa1 = (*A1)(pa)
|
H A D | sinit.go | 196 var pa1 = &[10]int{1, 2, 3} var 254 var copy_pa1 = pa1
|
/haiku-buildtools/isl/ |
H A D | isl_aff.c | 2875 static __isl_give isl_pw_aff *pw_aff_div(__isl_take isl_pw_aff *pa1, argument 2878 return isl_pw_aff_on_shared_domain(pa1, pa2, &isl_aff_div); 2881 /* Divide "pa1" by "pa2", assuming "pa2" is a piecewise constant. 2883 __isl_give isl_pw_aff *isl_pw_aff_div(__isl_take isl_pw_aff *pa1, argument 2895 return isl_pw_aff_align_params_pw_pw_and(pa1, pa2, &pw_aff_div); 2897 isl_pw_aff_free(pa1); 2902 /* Compute the quotient of the integer division of "pa1" by "pa2" 2908 * pa1 >= 0 ? floor(pa1/pa2) : ceil(pa1/pa 2911 isl_pw_aff_tdiv_q(__isl_take isl_pw_aff *pa1, __isl_take isl_pw_aff *pa2) argument 2947 isl_pw_aff_tdiv_r(__isl_take isl_pw_aff *pa1, __isl_take isl_pw_aff *pa2) argument [all...] |
/haiku-buildtools/isl/include/isl/ |
H A D | aff.h | 199 __isl_give isl_pw_aff *isl_pw_aff_div(__isl_take isl_pw_aff *pa1, 212 __isl_give isl_pw_aff *isl_pw_aff_tdiv_q(__isl_take isl_pw_aff *pa1, 214 __isl_give isl_pw_aff *isl_pw_aff_tdiv_r(__isl_take isl_pw_aff *pa1,
|