Searched refs:AutoElements (Results 1 – 6 of 6) sorted by relevance
/external/rust/android-crates-io/crates/jni/src/wrapper/objects/ |
D | auto_elements.rs | 124 pub struct AutoElements<'local, 'other_local, 'array, T: TypeArray> { struct 133 impl<'local, 'other_local, 'array, T: TypeArray> AutoElements<'local, 'other_local, 'array, T> { implementation 150 Ok(AutoElements { in new_with_len() 218 AsRef<AutoElements<'local, 'other_local, 'array, T>> 219 for AutoElements<'local, 'other_local, 'array, T> 221 fn as_ref(&self) -> &AutoElements<'local, 'other_local, 'array, T> { in as_ref() 227 for AutoElements<'local, 'other_local, 'array, T> 241 From<&AutoElements<'local, 'other_local, 'array, T>> for *mut T 243 fn from(other: &AutoElements<T>) -> *mut T { in from() 249 for AutoElements<'local, 'other_local, 'array, T> [all …]
|
D | release_mode.rs | 4 use super::{AutoElements, AutoElementsCritical};
|
/external/rust/android-crates-io/crates/jni/docs/ |
D | 0.21-MIGRATION.md | 260 of an array via the `AutoElements`/`AutoElementsCritical` APIs if you use those. 273 ## `AutoArray` and `AutoPrimitiveArray` renamed to `AutoElements` and `AutoElementsCritical` respec… 281 ## `AutoElements<T>` and `AutoElementsCritical<T>` now implement `Deref<Target=[T]>` and `DerefMut` 310 ## `AutoArray/AutoPrimitiveArray::size()` replace by `AutoElements/AutoElementsCritical::len()` 313 fail, where as `AutoElements` and `AutoElementsCritical` now need to know the array length to 324 Since it is only possible to acquire an `AutoElements` and `AutoElementsCritical` instance via
|
/external/rust/android-crates-io/crates/jni/src/wrapper/ |
D | jnienv.rs | 15 AutoElements, AutoElementsCritical, AutoLocal, GlobalRef, JByteBuffer, JClass, JFieldID, 290 buf: &AutoElements<'_, '_, '_, jbyte>, in define_class_bytearray() 2868 ) -> Result<AutoElements<'local, 'other_local, 'array, T>> { in get_array_elements() 2870 AutoElements::new(self, array, mode) in get_array_elements()
|
/external/rust/android-crates-io/crates/jni/tests/ |
D | jni_api.rs | 8 AutoElements, AutoLocal, JByteBuffer, JList, JObject, JString, JThrowable, JValue, 513 let mut auto_ptr: AutoElements<$jni_type> = unsafe {
|
/external/rust/android-crates-io/crates/jni/ |
D | CHANGELOG.md | 33 - `define_class_bytearray` method that takes an `AutoElements<jbyte>` rather than a `&[u8]` ([#244]… 39 - `AutoElements` and `AutoElementsCritical` (previously `AutoArray`/`AutoPrimitiveArray`) implement… 69 - `AutoArray` and `AutoPrimitiveArray` have been renamed `AutoElements` and `AutoElementsCritical` …
|