Lines Matching refs:fail
50 inline keymaster_blob_t certBlobifier(const uint8_t (&cert)[N], bool* fail){ in certBlobifier() argument
53 *fail = true; in certBlobifier()
58 inline keymaster_blob_t certBlobifier(const keymaster_blob_t& blob, bool* fail){ in certBlobifier() argument
62 *fail = true; in certBlobifier()
73 inline keymaster_blob_t certBlobifier(X509* certificate, bool* fail){ in certBlobifier() argument
76 *fail = true; in certBlobifier()
82 *fail = true; in certBlobifier()
93 bool* fail) { in certCopier() argument
95 *(*out)++ = certBlobifier(chain.entries[i], fail); in certCopier()
97 return *fail; in certCopier()
101 inline bool certCopier(keymaster_blob_t** out, keymaster_cert_chain_t&& chain, bool* fail) { in certCopier() argument
103 *(*out)++ = certBlobifier(move(chain.entries[i]), fail); in certCopier()
108 return *fail; in certCopier()
111 inline bool certCopier(keymaster_blob_t** out, CERT&& cert, bool* fail) { in certCopier() argument
112 *(*out)++ = certBlobifier(forward<CERT>(cert), fail); in certCopier()
113 return *fail; in certCopier()
116 inline bool certCopyHelper(keymaster_blob_t**, bool* fail) { in certCopyHelper() argument
117 return *fail; in certCopyHelper()
121 inline bool certCopyHelper(keymaster_blob_t** out, bool* fail, CERT&& cert, CERTS&&... certs) { in certCopyHelper() argument
122 certCopier(out, forward<CERT>(cert), fail); in certCopyHelper()
123 return certCopyHelper(out, fail, forward<CERTS>(certs)...); in certCopyHelper()