Home
last modified time | relevance | path

Searched defs:Result (Results 1 – 25 of 3328) sorted by relevance

12345678910>>...134

/external/crosvm/third_party/vmm_vhost/src/
Dbackend.rs110 fn set_features(&self, features: u64) -> Result<()>; in set_features()
114 fn set_owner(&self) -> Result<()>; in set_owner()
118 fn reset_owner(&self) -> Result<()>; in reset_owner()
121 fn set_mem_table(&self, regions: &[VhostUserMemoryRegionInfo]) -> Result<()>; in set_mem_table()
124 fn set_log_base(&self, base: u64, fd: Option<RawDescriptor>) -> Result<()>; in set_log_base()
127 fn set_log_fd(&self, fd: RawDescriptor) -> Result<()>; in set_log_fd()
134 fn set_vring_num(&self, queue_index: usize, num: u16) -> Result<()>; in set_vring_num()
141 fn set_vring_addr(&self, queue_index: usize, config_data: &VringConfigData) -> Result<()>; in set_vring_addr()
148 fn set_vring_base(&self, queue_index: usize, base: u16) -> Result<()>; in set_vring_base()
158 fn set_vring_call(&self, queue_index: usize, event: &Event) -> Result<()>; in set_vring_call()
[all …]
Dslave_req_handler.rs73 fn set_owner(&self) -> Result<()>; in set_owner()
74 fn reset_owner(&self) -> Result<()>; in reset_owner()
76 fn set_features(&self, features: u64) -> Result<()>; in set_features()
77 fn set_mem_table(&self, ctx: &[VhostUserMemoryRegion], files: Vec<File>) -> Result<()>; in set_mem_table()
78 fn set_vring_num(&self, index: u32, num: u32) -> Result<()>; in set_vring_num()
87 ) -> Result<()>; in set_vring_addr()
88 fn set_vring_base(&self, index: u32, base: u32) -> Result<()>; in set_vring_base()
90 fn set_vring_kick(&self, index: u8, fd: Option<File>) -> Result<()>; in set_vring_kick()
91 fn set_vring_call(&self, index: u8, fd: Option<File>) -> Result<()>; in set_vring_call()
92 fn set_vring_err(&self, index: u8, fd: Option<File>) -> Result<()>; in set_vring_err()
[all …]
/external/rust/crates/protobuf/src/coded_output_stream/
Dmod.rs100 ) -> crate::Result<()> { in reserve_additional()
125 ) -> crate::Result<()> { in reserve_additional_for_length_delimited()
166 fn refresh_buffer(&mut self) -> crate::Result<()> { in refresh_buffer()
197 pub fn flush(&mut self) -> crate::Result<()> { in flush()
215 pub fn write_raw_byte(&mut self, byte: u8) -> crate::Result<()> { in write_raw_byte()
224 pub fn write_raw_bytes(&mut self, bytes: &[u8]) -> crate::Result<()> { in write_raw_bytes()
259 pub fn write_tag(&mut self, field_number: u32, wire_type: WireType) -> crate::Result<()> { in write_tag()
264 pub fn write_raw_varint32(&mut self, value: u32) -> crate::Result<()> { in write_raw_varint32()
283 pub fn write_raw_varint64(&mut self, value: u64) -> crate::Result<()> { in write_raw_varint64()
302 pub fn write_raw_little_endian32(&mut self, value: u32) -> crate::Result<()> { in write_raw_little_endian32()
[all …]
/external/rust/crates/futures-sink/src/
Dlib.rs68 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_ready()
89 fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error>; in start_send()
103 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_flush()
116 fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_close()
122 fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready()
126 fn start_send(mut self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error> { in start_send()
130 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush()
134 fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_close()
146 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready()
150 fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error> { in start_send()
[all …]
/external/rust/crates/ash/src/vk/
Dconst_debugs.rs9 ) -> fmt::Result { in debug_flags()
32 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
47 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
61 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
76 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
91 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
97 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
103 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
118 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
133 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
[all …]
/external/google-benchmark/src/
Dthread_manager.h40 struct Result { struct
51 GUARDED_BY(GetBenchmarkMutex()) Result results; argument
/external/libcxx/utils/google-benchmark/src/
Dthread_manager.h40 struct Result { struct
51 GUARDED_BY(GetBenchmarkMutex()) Result results; argument
/external/rust/crates/futures-task/src/
Dspawn.rs15 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_obj()
24 fn status(&self) -> Result<(), SpawnError> { in status()
40 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_local_obj()
49 fn status_local(&self) -> Result<(), SpawnError> { in status_local()
60 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
66 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
87 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
91 fn status(&self) -> Result<(), SpawnError> { in status()
97 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
101 fn status(&self) -> Result<(), SpawnError> { in status()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.elements/
Dadaptor.pass.cpp68 using Result = std::ranges::elements_view<std::ranges::ref_view<std::pair<int, int>[3]>, 0>; in test() typedef
76 using Result = std::ranges::elements_view<std::ranges::ref_view<std::pair<int, int>[3]>, 0>; in test() typedef
84 using Result = std::ranges::elements_view<std::ranges::ref_view<std::pair<int, int>[3]>, 1>; in test() typedef
92 using Result = std::ranges::elements_view<std::ranges::ref_view<std::pair<int, int>[3]>, 1>; in test() typedef
100 using Result = std::ranges::elements_view<std::ranges::ref_view<std::pair<int, int>[3]>, 0>; in test() typedef
108 using Result = std::ranges::elements_view<std::ranges::ref_view<std::pair<int, int>[3]>, 1>; in test() typedef
117 using Result = std::ranges::elements_view< in test() typedef
129 using Result = std::ranges::elements_view< in test() typedef
141 using Result = std::ranges::elements_view< in test() typedef
153 using Result = std::ranges::elements_view< in test() typedef
[all …]
/external/pigweed/pw_result/
Dresult_test.cc32 TEST(Result, CreateOk) { in TEST() argument
39 TEST(Result, CreateNotOk) { in TEST() argument
45 TEST(Result, ValueOr) { in TEST() argument
52 TEST(Result, Deref) { in TEST() argument
68 TEST(Result, ConstDeref) { in TEST() argument
84 TEST(Result, ConstructType) { in TEST() argument
128 TEST(Result, TryAssign) { in TEST() argument
140 TEST(Result, ConstexprOk) { in TEST() argument
159 TEST(Result, ConstexprNotOk) { in TEST() argument
169 TEST(Result, ConstexprNotOkCopy) { in TEST() argument
[all …]
/external/rust/crates/syn/tests/debug/
Dgen.rs7 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
15 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
30 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
38 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
52 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
64 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
81 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
92 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
104 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
114 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
[all …]
/external/cronet/third_party/boringssl/src/util/
Dcompare_benchmarks.go30 type Result struct { struct
31 Description string `json:"description"`
32 NumCalls int `json:"numCalls"`
33 Microseconds int `json:"microseconds"`
34 BytesPerCall int `json:"bytesPerCall"`
37 func (r *Result) Speed() (float64, string) {
45 func printResult(result Result, baseline *Result) error {
/external/boringssl/src/util/
Dcompare_benchmarks.go30 type Result struct { struct
31 Description string `json:"description"`
32 NumCalls int `json:"numCalls"`
33 Microseconds int `json:"microseconds"`
34 BytesPerCall int `json:"bytesPerCall"`
37 func (r *Result) Speed() (float64, string) {
45 func printResult(result Result, baseline *Result) error {
/external/rust/crates/syn/src/gen/
Ddebug.rs9 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
19 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
31 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
45 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
59 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
72 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
83 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
231 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
242 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
252 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
[all …]
/external/rust/crates/regex-syntax/src/ast/
Dprint.rs59 pub fn print<W: fmt::Write>(&mut self, ast: &Ast, wtr: W) -> fmt::Result { in print()
73 fn finish(self) -> fmt::Result { in finish()
77 fn visit_pre(&mut self, ast: &Ast) -> fmt::Result { in visit_pre()
87 fn visit_post(&mut self, ast: &Ast) -> fmt::Result { in visit_post()
108 fn visit_alternation_in(&mut self) -> fmt::Result { in visit_alternation_in()
115 ) -> Result<(), Self::Err> { in visit_class_set_item_pre()
127 ) -> Result<(), Self::Err> { in visit_class_set_item_post()
150 ) -> Result<(), Self::Err> { in visit_class_set_binary_op_in()
156 fn fmt_group_pre(&mut self, ast: &ast::Group) -> fmt::Result { in fmt_group_pre()
175 fn fmt_group_post(&mut self, _ast: &ast::Group) -> fmt::Result { in fmt_group_post()
[all …]
/external/rust/crates/byteorder/src/
Dio.rs562 fn read_u16_into<T: ByteOrder>(&mut self, dst: &mut [u16]) -> Result<()> { in read_u16_into()
597 fn read_u32_into<T: ByteOrder>(&mut self, dst: &mut [u32]) -> Result<()> { in read_u32_into()
635 fn read_u64_into<T: ByteOrder>(&mut self, dst: &mut [u64]) -> Result<()> { in read_u64_into()
676 ) -> Result<()> { in read_u128_into()
716 fn read_i8_into(&mut self, dst: &mut [i8]) -> Result<()> { in read_i8_into()
747 fn read_i16_into<T: ByteOrder>(&mut self, dst: &mut [i16]) -> Result<()> { in read_i16_into()
782 fn read_i32_into<T: ByteOrder>(&mut self, dst: &mut [i32]) -> Result<()> { in read_i32_into()
820 fn read_i64_into<T: ByteOrder>(&mut self, dst: &mut [i64]) -> Result<()> { in read_i64_into()
861 ) -> Result<()> { in read_i128_into()
902 fn read_f32_into<T: ByteOrder>(&mut self, dst: &mut [f32]) -> Result<()> { in read_f32_into()
[all …]
/external/uwb/src/rust/uwb_core/src/uci/
Duci_hal.rs41 async fn open(&mut self, packet_sender: mpsc::UnboundedSender<UciHalPacket>) -> Result<()>; in open()
47 async fn close(&mut self) -> Result<()>; in close()
53 async fn send_command(&mut self, cmd: UciCommand) -> Result<()> { in send_command()
66 async fn send_packet(&mut self, packet: UciHalPacket) -> Result<()>; in send_packet()
69 async fn notify_session_initialized(&mut self, _session_id: SessionId) -> Result<()> { in notify_session_initialized()
78 async fn open(&mut self, _packet_sender: mpsc::UnboundedSender<UciHalPacket>) -> Result<()> { in open()
81 async fn close(&mut self) -> Result<()> { in close()
84 async fn send_packet(&mut self, _packet: UciHalPacket) -> Result<()> { in send_packet()
99 async fn open(&mut self, _: mpsc::UnboundedSender<UciHalPacket>) -> Result<()> { in open()
102 async fn close(&mut self) -> Result<()> { in close()
[all …]
/external/rust/crates/futures-channel/src/mpsc/
Dsink_impl.rs9 fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready()
13 fn start_send(mut self: Pin<&mut Self>, msg: T) -> Result<(), Self::Error> { in start_send()
17 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush()
27 fn poll_close(mut self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_close()
36 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready()
40 fn start_send(mut self: Pin<&mut Self>, msg: T) -> Result<(), Self::Error> { in start_send()
44 fn poll_flush(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush()
48 fn poll_close(mut self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_close()
57 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready()
61 fn start_send(self: Pin<&mut Self>, msg: T) -> Result<(), Self::Error> { in start_send()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dresolver.h55 struct Result { struct
63 Result() = default; argument
67 Result& operator=(const Result& other); argument
68 Result& operator=(Result&& other) noexcept; argument
/external/rust/crates/serde_test/src/
Dser.rs90 fn serialize_bool(self, v: bool) -> Result<(), Error> { in serialize_bool()
95 fn serialize_i8(self, v: i8) -> Result<(), Error> { in serialize_i8()
100 fn serialize_i16(self, v: i16) -> Result<(), Error> { in serialize_i16()
105 fn serialize_i32(self, v: i32) -> Result<(), Error> { in serialize_i32()
110 fn serialize_i64(self, v: i64) -> Result<(), Error> { in serialize_i64()
115 fn serialize_u8(self, v: u8) -> Result<(), Error> { in serialize_u8()
120 fn serialize_u16(self, v: u16) -> Result<(), Error> { in serialize_u16()
125 fn serialize_u32(self, v: u32) -> Result<(), Error> { in serialize_u32()
130 fn serialize_u64(self, v: u64) -> Result<(), Error> { in serialize_u64()
135 fn serialize_f32(self, v: f32) -> Result<(), Error> { in serialize_f32()
[all …]
/external/grpc-grpc/test/cpp/qps/
Dusage_timer.h26 struct Result { struct
34 Result Mark() const; argument
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dmatrix_operation.inl12 tmat2x2<T, P> Result(static_cast<T>(1)); local
24 tmat2x3<T, P> Result(static_cast<T>(1)); local
36 tmat2x4<T, P> Result(static_cast<T>(1)); local
48 tmat3x2<T, P> Result(static_cast<T>(1)); local
60 tmat3x3<T, P> Result(static_cast<T>(1)); local
73 tmat3x4<T, P> Result(static_cast<T>(1)); local
86 tmat4x4<T, P> Result(static_cast<T>(1)); local
100 tmat4x3<T, P> Result(static_cast<T>(1)); local
113 tmat4x2<T, P> Result(static_cast<T>(1)); local
/external/rust/crates/nix/src/sys/ptrace/
Dlinux.rs227 pub fn setregs(pid: Pid, regs: user_regs_struct) -> Result<()> { in setregs()
273 pub fn setoptions(pid: Pid, options: Options) -> Result<()> { in setoptions()
296 pub fn setsiginfo(pid: Pid, sig: &siginfo_t) -> Result<()> { in setsiginfo()
332 pub fn syscall<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in syscall()
353 pub fn sysemu<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in sysemu()
368 pub fn attach(pid: Pid) -> Result<()> { in attach()
385 pub fn seize(pid: Pid, options: Options) -> Result<()> { in seize()
401 pub fn detach<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in detach()
416 pub fn cont<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in cont()
432 pub fn interrupt(pid: Pid) -> Result<()> { in interrupt()
[all …]
/external/rust/cxx/gen/src/
Dfs.rs8 pub(crate) type Result<T> = std::result::Result<T, Error>; typedef
26 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
56 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> { in create_dir_all()
94 pub(crate) fn remove_file(path: impl AsRef<Path>) -> Result<()> { in remove_file()
102 pub(crate) fn remove_dir(path: impl AsRef<Path>) -> Result<()> { in remove_dir()
113 fun: fn(&'a Path, &'a Path) -> io::Result<()>, in symlink()
114 ) -> Result<()> { in symlink()
126 pub(crate) fn symlink_fail(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_fail()
144 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_file()
149 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_file()
[all …]
/external/webrtc/api/crypto/
Dframe_decryptor_interface.h40 struct Result { struct
41 Result(Status status, size_t bytes_written) in Result() function
61 virtual Result Decrypt(cricket::MediaType media_type, argument

12345678910>>...134