Lines Matching defs:i32
43 pub fn AshmemSetProt(fd: i32, prot: i32) -> i32; in AshmemSetProt()
46 pub fn AshmemGetSize(fd: i32) -> i32; in AshmemGetSize()
81 pub fn GetProtection(self: &Ashmem) -> i32; in GetProtection()
84 pub fn GetAshmemSize(self: &Ashmem) -> i32; in GetAshmemSize()
93 size: i32, in WriteToAshmem()
94 offset: i32, in WriteToAshmem()
101 pub unsafe fn ReadFromAshmem(self: &Ashmem, size: i32, offset: i32) -> *const c_void; in ReadFromAshmem()
104 pub fn GetAshmemFd(self: &Ashmem) -> i32; in GetAshmemFd()
121 pub fn get_ashmem_fd(&self) -> i32 { in get_ashmem_fd()
126 pub fn get_ashmem_size(&self) -> i32 { in get_ashmem_size()
131 pub fn get_protection(&self) -> i32 { in get_protection()
168 pub unsafe fn write_to_ashmem(&self, data: *const c_char, size: i32, offset: i32) -> bool { in write_to_ashmem()
184 pub unsafe fn read_from_ashmem(&self, size: i32, offset: i32) -> *const c_char { in read_from_ashmem()