• Home
  • Raw
  • Download

Lines Matching refs:array

89         cppbor::Array array;  in saveToDisk()  local
90 array.add(sacp.id); in saveToDisk()
91 array.add(sacp.readerCertificate.encodedCertificate); in saveToDisk()
92 array.add(sacp.userAuthenticationRequired); in saveToDisk()
93 array.add(sacp.timeoutMillis); in saveToDisk()
94 array.add(sacp.secureUserId); in saveToDisk()
96 array.add(mac); in saveToDisk()
97 sacpArray.add(std::move(array)); in saveToDisk()
124 cppbor::Array array; in saveToDisk() local
126 array.add(data.certificate); in saveToDisk()
127 array.add(data.keyBlob); in saveToDisk()
128 array.add(data.staticAuthenticationData); in saveToDisk()
129 array.add(data.pendingCertificate); in saveToDisk()
130 array.add(data.pendingKeyBlob); in saveToDisk()
131 array.add(data.useCount); in saveToDisk()
133 array.add(data.expirationDateMillisSinceEpoch); in saveToDisk()
134 authKeyDatasArray.add(std::move(array)); in saveToDisk()
144 const cppbor::Array* array = item.asArray(); in parseSacp() local
145 if (array == nullptr || array->size() < 6) { in parseSacp()
147 << (array != nullptr ? array->size() : -1) << ")"; in parseSacp()
150 const cppbor::Int* itemId = ((*array)[0])->asInt(); in parseSacp()
151 const cppbor::Bstr* itemReaderCertificate = ((*array)[1])->asBstr(); in parseSacp()
152 const cppbor::Simple* simple = ((*array)[2])->asSimple(); in parseSacp()
155 const cppbor::Int* itemTimeoutMillis = ((*array)[3])->asInt(); in parseSacp()
156 const cppbor::Int* itesecureUserId_ = ((*array)[4])->asInt(); in parseSacp()
157 const cppbor::Bstr* itemMac = ((*array)[5])->asBstr(); in parseSacp()
175 const cppbor::Array* array = item.asArray(); in parseAuthKeyData() local
176 if (array == nullptr || array->size() < 6) { in parseAuthKeyData()
180 const cppbor::Bstr* itemCertificate = ((*array)[0])->asBstr(); in parseAuthKeyData()
181 const cppbor::Bstr* itemKeyBlob = ((*array)[1])->asBstr(); in parseAuthKeyData()
182 const cppbor::Bstr* itemStaticAuthenticationData = ((*array)[2])->asBstr(); in parseAuthKeyData()
183 const cppbor::Bstr* itemPendingCertificate = ((*array)[3])->asBstr(); in parseAuthKeyData()
184 const cppbor::Bstr* itemPendingKeyBlob = ((*array)[4])->asBstr(); in parseAuthKeyData()
185 const cppbor::Int* itemUseCount = ((*array)[5])->asInt(); in parseAuthKeyData()
195 if (array->size() >= 7) { in parseAuthKeyData()
196 const cppbor::Int* itemExpirationDateMillisSinceEpoch = ((*array)[6])->asInt(); in parseAuthKeyData()
211 const cppbor::Array* array = item.asArray(); in parseAccessControlProfileIds() local
212 if (array == nullptr) { in parseAccessControlProfileIds()
218 for (size_t n = 0; n < array->size(); n++) { in parseAccessControlProfileIds()
219 const cppbor::Int* itemInt = ((*array)[n])->asInt(); in parseAccessControlProfileIds()
230 const cppbor::Array* array = item.asArray(); in parseEncryptedChunks() local
231 if (array == nullptr) { in parseEncryptedChunks()
237 for (size_t n = 0; n < array->size(); n++) { in parseEncryptedChunks()
238 const cppbor::Bstr* itemBstr = ((*array)[n])->asBstr(); in parseEncryptedChunks()
308 const cppbor::Array* array = valueItem->asArray(); in loadFromDisk() local
309 if (array == nullptr) { in loadFromDisk()
313 for (size_t m = 0; m < array->size(); m++) { in loadFromDisk()
314 const std::unique_ptr<cppbor::Item>& item = (*array)[m]; in loadFromDisk()
373 const cppbor::Array* array = valueItem->asArray(); in loadFromDisk() local
374 if (array == nullptr) { in loadFromDisk()
378 for (size_t m = 0; m < array->size(); m++) { in loadFromDisk()
379 const std::unique_ptr<cppbor::Item>& item = (*array)[m]; in loadFromDisk()