OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:write_position_
(Results
1 - 2
of
2
) sorted by null
/system/keymaster/
serializable.cpp
80
write_position_
-= read_position_;
93
write_position_
= 0;
107
write_position_
= buffer_size_;
112
assert(buffer_size_ >=
write_position_
);
113
return buffer_size_ -
write_position_
;
117
assert(buffer_size_ >=
write_position_
);
118
assert(
write_position_
>= read_position_);
119
return
write_position_
- read_position_;
125
memcpy(buffer_.get() +
write_position_
, src, write_length);
126
write_position_
+= write_length
[
all
...]
/system/keymaster/include/keymaster/
serializable.h
203
Buffer() : buffer_(NULL), buffer_size_(0), read_position_(0),
write_position_
(0) {}
231
if (static_cast<size_t>(read_position_ + distance) <=
write_position_
) {
237
uint8_t* peek_write() { return buffer_.get() +
write_position_
; }
239
if (static_cast<size_t>(
write_position_
+ distance) <= buffer_size_) {
240
write_position_
+= distance;
258
size_t
write_position_
;
member in class:keymaster::Buffer
Completed in 873 milliseconds