OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Trap
(Results
1 - 11
of
11
) sorted by relevancy
/src/bin/ksh/
trap.c
1
/* $NetBSD:
trap
.c,v 1.14 2018/05/08 16:37:59 kamil Exp $ */
9
__RCSID("$NetBSD:
trap
.c,v 1.14 2018/05/08 16:37:59 kamil Exp $");
19
Trap
sigtraps[SIGNALS+1] = {
92
Trap
*
98
Trap
*p;
126
*
trap
signal handler
132
Trap
*p = &sigtraps[i];
135
trap
= p->set = 1;
138
if ((p->flags & TF_FATAL) && !p->
trap
) {
166
Trap
*p
[
all
...]
proto.h
226
/*
trap
.c */
231
Trap
* gettrap ARGS((const char *, int));
237
void runtrap ARGS((
Trap
*));
240
void settrap ARGS((
Trap
*, char *));
243
int setsig ARGS((
Trap
*, handler_t, int));
244
void setexecsig ARGS((
Trap
*, int));
table.h
121
Trap
error, exit;
sh.h
356
*
trap
handlers
358
typedef struct
trap
{
struct
362
char *
trap
; /*
trap
command */
member in struct:trap
363
int volatile set; /*
trap
pending */
367
}
Trap
;
369
/* values for
Trap
.flags */
371
#define TF_USER_SET BIT(1) /* user has (tried to) set
trap
*/
378
#define TF_CHANGED BIT(8) /* used by runtrap() to detect
trap
changes */
388
#define SS_USER BIT(4) /* user is doing the set (ie,
trap
command) *
394
EXTERN int volatile
trap
; \/*
trap
s pending? *\/
variable
[
all
...]
c_ksh.c
1180
Trap
*t = (
Trap
*) 0;
c_sh.c
478
Trap
*p;
488
if (p->
trap
== NULL)
491
shprintf("
trap
-- ");
492
print_value_quoted(p->
trap
);
497
/* POSIX may need this so output of
trap
can be saved and
498
* used to restore
trap
conditions
501
shprintf("
trap
-- -");
503
if (p->
trap
== NULL && p->name)
556
/* need to tell if this is exit or return so
trap
exit will
898
{"*=
trap
", c_trap}
[
all
...]
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_termination.cc
75
Trap
();
sanitizer_internal_defs.h
385
inline void
Trap
() {
400
inline void
Trap
() {
/src/sys/external/bsd/compiler_rt/dist/lib/stats/
stats_client.cc
82
Trap
();
/src/sys/arch/vax/vax/
intvec.S
101
INTVEC(syscall, KSTACK) # main syscall
trap
, chmk, 40
119
INTVEC(astintr, KSTACK) # Asynchronous Sustem
Trap
, AST (IPL 02)
132
INTVEC(ddbtrap, ISTACK) # Kernel debugger
trap
, BC (IPL 15)
155
# mcheck is the badaddress
trap
, also called when referencing
284
pushl %sp # pointer to syscall frame; defined in
trap
.h
361
calls $1, _C_LABEL(
trap
)
435
* (%sp): Return address of
trap
handler
/src/sys/arch/m68k/060sp/dist/
fpsp.s
3954
# _real_trap() - "callout" for
Trap
exception #
3990
# instruction was "ftrapcc" and a
Trap
exception should result, a
Trap
#
4290
cmpi.b SPCOND_FLG(%a6),&ftrapcc_flg # should a
trap
occur?
4293
# FP UNIMP FRAME
TRAP
FRAME
4305
# the ftrapcc instruction should take a
trap
. so, here we must create a
4306
#
trap
stack frame from an unimplemented fp instruction stack frame and
4307
# jump to the user supplied entry point for the
trap
exception
4463
# the fscc instruction should take a trace
trap
. so, here we must create a
16171
# then, the SNAN bit is set in the FPSR EXC byte. If the SNAN
trap
#
[
all
...]
Completed in 41 milliseconds
Indexes created Sat Feb 21 16:20:20 UTC 2026