| /developtools/hdc/hdc_rust/src/transfer/ |
| D | uart.rs | 36 fn access(_name: *const libc::c_char, _type: i32) -> i32; in access() argument 39 fn GetUartSpeedExt(speed: i32) -> i32; in GetUartSpeedExt() argument 40 fn GetUartBitsExt(bits: i32) -> i32; in GetUartBitsExt() argument 41 fn OpenSerialPortExt(port: *const libc::c_char) -> i32; in OpenSerialPortExt() argument 42 fn SetSerialExt(fd: i32, speed: i32, bits: i32, event: u8, stop: i32) -> i32; in SetSerialExt() argument 43 fn ReadUartDevExt(fd: i32, size: i32) -> SerializedBuffer; in ReadUartDevExt() argument 44 fn WriteUartDevExt(fd: i32, buf: SerializedBuffer) -> i32; in WriteUartDevExt() argument 45 fn CloseSerialPortExt(fd: i32) -> u8; in CloseSerialPortExt() 48 pub fn uart_init() -> io::Result<i32> { in uart_init() 74 pub fn uart_close(fd: i32) { in uart_close() argument [all …]
|
| D | usb.rs | 47 fn access(_name: *const libc::c_char, _type: i32) -> i32; in access() argument 50 fn ConfigEpPointEx(path: *const libc::c_char) -> i32; in ConfigEpPointEx() argument 51 fn OpenEpPointEx(path: *const libc::c_char) -> i32; in OpenEpPointEx() argument 52 fn CloseUsbFdEx(fd: i32) -> i32; in CloseUsbFdEx() argument 53 fn CloseEndPointEx(bulkIn: i32, bulkOut: i32, ctrlEp: i32, closeCtrlEp: u8); in CloseEndPointEx() argument 54 fn WriteUsbDevEx(bulkOut: i32, buf: SerializedBuffer) -> i32; in WriteUsbDevEx() argument 55 fn ReadUsbDevEx(bulkIn: i32) -> PersistBuffer; in ReadUsbDevEx() 62 pub fn usb_init() -> io::Result<(i32, i32, i32)> { in usb_init() 101 pub fn usb_close(config_fd: i32, bulkin_fd: i32, bulkout_fd: i32) { in usb_close() argument 111 pub fd: i32, [all …]
|
| D | base.rs | 107 let mut remaining = (expected_data_size - payload.len()) as i32; in unpack_task_message_lock() 128 remaining -= packet_size as i32; in unpack_task_message_lock()
|
| D | buffer.rs | 264 pub fn usb_start_recv(fd: i32, _session_id: u32) -> mpsc::BoundedReceiver<(TaskMessage, u32)> { in usb_start_recv() argument
|
| /developtools/hdc/hdc_rust/src/common/ |
| D | uds.rs | 35 pub fd: i32, 44 pub fn new(fd: i32, ppid: u32, pkg_name: String, debug_or_release: bool) -> Self { in new() argument 114 pub fn wrap_socket(socket_type: c_int) -> i32 { in wrap_socket() argument 119 pub fn wrap_bind(socket_fd: i32, addr: &UdsAddr) -> Result<()> { in wrap_bind() argument 136 pub fn wrap_listen(socket_fd: i32) -> c_int { in wrap_listen() 140 pub fn wrap_accept(socket_fd: i32) -> i32 { in wrap_accept() argument 150 pub fn wrap_recv(socket_fd: i32, buffer: &mut [u8]) -> isize { in wrap_recv() argument 155 pub fn wrap_read(socket_fd: i32, buffer: &mut [u8]) -> isize { in wrap_read() argument 160 pub fn wrap_write(socket_fd: i32, buffer: &[u8]) -> isize { in wrap_write() argument 165 pub fn wrap_poll(fds: &mut [PollNode], size: u32, timeout: i32) -> i32 { in wrap_poll() argument [all …]
|
| D | sendmsg.rs | 23 pub fn send_msg(socket_fd: i32, fd: i32, data: &[u8]) -> i32 { in send_msg() argument 24 unsafe { SendMsg(socket_fd, fd, data.as_ptr() as *mut u8, data.len() as i32) } in send_msg()
|
| D | hdctransfer.rs | 41 data_size: i32, in LZ4CompressTransfer() argument 42 compressCapacity: i32, in LZ4CompressTransfer() argument 43 ) -> i32; in LZ4CompressTransfer() argument 47 data_size: i32, in LZ4DeompressTransfer() argument 48 decompressCapacity: i32, in LZ4DeompressTransfer() argument 49 ) -> i32; in LZ4DeompressTransfer() argument 182 let capacity = read_len as i32; in spawn_handler() 186 let compress_size: i32; in spawn_handler() 300 header.compress_size as i32, in recv_and_write_file() 301 header.uncompress_size as i32, in recv_and_write_file()
|
| D | jdwp.rs | 32 type NodeMap = Arc<Mutex<HashMap<i32, PollNode>>>; 74 pub async fn send_fd_to_target(&self, target_pid: u32, fd: i32, parameter: &str) -> bool { in send_fd_to_target() argument 156 fd: i32, in handle_client() argument
|
| D | base.rs | 102 let mut len = (chars.clone().count() - 1) as i32; in get_file_name()
|
| D | forward.rs | 163 fd: i32, 433 pub async fn deamon_read_socket_msg(session_id: u32, channel_id: u32, fd: i32) { in deamon_read_socket_msg() argument 525 let fd: i32 = UdsClient::wrap_socket(AF_UNIX); in server_socket_bind_listen() 736 pub async fn daemon_connect_pipe(session_id: u32, channel_id: u32, fd: i32, path: String) { in daemon_connect_pipe() argument 776 let fd: i32 = UdsClient::wrap_socket(AF_LOCAL); in setup_file_point() 784 let fd: i32 = UdsClient::wrap_socket(AF_UNIX); in setup_file_point()
|
| /developtools/hdc/hdc_rust/src/ |
| D | config.rs | 287 pub const UART_DEFAULT_BAUD_RATE: i32 = 1500000; 288 pub const UART_DEFAULT_BITS: i32 = 8; 323 pub const HDC_WAIT_PARAMETER_FOREVER: i32 = 0;
|
| /developtools/hdc/hdc_rust/src/daemon/ |
| D | main.rs | 131 fd: i32, in uart_handshake() argument 160 async fn uart_handle_client(fd: i32) -> io::Result<()> { in uart_handle_client() 257 async fn usb_handle_client(_config_fd: i32, bulkin_fd: i32, bulkout_fd: i32) -> io::Result<()> { in usb_handle_client() argument
|
| D | sys_para.rs | 68 pub fn wait_dev_item(key: &str, val: &str, timeout: i32) -> bool { in wait_dev_item()
|
| D | shell.rs | 165 pub pty_fd: i32,
|
| D | task.rs | 37 pub fn get_parameter(key: String, out: &mut [u8]) -> i32 { in get_parameter() argument
|
| /developtools/profiler/hiebpf/include/ |
| D | vmlinux.h | 36373 } i32; member
|