Home
last modified time | relevance | path

Searched refs:TargetResult (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/gdbstub/src/target/ext/
Dextended_mode.rs18 use crate::target::{Target, TargetResult};
91 fn run(&mut self, filename: Option<&[u8]>, args: Args) -> TargetResult<Pid, Self>; in run()
98 fn attach(&mut self, pid: Pid) -> TargetResult<(), Self>; in attach() argument
107 fn query_if_attached(&mut self, pid: Pid) -> TargetResult<AttachKind, Self>; in query_if_attached()
119 fn kill(&mut self, pid: Option<Pid>) -> TargetResult<ShouldTerminate, Self>; in kill()
203 fn cfg_aslr(&mut self, enabled: bool) -> TargetResult<(), Self>; in cfg_aslr() argument
217 fn set_env(&mut self, key: &[u8], val: Option<&[u8]>) -> TargetResult<(), Self>; in set_env() argument
220 fn remove_env(&mut self, key: &[u8]) -> TargetResult<(), Self>; in remove_env() argument
224 fn reset_env(&mut self) -> TargetResult<(), Self>; in reset_env() argument
237 fn cfg_startup_with_shell(&mut self, enabled: bool) -> TargetResult<(), Self>; in cfg_startup_with_shell() argument
[all …]
Dbreakpoints.rs4 use crate::target::{Target, TargetResult};
29 fn add_sw_breakpoint(&mut self, addr: <Self::Arch as Arch>::Usize) -> TargetResult<bool, Self>; in add_sw_breakpoint()
36 ) -> TargetResult<bool, Self>; in remove_sw_breakpoint()
53 fn add_hw_breakpoint(&mut self, addr: <Self::Arch as Arch>::Usize) -> TargetResult<bool, Self>; in add_hw_breakpoint()
60 ) -> TargetResult<bool, Self>; in remove_hw_breakpoint()
81 ) -> TargetResult<bool, Self>; in add_hw_watchpoint()
89 ) -> TargetResult<bool, Self>; in remove_hw_watchpoint()
/external/rust/crates/gdbstub/examples/armv4t/gdb/
Dextended_mode.rs4 use gdbstub::target::TargetResult;
23 fn kill(&mut self, pid: Option<Pid>) -> TargetResult<ShouldTerminate, Self> { in kill()
33 fn attach(&mut self, pid: Pid) -> TargetResult<(), Self> { in attach() argument
38 fn run(&mut self, filename: Option<&[u8]>, args: Args) -> TargetResult<Pid, Self> { in run()
86 fn cfg_aslr(&mut self, enabled: bool) -> TargetResult<(), Self> { in cfg_aslr() argument
93 fn set_env(&mut self, key: &[u8], val: Option<&[u8]>) -> TargetResult<(), Self> { in set_env() argument
106 fn remove_env(&mut self, key: &[u8]) -> TargetResult<(), Self> { in remove_env() argument
113 fn reset_env(&mut self) -> TargetResult<(), Self> { in reset_env() argument
121 fn cfg_startup_with_shell(&mut self, enabled: bool) -> TargetResult<(), Self> { in cfg_startup_with_shell() argument
131 fn cfg_working_dir(&mut self, dir: Option<&[u8]>) -> TargetResult<(), Self> { in cfg_working_dir() argument
Dmod.rs9 use gdbstub::target::{Target, TargetError, TargetResult};
109 fn read_registers(&mut self, regs: &mut arch::arm::reg::ArmCoreRegs) -> TargetResult<(), Self> { in read_registers() argument
123 fn write_registers(&mut self, regs: &arch::arm::reg::ArmCoreRegs) -> TargetResult<(), Self> { in write_registers() argument
141 ) -> TargetResult<(), Self> { in read_register() argument
155 ) -> TargetResult<(), Self> { in write_register() argument
168 fn read_addrs(&mut self, start_addr: u32, data: &mut [u8]) -> TargetResult<(), Self> { in read_addrs() argument
175 fn write_addrs(&mut self, start_addr: u32, data: &[u8]) -> TargetResult<(), Self> { in write_addrs() argument
184 fn add_sw_breakpoint(&mut self, addr: u32) -> TargetResult<bool, Self> { in add_sw_breakpoint()
189 fn remove_sw_breakpoint(&mut self, addr: u32) -> TargetResult<bool, Self> { in remove_sw_breakpoint()
200 fn add_hw_watchpoint(&mut self, addr: u32, kind: WatchKind) -> TargetResult<bool, Self> { in add_hw_watchpoint()
[all …]
/external/rust/crates/gdbstub/src/target/ext/base/
Dsinglethread.rs5 use crate::target::{Target, TargetResult};
52 ) -> TargetResult<(), Self>; in read_registers() argument
56 -> TargetResult<(), Self>; in write_registers()
74 ) -> TargetResult<(), Self> { in read_register() argument
96 ) -> TargetResult<(), Self> { in write_register() argument
110 ) -> TargetResult<(), Self>; in read_addrs() argument
121 ) -> TargetResult<(), Self>; in write_addrs() argument
Dmultithread.rs6 use crate::target::{Target, TargetResult};
92 ) -> TargetResult<(), Self>; in read_registers() argument
102 ) -> TargetResult<(), Self>; in write_registers() argument
121 ) -> TargetResult<(), Self> { in read_register() argument
144 ) -> TargetResult<(), Self> { in write_register() argument
159 ) -> TargetResult<(), Self>; in read_addrs() argument
171 ) -> TargetResult<(), Self>; in write_addrs() argument
/external/rust/crates/gdbstub/examples/armv4t_multicore/
Dgdb.rs10 use gdbstub::target::{Target, TargetError, TargetResult};
109 ) -> TargetResult<(), Self> { in read_registers() argument
132 ) -> TargetResult<(), Self> { in write_registers() argument
156 ) -> TargetResult<(), Self> { in read_addrs() argument
168 ) -> TargetResult<(), Self> { in write_addrs() argument
186 fn add_sw_breakpoint(&mut self, addr: u32) -> TargetResult<bool, Self> { in add_sw_breakpoint()
191 fn remove_sw_breakpoint(&mut self, addr: u32) -> TargetResult<bool, Self> { in remove_sw_breakpoint()
202 fn add_hw_watchpoint(&mut self, addr: u32, kind: WatchKind) -> TargetResult<bool, Self> { in add_hw_watchpoint()
215 fn remove_hw_watchpoint(&mut self, addr: u32, kind: WatchKind) -> TargetResult<bool, Self> { in remove_hw_watchpoint()
/external/crosvm/src/
Dgdb.rs24 use gdbstub::target::{Target, TargetResult};
210 ) -> TargetResult<(), Self> { in read_registers() argument
230 ) -> TargetResult<(), Self> { in write_registers() argument
250 ) -> TargetResult<(), Self> { in read_addrs() argument
276 ) -> TargetResult<(), Self> { in write_addrs() argument
297 fn add_hw_breakpoint(&mut self, addr: <Self::Arch as Arch>::Usize) -> TargetResult<bool, Self> { in add_hw_breakpoint()
325 ) -> TargetResult<bool, Self> { in remove_hw_breakpoint()
/external/rust/crates/gdbstub/src/target/
Dmod.rs168 pub type TargetResult<T, Tgt> = Result<T, TargetError<<Tgt as Target>::Error>>; typedef
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h535 Optional<unsigned> TargetResult = in getCacheAssociativity() local
538 if (TargetResult) in getCacheAssociativity()
539 return TargetResult; in getCacheAssociativity()
/external/rust/crates/gdbstub/
DCHANGELOG.md61 …:Error` that occur as a result of `ExtendedMode` operations. The new `TargetResult`/`TargetError` …
/external/llvm-project/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h530 Optional<unsigned> TargetResult = in getCacheAssociativity() local
533 if (TargetResult) in getCacheAssociativity()
534 return TargetResult; in getCacheAssociativity()