Searched refs:c_int (Results 1 – 7 of 7) sorted by relevance
| /developtools/hdc/hdc_rust/src/common/ |
| D | sendmsg.rs | 17 use std::ffi::c_int; 20 fn SendMsg(socket_fd: c_int, fd: c_int, data: *mut libc::c_char, size: c_int) -> c_int; in SendMsg() argument
|
| D | uds.rs | 25 use libc::{c_int, sa_family_t, sockaddr, sockaddr_un, socklen_t, AF_UNIX}; 30 const LISTEN_BACKLOG: c_int = 10; 114 pub fn wrap_socket(socket_type: c_int) -> i32 { in wrap_socket() 136 pub fn wrap_listen(socket_fd: i32) -> c_int { in wrap_listen() argument 201 pub fn wrap_socketpair(socket_type: c_int) -> Result<(i32, i32)> { in wrap_socketpair() 251 pub fn wrap_listen(socket_fd: i32) -> c_int { in wrap_listen() argument
|
| /developtools/hdc/hdc_rust/src/daemon/ |
| D | sys_para.rs | 22 fn SetParameterEx(key: *const libc::c_char, val: *const libc::c_char) -> libc::c_int; in SetParameterEx() argument 28 ) -> libc::c_int; in GetParameterEx() argument 33 timeout: libc::c_int, in WaitParameterEx() argument 34 ) -> libc::c_int; in WaitParameterEx() argument
|
| D | task.rs | 31 use std::ffi::c_int; 34 fn GetParam(key: *const libc::c_char, out: *mut libc::c_char) -> c_int; in GetParam() argument
|
| D | main.rs | 46 use std::ffi::c_int; 49 fn NeedDropRootPrivileges()-> c_int; in NeedDropRootPrivileges() argument
|
| D | shell.rs | 155 nix::ioctl_write_ptr_bad!(set_controlling_terminal, libc::TIOCSCTTY, libc::c_int);
|
| /developtools/hdc/hdc_rust/src/host/ |
| D | client.rs | 35 fn getch() -> libc::c_int; in getch()
|