Lines Matching refs:i32

216             let len: i32 = slice.len().try_into().or(Err(StatusCode::BAD_VALUE))?;  in write_slice_size()
277 pub fn get_data_position(&self) -> i32 { in get_data_position() argument
284 pub fn get_data_size(&self) -> i32 { in get_data_size() argument
299 pub unsafe fn set_data_position(&self, pos: i32) -> Result<()> { in set_data_position()
312 start: i32, in append_from() argument
313 size: i32, in append_from() argument
397 pub fn get_data_position(&self) -> i32 { in get_data_position() argument
402 pub fn get_data_size(&self) -> i32 { in get_data_size() argument
415 pub unsafe fn set_data_position(&self, pos: i32) -> Result<()> { in set_data_position()
428 start: i32, in append_from() argument
429 size: i32, in append_from() argument
487 let parcelable_size: i32 = self.read()?; in sized_read()
521 let len: i32 = self.read()?; in resize_out_vec()
544 let len: i32 = self.read()?; in resize_nullable_out_vec()
563 end_position: i32,
717 assert_eq!(parcel.read::<i32>(), Err(StatusCode::NOT_ENOUGH_DATA)); in test_read_write()
736 let i: i32 = parcel.read().unwrap(); in test_read_write()
753 assert_eq!(parcel.read::<i32>().unwrap(), 15); in test_read_data()
780 assert_eq!(parcel.read::<i32>().unwrap(), 1819043144); in test_read_data()
912 assert_eq!(parcel.read::<Vec<i32>>().unwrap(), &arr,); in test_sized_write()
930 assert_eq!(Ok(42), parcel2.read::<i32>()); in test_append_from()
931 assert_eq!(Ok(42), parcel2.read::<i32>()); in test_append_from()
942 assert_eq!(Ok(42), parcel2.read::<i32>()); in test_append_from()
952 assert_eq!(Err(StatusCode::NOT_ENOUGH_DATA), parcel2.read::<i32>()); in test_append_from()