Home
last modified time | relevance | path

Searched refs:elems (Results 1 – 3 of 3) sorted by relevance

/system/keymaster/
Dauthorization_set.cpp123 bool AuthorizationSet::Reinitialize(const keymaster_key_param_t* elems, const size_t count) { in Reinitialize() argument
126 if (elems == NULL || count == 0) { in Reinitialize()
134 if (!reserve_indirect(ComputeIndirectDataSize(elems, count))) in Reinitialize()
137 memcpy(elems_, elems, sizeof(keymaster_key_param_t) * count); in Reinitialize()
520 size_t AuthorizationSet::ComputeIndirectDataSize(const keymaster_key_param_t* elems, size_t count) { in ComputeIndirectDataSize() argument
523 if (is_blob_tag(elems[i].tag)) { in ComputeIndirectDataSize()
524 size += elems[i].blob.data_length; in ComputeIndirectDataSize()
/system/keymaster/include/keymaster/
Dauthorization_set.h56 AuthorizationSet(const keymaster_key_param_t* elems, size_t count) : indirect_data_(nullptr) { in AuthorizationSet() argument
58 Reinitialize(elems, count); in AuthorizationSet()
116 bool Reinitialize(const keymaster_key_param_t* elems, size_t count);
447 static size_t ComputeIndirectDataSize(const keymaster_key_param_t* elems, size_t count);
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1172 std::vector<T> elems(vector_size);
1173 for (size_t i = 0; i < vector_size; i++) elems[i] = f(i);
1174 return CreateVector(elems);