OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:signal
(Results
476 - 500
of
12319
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
1-9.c
10
for a
signal
.
13
1. Initialize a global variable to indicate the
signal
14
handler has not been called. (A
signal
handler of the
17
2. Use sigaction to setup a
signal
handler for SIGINT
19
4. Verify the global indicates the
signal
was called.
22
#include <
signal
.h>
29-1.c
25
* -> install a handler for SIGRTMAX
signal
with SA_SIGINFO set.
26
* -> Mask this
signal
27
* -> Generate the
signal
several imes with sigqueue and known user values.
28
* -> unmask the
signal
50
#include <
signal
.h>
95
output("Received unexpected
signal
%d\n", info->si_signo);
100
output("Got
signal
%d, expected %d!\n",
102
FAILED("Wrong
signal
delivered -- no FIFO order?");
127
/* Set the
signal
handler */
135
UNRESOLVED(ret, "Failed to empty
signal
set")
[
all
...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sighold/
1-1.c
9
1. Set up a handler for
signal
SIGABRT, such that it is called if
signal
is ever raised.
11
3. Raise a SIGABRT and verify that the
signal
handler was not called.
17
#include <
signal
.h>
57
printf("FAIL:
Signal
was not blocked\n");
61
printf("Test PASSED:
signal
was blocked\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
2-1.c
8
* Test that if the
signal
is the null
signal
(0), no
signal
is sent.
9
* 1) Call sigqueue on the current process with the null
signal
.
11
* the test a pass (most likely no
signal
was sent).
16
#include <
signal
.h>
/external/valgrind/none/tests/s390x/
test_sig.c
3
#include <
signal
.h>
5
#include <
signal
.h>
18
printf("Got
signal
%d\n", sig);
32
printf("Got
signal
%d\n", sig);
54
signal
(SIGUSR1, handle_SIG);
55
signal
(SIGSEGV, handle_SIG);
/external/valgrind/none/tests/
sigstackgrowth.c
1
#include <
signal
.h>
7
/* What does this test do? It checks that valgrind's
signal
frame
8
building mechanism can create at least 4MB of
signal
delivery
12
It does this by getting into the
signal
handler, and then
13
recursively invoking the handler by sending itself the
signal
19
wait till the handler exits before delivering the next
signal
, the
/frameworks/base/tests/JankBench/app/src/main/jni/
WorkerPool.h
43
class
Signal
{
45
Signal
();
46
~
Signal
();
51
// returns true if the
signal
occured
67
Signal
mCompleteSignal;
68
Signal
*mLaunchSignals;
/prebuilts/go/darwin-x86/misc/cgo/testsanitizers/src/
tsan12.go
8
// libc interceptor that writes
signal
handlers to a global variable within the
10
// syscall.runtime_AfterForkInChild corrupted TSAN's
signal
forwarding table
12
// invoke
signal
handlers.
18
"os/
signal
"
25
ch := make(chan os.
Signal
)
26
signal
.Notify(ch, syscall.SIGUSR1)
/prebuilts/go/linux-x86/misc/cgo/testsanitizers/src/
tsan12.go
8
// libc interceptor that writes
signal
handlers to a global variable within the
10
// syscall.runtime_AfterForkInChild corrupted TSAN's
signal
forwarding table
12
// invoke
signal
handlers.
18
"os/
signal
"
25
ch := make(chan os.
Signal
)
26
signal
.Notify(ch, syscall.SIGUSR1)
/external/strace/tests/
signal.c
2
* Check decoding of
signal
syscall.
36
# include <
signal
.h>
70
printf("
signal
(SIGUSR1, SIG_IGN) = %s\n", sprintrc(rc));
72
error_msg_and_fail("
signal
(SIGUSR1, SIG_IGN) = %#lx\n", rc);
74
printf("
signal
(SIGUSR1, SIG_IGN) = %#lx (SIG_DFL)\n", rc);
78
* If
signal
syscall failed to set SIGUSR1 handler to SIG_IGN,
92
printf("
signal
(SIGUSR1, SIG_DFL) = %s\n", sprintrc(rc));
94
error_msg_and_fail("
signal
(SIGUSR1, SIG_DFL) = %#lx\n", rc);
96
printf("
signal
(SIGUSR1, SIG_DFL) = %#lx (SIG_IGN)\n", rc);
103
printf("
signal
(SIGUSR1, %#llx) = %s\n"
[
all
...]
/external/strace/tests-m32/
signal.c
2
* Check decoding of
signal
syscall.
36
# include <
signal
.h>
70
printf("
signal
(SIGUSR1, SIG_IGN) = %s\n", sprintrc(rc));
72
error_msg_and_fail("
signal
(SIGUSR1, SIG_IGN) = %#lx\n", rc);
74
printf("
signal
(SIGUSR1, SIG_IGN) = %#lx (SIG_DFL)\n", rc);
78
* If
signal
syscall failed to set SIGUSR1 handler to SIG_IGN,
92
printf("
signal
(SIGUSR1, SIG_DFL) = %s\n", sprintrc(rc));
94
error_msg_and_fail("
signal
(SIGUSR1, SIG_DFL) = %#lx\n", rc);
96
printf("
signal
(SIGUSR1, SIG_DFL) = %#lx (SIG_IGN)\n", rc);
103
printf("
signal
(SIGUSR1, %#llx) = %s\n"
[
all
...]
/external/strace/tests-mx32/
signal.c
2
* Check decoding of
signal
syscall.
36
# include <
signal
.h>
70
printf("
signal
(SIGUSR1, SIG_IGN) = %s\n", sprintrc(rc));
72
error_msg_and_fail("
signal
(SIGUSR1, SIG_IGN) = %#lx\n", rc);
74
printf("
signal
(SIGUSR1, SIG_IGN) = %#lx (SIG_DFL)\n", rc);
78
* If
signal
syscall failed to set SIGUSR1 handler to SIG_IGN,
92
printf("
signal
(SIGUSR1, SIG_DFL) = %s\n", sprintrc(rc));
94
error_msg_and_fail("
signal
(SIGUSR1, SIG_DFL) = %#lx\n", rc);
96
printf("
signal
(SIGUSR1, SIG_DFL) = %#lx (SIG_IGN)\n", rc);
103
printf("
signal
(SIGUSR1, %#llx) = %s\n"
[
all
...]
/prebuilts/go/darwin-x86/pkg/darwin_amd64/os/
signal.a
12
signal