Searched refs:elems (Results 1 – 3 of 3) sorted by relevance
123 bool AuthorizationSet::Reinitialize(const keymaster_key_param_t* elems, const size_t count) { in Reinitialize() argument126 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() argument523 if (is_blob_tag(elems[i].tag)) { in ComputeIndirectDataSize()524 size += elems[i].blob.data_length; in ComputeIndirectDataSize()
56 AuthorizationSet(const keymaster_key_param_t* elems, size_t count) : indirect_data_(nullptr) { in AuthorizationSet() argument58 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);
1172 std::vector<T> elems(vector_size);1173 for (size_t i = 0; i < vector_size; i++) elems[i] = f(i);1174 return CreateVector(elems);