/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/ |
H A D | gnu99-const-expr-4.c | 20 static int sa[100]; variable 24 static int (*a1)[] = &sa; 25 static int (*a2)[] = (__typeof__(int (*)[n]))sa; 26 static int (*a4)[] = (__typeof__((int (*)[n])sa))sa; 27 static int (*a5)[] = (__typeof__((int (*)[m++])sa))sa; /* { dg-error "constant" } */ 28 static int (*a6)[] = (__typeof__((int (*)[100])(int (*)[m++])sa))sa; 29 static int (*a7)[] = (__typeof__((int (*)[n])sa [all...] |
H A D | c99-const-expr-14.c | 19 static int sa[100]; variable 26 static int (*a2)[] = (int (*)[n])sa; 27 static int (*a8)[] = (int (*)[(m=n)])sa; /* { dg-error "constant" } */ 28 static int (*a9)[] = (int (*)[(m+=n)])sa; /* { dg-error "constant" } */ 29 static int (*a10)[] = (int (*)[f(m,n)])sa; /* { dg-error "constant" } */ 30 static int (*a11)[] = (int (*)[(m,n)])sa; /* { dg-error "constant" } */ 31 static int (*a12)[] = (int (*)[sizeof(int[n])])sa; 32 static int (*a13)[] = (int (*)[sizeof(int[m++])])sa; /* { dg-error "constant" } */ 33 static int (*a15)[] = (int (*)[sizeof(*(int (*)[n])sa)])sa; [all...] |
H A D | gnu99-const-expr-3.c | 19 static int sa[100]; variable 24 static int (*a1)[n] = &sa; 25 static int (*a2)[n] = (__typeof__(int (*)[n]))sa; 26 static int (*a3)[n] = (__typeof__(int (*)[(int){m++}]))sa; /* { dg-error "constant" } */ 27 static int (*a4)[n] = (__typeof__((int (*)[n])sa))sa; 28 static int (*a5)[n] = (__typeof__((int (*)[m++])sa))sa; /* { dg-error "constant" } */ 29 static int (*a6)[n] = (__typeof__((int (*)[100])(int (*)[m++])sa))sa; [all...] |
H A D | pr32041.c | 7 struct { float f; } sa[2]; member in struct:S 10 char a[__builtin_offsetof (struct S, sa->f) 11 == __builtin_offsetof (struct S, sa[0].f) ? 1 : -1];
|
H A D | c99-const-expr-11.c | 19 static int sa[100]; variable 26 static int (*a1)[n] = &sa; 27 static int (*a2)[n] = (int (*)[n])sa; 28 static int (*a3)[n] = (int (*)[(int){n}])sa; 29 static int (*a4)[n] = (int (*)[(int){m++}])sa; /* { dg-error "constant" } */ 30 static int (*a5)[n] = (int (*)[(int){++m}])sa; /* { dg-error "constant" } */ 31 static int (*a6)[n] = (int (*)[(int){m--}])sa; /* { dg-error "constant" } */ 32 static int (*a7)[n] = (int (*)[(int){--m}])sa; /* { dg-error "constant" } */ 33 static int (*a8)[n] = (int (*)[(m=n)])sa; /* { dg-error "constant" } */ 34 static int (*a9)[n] = (int (*)[(m+=n)])sa; /* { d [all...] |
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/ |
H A D | sock_addr.h | 32 #define SOCK_ADDR_IN_PTR(sa) ((struct sockaddr_in *)(sa)) 33 #define SOCK_ADDR_IN_FAMILY(sa) SOCK_ADDR_IN_PTR(sa)->sin_family 34 #define SOCK_ADDR_IN_PORT(sa) SOCK_ADDR_IN_PTR(sa)->sin_port 35 #define SOCK_ADDR_IN_ADDR(sa) SOCK_ADDR_IN_PTR(sa)->sin_addr 45 #define SOCK_ADDR_LEN(sa) \ 46 (SOCK_ADDR_PTR(sa) [all...] |
H A D | sock_addr.c | 11 /* int sock_addr_cmp_addr(sa, sb) 12 /* const struct sockaddr *sa; 15 /* int sock_addr_cmp_port(sa, sb) 16 /* const struct sockaddr *sa; 19 /* int SOCK_ADDR_EQ_ADDR(sa, sb) 20 /* const struct sockaddr *sa; 23 /* int SOCK_ADDR_EQ_PORT(sa, sb) 24 /* const struct sockaddr *sa; 27 /* int sock_addr_in_loopback(sa) 28 /* const struct sockaddr *sa; 111 sock_addr_cmp_addr(const struct sockaddr * sa, const struct sockaddr * sb) argument 138 sock_addr_cmp_port(const struct sockaddr * sa, const struct sockaddr * sb) argument 158 sock_addr_in_loopback(const struct sockaddr * sa) argument [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
H A D | ipropd_common.c | 52 struct sigaction sa; local 54 sa.sa_flags = 0; 55 sa.sa_handler = sigterm; 56 sigemptyset(&sa.sa_mask); 58 sigaction(SIGINT, &sa, NULL); 59 sigaction(SIGTERM, &sa, NULL); 60 sigaction(SIGXCPU, &sa, NULL); 62 sa.sa_handler = SIG_IGN; 63 sigaction(SIGPIPE, &sa, NULL);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/ |
H A D | sig2.c | 20 struct sigaction sa; local 21 sa.sa_sigaction = leave; 22 sa.sa_flags = SA_RESTART | SA_SIGINFO; 23 sigemptyset (&sa.sa_mask); 27 if (sigaction (SIGFPE, &sa, NULL) != 0)
|
H A D | sig7.c | 15 struct sigaction sa; local 17 sa.sa_sigaction = NULL; 18 sa.sa_flags = SA_RESTART | SA_SIGINFO; 19 sigemptyset (&sa.sa_mask); 21 err = sigaction (SIGFPE, &sa, NULL);
|
/netbsd-6-1-5-RELEASE/lib/libc/gen/ |
H A D | sigignore.c | 44 struct sigaction sa; local 46 sa.sa_handler = SIG_IGN; 47 if (sigemptyset(&sa.sa_mask) != 0) 49 sa.sa_flags = 0; 51 return (sigaction(sig, &sa, NULL));
|
H A D | posix_spawn_sched.c | 56 posix_spawnattr_destroy(posix_spawnattr_t *sa) argument 58 if (sa == NULL) 65 posix_spawnattr_getflags(const posix_spawnattr_t * __restrict sa, argument 68 *flags = sa->sa_flags; 73 posix_spawnattr_getpgroup(const posix_spawnattr_t * __restrict sa, argument 76 *pgroup = sa->sa_pgroup; 81 posix_spawnattr_getschedparam(const posix_spawnattr_t * __restrict sa, argument 84 *schedparam = sa->sa_schedparam; 89 posix_spawnattr_getschedpolicy(const posix_spawnattr_t * __restrict sa, argument 92 *schedpolicy = sa 97 posix_spawnattr_getsigdefault(const posix_spawnattr_t * __restrict sa, sigset_t * __restrict sigdefault) argument 105 posix_spawnattr_getsigmask(const posix_spawnattr_t * __restrict sa, sigset_t * __restrict sigmask) argument 113 posix_spawnattr_setflags(posix_spawnattr_t *sa, short flags) argument 120 posix_spawnattr_setpgroup(posix_spawnattr_t *sa, pid_t pgroup) argument 127 posix_spawnattr_setschedparam(posix_spawnattr_t * __restrict sa, const struct sched_param * __restrict schedparam) argument 135 posix_spawnattr_setschedpolicy(posix_spawnattr_t *sa, int schedpolicy) argument 142 posix_spawnattr_setsigdefault(posix_spawnattr_t * __restrict sa, const sigset_t * __restrict sigdefault) argument 150 posix_spawnattr_setsigmask(posix_spawnattr_t * __restrict sa, const sigset_t * __restrict sigmask) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/vax/vax/ |
H A D | cmi.c | 57 struct sbi_attach_args * const sa = aux; local 60 aprint_normal("unknown device 0x%x at %s", sa->sa_type, name); 62 aprint_normal(" tr%d", sa->sa_nexnum); 78 struct sbi_attach_args sa; local 80 sa.sa_base = NEX750; 87 for (sa.sa_nexnum = 0; sa.sa_nexnum < 4; sa.sa_nexnum++) { 88 sa.sa_ioh = vax_map_physmem(NEX750 + 89 sizeof(struct nexus) * sa [all...] |
H A D | ubi.c | 56 struct sbi_attach_args *sa = (struct sbi_attach_args *)aux; local 59 aprint_normal("unknown device 0x%x at %s", sa->sa_type, name); 61 aprint_normal(" tr%d", sa->sa_nexnum); 77 struct sbi_attach_args sa; local 81 sa.sa_base = NEX730; 90 for (sa.sa_nexnum = 0; sa.sa_nexnum < 4; sa.sa_nexnum++) { 91 sa.sa_ioh = vax_map_physmem(NEX730 + 92 sizeof(struct nexus) * sa [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/ext/ |
H A D | alignof2.C | 2 // We were treating alignof (sa.a) as alignof (typeof (sa.a)), which is 12 } sa; variable in typeref:struct:A 22 if (__alignof (sa) != __alignof (sa.a)
|
/netbsd-6-1-5-RELEASE/regress/sys/kern/sigtramp/ |
H A D | sigtramp.c | 45 static struct sigaction sa; local 47 sa.sa_handler = catch; 49 sigaction(SIGUSR1, &sa, 0);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/parse/ |
H A D | offsetof9.C | 7 struct { float f; } sa[2]; member in struct:S 10 char a[__builtin_offsetof (S, sa->f) 11 == __builtin_offsetof (S, sa[0].f) ? 1 : -1]; 17 struct { float f; } sa[N]; member in struct:T 18 static int foo () { return __builtin_offsetof (T, sa->f); } 19 static int bar () { return __builtin_offsetof (T, sa[0].f); } 22 char b[__builtin_offsetof (T<5>, sa->f) 23 == __builtin_offsetof (T<5>, sa[0].f) ? 1 : -1];
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/cpp0x/ |
H A D | cast.C | 8 template <bool> struct sa; 9 template <> struct sa<true> {}; struct 22 sa<sizeof(foo(a)) == 1 * sizeof(long)> t1; 23 sa<sizeof(foo(static_cast<A&&>(a))) == 2 * sizeof(long)> t2;
|
H A D | rv4p.C | 8 template <bool> struct sa; 9 template <> struct sa<true> {}; struct 44 sa<sizeof(sink_4_1234(a)) == 1 * sizeof(long)> t1; 45 sa<sizeof(sink_4_1234(ca)) == 2 * sizeof(long)> t2; 46 sa<sizeof(sink_4_1234(va)) == 3 * sizeof(long)> t3; 47 sa<sizeof(sink_4_1234(cva)) == 4 * sizeof(long)> t4; 48 sa<sizeof(sink_4_1234(source())) == 2 * sizeof(long)> t5; 49 sa<sizeof(sink_4_1234(c_source())) == 2 * sizeof(long)> t6; 64 sa<sizeof(sink_4_1235(a)) == 1 * sizeof(long)> t1; 65 sa<sizeo [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/pch/ |
H A D | static-1.C | 4 static A sa; local
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/pch/ |
H A D | static-1.C | 4 static A sa; local
|
/netbsd-6-1-5-RELEASE/sys/arch/ia64/ia64/ |
H A D | sapic.c | 72 struct sapic *sa; local 76 sa = ia64_sapics[i]; 77 if (irq >= sa->sa_base && irq <= sa->sa_limit) 78 return sa; 85 sapic_read(struct sapic *sa, int which) argument 87 vaddr_t reg = sa->sa_registers; 95 sapic_write(struct sapic *sa, int which, uint32_t value) argument 97 vaddr_t reg = sa->sa_registers; 106 sapic_read_rte(struct sapic *sa, in argument 115 sapic_write_rte(struct sapic *sa, int which, struct sapic_rte *rte) argument 127 struct sapic *sa; local 146 struct sapic *sa; local 182 sapic_enable(struct sapic *sa, u_int irq, u_int vector) argument 200 sapic_eoi(struct sapic *sa, u_int vector) argument 210 sapic_mask(struct sapic *sa, u_int irq) argument 223 sapic_unmask(struct sapic *sa, u_int irq) argument 240 sapic_print(struct sapic *sa, u_int irq) argument [all...] |
/netbsd-6-1-5-RELEASE/libexec/identd/ |
H A D | identd.h | 13 #define satosin(sa) ((struct sockaddr_in *)(sa)) 14 #define satosin6(sa) ((struct sockaddr_in6 *)(sa))
|
/netbsd-6-1-5-RELEASE/regress/sys/uvm/stack_noexec/ |
H A D | tramptest.c | 44 struct sigaction sa; local 52 sa.sa_sigaction = buserr; 53 sigemptyset(&sa.sa_mask); 54 sa.sa_flags = SA_SIGINFO; 55 sigaction(SIGSEGV, &sa, 0);
|
/netbsd-6-1-5-RELEASE/sys/arch/acorn32/eb7500atx/ |
H A D | rsbus.c | 80 struct rsbus_attach_args sa; local 82 sa.sa_iot = sc->sc_iot; 83 sa.sa_addr = cf->cf_loc[RSBUSCF_ADDR]; 84 sa.sa_size = cf->cf_loc[RSBUSCF_SIZE]; 85 sa.sa_intr = cf->cf_loc[RSBUSCF_IRQ]; 87 if (config_match(parent, cf, &sa) > 0) 88 config_attach(parent, cf, &sa, rsbus_print); 96 struct rsbus_attach_args *sa = aux; local 98 if (sa->sa_size) 99 aprint_normal(" addr 0x%lx", sa [all...] |