Home
last modified time | relevance | path

Searched refs:datasize_ (Results 1 – 4 of 4) sorted by relevance

/third_party/cef/tests/cefclient/browser/
Dbytes_write_handler.cc15 : grow_(grow), datasize_(grow), offset_(0) { in BytesWriteHandler()
29 if (offset_ + static_cast<int64>(size * n) >= datasize_ && in Write()
46 if (offset_ + offset > datasize_ || offset_ + offset < 0) in Seek()
53 if (offset_abs > datasize_) in Seek()
55 offset_ = datasize_ - offset_abs; in Seek()
60 if (offset > datasize_ || offset < 0) in Seek()
83 void* tmp = realloc(data_, datasize_ + s); in Grow()
87 datasize_ += s; in Grow()
88 rv = datasize_; in Grow()
Dbytes_write_handler.h33 int64 datasize_; variable
/third_party/cef/libcef/browser/
Dstream_impl.cc142 : data_(nullptr), datasize_(0), copy_(false), offset_(0) { in CefBytesReader()
152 size_t s = (datasize_ - offset_) / size; in Read()
164 if (offset_ + offset > datasize_ || offset_ + offset < 0) in Seek()
171 if (offset_abs > datasize_) in Seek()
173 offset_ = datasize_ - offset_abs; in Seek()
178 if (offset > datasize_ || offset < 0) in Seek()
195 return (offset_ >= datasize_); in Eof()
205 datasize_ = datasize; in SetData()
220 : grow_(grow), datasize_(grow), offset_(0) { in CefBytesWriter()
235 if (offset_ + static_cast<int64>(size * n) >= datasize_ && in Write()
[all …]
Dstream_impl.h77 int64 datasize_; variable
107 int64 datasize_; variable