Lines Matching defs:size
11 InMemoryUrlProtocol::InMemoryUrlProtocol(const uint8* data, int64 size,
14 size_(size >= 0 ? size : 0),
21 int InMemoryUrlProtocol::Read(int size, uint8* data) {
22 if (size < 0)
26 if (size > available_bytes)
27 size = available_bytes;
29 if (size > 0) {
30 memcpy(data, data_ + position_, size);
31 position_ += size;
34 return size;