Lines Matching refs:vec
306 linked_ptr<std::vector<char> > vec(read_queue_.front());
308 if (vec->size() <= bytes_to_read) {
310 std::copy(vec->begin(), vec->end(), buffer + *bytes_read);
311 *bytes_read += vec->size();
318 std::copy(vec->begin(), vec->begin() + bytes_to_read,
320 vec->erase(vec->begin(), vec->begin() + bytes_to_read);