Home
last modified time | relevance | path

Searched refs:TrapKey (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/sandbox/linux/seccomp-bpf/
Dtrap.h43 struct TrapKey { struct
44 TrapKey() : fnc(NULL), aux(NULL), safe(false) {} in TrapKey() argument
45 TrapKey(TrapFnc f, const void* a, bool s) : fnc(f), aux(a), safe(s) {} in TrapKey() argument
49 bool operator<(const TrapKey&) const; argument
51 typedef std::map<TrapKey, uint16_t> TrapIds;
74 TrapKey* trap_array_; // Array of TrapKeys indexed by ids
Dtrap.cc223 const TrapKey& trap = trap_array_[info->si_errno - 1]; in SigSys()
256 bool Trap::TrapKey::operator<(const TrapKey& o) const { in operator <()
282 TrapKey key(fnc, aux, safe); in Add()
326 TrapKey* old_trap_array = trap_array_; in Add()
327 TrapKey* new_trap_array = new TrapKey[trap_array_capacity_]; in Add()