Home
last modified time | relevance | path

Searched defs:bio (Results 1 – 25 of 54) sorted by relevance

123

/external/boringssl/src/crypto/bio/
Dbio.c73 static int bio_set(BIO *bio, const BIO_METHOD *method) { in bio_set()
105 int BIO_free(BIO *bio) { in BIO_free()
131 BIO *BIO_up_ref(BIO *bio) { in BIO_up_ref()
136 void BIO_vfree(BIO *bio) { in BIO_vfree()
140 void BIO_free_all(BIO *bio) { in BIO_free_all()
144 static int bio_io(BIO *bio, void *buf, int len, size_t method_offset, in bio_io()
189 int BIO_read(BIO *bio, void *buf, int len) { in BIO_read()
194 int BIO_gets(BIO *bio, char *buf, int len) { in BIO_gets()
199 int BIO_write(BIO *bio, const void *in, int inl) { in BIO_write()
204 int BIO_puts(BIO *bio, const char *in) { in BIO_puts()
[all …]
Dbio_mem.c97 static int mem_new(BIO *bio) { in mem_new()
115 static int mem_free(BIO *bio) { in mem_free()
135 static int mem_read(BIO *bio, char *out, int outl) { in mem_read()
162 static int mem_write(BIO *bio, const char *in, int inl) { in mem_write()
193 static int mem_gets(BIO *bio, char *buf, int size) { in mem_gets()
228 static long mem_ctrl(BIO *bio, int cmd, long num, void *ptr) { in mem_ctrl()
300 int BIO_mem_contents(const BIO *bio, const uint8_t **out_contents, in BIO_mem_contents()
313 long BIO_get_mem_data(BIO *bio, char **contents) { in BIO_get_mem_data()
317 int BIO_get_mem_ptr(BIO *bio, BUF_MEM **out) { in BIO_get_mem_ptr()
321 int BIO_set_mem_buf(BIO *bio, BUF_MEM *b, int take_ownership) { in BIO_set_mem_buf()
[all …]
Dconnect.c167 static int conn_state(BIO *bio, BIO_CONNECT *c) { in conn_state()
318 static int conn_new(BIO *bio) { in conn_new()
326 static void conn_close_socket(BIO *bio) { in conn_close_socket()
341 static int conn_free(BIO *bio) { in conn_free()
355 static int conn_read(BIO *bio, char *out, int out_len) { in conn_read()
379 static int conn_write(BIO *bio, const char *in, int in_len) { in conn_write()
403 static long conn_ctrl(BIO *bio, int cmd, long num, void *ptr) { in conn_ctrl()
491 static long conn_callback_ctrl(BIO *bio, int cmd, bio_info_cb fp) { in conn_callback_ctrl()
534 int BIO_set_conn_hostname(BIO *bio, const char *name) { in BIO_set_conn_hostname()
538 int BIO_set_conn_port(BIO *bio, const char *port_str) { in BIO_set_conn_port()
[all …]
Dpair.c88 static int bio_new(BIO *bio) { in bio_new()
102 static void bio_destroy_pair(BIO *bio) { in bio_destroy_pair()
134 static int bio_free(BIO *bio) { in bio_free()
173 int BIO_zero_copy_get_read_buf(BIO* bio, uint8_t** out_read_buf, in BIO_zero_copy_get_read_buf()
220 int BIO_zero_copy_get_read_buf_done(BIO* bio, size_t bytes_read) { in BIO_zero_copy_get_read_buf_done()
303 int BIO_zero_copy_get_write_buf(BIO* bio, uint8_t** out_write_buf, in BIO_zero_copy_get_write_buf()
354 int BIO_zero_copy_get_write_buf_done(BIO* bio, size_t bytes_written) { in BIO_zero_copy_get_write_buf_done()
405 static int bio_read(BIO *bio, char *buf, int size_) { in bio_read()
491 static int bio_write(BIO *bio, const char *buf, int num_) { in bio_write()
641 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr) { in bio_ctrl()
[all …]
Dfile.c164 static int file_new(BIO *bio) { return 1; } in file_new()
166 static int file_free(BIO *bio) { in file_free()
323 int BIO_get_fp(BIO *bio, FILE **out_file) { in BIO_get_fp()
327 int BIO_set_fp(BIO *bio, FILE *file, int close_flag) { in BIO_set_fp()
331 int BIO_read_filename(BIO *bio, const char *filename) { in BIO_read_filename()
336 int BIO_write_filename(BIO *bio, const char *filename) { in BIO_write_filename()
341 int BIO_append_filename(BIO *bio, const char *filename) { in BIO_append_filename()
346 int BIO_rw_filename(BIO *bio, const char *filename) { in BIO_rw_filename()
Dfd.c133 static int fd_new(BIO *bio) { in fd_new()
139 static int fd_free(BIO *bio) { in fd_free()
264 int BIO_set_fd(BIO *bio, int fd, int close_flag) { in BIO_set_fd()
268 int BIO_get_fd(BIO *bio, int *out_fd) { in BIO_get_fd()
Dbuffer.c90 static int buffer_new(BIO *bio) { in buffer_new()
122 static int buffer_free(BIO *bio) { in buffer_free()
141 static int buffer_read(BIO *bio, char *out, int outl) { in buffer_read()
490 int BIO_set_read_buffer_size(BIO *bio, int buffer_size) { in BIO_set_read_buffer_size()
494 int BIO_set_write_buffer_size(BIO *bio, int buffer_size) { in BIO_set_write_buffer_size()
Dbio_test.cc106 ScopedBIO bio(BIO_new_connect(hostname)); in TestSocketConnect() local
141 static size_t BioReadZeroCopyWrapper(BIO *bio, uint8_t *data, size_t len) { in BioReadZeroCopyWrapper()
166 static size_t BioWriteZeroCopyWrapper(BIO *bio, const uint8_t *data, in BioWriteZeroCopyWrapper()
290 ScopedBIO bio(BIO_new(BIO_s_mem())); in TestPrintf() local
334 ScopedBIO bio(BIO_new_mem_buf(const_cast<uint8_t*>(data), data_len)); in ReadASN1() local
DCMakeLists.txt4 bio target
Dsocket.c82 static int sock_new(BIO *bio) { in sock_new()
90 static int sock_free(BIO *bio) { in sock_free()
Dhexdump.c65 BIO *bio; member
181 int BIO_hexdump(BIO *bio, const uint8_t *data, size_t len, unsigned indent) { in BIO_hexdump()
Dprintf.c70 int BIO_printf(BIO *bio, const char *format, ...) { in BIO_printf()
/external/pdfium/third_party/libopenjpeg20/
Dbio.c81 static OPJ_BOOL opj_bio_byteout(opj_bio_t *bio) { in opj_bio_byteout()
91 static OPJ_BOOL opj_bio_bytein(opj_bio_t *bio) { in opj_bio_bytein()
101 static void opj_bio_putbit(opj_bio_t *bio, OPJ_UINT32 b) { in opj_bio_putbit()
109 static OPJ_UINT32 opj_bio_getbit(opj_bio_t *bio) { in opj_bio_getbit()
124 opj_bio_t *bio = (opj_bio_t*)opj_malloc(sizeof(opj_bio_t)); in opj_bio_create() local
128 void opj_bio_destroy(opj_bio_t *bio) { in opj_bio_destroy()
134 ptrdiff_t opj_bio_numbytes(opj_bio_t *bio) { in opj_bio_numbytes()
138 void opj_bio_init_enc(opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len) { in opj_bio_init_enc()
146 void opj_bio_init_dec(opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len) { in opj_bio_init_dec()
154 void opj_bio_write(opj_bio_t *bio, OPJ_UINT32 v, OPJ_UINT32 n) { in opj_bio_write()
[all …]
Dtgt.c260 void opj_tgt_encode(opj_bio_t *bio, opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 threshold) { in opj_tgt_encode()
300 OPJ_UINT32 opj_tgt_decode(opj_bio_t *bio, opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 thresh… in opj_tgt_decode()
/external/boringssl/src/ssl/test/
Dasync_bio.cc34 AsyncBio *GetData(BIO *bio) { in GetData()
41 static int AsyncWrite(BIO *bio, const char *in, int inl) { in AsyncWrite()
71 static int AsyncRead(BIO *bio, char *out, int outl) { in AsyncRead()
97 static long AsyncCtrl(BIO *bio, int cmd, long num, void *ptr) { in AsyncCtrl()
107 static int AsyncNew(BIO *bio) { in AsyncNew()
119 static int AsyncFree(BIO *bio) { in AsyncFree()
131 static long AsyncCallbackCtrl(BIO *bio, int cmd, bio_info_cb fp) { in AsyncCallbackCtrl()
166 void AsyncBioAllowRead(BIO *bio, size_t count) { in AsyncBioAllowRead()
174 void AsyncBioAllowWrite(BIO *bio, size_t count) { in AsyncBioAllowWrite()
182 void AsyncBioEnforceWriteQuota(BIO *bio, bool enforce) { in AsyncBioEnforceWriteQuota()
Dpacketed_bio.cc35 static int ReadAll(BIO *bio, uint8_t *out, size_t len) { in ReadAll()
51 static int PacketedWrite(BIO *bio, const char *in, int inl) { in PacketedWrite()
81 static int PacketedRead(BIO *bio, char *out, int outl) { in PacketedRead()
165 static long PacketedCtrl(BIO *bio, int cmd, long num, void *ptr) { in PacketedCtrl()
175 static int PacketedNew(BIO *bio) { in PacketedNew()
180 static int PacketedFree(BIO *bio) { in PacketedFree()
189 static long PacketedCallbackCtrl(BIO *bio, int cmd, bio_info_cb fp) { in PacketedCallbackCtrl()
212 ScopedBIO bio(BIO_new(&g_packeted_bio_method)); in PacketedBioCreate() local
/external/libchrome/crypto/
Dopenssl_bio_string.cc14 int bio_string_write(BIO* bio, const char* data, int len) { in bio_string_write()
19 int bio_string_puts(BIO* bio, const char* data) { in bio_string_puts()
24 long bio_string_ctrl(BIO* bio, int cmd, long num, void* ptr) { in bio_string_ctrl()
41 int bio_string_new(BIO* bio) { in bio_string_new()
47 int bio_string_free(BIO* bio) { in bio_string_free()
69 BIO* bio = BIO_new(&bio_string_methods); in BIO_new_string() local
Dopenssl_bio_string_unittest.cc20 ScopedBIO bio(BIO_new_string(&s)); in TEST() local
46 ScopedBIO bio(BIO_new_string(&s)); in TEST() local
/external/libbrillo/brillo/streams/
Dopenssl_stream_bio.cc17 int stream_write(BIO* bio, const char* buf, int size) { in stream_write()
32 int stream_read(BIO* bio, char* buf, int size) { in stream_read()
50 long stream_ctrl(BIO* bio, int cmd, long /* num */, void* /* ptr */) { in stream_ctrl()
58 int stream_new(BIO* bio) { in stream_new()
65 int stream_free(BIO* bio) { in stream_free()
93 BIO* bio = BIO_new(&stream_method); in BIO_new_stream() local
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dcertificateutil.cc25 BIO* bio = BIO_new_mem_buf(&pem[0], pem.size()); in X509FromPEM() local
41 BIO* bio = BIO_new(BIO_s_mem()); in X509ToPEM() local
56 BIO* bio = BIO_new_mem_buf(&pem[0], pem.size()); in PKEYFromPEM() local
65 BIO* bio = BIO_new(BIO_s_mem()); in PKEYToPEM() local
/external/boringssl/src/crypto/x509/
Dt_req.c68 BIO *bio = BIO_new(BIO_s_file()); in X509_REQ_print_fp() local
80 int X509_REQ_print_ex(BIO *bio, X509_REQ *x, unsigned long nmflags, in X509_REQ_print_ex()
244 int X509_REQ_print(BIO *bio, X509_REQ *req) { in X509_REQ_print()
Dpkcs7_test.c599 BIO *bio = BIO_new_mem_buf((char *) pem, strlen(pem)); in test_pem_certs() local
621 BIO *bio = BIO_new_mem_buf((char *) pem, strlen(pem)); in test_pem_crls() local
/external/webrtc/webrtc/base/
Dopensslidentity.cc229 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1); in FromPEMString() local
333 BIO* bio = BIO_new(BIO_s_mem()); in ToPEMString() local
354 BIO* bio = BIO_new(BIO_s_mem()); in ToDER() local
442 BIO* bio = BIO_new_mem_buf(const_cast<char*>(private_key.c_str()), -1); in FromPEMStrings() local
/external/boringssl/src/tool/
Dclient.cc94 ScopedBIO bio(BIO_new(BIO_s_file())); in LoadPrivateKey() local
260 ScopedBIO bio(BIO_new_socket(sock, BIO_CLOSE)); in Client() local
Dgenrsa.cc56 ScopedBIO bio(BIO_new_fp(stdout, BIO_NOCLOSE)); in GenerateRSAKey() local

123