OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:signal
(Results
426 - 450
of
12319
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/
1-1.c
1
#include <
signal
.h>
13
* Test that the sigwait() function. If no
signal
in 'set' is pending at the
16
* 1) Block a
signal
from delivery.
18
* 3) Raise the
signal
.
19
* 4) Verify this process will return when the
signal
is sent.
46
/* Send SIGUSR2
signal
to this process. Since it is blocked,
55
printf("Could not get pending
signal
set\n");
60
printf("
Signal
SIGUSR2 is not pending!\n");
71
printf("sigwait selected another
signal
\n");
77
printf("Could not get pending
signal
set\n")
[
all
...]
/external/strace/
trace_event.h
40
/* Restart the tracee with
signal
0 and call next_event() again. */
51
* Restart the tracee with
signal
0, or with an injected
signal
number.
56
* Tracee received
signal
with number WSTOPSIG(*pstatus);
signal
info
57
* is written to *si. Restart the tracee (with that
signal
number
63
* Tracee was killed by a
signal
with number WTERMSIG(*pstatus).
68
* Tracee was stopped by a
signal
with number WSTOPSIG(*pstatus).
69
* Restart the tracee with that
signal
number.
80
* Restart the tracee with
signal
0
[
all
...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/pulse/
mainloop-signal.h
32
* UNIX
signal
support for main loops. In contrast to other
33
* main loop event sources such as timer and IO events, UNIX
signal
37
* signals. However, you may hook
signal
support into an abstract main loop via the routines defined herein.
40
/** An opaque UNIX
signal
event source object */
43
/** Callback prototype for
signal
events */
46
/** Destroy callback prototype for
signal
events */
49
/** Initialize the UNIX
signal
subsystem and bind it to the specified main loop */
52
/** Cleanup the
signal
subsystem */
55
/** Create a new UNIX
signal
event source object */
58
/** Free a UNIX
signal
event source object *
[
all
...]
/prebuilts/go/darwin-x86/src/runtime/
signal_unix.go
17
// The sigtable array is indexed by a system
signal
number to get the flags
18
// and printable name of each
signal
.
41
// Stores the
signal
handlers registered before Go installed its own.
42
// These
signal
handlers will be invoked in cases where Go doesn't want to
43
// handle a particular
signal
(e.g.,
signal
occurred on a non-Go thread).
46
// This is read by the
signal
handler; accesses should use
50
// handlingSig is indexed by
signal
number and is non-zero if we are
51
// currently handling the
signal
. Or, to put it another way, whether
52
// the
signal
handler is currently set to the Go signal handler or not
[
all
...]
/prebuilts/go/linux-x86/src/runtime/
signal_unix.go
17
// The sigtable array is indexed by a system
signal
number to get the flags
18
// and printable name of each
signal
.
41
// Stores the
signal
handlers registered before Go installed its own.
42
// These
signal
handlers will be invoked in cases where Go doesn't want to
43
// handle a particular
signal
(e.g.,
signal
occurred on a non-Go thread).
46
// This is read by the
signal
handler; accesses should use
50
// handlingSig is indexed by
signal
number and is non-zero if we are
51
// currently handling the
signal
. Or, to put it another way, whether
52
// the
signal
handler is currently set to the Go signal handler or not
[
all
...]
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
audio_analysis.py
32
# The minimal
signal
norm value.
36
# can tolerate normal noise of 0.3 amplitude when sine wave
signal
45
"""Error when
signal
RMS is too small."""
50
"""Error when
signal
is empty."""
54
def normalize_signal(
signal
, saturate_value):
55
"""Normalizes the
signal
with respect to the saturate value.
58
signal
: A list for one-channel PCM data.
62
A numpy array containing normalized
signal
. The normalized
signal
has
66
signal
= numpy.array(signal
[
all
...]
/external/libdrm/nouveau/nvif/
if0002.h
22
__u8
signal
;
member in struct:nvif_perfmon_query_signal_v0
31
__u8
signal
;
member in struct:nvif_perfmon_query_source_v0
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/
7-1.c
10
since they cannot be added to a process's
signal
mask) and add each one
11
to the
signal
mask. Every time a
signal
gets added to the
signal
mask
13
before it in preceding iterations before it, exist in the old
signal
set
18
#include <
signal
.h>
59
printf("Old set is missing a
signal
\n");
64
("Test PASSED: oactl did contain all signals that were added to the
signal
mask.\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/
5-1.c
8
This program tests the assertion that the process's
signal
mask will be
9
restored to the state that it was in prior to the delivery of the
signal
12
1. Empty the
signal
mask
13
2. Deliver the
signal
14
3. When we return from the
signal
handler, verify that the
signal
mask
21
#include <
signal
.h>
77
printf("Test FAILED:
signal
mask should be empty\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigsuspend/
assertions.xml
3
The current
signal
mask of the calling thread shall be replaced
5
will then be suspended until delivery of a
signal
whose action
6
is either to execute a
signal
-catching function or to terminate
17
sigsuspend( ) shall return after the
signal
-catching
18
function returns, with the
signal
mask restored
20
call, if the action is to execute a
signal
-catching function.
32
If a
signal
is caught by the calling process
33
and control is returned from the
signal
-catching function,
/external/python/cpython2/Modules/
Setup.config.in
9
# The
signal
module
10
@USE_SIGNAL_MODULE@
signal
signalmodule.c
/external/strace/tests/
fork-f.gen.test
2
# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fork-f -a26 -qq -f -e
signal
=none -e trace=chdir); do not edit.
4
run_strace_match_diff -a26 -qq -f -e
signal
=none -e trace=chdir
vfork-f.gen.test
2
# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (vfork-f -a26 -qq -f -e
signal
=none -e trace=chdir); do not edit.
4
run_strace_match_diff -a26 -qq -f -e
signal
=none -e trace=chdir
/external/strace/tests-m32/
fork-f.gen.test
2
# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fork-f -a26 -qq -f -e
signal
=none -e trace=chdir); do not edit.
4
run_strace_match_diff -a26 -qq -f -e
signal
=none -e trace=chdir
vfork-f.gen.test
2
# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (vfork-f -a26 -qq -f -e
signal
=none -e trace=chdir); do not edit.
4
run_strace_match_diff -a26 -qq -f -e
signal
=none -e trace=chdir
/external/strace/tests-mx32/
fork-f.gen.test
2
# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fork-f -a26 -qq -f -e
signal
=none -e trace=chdir); do not edit.
4
run_strace_match_diff -a26 -qq -f -e
signal
=none -e trace=chdir
vfork-f.gen.test
2
# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (vfork-f -a26 -qq -f -e
signal
=none -e trace=chdir); do not edit.
4
run_strace_match_diff -a26 -qq -f -e
signal
=none -e trace=chdir
/prebuilts/go/darwin-x86/src/net/http/cgi/
posix_test.go
19
return p.
Signal
(syscall.
Signal
(0)) == nil
/prebuilts/go/darwin-x86/src/runtime/testdata/testprogcgo/
exec.go
11
#include <
signal
.h>
14
// Save the
signal
mask at startup so that we see what it is before
36
"os/
signal
"
53
c := make(chan os.
Signal
, 1)
54
signal
.Notify(c, syscall.SIGTERM)
68
c2 := make(chan os.
Signal
, 1)
69
signal
.Notify(c2, syscall.SIGUSR1)
82
signal
.Stop(c2)
/prebuilts/go/linux-x86/src/net/http/cgi/
posix_test.go
19
return p.
Signal
(syscall.
Signal
(0)) == nil
/prebuilts/go/linux-x86/src/runtime/testdata/testprogcgo/
exec.go
11
#include <
signal
.h>
14
// Save the
signal
mask at startup so that we see what it is before
36
"os/
signal
"
53
c := make(chan os.
Signal
, 1)
54
signal
.Notify(c, syscall.SIGTERM)
68
c2 := make(chan os.
Signal
, 1)
69
signal
.Notify(c2, syscall.SIGUSR1)
82
signal
.Stop(c2)
/system/core/libmemunreachable/
ScopedSignalHandler.h
21
#include <
signal
.h>
39
void install(int
signal
, F&& f) {
43
[=](int
signal
, siginfo_t* si, void* uctx) { f(*this,
signal
, si, uctx); });
46
act.sa_sigaction = [](int
signal
, siginfo_t* si, void* uctx) { handler_(
signal
, si, uctx); };
49
int ret = sigaction(
signal
, &act, &old_act_);
54
signal_ =
signal
;
/toolchain/binutils/binutils-2.27/config/
intdiv0.m4
21
#include <
signal
.h>
30
/* Exit with code 0 if SIGFPE, with code 1 if any other
signal
. */
41
signal
(SIGFPE, sigfpe_handler);
42
/* IRIX and AIX (when "xlc -qcheck" is used) yield
signal
SIGTRAP. */
44
signal
(SIGTRAP, sigfpe_handler);
46
/* Linux/SPARC yields
signal
SIGILL. */
48
signal
(SIGILL, sigfpe_handler);
71
[Define if integer division by zero raises
signal
SIGFPE.])
/art/sigchainlib/
sigchain.cc
27
#include <
signal
.h>
50
// libsigchain provides an interception layer for
signal
handlers, to allow ART and others to give
51
// their
signal
handlers the first stab at handling signals before passing them on to user code.
53
// It implements wrapper functions for
signal
, sigaction, and sigprocmask, and a handler that
56
// In our handler, we start off with all signals blocked, fetch the original
signal
mask from the
57
// passed in ucontext, and then adjust our
signal
mask appropriately for the user handler.
61
// SA_NODEFER: unimplemented, we can manually change the
signal
mask appropriately.
64
// ~SA_RESTART: unimplemented, maybe we can reserve an RT
signal
, register an empty handler that
65
// doesn't have SA_RESTART, and raise the
signal
to avoid restarting syscalls that are
128
fatal("Unable to find next %s in
signal
chain", name)
398
extern "C" sighandler_t
signal
(int signo, sighandler_t handler) {
function in namespace:art
[
all
...]
/external/autotest/client/cros/audio/
audio_analysis.py
21
"""Error when
signal
RMS is too small."""
26
"""Error when
signal
is empty."""
29
def normalize_signal(
signal
, saturate_value):
30
"""Normalizes the
signal
with respect to the saturate value.
32
@param
signal
: A list for one-channel PCM data.
35
@returns: A numpy array containing normalized
signal
. The normalized
signal
39
signal
= numpy.array(
signal
)
40
return
signal
/ float(saturate_value
[
all
...]
Completed in 1635 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>