OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:circbuffer
(Results
1 - 5
of
5
) sorted by null
/external/dropbear/
circbuffer.h
36
typedef struct circbuf
circbuffer
;
typedef in typeref:struct:circbuf
38
circbuffer
* cbuf_new(unsigned int size);
39
void cbuf_free(
circbuffer
* cbuf);
41
unsigned int cbuf_getused(
circbuffer
* cbuf); /* how much data stored */
42
unsigned int cbuf_getavail(
circbuffer
* cbuf); /* how much we can write */
43
unsigned int cbuf_readlen(
circbuffer
*cbuf); /* max linear read len */
44
unsigned int cbuf_writelen(
circbuffer
*cbuf); /* max linear write len */
46
unsigned char* cbuf_readptr(
circbuffer
*cbuf, unsigned int len);
47
unsigned char* cbuf_writeptr(
circbuffer
*cbuf, unsigned int len);
48
void cbuf_incrwrite(
circbuffer
*cbuf, unsigned int len)
[
all
...]
circbuffer.c
27
#include "
circbuffer
.h"
31
circbuffer
* cbuf_new(unsigned int size) {
33
circbuffer
*cbuf = NULL;
39
cbuf = (
circbuffer
*)m_malloc(sizeof(
circbuffer
));
49
void cbuf_free(
circbuffer
* cbuf) {
55
unsigned int cbuf_getused(
circbuffer
* cbuf) {
61
unsigned int cbuf_getavail(
circbuffer
* cbuf) {
67
unsigned int cbuf_readlen(
circbuffer
*cbuf) {
84
unsigned int cbuf_writelen(
circbuffer
*cbuf)
[
all
...]
channel.h
30
#include "
circbuffer
.h"
72
circbuffer
*writebuf; /* data from the wire, for local consumption */
73
circbuffer
*extrabuf; /* extended-data for the program - used like writebuf
124
circbuffer
* buf);
Android.mk
14
common-runopts.c
circbuffer
.c
common-channel.c
32
#include "
circbuffer
.h"
43
static void writechannel(struct Channel* channel, int fd,
circbuffer
*cbuf);
393
static void writechannel(struct Channel* channel, int fd,
circbuffer
*cbuf) {
664
circbuffer
* cbuf) {
Completed in 445 milliseconds