Home
last modified time | relevance | path

Searched refs:alternate_s (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/
D1-1.c31 stack_t alternate_s; variable
36 if ((void *)&i < (alternate_s.ss_sp) in handler()
38 ((long)alternate_s.ss_sp + (long)alternate_s.ss_size)) { in handler()
60 if ((alternate_s.ss_sp = malloc(SIGSTKSZ)) == NULL) { in main()
66 alternate_s.ss_flags = 0; in main()
67 alternate_s.ss_size = SIGSTKSZ; in main()
69 if (sigaltstack(&alternate_s, NULL) == -1) { in main()
D5-1.c30 stack_t alternate_s, current_s; in main() local
42 if ((alternate_s.ss_sp = malloc(SIGSTKSZ)) == NULL) { in main()
48 alternate_s.ss_flags = 0; in main()
49 alternate_s.ss_size = SIGSTKSZ; in main()
51 if (sigaltstack(&alternate_s, NULL) == -1) { in main()
63 if (current_s.ss_sp != alternate_s.ss_sp) { in main()
69 if (current_s.ss_size != alternate_s.ss_size) { in main()
D3-1.c34 static stack_t alternate_s; variable
47 if (handler_s.ss_sp != alternate_s.ss_sp) { in handler()
53 if (handler_s.ss_size != alternate_s.ss_size) { in handler()
75 if ((alternate_s.ss_sp = malloc(SIGSTKSZ)) == NULL) { in main()
81 alternate_s.ss_flags = 0; in main()
82 alternate_s.ss_size = SIGSTKSZ; in main()
84 if (sigaltstack(&alternate_s, NULL) == -1) { in main()
D10-1.c21 stack_t alternate_s; variable
42 if ((alternate_s.ss_sp = malloc(SIGSTKSZ)) == NULL) { in main()
48 alternate_s.ss_flags = 0; in main()
49 alternate_s.ss_size = SIGSTKSZ; in main()
51 if (sigaltstack(&alternate_s, NULL) != 0) { in main()
D8-1.c30 static stack_t alternate_s; variable
63 if ((alternate_s.ss_sp = malloc(SIGSTKSZ)) == NULL) { in main()
69 alternate_s.ss_flags = SS_DISABLE; in main()
70 alternate_s.ss_size = SIGSTKSZ; in main()
72 if (sigaltstack(&alternate_s, NULL) == -1) { in main()
D6-1.c30 static stack_t alternate_s; variable
63 if ((alternate_s.ss_sp = malloc(SIGSTKSZ)) == NULL) { in main()
69 alternate_s.ss_flags = 0; in main()
70 alternate_s.ss_size = SIGSTKSZ; in main()
72 if (sigaltstack(&alternate_s, NULL) == -1) { in main()
D2-1.c32 static stack_t alternate_s, original_s; variable
79 if ((alternate_s.ss_sp = malloc(SIGSTKSZ)) == NULL) { in main()
85 alternate_s.ss_flags = SS_DISABLE; in main()
86 alternate_s.ss_size = SIGSTKSZ; in main()
88 if (sigaltstack(&alternate_s, NULL) == -1) { in main()