Home
last modified time | relevance | path

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

12345678910>>...45

/third_party/benchmark/src/
Dthread_manager.h39 struct Result { struct
50 GUARDED_BY(GetBenchmarkMutex()) Result results; argument
/third_party/rust/crates/rustix/src/net/
Dsocket.rs84 pub fn bind<Fd: AsFd>(sockfd: Fd, addr: &SocketAddr) -> io::Result<()> { in bind()
88 fn _bind(sockfd: BorrowedFd<'_>, addr: &SocketAddr) -> io::Result<()> { in _bind()
108 pub fn bind_any<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrAny) -> io::Result<()> { in bind_any()
112 fn _bind_any(sockfd: BorrowedFd<'_>, addr: &SocketAddrAny) -> io::Result<()> { in _bind_any()
136 pub fn bind_v4<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrV4) -> io::Result<()> { in bind_v4()
155 pub fn bind_v6<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrV6) -> io::Result<()> { in bind_v6()
175 pub fn bind_unix<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrUnix) -> io::Result<()> { in bind_unix()
191 pub fn connect<Fd: AsFd>(sockfd: Fd, addr: &SocketAddr) -> io::Result<()> { in connect()
195 fn _connect(sockfd: BorrowedFd<'_>, addr: &SocketAddr) -> io::Result<()> { in _connect()
215 pub fn connect_any<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrAny) -> io::Result<()> { in connect_any()
[all …]
Dsockopt.rs56 pub fn set_socket_reuseaddr<Fd: AsFd>(fd: Fd, value: bool) -> io::Result<()> { in set_socket_reuseaddr()
78 pub fn set_socket_broadcast<Fd: AsFd>(fd: Fd, broadcast: bool) -> io::Result<()> { in set_socket_broadcast()
122 pub fn set_socket_linger<Fd: AsFd>(fd: Fd, linger: Option<Duration>) -> io::Result<()> { in set_socket_linger()
159 pub fn set_socket_passcred<Fd: AsFd>(fd: Fd, passcred: bool) -> io::Result<()> { in set_socket_passcred()
202 ) -> io::Result<()> { in set_socket_timeout()
246 pub fn set_ip_ttl<Fd: AsFd>(fd: Fd, ttl: u32) -> io::Result<()> { in set_ip_ttl()
290 pub fn set_ipv6_v6only<Fd: AsFd>(fd: Fd, only_v6: bool) -> io::Result<()> { in set_ipv6_v6only()
334 pub fn set_ip_multicast_loop<Fd: AsFd>(fd: Fd, multicast_loop: bool) -> io::Result<()> { in set_ip_multicast_loop()
378 pub fn set_ip_multicast_ttl<Fd: AsFd>(fd: Fd, multicast_ttl: u32) -> io::Result<()> { in set_ip_multicast_ttl()
422 pub fn set_ipv6_multicast_loop<Fd: AsFd>(fd: Fd, multicast_loop: bool) -> io::Result<()> { in set_ipv6_multicast_loop()
[all …]
/third_party/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 …]
Dmod.rs36 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
42 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
48 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
54 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
60 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
66 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
72 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
89 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
98 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
107 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt()
[all …]
/third_party/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 …]
/third_party/rust/crates/regex/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 …]
/third_party/skia/third_party/externals/dawn/src/common/
DResult.h40 class Result; variable
238 Result<void, E>::Result() { in Result() function
242 Result<void, E>::Result(std::unique_ptr<E> error) : mError(std::move(error)) { in Result() function
246 Result<void, E>::Result(Result<void, E>&& other) : mError(std::move(other.mError)) { in Result() function
299 Result<T*, E>::Result(T* success) : mPayload(detail::MakePayload(success, detail::Success)) { in Result() function
303 Result<T*, E>::Result(std::unique_ptr<E> error) in Result() function
309 Result<T*, E>::Result(Result<TChild*, E>&& other) : mPayload(other.mPayload) { in Result() function
355 Result<const T*, E>::Result(const T* success) in Result() function
360 Result<const T*, E>::Result(std::unique_ptr<E> error) in Result() function
365 Result<const T*, E>::Result(Result<const T*, E>&& other) : mPayload(other.mPayload) { in Result() function
[all …]
/third_party/skia/third_party/externals/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
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator.h73 struct Result { struct
84 bool success = false;
87 std::string error;
90 std::string msl = "";
114 Result Generate(const Program* program, const Options& options); argument
/third_party/rust/crates/serde/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 …]
/third_party/rust/crates/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 …]
/third_party/rust/crates/nix/src/sys/ptrace/
Dlinux.rs233 pub fn setregs(pid: Pid, regs: user_regs_struct) -> Result<()> { in setregs()
279 pub fn setoptions(pid: Pid, options: Options) -> Result<()> { in setoptions()
302 pub fn setsiginfo(pid: Pid, sig: &siginfo_t) -> Result<()> { in setsiginfo()
338 pub fn syscall<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in syscall()
359 pub fn sysemu<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in sysemu()
374 pub fn attach(pid: Pid) -> Result<()> { in attach()
391 pub fn seize(pid: Pid, options: Options) -> Result<()> { in seize()
407 pub fn detach<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in detach()
422 pub fn cont<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in cont()
438 pub fn interrupt(pid: Pid) -> Result<()> { in interrupt()
[all …]
/third_party/rust/crates/rustix/src/backend/libc/termios/
Dsyscalls.rs40 pub(crate) fn tcsetpgrp(fd: BorrowedFd<'_>, pid: Pid) -> io::Result<()> { in tcsetpgrp()
49 ) -> io::Result<()> { in tcsetattr()
60 pub(crate) fn tcsendbreak(fd: BorrowedFd) -> io::Result<()> { in tcsendbreak()
65 pub(crate) fn tcdrain(fd: BorrowedFd) -> io::Result<()> { in tcdrain()
70 pub(crate) fn tcflush(fd: BorrowedFd, queue_selector: QueueSelector) -> io::Result<()> { in tcflush()
75 pub(crate) fn tcflow(fd: BorrowedFd, action: Action) -> io::Result<()> { in tcflow()
89 pub(crate) fn tcsetwinsize(fd: BorrowedFd, winsize: Winsize) -> io::Result<()> { in tcsetwinsize()
128 pub(crate) fn cfsetospeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetospeed()
134 pub(crate) fn cfsetispeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetispeed()
140 pub(crate) fn cfsetspeed(termios: &mut Termios, speed: Speed) -> io::Result<()> { in cfsetspeed()
/third_party/rust/crates/rustix/src/termios/
Dtc.rs73 pub fn tcsetpgrp<Fd: AsFd>(fd: Fd, pid: Pid) -> io::Result<()> { in tcsetpgrp()
95 ) -> io::Result<()> { in tcsetattr()
117 pub fn tcsendbreak<Fd: AsFd>(fd: Fd) -> io::Result<()> { in tcsendbreak()
132 pub fn tcdrain<Fd: AsFd>(fd: Fd) -> io::Result<()> { in tcdrain()
149 pub fn tcflush<Fd: AsFd>(fd: Fd, queue_selector: QueueSelector) -> io::Result<()> { in tcflush()
165 pub fn tcflow<Fd: AsFd>(fd: Fd, action: Action) -> io::Result<()> { in tcflow()
194 pub fn tcsetwinsize<Fd: AsFd>(fd: Fd, winsize: Winsize) -> io::Result<()> { in tcsetwinsize()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator.h41 struct Result { struct
70 Result Generate(const Program* program, argument
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator.h65 struct Result { struct
98 Result Generate(const Program* program, const Options& options); argument
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dquaternion_simd.inl78 tquat<float, P> Result(uninitialize); local
90 tquat<double, P> Result(uninitialize); local
102 tvec4<float, P> Result(uninitialize); local
114 tquat<double, P> Result(uninitialize); local
126 tvec4<float, P> Result(uninitialize); local
138 tquat<double, P> Result(uninitialize); local
150 tvec4<float, P> Result(uninitialize); local
162 tquat<double, P> Result(uninitialize); local
189 tvec4<float, P> Result(uninitialize); local
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dtype_vec4_simd.inl17 tvec4<float, P> Result(uninitialize); local
34 tvec4<int32, P> Result(uninitialize); local
47 tvec4<uint32, P> Result(uninitialize); local
59 tvec4<float, P> Result(uninitialize); local
71 tvec4<double, P> Result(uninitialize); local
83 tvec4<float, P> Result(uninitialize); local
95 tvec4<double, P> Result(uninitialize); local
107 tvec4<float, P> Result(uninitialize); local
119 tvec4<double, P> Result(uninitialize); local
131 tvec4<float, P> Result(uninitialize); local
[all …]
Dfunc_vector_relational.inl13 vecType<bool, P> Result(uninitialize); local
25 vecType<bool, P> Result(uninitialize); local
36 vecType<bool, P> Result(uninitialize); local
47 vecType<bool, P> Result(uninitialize); local
58 vecType<bool, P> Result(uninitialize); local
69 vecType<bool, P> Result(uninitialize); local
78 bool Result = false; local
87 bool Result = true; local
96 vecType<bool, P> Result(uninitialize); local
/third_party/rust/crates/rustix/src/backend/linux_raw/termios/
Dsyscalls.rs62 ) -> io::Result<()> { in tcsetattr()
81 pub(crate) fn tcsendbreak(fd: BorrowedFd) -> io::Result<()> { in tcsendbreak()
86 pub(crate) fn tcdrain(fd: BorrowedFd) -> io::Result<()> { in tcdrain()
91 pub(crate) fn tcflush(fd: BorrowedFd, queue_selector: QueueSelector) -> io::Result<()> { in tcflush()
103 pub(crate) fn tcflow(fd: BorrowedFd, action: Action) -> io::Result<()> { in tcflow()
128 pub(crate) fn tcsetwinsize(fd: BorrowedFd, winsize: Winsize) -> io::Result<()> { in tcsetwinsize()
140 pub(crate) fn tcsetpgrp(fd: BorrowedFd<'_>, pid: Pid) -> io::Result<()> { in tcsetpgrp()
175 pub(crate) fn cfsetospeed(termios: &mut Termios, speed: u32) -> io::Result<()> { in cfsetospeed()
185 pub(crate) fn cfsetispeed(termios: &mut Termios, speed: u32) -> io::Result<()> { in cfsetispeed()
198 pub(crate) fn cfsetspeed(termios: &mut Termios, speed: u32) -> io::Result<()> { in cfsetspeed()
/third_party/rust/crates/log/src/kv/
Dvalue.rs311 pub fn visit(&self, visitor: impl Visit<'v>) -> Result<(), Error> { in visit()
318 fn visit_any(&mut self, value: ValueBag) -> Result<(), value_bag::Error> { in visit()
324 fn visit_u64(&mut self, value: u64) -> Result<(), value_bag::Error> { in visit()
328 fn visit_i64(&mut self, value: i64) -> Result<(), value_bag::Error> { in visit()
332 fn visit_u128(&mut self, value: u128) -> Result<(), value_bag::Error> { in visit()
336 fn visit_i128(&mut self, value: i128) -> Result<(), value_bag::Error> { in visit()
340 fn visit_f64(&mut self, value: f64) -> Result<(), value_bag::Error> { in visit()
344 fn visit_bool(&mut self, value: bool) -> Result<(), value_bag::Error> { in visit()
348 fn visit_str(&mut self, value: &str) -> Result<(), value_bag::Error> { in visit()
352 fn visit_borrowed_str(&mut self, value: &'v str) -> Result<(), value_bag::Error> { in visit()
[all …]
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
Dsyscalls.rs127 pub(crate) fn chmod(filename: &CStr, mode: Mode) -> io::Result<()> { in chmod()
139 pub(crate) fn chmodat(dirfd: BorrowedFd<'_>, filename: &CStr, mode: Mode) -> io::Result<()> { in chmodat()
144 pub(crate) fn fchmod(fd: BorrowedFd<'_>, mode: Mode) -> io::Result<()> { in fchmod()
155 ) -> io::Result<()> { in chownat()
170 pub(crate) fn fchown(fd: BorrowedFd<'_>, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> { in fchown()
184 ) -> io::Result<()> { in mknodat()
255 pub(crate) fn ftruncate(fd: BorrowedFd<'_>, length: u64) -> io::Result<()> { in ftruncate()
298 ) -> io::Result<()> { in fallocate()
324 pub(crate) fn fadvise(fd: BorrowedFd<'_>, pos: u64, len: u64, advice: Advice) -> io::Result<()> { in fadvise()
396 pub(crate) fn fsync(fd: BorrowedFd<'_>) -> io::Result<()> { in fsync()
[all …]
/third_party/rust/crates/rustix/src/backend/libc/process/
Dsyscalls.rs42 pub(crate) fn chdir(path: &CStr) -> io::Result<()> { in chdir()
47 pub(crate) fn fchdir(dirfd: BorrowedFd<'_>) -> io::Result<()> { in fchdir()
52 pub(crate) fn getcwd(buf: &mut [u8]) -> io::Result<()> { in getcwd()
72 pub(crate) fn membarrier(cmd: MembarrierCommand) -> io::Result<()> { in membarrier()
77 pub(crate) fn membarrier_cpu(cmd: MembarrierCommand, cpu: Cpuid) -> io::Result<()> { in membarrier_cpu()
178 pub(crate) fn sched_getaffinity(pid: Option<Pid>, cpuset: &mut RawCpuSet) -> io::Result<()> { in sched_getaffinity()
195 pub(crate) fn sched_setaffinity(pid: Option<Pid>, cpuset: &RawCpuSet) -> io::Result<()> { in sched_setaffinity()
272 pub(crate) fn setpriority_user(uid: Uid, priority: i32) -> io::Result<()> { in setpriority_user()
278 pub(crate) fn setpriority_pgrp(pgid: Option<Pid>, priority: i32) -> io::Result<()> { in setpriority_pgrp()
290 pub(crate) fn setpriority_process(pid: Option<Pid>, priority: i32) -> io::Result<()> { in setpriority_process()
[all …]
/third_party/rust/crates/nix/src/sys/
Dmman.rs375 pub unsafe fn mlock(addr: *const c_void, length: size_t) -> Result<()> { in mlock()
388 pub unsafe fn munlock(addr: *const c_void, length: size_t) -> Result<()> { in munlock()
398 pub fn mlockall(flags: MlockAllFlags) -> Result<()> { in mlockall()
488 pub unsafe fn munmap(addr: *mut c_void, len: size_t) -> Result<()> { in munmap()
504 ) -> Result<()> { in madvise()
538 ) -> Result<()> { in mprotect()
554 ) -> Result<()> { in msync()
594 pub fn shm_unlink<P: ?Sized + NixPath>(name: &P) -> Result<()> { in shm_unlink()

12345678910>>...45