OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TrapKey
(Results
1 - 2
of
2
) sorted by null
/external/libchrome/sandbox/linux/seccomp-bpf/
trap.h
43
struct
TrapKey
{
44
TrapKey
() : fnc(NULL), aux(NULL), safe(false) {}
45
TrapKey
(TrapFnc f, const void* a, bool s) : fnc(f), aux(a), safe(s) {}
49
bool operator<(const
TrapKey
&) const;
51
typedef std::map<
TrapKey
, uint16_t> TrapIds;
74
TrapKey
* trap_array_; // Array of TrapKeys indexed by ids
trap.cc
223
const
TrapKey
& trap = trap_array_[info->si_errno - 1];
256
bool Trap::
TrapKey
::operator<(const
TrapKey
& o) const {
282
TrapKey
key(fnc, aux, safe);
326
TrapKey
* old_trap_array = trap_array_;
327
TrapKey
* new_trap_array = new
TrapKey
[trap_array_capacity_];
Completed in 33 milliseconds