Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 10 of 10) sorted by relevance

/system/uapp/lz4/
A Dmain.c55 uint8_t inbuf[BLOCK_SIZE]; in do_decompress() local
62 ssize_t nr = read(infd, inbuf, src_sz); in do_decompress()
71 size_t to_read = LZ4F_decompress(dctx, outbuf, &dst_sz, inbuf, &src_sz, NULL); in do_decompress()
80 while ((nr = read(infd, inbuf, to_read)) > 0) { in do_decompress()
87 next = LZ4F_decompress(dctx, outbuf, &dst_sz, inbuf + pos, &src_sz, NULL); in do_decompress()
146 uint8_t inbuf[BLOCK_SIZE]; in do_compress() local
159 while ((nr = read(infd, inbuf, BLOCK_SIZE)) > 0) { in do_compress()
160 ssize_t csz = LZ4F_compressFrame(outbuf, outsize, inbuf, nr, &prefs); in do_compress()
/system/host/bootserver/
A Dtftp.c219 char* inbuf = NULL; in tftp_xfer() local
232 !(inbuf = malloc(TFTP_BUF_SZ)) || in tftp_xfer()
260 opts.inbuf = inbuf; in tftp_xfer()
287 if (inbuf) { in tftp_xfer()
288 free(inbuf); in tftp_xfer()
/system/ulib/tftp/include/tftp/
A Dtftp.h99 char* inbuf; // required - buffer for assembling incoming msgs member
112 char* inbuf; // required - buffer for assembling incoming msgs member
/system/dev/display/led2472g/
A Dled2472g.c48 const char* inbuf = buf; in led2472g_write() local
51 i2c_buf[i] = inbuf[i] >> 3; in led2472g_write()
/system/ulib/fvm/
A Dsparse-reader.cpp95 uint8_t* inbuf = inbufptr.get(); in ReadMetadata() local
98 ssize_t nr = read(fd_.get(), inbuf, src_sz); in ReadMetadata()
106 to_read_ = LZ4F_decompress(dctx_, nullptr, &dst_sz, inbuf, &src_sz, NULL); in ReadMetadata()
/system/host/netprotocol/
A Dnetcp.c225 opts.inbuf = malloc(TFTP_BUF_SZ); in transfer_file()
240 free(opts.inbuf); in transfer_file()
/system/ulib/tftp/
A Dtftp-example.c231 options.inbuf = in_scratch; in tftp_send_file_wrapper()
252 options.inbuf = in_scratch; in tftp_receive_file_wrapper()
A Dtftp.c1176 if (!opts || !opts->inbuf || !opts->inbuf_sz || !opts->outbuf || !opts->outbuf_sz) { in transfer_file()
1225 tftp_msg_loop_opts msg_loop_opts = {.incoming = opts->inbuf, in transfer_file()
1266 if (!opts || !opts->inbuf || !opts->outbuf || !opts->outbuf_sz) { in tftp_service_request()
1269 tftp_msg_loop_opts msg_loop_opts = {.incoming = opts->inbuf, in tftp_service_request()
1288 if (!opts || !opts->inbuf || !opts->outbuf || !opts->outbuf_sz) { in tftp_handle_msg()
1293 ret = tftp_process_msg(session, opts->inbuf, opts->inbuf_sz, in tftp_handle_msg()
A Dtftp-file-test.cpp301 opts.inbuf = msg_in_buf; in run_client_test()
372 tftp_handler_opts opts = { .inbuf = msg_in_buf, in run_server_test()
/system/core/netsvc/
A Dtftp.c534 tftp_handler_opts handler_opts = {.inbuf = data, in tftp_recv()

Completed in 27 milliseconds