/hardware/interfaces/biometrics/fingerprint/2.1/default/ |
service.cpp | 33 android::sp<IBiometricsFingerprint> bio = BiometricsFingerprint::getInstance(); local 37 if (bio != nullptr) { 38 bio->registerAsService();
|
/prebuilts/go/darwin-x86/src/cmd/internal/bio/ |
must.go | 5 package bio package
|
buf.go | 5 // Package bio implements common I/O abstractions used within the Go toolchain. 6 package bio package
|
/prebuilts/go/linux-x86/src/cmd/internal/bio/ |
must.go | 5 package bio package
|
buf.go | 5 // Package bio implements common I/O abstractions used within the Go toolchain. 6 package bio package
|
/external/curl/docs/examples/ |
cacertinmem.c | 41 BIO *bio; local 84 /* get a BIO */ 85 bio=BIO_new_mem_buf(mypem, -1); 89 PEM_read_bio_X509(bio, &cert, 0, NULL); 102 BIO_free(bio);
|
usercertinmem.c | 48 BIO *bio = NULL; local 49 BIO *kbio = NULL; 120 /* get a BIO */ 121 bio = BIO_new_mem_buf((char *)mypem, -1); 123 if(bio == NULL) { 130 cert = PEM_read_bio_X509(bio, NULL, 0, NULL); 141 /*create a bio for the RSA key*/ 147 /*read the key bio into an RSA object*/ 150 printf("Failed to create key bio\n") [all...] |
/external/libchrome/crypto/ |
openssl_bio_string.cc | 7 #include <openssl/bio.h> 14 int bio_string_write(BIO* bio, const char* data, int len) { 15 reinterpret_cast<std::string*>(bio->ptr)->append(data, len); 19 int bio_string_puts(BIO* bio, const char* data) { 21 return bio_string_write(bio, data, strlen(data)); 24 long bio_string_ctrl(BIO* bio, int cmd, long num, void* ptr) { 25 std::string* str = reinterpret_cast<std::string*>(bio->ptr) 69 BIO* bio = BIO_new(&bio_string_methods); local [all...] |
/external/boringssl/src/crypto/bio/ |
hexdump.c | 57 #include <openssl/bio.h> 67 BIO *bio; member in struct:hexdump_ctx 102 BIO_indent(ctx->bio, ctx->indent, UINT_MAX); 109 if (BIO_write(ctx->bio, buf, 10) < 0) { 129 if (BIO_write(ctx->bio, buf, l) < 0) { 138 if (BIO_write(ctx->bio, ctx->right_chars, sizeof(ctx->right_chars)) < 0) { 169 if (BIO_write(ctx->bio, buf, l) < 0) { 176 if (BIO_write(ctx->bio, ctx->right_chars, n_bytes + 2) < 0) { 182 int BIO_hexdump(BIO *bio, const uint8_t *data, size_t len, unsigned indent) [all...] |
/external/google-tv-pairing-protocol/cpp/src/polo/util/ |
certificateutil.cc | 25 BIO* bio = BIO_new_mem_buf(&pem[0], pem.size()); local 26 X509* x509 = PEM_read_bio_X509(bio, NULL, 0, NULL); 27 BIO_free(bio); 41 BIO* bio = BIO_new(BIO_s_mem()); local 42 PEM_write_bio_X509(bio, x509); 43 BIO_flush(bio); 46 size_t data_size = BIO_get_mem_data(bio, &data); 49 BIO_free(bio); 56 BIO* bio = BIO_new_mem_buf(&pem[0], pem.size()); local 65 BIO* bio = BIO_new(BIO_s_mem()); local [all...] |
/external/libbrillo/brillo/streams/ |
openssl_stream_bio.cc | 7 #include <openssl/bio.h> 16 // Internal functions for implementing OpenSSL BIO on brillo::Stream. 17 int stream_write(BIO* bio, const char* buf, int size) { 18 brillo::Stream* stream = static_cast<brillo::Stream*>(bio->ptr); 20 BIO_clear_retry_flags(bio); 26 BIO_set_retry_write(bio); 32 int stream_read(BIO* bio, char* buf, int size) { 33 brillo::Stream* stream = static_cast<brillo::Stream*>(bio->ptr) 93 BIO* bio = BIO_new(&stream_method); local [all...] |
/external/pdfium/third_party/libopenjpeg20/ |
bio.c | 40 /** @defgroup BIO BIO - Individual bit input-output stream */ 48 @param bio BIO handle 51 static void opj_bio_putbit(opj_bio_t *bio, OPJ_UINT32 b); 54 @param bio BIO handle 57 static OPJ_UINT32 opj_bio_getbit(opj_bio_t *bio); 60 @param bio BIO handl 124 opj_bio_t *bio = (opj_bio_t*)opj_malloc(sizeof(opj_bio_t)); local [all...] |
/external/syslinux/efi/ |
diskio.c | 11 static inline EFI_STATUS read_blocks(EFI_BLOCK_IO *bio, uint32_t id, 14 return uefi_call_wrapper(bio->ReadBlocks, 5, bio, id, lba, bytes, buf); 17 static inline EFI_STATUS write_blocks(EFI_BLOCK_IO *bio, uint32_t id, 20 return uefi_call_wrapper(bio->WriteBlocks, 5, bio, id, lba, bytes, buf); 27 EFI_BLOCK_IO *bio = priv->bio; local 32 status = write_blocks(bio, disk->disk_number, lba, bytes, buf); 34 status = read_blocks(bio, disk->disk_number, lba, bytes, buf) 49 EFI_BLOCK_IO *bio; local [all...] |
efi.h | 34 EFI_BLOCK_IO *bio; member in struct:efi_disk_private
|
/external/boringssl/src/crypto/x509/ |
t_req.c | 68 BIO *bio = BIO_new(BIO_s_file()); local 69 if (bio == NULL) { 74 BIO_set_fp(bio, fp, BIO_NOCLOSE); 75 int ret = X509_REQ_print(bio, x); 76 BIO_free(bio); 80 int X509_REQ_print_ex(BIO *bio, X509_REQ *x, unsigned long nmflags, 100 if (BIO_write(bio, "Certificate Request:\n", 21) <= 0 || 101 BIO_write(bio, " Data:\n", 10) <= 0) [all...] |
/external/boringssl/src/tool/ |
server.cc | 256 BIO *bio = BIO_new_socket(sock, BIO_CLOSE); local 258 SSL_set_bio(ssl.get(), bio, bio);
|
/system/tpm/trunks/ |
session_manager_impl.cc | 41 BIO* bio = BIO_new(BIO_s_mem()); local 42 ERR_print_errors(bio); 44 int data_len = BIO_get_mem_data(bio, &data); 46 BIO_free(bio);
|
/external/libbrillo/policy/ |
device_policy_impl.cc | 49 BIO* bio = BIO_new_mem_buf(key, public_key.length()); local 50 if (!bio) { 55 EVP_PKEY* public_key_ssl = d2i_PUBKEY_bio(bio, nullptr); 57 BIO_free_all(bio); 73 BIO_free_all(bio);
|
/external/libcups/cups/ |
tls-boringssl.c | 43 static int http_bio_write(BIO *h, const char *buf, int num); 44 static int http_bio_read(BIO *h, char *buf, int size); 45 static int http_bio_puts(BIO *h, const char *str); 46 static long http_bio_ctrl(BIO *h, int cmd, long arg1, void *arg2); 47 static int http_bio_new(BIO *h); 48 static int http_bio_free(BIO *data); 208 * '_httpBIOMethods()' - Get the OpenSSL BIO methods for HTTP connections. 211 static BIO_METHOD * /* O - BIO methods for OpenSSL */ 223 http_bio_ctrl(BIO *h, /* I - BIO data * 434 BIO *bio; \/* BIO data *\/ local [all...] |
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ |
ltp_tbio.c | 34 * CODE COVERAGE: 74.9% - fs/bio.c (Total Coverage) 66 static struct bio *tbiop, *tbiop_dup; 77 static int send_request(struct request_queue *q, struct bio *bio, 82 rq = blk_make_request(q, bio, GFP_KERNEL); 103 rq->__sector = bio->bi_sector; 122 struct bio *bio = NULL; local 150 bio = bio_map_user(q, bdev, (unsigned long)inter.data, 153 if (!bio) { 288 struct bio *bio = NULL; local [all...] |
/external/webrtc/webrtc/base/ |
opensslidentity.cc | 18 #include <openssl/bio.h> 193 BIO* temp_memory_bio = BIO_new(BIO_s_mem()); 195 LOG_F(LS_ERROR) << "Failed to allocate temporary memory bio"; 229 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1); local 230 if (!bio) 232 BIO_set_mem_eof_return(bio, 0); 233 X509* x509 = PEM_read_bio_X509(bio, NULL, NULL, const_cast<char*>("\0")); 234 BIO_free(bio); // Frees the BIO, but not the pointed-to string 333 BIO* bio = BIO_new(BIO_s_mem()); local 354 BIO* bio = BIO_new(BIO_s_mem()); local 442 BIO* bio = BIO_new_mem_buf(const_cast<char*>(private_key.c_str()), -1); local [all...] |
/system/tpm/attestation/common/ |
crypto_utility_impl.cc | 28 #include <openssl/bio.h> 43 BIO* bio = BIO_new(BIO_s_mem()); local 44 ERR_print_errors(bio); 46 int data_len = BIO_get_mem_data(bio, &data); 48 BIO_free(bio);
|
/external/boringssl/src/crypto/pkcs8/ |
pkcs8_x509.c | 62 #include <openssl/bio.h> 655 PKCS12* d2i_PKCS12_bio(BIO *bio, PKCS12 **out_p12) { 671 int n = BIO_read(bio, &buf->data[used], buf->length - used); 676 /* Workaround a bug in node.js. It uses a memory BIO for this in the wrong 705 BIO *bio; local 708 bio = BIO_new_fp(fp, 0 /* don't take ownership */); 709 if (!bio) { 713 ret = d2i_PKCS12_bio(bio, out_p12) [all...] |
/development/ndk/platforms/android-9/include/linux/ |
bio.h | 52 struct bio; 53 typedef int (bio_end_io_t) (struct bio *, unsigned int, int); 54 typedef void (bio_destructor_t) (struct bio *); 56 struct bio { struct 58 struct bio *bi_next; 95 #define bio_flagged(bio, flag) ((bio)->bi_flags & (1 << (flag))) 100 #define BIO_POOL_IDX(bio) ((bio)->bi_flags >> BIO_POOL_OFFSET) 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT [all...] |
/external/ipsec-tools/src/racoon/ |
eaytest.c | 51 #include <openssl/bio.h> 96 BIO *bio; local 100 bio = BIO_new_mem_buf(pubkey_txt, strlen(pubkey_txt)); 101 evp = PEM_read_bio_PUBKEY(bio, NULL, NULL, NULL); 199 BIO *bio; local 206 bio = BIO_new_mem_buf(buf, strlen(buf)); 207 error = PEM_read_bio(bio, &nm, &header, &data, &len);
|