Lines Matching defs:i32
47 pub fn AshmemSetProt(fd: i32, prot: i32) -> i32; in AshmemSetProt()
50 pub fn AshmemGetSize(fd: i32) -> i32; in AshmemGetSize()
89 pub fn GetProtection(self: &Ashmem) -> i32; in GetProtection()
92 pub fn GetAshmemSize(self: &Ashmem) -> i32; in GetAshmemSize()
99 … pub unsafe fn WriteToAshmem(self: &Ashmem, data: *const c_void, size: i32, offset: i32) -> bool; in WriteToAshmem()
106 pub unsafe fn ReadFromAshmem(self: &Ashmem, size: i32, offset: i32) -> *const c_void; in ReadFromAshmem()
109 pub fn GetAshmemFd(self: &Ashmem) -> i32; in GetAshmemFd()
130 pub fn get_ashmem_fd(&self) -> i32 { in get_ashmem_fd()
135 pub fn get_ashmem_size(&self) -> i32 { in get_ashmem_size()
140 pub fn get_protection(&self) -> i32 { in get_protection()
180 pub unsafe fn write_to_ashmem(&self, data: *const c_char, size: i32, offset: i32) -> bool { in write_to_ashmem()
191 pub unsafe fn read_from_ashmem(&self, size: i32, offset: i32) -> *const c_char { in read_from_ashmem()