Lines Matching refs:array
87 cppbor::Array array; in saveToDisk() local
88 array.add(sacp.id); in saveToDisk()
89 array.add(sacp.readerCertificate.encodedCertificate); in saveToDisk()
90 array.add(sacp.userAuthenticationRequired); in saveToDisk()
91 array.add(sacp.timeoutMillis); in saveToDisk()
92 array.add(sacp.secureUserId); in saveToDisk()
94 array.add(mac); in saveToDisk()
95 sacpArray.add(std::move(array)); in saveToDisk()
121 cppbor::Array array; in saveToDisk() local
122 array.add(data.certificate); in saveToDisk()
123 array.add(data.keyBlob); in saveToDisk()
124 array.add(data.staticAuthenticationData); in saveToDisk()
125 array.add(data.pendingCertificate); in saveToDisk()
126 array.add(data.pendingKeyBlob); in saveToDisk()
127 array.add(data.useCount); in saveToDisk()
128 authKeyDatasArray.add(std::move(array)); in saveToDisk()
138 const cppbor::Array* array = item.asArray(); in parseSacp() local
139 if (array == nullptr || array->size() < 6) { in parseSacp()
141 << (array != nullptr ? array->size() : -1) << ")"; in parseSacp()
144 const cppbor::Int* itemId = ((*array)[0])->asInt(); in parseSacp()
145 const cppbor::Bstr* itemReaderCertificate = ((*array)[1])->asBstr(); in parseSacp()
146 const cppbor::Simple* simple = ((*array)[2])->asSimple(); in parseSacp()
149 const cppbor::Int* itemTimeoutMillis = ((*array)[3])->asInt(); in parseSacp()
150 const cppbor::Int* itesecureUserId_ = ((*array)[4])->asInt(); in parseSacp()
151 const cppbor::Bstr* itemMac = ((*array)[5])->asBstr(); in parseSacp()
169 const cppbor::Array* array = item.asArray(); in parseAuthKeyData() local
170 if (array == nullptr || array->size() < 6) { in parseAuthKeyData()
174 const cppbor::Bstr* itemCertificate = ((*array)[0])->asBstr(); in parseAuthKeyData()
175 const cppbor::Bstr* itemKeyBlob = ((*array)[1])->asBstr(); in parseAuthKeyData()
176 const cppbor::Bstr* itemStaticAuthenticationData = ((*array)[2])->asBstr(); in parseAuthKeyData()
177 const cppbor::Bstr* itemPendingCertificate = ((*array)[3])->asBstr(); in parseAuthKeyData()
178 const cppbor::Bstr* itemPendingKeyBlob = ((*array)[4])->asBstr(); in parseAuthKeyData()
179 const cppbor::Int* itemUseCount = ((*array)[5])->asInt(); in parseAuthKeyData()
197 const cppbor::Array* array = item.asArray(); in parseAccessControlProfileIds() local
198 if (array == nullptr) { in parseAccessControlProfileIds()
204 for (size_t n = 0; n < array->size(); n++) { in parseAccessControlProfileIds()
205 const cppbor::Int* itemInt = ((*array)[n])->asInt(); in parseAccessControlProfileIds()
216 const cppbor::Array* array = item.asArray(); in parseEncryptedChunks() local
217 if (array == nullptr) { in parseEncryptedChunks()
223 for (size_t n = 0; n < array->size(); n++) { in parseEncryptedChunks()
224 const cppbor::Bstr* itemBstr = ((*array)[n])->asBstr(); in parseEncryptedChunks()
294 const cppbor::Array* array = valueItem->asArray(); in loadFromDisk() local
295 if (array == nullptr) { in loadFromDisk()
299 for (size_t m = 0; m < array->size(); m++) { in loadFromDisk()
300 const std::unique_ptr<cppbor::Item>& item = (*array)[m]; in loadFromDisk()
359 const cppbor::Array* array = valueItem->asArray(); in loadFromDisk() local
360 if (array == nullptr) { in loadFromDisk()
364 for (size_t m = 0; m < array->size(); m++) { in loadFromDisk()
365 const std::unique_ptr<cppbor::Item>& item = (*array)[m]; in loadFromDisk()