Searched refs:elems (Results 1 – 7 of 7) sorted by relevance
/system/security/keystore2/src/crypto/ |
D | zvec.rs | 28 elems: Box<[u8]>, field 40 Ok(Self { elems: b, len: size }) in new() 47 if len <= self.elems.len() { in reduce_len() 55 for i in 0..self.elems.len() { in drop() 56 unsafe { write_volatile(self.elems.as_mut_ptr().add(i), 0) }; in drop() 58 if !self.elems.is_empty() { in drop() 60 unsafe { munlock(self.elems.as_ptr() as *const std::ffi::c_void, self.elems.len()) } in drop() 72 &self.elems[0..self.len] in deref() 78 &mut self.elems[0..self.len] in deref_mut() 84 if self.elems.is_empty() { in fmt() [all …]
|
/system/libhidl/gtest_helper/hidl/ |
D | GtestPrinter.h | 41 [](auto&&... elems) { in PrintInstanceTupleNameToString() 43 instances.reserve(sizeof...(elems)); in PrintInstanceTupleNameToString() 44 (instances.push_back(std::forward<decltype(elems)>(elems)), ...); in PrintInstanceTupleNameToString()
|
/system/keymaster/android_keymaster/ |
D | authorization_set.cpp | 119 bool AuthorizationSet::Reinitialize(const keymaster_key_param_t* elems, const size_t count) { in Reinitialize() argument 122 if (elems == nullptr || count == 0) { in Reinitialize() 129 if (!reserve_indirect(ComputeIndirectDataSize(elems, count))) return false; in Reinitialize() 131 memcpy(elems_, elems, sizeof(keymaster_key_param_t) * count); in Reinitialize() 527 size_t AuthorizationSet::ComputeIndirectDataSize(const keymaster_key_param_t* elems, size_t count) { in ComputeIndirectDataSize() argument 530 if (is_blob_tag(elems[i].tag)) { in ComputeIndirectDataSize() 531 size += elems[i].blob.data_length; in ComputeIndirectDataSize()
|
/system/extras/module_ndk_libs/libnativehelper/include_jni/ |
D | jni.h | 899 void ReleaseBooleanArrayElements(jbooleanArray array, jboolean* elems, in ReleaseBooleanArrayElements() 901 { functions->ReleaseBooleanArrayElements(this, array, elems, mode); } in ReleaseBooleanArrayElements() 902 void ReleaseByteArrayElements(jbyteArray array, jbyte* elems, in ReleaseByteArrayElements() 904 { functions->ReleaseByteArrayElements(this, array, elems, mode); } in ReleaseByteArrayElements() 905 void ReleaseCharArrayElements(jcharArray array, jchar* elems, in ReleaseCharArrayElements() 907 { functions->ReleaseCharArrayElements(this, array, elems, mode); } in ReleaseCharArrayElements() 908 void ReleaseShortArrayElements(jshortArray array, jshort* elems, in ReleaseShortArrayElements() 910 { functions->ReleaseShortArrayElements(this, array, elems, mode); } in ReleaseShortArrayElements() 911 void ReleaseIntArrayElements(jintArray array, jint* elems, in ReleaseIntArrayElements() 913 { functions->ReleaseIntArrayElements(this, array, elems, mode); } in ReleaseIntArrayElements() [all …]
|
/system/apex/apexer/ |
D | apexer.py | 409 elems = get_children_with_tag(manifest, 'application') 410 application = elems[0] if len(elems) == 1 else None 411 if len(elems) > 1: 413 elif not elems:
|
/system/keymaster/include/keymaster/ |
D | authorization_set.h | 56 AuthorizationSet(const keymaster_key_param_t* elems, size_t count) in AuthorizationSet() argument 60 Reinitialize(elems, count); in AuthorizationSet() 125 bool Reinitialize(const keymaster_key_param_t* elems, size_t count); 452 static size_t ComputeIndirectDataSize(const keymaster_key_param_t* elems, size_t count);
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 1741 std::vector<T> elems(vector_size); 1742 for (size_t i = 0; i < vector_size; i++) elems[i] = f(i); 1743 return CreateVector(elems); 1760 std::vector<T> elems(vector_size); 1761 for (size_t i = 0; i < vector_size; i++) elems[i] = f(i, state); 1762 return CreateVector(elems);
|