OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:readpos
(Results
1 - 3
of
3
) sorted by null
/external/dropbear/
circbuffer.c
42
cbuf->
readpos
= 0;
69
dropbear_assert(((2*cbuf->size)+cbuf->writepos-cbuf->
readpos
)%cbuf->size == cbuf->used%cbuf->size);
70
dropbear_assert(((2*cbuf->size)+cbuf->
readpos
-cbuf->writepos)%cbuf->size == (cbuf->size-cbuf->used)%cbuf->size);
77
if (cbuf->
readpos
< cbuf->writepos) {
78
return cbuf->writepos - cbuf->
readpos
;
81
return cbuf->size - cbuf->
readpos
;
87
dropbear_assert(((2*cbuf->size)+cbuf->writepos-cbuf->
readpos
)%cbuf->size == cbuf->used%cbuf->size);
88
dropbear_assert(((2*cbuf->size)+cbuf->
readpos
-cbuf->writepos)%cbuf->size == (cbuf->size-cbuf->used)%cbuf->size);
95
if (cbuf->writepos < cbuf->
readpos
) {
96
return cbuf->
readpos
- cbuf->writepos
[
all
...]
random.c
57
unsigned int
readpos
;
local
96
readpos
= 0;
116
readlen = read(readfd, &buf[
readpos
], buflen -
readpos
);
123
readpos
+= readlen;
124
} while (
readpos
< buflen);
circbuffer.h
30
unsigned int
readpos
;
member in struct:circbuf
Completed in 28 milliseconds