Searched refs:outbuf (Results 1 – 8 of 8) sorted by relevance
| /system/uapp/lz4/ |
| A D | main.c | 56 uint8_t outbuf[BLOCK_SIZE]; in do_decompress() local 71 size_t to_read = LZ4F_decompress(dctx, outbuf, &dst_sz, inbuf, &src_sz, NULL); in do_decompress() 87 next = LZ4F_decompress(dctx, outbuf, &dst_sz, inbuf + pos, &src_sz, NULL); in do_decompress() 94 ssize_t nw = write(outfd, outbuf, dst_sz); in do_decompress() 148 uint8_t* outbuf = malloc(outsize); in do_compress() local 149 if (!outbuf) { in do_compress() 160 ssize_t csz = LZ4F_compressFrame(outbuf, outsize, inbuf, nr, &prefs); in do_compress() 166 ssize_t nw = write(outfd, outbuf, csz); in do_compress() 183 free(outbuf); in do_compress()
|
| /system/host/bootserver/ |
| A D | tftp.c | 220 char* outbuf = NULL; in tftp_xfer() local 233 !(outbuf = malloc(TFTP_BUF_SZ))) { in tftp_xfer() 262 opts.outbuf = outbuf; in tftp_xfer() 290 if (outbuf) { in tftp_xfer() 291 free(outbuf); in tftp_xfer()
|
| /system/ulib/tftp/include/tftp/ |
| A D | tftp.h | 101 char* outbuf; // required - buffer for assembling outgoing msgs member 114 char* outbuf; // required - buffer for assembling outgoing msgs member
|
| /system/ulib/tftp/ |
| A D | tftp.c | 1176 if (!opts || !opts->inbuf || !opts->inbuf_sz || !opts->outbuf || !opts->outbuf_sz) { in transfer_file() 1204 opts->outbuf, in transfer_file() 1219 status = session->transport_interface.send(opts->outbuf, out_sz, transport_cookie); in transfer_file() 1227 .outgoing = opts->outbuf, in transfer_file() 1266 if (!opts || !opts->inbuf || !opts->outbuf || !opts->outbuf_sz) { in tftp_service_request() 1271 .outgoing = opts->outbuf, in tftp_service_request() 1288 if (!opts || !opts->inbuf || !opts->outbuf || !opts->outbuf_sz) { in tftp_handle_msg() 1294 opts->outbuf, opts->outbuf_sz, &timeout_ms, file_cookie); in tftp_handle_msg() 1296 tftp_status send_status = session->transport_interface.send(opts->outbuf, *opts->outbuf_sz, in tftp_handle_msg()
|
| A D | tftp-example.c | 233 options.outbuf = out_scratch; in tftp_send_file_wrapper() 254 options.outbuf = out_scratch; in tftp_receive_file_wrapper()
|
| A D | tftp-file-test.cpp | 303 opts.outbuf = msg_out_buf; in run_client_test() 374 .outbuf = msg_out_buf, in run_server_test()
|
| /system/host/netprotocol/ |
| A D | netcp.c | 227 opts.outbuf = malloc(TFTP_BUF_SZ); in transfer_file() 241 free(opts.outbuf); in transfer_file()
|
| /system/core/netsvc/ |
| A D | tftp.c | 536 .outbuf = tftp_out_scratch, in tftp_recv()
|
Completed in 17 milliseconds