buf_ 35 base/files/dir_reader_linux.h memset(buf_, 0, sizeof(buf_)); buf_ 52 base/files/dir_reader_linux.h linux_dirent* dirent = reinterpret_cast<linux_dirent*>(&buf_[offset_]); buf_ 59 base/files/dir_reader_linux.h const int r = syscall(__NR_getdents64, fd_, buf_, sizeof(buf_)); buf_ 76 base/files/dir_reader_linux.h reinterpret_cast<const linux_dirent*>(&buf_[offset_]); buf_ 90 base/files/dir_reader_linux.h unsigned char buf_[512]; buf_ 399 base/third_party/symbolize/symbolize.cc buf_(buf), buf_len_(buf_len), bol_(buf), eol_(buf), eod_(buf) { buf_ 409 base/third_party/symbolize/symbolize.cc const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_); buf_ 413 base/third_party/symbolize/symbolize.cc eod_ = buf_ + num_bytes; buf_ 414 base/third_party/symbolize/symbolize.cc bol_ = buf_; buf_ 421 base/third_party/symbolize/symbolize.cc memmove(buf_, bol_, incomplete_line_length); buf_ 423 base/third_party/symbolize/symbolize.cc char * const append_pos = buf_ + incomplete_line_length; buf_ 431 base/third_party/symbolize/symbolize.cc bol_ = buf_; buf_ 464 base/third_party/symbolize/symbolize.cc return buf_ == eod_; buf_ 472 base/third_party/symbolize/symbolize.cc char * const buf_; buf_ 466 chrome/browser/process_singleton_linux.cc char buf_[kMaxMessageLength]; buf_ 598 chrome/browser/process_singleton_linux.cc while (bytes_read_ < sizeof(buf_)) { buf_ 600 chrome/browser/process_singleton_linux.cc read(fd, buf_ + bytes_read_, sizeof(buf_) - bytes_read_)); buf_ 622 chrome/browser/process_singleton_linux.cc buf_[bytes_read_] = 0; buf_ 623 chrome/browser/process_singleton_linux.cc LOG(ERROR) << "Invalid socket message (wrong length):" << buf_; buf_ 628 chrome/browser/process_singleton_linux.cc std::string str(buf_, bytes_read_); buf_ 94 components/nacl/browser/pnacl_translation_cache_unittest.cc return buf_.get(); buf_ 101 components/nacl/browser/pnacl_translation_cache_unittest.cc buf_ = buf; buf_ 105 components/nacl/browser/pnacl_translation_cache_unittest.cc scoped_refptr<net::DrainableIOBuffer> buf_; buf_ 99 content/browser/gpu/shader_disk_cache.cc scoped_refptr<net::IOBufferWithSize> buf_; buf_ 247 content/browser/gpu/shader_disk_cache.cc buf_(NULL), buf_ 312 content/browser/gpu/shader_disk_cache.cc buf_ = new net::IOBufferWithSize(entry_->GetDataSize(1)); buf_ 316 content/browser/gpu/shader_disk_cache.cc buf_.get(), buf_ 317 content/browser/gpu/shader_disk_cache.cc buf_->size(), buf_ 324 content/browser/gpu/shader_disk_cache.cc if (rv && rv == buf_->size()) { buf_ 327 content/browser/gpu/shader_disk_cache.cc host->LoadedShader(entry_->GetKey(), std::string(buf_->data(), buf_ 328 content/browser/gpu/shader_disk_cache.cc buf_->size())); buf_ 331 content/browser/gpu/shader_disk_cache.cc buf_ = NULL; buf_ 74 content/browser/loader/buffered_resource_handler.cc scoped_refptr<net::IOBuffer> buf_; buf_ 134 content/browser/loader/redirect_to_file_resource_handler.cc buf_(new net::GrowableIOBuffer()), buf_ 199 content/browser/loader/redirect_to_file_resource_handler.cc if (buf_->capacity() < next_buffer_size_) buf_ 200 content/browser/loader/redirect_to_file_resource_handler.cc buf_->SetCapacity(next_buffer_size_); buf_ 205 content/browser/loader/redirect_to_file_resource_handler.cc *buf = buf_.get(); buf_ 206 content/browser/loader/redirect_to_file_resource_handler.cc *buf_size = buf_->RemainingCapacity(); buf_ 219 content/browser/loader/redirect_to_file_resource_handler.cc int new_offset = buf_->offset() + bytes_read; buf_ 220 content/browser/loader/redirect_to_file_resource_handler.cc DCHECK(new_offset <= buf_->capacity()); buf_ 221 content/browser/loader/redirect_to_file_resource_handler.cc buf_->set_offset(new_offset); buf_ 226 content/browser/loader/redirect_to_file_resource_handler.cc if (buf_->capacity() == bytes_read) { buf_ 323 content/browser/loader/redirect_to_file_resource_handler.cc if (write_cursor_ == buf_->offset()) { buf_ 329 content/browser/loader/redirect_to_file_resource_handler.cc buf_->set_offset(0); buf_ 336 content/browser/loader/redirect_to_file_resource_handler.cc DCHECK(write_cursor_ < buf_->offset()); buf_ 353 content/browser/loader/redirect_to_file_resource_handler.cc buf_.get(), buf_->StartOfBuffer() + write_cursor_); buf_ 354 content/browser/loader/redirect_to_file_resource_handler.cc int write_len = buf_->offset() - write_cursor_; buf_ 371 content/browser/loader/redirect_to_file_resource_handler.cc return buf_->RemainingCapacity() <= (2 * net::kMaxBytesToSniff); buf_ 100 content/browser/loader/redirect_to_file_resource_handler.h scoped_refptr<net::GrowableIOBuffer> buf_; buf_ 149 content/renderer/npapi/webplugin_impl.cc explicit HeaderFlattener(std::string* buf) : buf_(buf) { buf_ 155 content/renderer/npapi/webplugin_impl.cc buf_->append(name.utf8()); buf_ 156 content/renderer/npapi/webplugin_impl.cc buf_->append(": "); buf_ 157 content/renderer/npapi/webplugin_impl.cc buf_->append(value.utf8()); buf_ 158 content/renderer/npapi/webplugin_impl.cc buf_->append("\n"); buf_ 163 content/renderer/npapi/webplugin_impl.cc std::string* buf_; buf_ 90 crypto/ghash.cc memset(&buf_[buf_used_], 0, sizeof(buf_)-buf_used_); buf_ 91 crypto/ghash.cc UpdateBlocks(buf_, 1); buf_ 108 crypto/ghash.cc memset(&buf_[buf_used_], 0, sizeof(buf_)-buf_used_); buf_ 109 crypto/ghash.cc UpdateBlocks(buf_, 1); buf_ 234 crypto/ghash.cc const size_t n = std::min(length, sizeof(buf_) - buf_used_); buf_ 235 crypto/ghash.cc memcpy(&buf_[buf_used_], data, n); buf_ 240 crypto/ghash.cc if (buf_used_ == sizeof(buf_)) { buf_ 241 crypto/ghash.cc UpdateBlocks(buf_, 1); buf_ 254 crypto/ghash.cc memcpy(buf_, data, length); buf_ 81 crypto/ghash.h uint8 buf_[16]; buf_ 12 media/formats/common/offset_byte_queue.cc OffsetByteQueue::OffsetByteQueue() : buf_(NULL), size_(0), head_(0) {} buf_ 17 media/formats/common/offset_byte_queue.cc buf_ = NULL; buf_ 29 media/formats/common/offset_byte_queue.cc *buf = size_ > 0 ? buf_ : NULL; buf_ 46 media/formats/common/offset_byte_queue.cc *buf = &buf_[offset - head()]; buf_ 61 media/formats/common/offset_byte_queue.cc queue_.Peek(&buf_, &size_); buf_ 57 media/formats/common/offset_byte_queue.h const uint8* buf_; buf_ 24 media/formats/mp4/box_reader.cc *v = buf_[pos_++]; buf_ 35 media/formats/mp4/box_reader.cc tmp += buf_[pos_++]; buf_ 55 media/formats/mp4/box_reader.cc vec->insert(vec->end(), buf_ + pos_, buf_ + pos_ + count); buf_ 175 media/formats/mp4/box_reader.cc BoxReader child(&buf_[pos_], size_ - pos_, log_cb_); buf_ 32 media/formats/mp4/box_reader.h : buf_(buf), size_(size), pos_(0) {} buf_ 58 media/formats/mp4/box_reader.h const uint8* data() const { return buf_; } buf_ 63 media/formats/mp4/box_reader.h const uint8* buf_; buf_ 200 media/formats/mp4/box_reader.h BoxReader child_reader(&buf_[pos_], size_ - pos_, log_cb_); buf_ 19 mojo/public/cpp/bindings/lib/message_builder.cc : buf_(sizeof(MessageHeader) + payload_size) { buf_ 21 mojo/public/cpp/bindings/lib/message_builder.cc Allocate(&buf_, &header); buf_ 30 mojo/public/cpp/bindings/lib/message_builder.cc uint32_t num_bytes = static_cast<uint32_t>(buf_.size()); buf_ 31 mojo/public/cpp/bindings/lib/message_builder.cc message->AdoptData(num_bytes, static_cast<MessageData*>(buf_.Leak())); buf_ 35 mojo/public/cpp/bindings/lib/message_builder.cc : buf_(size) { buf_ 44 mojo/public/cpp/bindings/lib/message_builder.cc Allocate(&buf_, &header); buf_ 23 mojo/public/cpp/bindings/lib/message_builder.h Buffer* buffer() { return &buf_; } buf_ 32 mojo/public/cpp/bindings/lib/message_builder.h FixedBuffer buf_; buf_ 52 mojo/public/cpp/bindings/tests/request_response_unittest.cc StringRecorder(std::string* buf) : buf_(buf) { buf_ 55 mojo/public/cpp/bindings/tests/request_response_unittest.cc *buf_ = a.To<std::string>(); buf_ 58 mojo/public/cpp/bindings/tests/request_response_unittest.cc *buf_ = a.To<std::string>() + b.To<std::string>(); buf_ 61 mojo/public/cpp/bindings/tests/request_response_unittest.cc std::string* buf_; buf_ 30 net/base/upload_element.h const char* bytes() const { return bytes_start_ ? bytes_start_ : &buf_[0]; } buf_ 31 net/base/upload_element.h uint64 bytes_length() const { return buf_.size() + bytes_length_; } buf_ 42 net/base/upload_element.h buf_.assign(bytes, bytes + bytes_len); buf_ 73 net/base/upload_element.h std::vector<char> buf_; buf_ 42 net/disk_cache/blockfile/entry_impl.cc : entry_(entry), callback_(callback), buf_(buffer), buf_ 55 net/disk_cache/blockfile/entry_impl.cc scoped_refptr<net::IOBuffer> buf_; buf_ 71 net/disk_cache/blockfile/entry_impl.cc buf_ = NULL; // Release the buffer before invoking the callback. buf_ 80 net/disk_cache/blockfile/entry_impl.cc buf_ = NULL; buf_ 30 net/disk_cache/blockfile/file_ios.cc buf_(buf), buf_len_(buf_len), offset_(offset) { buf_ 55 net/disk_cache/blockfile/file_ios.cc const void* buf_; buf_ 93 net/disk_cache/blockfile/file_ios.cc if (file_->Read(const_cast<void*>(buf_), buf_len_, offset_)) { buf_ 103 net/disk_cache/blockfile/file_ios.cc bool rv = file_->Write(buf_, buf_len_, offset_); buf_ 165 net/disk_cache/blockfile/in_flight_backend_io.cc buf_ = buf; buf_ 175 net/disk_cache/blockfile/in_flight_backend_io.cc buf_ = buf; buf_ 185 net/disk_cache/blockfile/in_flight_backend_io.cc buf_ = buf; buf_ 194 net/disk_cache/blockfile/in_flight_backend_io.cc buf_ = buf; buf_ 294 net/disk_cache/blockfile/in_flight_backend_io.cc entry_->ReadDataImpl(index_, offset_, buf_.get(), buf_len_, buf_ 299 net/disk_cache/blockfile/in_flight_backend_io.cc entry_->WriteDataImpl(index_, offset_, buf_.get(), buf_len_, buf_ 305 net/disk_cache/blockfile/in_flight_backend_io.cc offset64_, buf_.get(), buf_len_, buf_ 310 net/disk_cache/blockfile/in_flight_backend_io.cc offset64_, buf_.get(), buf_len_, buf_ 328 net/disk_cache/blockfile/in_flight_backend_io.cc buf_ = NULL; buf_ 135 net/disk_cache/blockfile/in_flight_backend_io.h scoped_refptr<net::IOBuffer> buf_; buf_ 37 net/disk_cache/simple/simple_entry_operation.cc buf_(other.buf_), buf_ 306 net/disk_cache/simple/simple_entry_operation.cc buf_ = NULL; buf_ 325 net/disk_cache/simple/simple_entry_operation.cc buf_(buf), buf_ 107 net/disk_cache/simple/simple_entry_operation.h net::IOBuffer* buf() { return buf_.get(); } buf_ 130 net/disk_cache/simple/simple_entry_operation.h scoped_refptr<net::IOBuffer> buf_; buf_ 212 net/http/http_cache.cc scoped_refptr<IOBuffer> buf_; buf_ 230 net/http/http_cache.cc buf_ = buf; buf_ 253 net/http/http_cache.cc buf_.get(), buf_ 79 net/proxy/proxy_script_fetcher_impl.cc buf_(new IOBuffer(kBufSize)), buf_ 254 net/proxy/proxy_script_fetcher_impl.cc if (!request->Read(buf_.get(), kBufSize, &num_bytes)) { buf_ 281 net/proxy/proxy_script_fetcher_impl.cc bytes_read_so_far_.append(buf_->data(), num_bytes); buf_ 90 net/proxy/proxy_script_fetcher_impl.h scoped_refptr<IOBuffer> buf_; buf_ 141 net/spdy/spdy_stream_test_util.cc stream()->SendData(buf_.get(), buf_->size(), NO_MORE_DATA_TO_SEND); buf_ 120 net/spdy/spdy_stream_test_util.h scoped_refptr<StringIOBuffer> buf_; buf_ 40 net/test/spawned_test_server/spawner_communicator.cc buf_(new IOBuffer(kBufferSize)), buf_ 56 net/test/spawned_test_server/spawner_communicator.cc IOBuffer* buf() const { return buf_.get(); } buf_ 75 net/test/spawned_test_server/spawner_communicator.cc data_received_->append(buf_->data(), num_bytes); buf_ 84 net/test/spawned_test_server/spawner_communicator.cc scoped_refptr<IOBuffer> buf_; buf_ 189 net/tools/dump_cache/simple_cache_dumper.cc buf_ = new IOBufferWithSize(size); buf_ 190 net/tools/dump_cache/simple_cache_dumper.cc return src_entry_->ReadData(0, 0, buf_.get(), size, io_callback_); buf_ 203 net/tools/dump_cache/simple_cache_dumper.cc dst_entry_, 0, 0, buf_.get(), buf_->size(), io_callback_); buf_ 228 net/tools/dump_cache/simple_cache_dumper.cc buf_ = new IOBufferWithSize(size); buf_ 229 net/tools/dump_cache/simple_cache_dumper.cc return src_entry_->ReadData(1, 0, buf_.get(), size, io_callback_); buf_ 242 net/tools/dump_cache/simple_cache_dumper.cc dst_entry_, 1, 0, buf_.get(), buf_->size(), io_callback_); buf_ 86 net/tools/dump_cache/simple_cache_dumper.h scoped_refptr<IOBufferWithSize> buf_; buf_ 28 net/url_request/url_fetcher_response_writer_unittest.cc buf_ = new StringIOBuffer(kData); buf_ 32 net/url_request/url_fetcher_response_writer_unittest.cc scoped_refptr<StringIOBuffer> buf_; buf_ 41 net/url_request/url_fetcher_response_writer_unittest.cc rv = writer_->Write(buf_.get(), buf_->size(), callback.callback()); buf_ 42 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_EQ(buf_->size(), callback.GetResult(rv)); buf_ 62 net/url_request/url_fetcher_response_writer_unittest.cc buf_ = new StringIOBuffer(kData); buf_ 68 net/url_request/url_fetcher_response_writer_unittest.cc scoped_refptr<StringIOBuffer> buf_; buf_ 77 net/url_request/url_fetcher_response_writer_unittest.cc rv = writer_->Write(buf_.get(), buf_->size(), callback.callback()); buf_ 78 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_EQ(buf_->size(), callback.GetResult(rv)); buf_ 100 net/url_request/url_fetcher_response_writer_unittest.cc rv = writer_->Write(buf_.get(), buf_->size(), callback.callback()); buf_ 101 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_EQ(buf_->size(), callback.GetResult(rv)); buf_ 150 net/url_request/url_fetcher_response_writer_unittest.cc buf_ = new StringIOBuffer(kData); buf_ 154 net/url_request/url_fetcher_response_writer_unittest.cc scoped_refptr<StringIOBuffer> buf_; buf_ 163 net/url_request/url_fetcher_response_writer_unittest.cc rv = writer_->Write(buf_.get(), buf_->size(), callback.callback()); buf_ 164 net/url_request/url_fetcher_response_writer_unittest.cc EXPECT_EQ(buf_->size(), callback.GetResult(rv)); buf_ 265 net/url_request/url_request_test_util.cc if (request->Read(buf_.get(), kBufferSize, &bytes_read)) buf_ 287 net/url_request/url_request_test_util.cc data_received_.append(buf_->data(), bytes_read); buf_ 293 net/url_request/url_request_test_util.cc while (request->Read(buf_.get(), kBufferSize, &bytes_read)) { buf_ 295 net/url_request/url_request_test_util.cc data_received_.append(buf_->data(), bytes_read); buf_ 213 net/url_request/url_request_test_util.h scoped_refptr<IOBuffer> buf_; buf_ 290 net/url_request/view_cache_helper.cc buf_ = new IOBuffer(buf_len_); buf_ 294 net/url_request/view_cache_helper.cc buf_.get(), buf_ 304 net/url_request/view_cache_helper.cc buf_->data(), buf_len_, &response, &truncated) && buf_ 338 net/url_request/view_cache_helper.cc buf_ = new IOBuffer(buf_len_); buf_ 342 net/url_request/view_cache_helper.cc buf_.get(), buf_ 349 net/url_request/view_cache_helper.cc HexDump(buf_->data(), buf_len_, data_); buf_ 106 net/url_request/view_cache_helper.h scoped_refptr<IOBuffer> buf_; buf_ 74 ppapi/examples/url_loader/stream_to_file.cc char buf_[kBufSize]; buf_ 125 ppapi/examples/url_loader/stream_to_file.cc file_io_.Read(0, buf_, kBufSize, buf_ 134 ppapi/examples/url_loader/stream_to_file.cc content_.append(buf_, result); buf_ 135 ppapi/examples/url_loader/stream_to_file.cc ReportResponse(buf_); buf_ 69 ppapi/examples/url_loader/streaming.cc char buf_[kBufSize]; buf_ 118 ppapi/examples/url_loader/streaming.cc result = loader_.ReadResponseBody(buf_, kBufSize, cc); buf_ 124 ppapi/examples/url_loader/streaming.cc content_.append(buf_, result); buf_ 144 ppapi/examples/url_loader/streaming.cc content_.append(buf_, result); buf_ 997 third_party/cld/base/logging.h scoped_array<char> buf_; // buffer space for non FATAL messages buf_ 59 third_party/libwebp/dec/idec.c uint8_t* buf_; // We don't own this buffer in case WebPIUpdate() buf_ 91 third_party/libwebp/dec/idec.c if (br->buf_ != NULL) { buf_ 92 third_party/libwebp/dec/idec.c br->buf_ += offset; buf_ 120 third_party/libwebp/dec/idec.c const uint8_t* const new_base = mem->buf_ + mem->start_; buf_ 142 third_party/libwebp/dec/idec.c dec->parts_[last_part].buf_end_ = mem->buf_ + mem->end_; buf_ 173 third_party/libwebp/dec/idec.c const uint8_t* const old_start = mem->buf_ + mem->start_; buf_ 192 third_party/libwebp/dec/idec.c free(mem->buf_); buf_ 193 third_party/libwebp/dec/idec.c mem->buf_ = new_buf; buf_ 199 third_party/libwebp/dec/idec.c memcpy(mem->buf_ + mem->end_, data, data_size); buf_ 203 third_party/libwebp/dec/idec.c DoRemap(idec, mem->buf_ + mem->start_ - old_start); buf_ 210 third_party/libwebp/dec/idec.c const uint8_t* const old_buf = mem->buf_; buf_ 216 third_party/libwebp/dec/idec.c mem->buf_ = (uint8_t*)data; buf_ 219 third_party/libwebp/dec/idec.c DoRemap(idec, mem->buf_ + mem->start_ - old_start); buf_ 225 third_party/libwebp/dec/idec.c mem->buf_ = NULL; buf_ 234 third_party/libwebp/dec/idec.c free(mem->buf_); buf_ 299 third_party/libwebp/dec/idec.c idec->io_.data = mem->buf_ + mem->start_; buf_ 306 third_party/libwebp/dec/idec.c const uint8_t* data = mem->buf_ + mem->start_; buf_ 343 third_party/libwebp/dec/idec.c const uint8_t* data = idec->mem_.buf_ + idec->mem_.start_; buf_ 369 third_party/libwebp/dec/idec.c const size_t psize = br->buf_end_ - br->buf_; buf_ 381 third_party/libwebp/dec/idec.c memcpy(part0_buf, br->buf_, psize); buf_ 383 third_party/libwebp/dec/idec.c br->buf_ = part0_buf; buf_ 463 third_party/libwebp/dec/idec.c idec->mem_.start_ = token_br->buf_ - idec->mem_.buf_; buf_ 35 third_party/libwebp/demux/demux.c const uint8_t* buf_; buf_ 114 third_party/libwebp/demux/demux.c mem->buf_ = data; buf_ 144 third_party/libwebp/demux/demux.c return mem->buf_ + mem->start_; buf_ 149 third_party/libwebp/demux/demux.c const uint8_t byte = mem->buf_[mem->start_]; buf_ 155 third_party/libwebp/demux/demux.c const uint8_t* const data = mem->buf_ + mem->start_; buf_ 162 third_party/libwebp/demux/demux.c const uint8_t* const data = mem->buf_ + mem->start_; buf_ 169 third_party/libwebp/demux/demux.c const uint8_t* const data = mem->buf_ + mem->start_; buf_ 241 third_party/libwebp/demux/demux.c WebPGetFeatures(mem->buf_ + chunk_start_offset, chunk_size, buf_ 846 third_party/libwebp/demux/demux.c const uint8_t* const mem_buf = dmux->mem_.buf_; buf_ 926 third_party/libwebp/demux/demux.c const uint8_t* const mem_buf = dmux->mem_.buf_; buf_ 938 third_party/libwebp/demux/demux.c const uint8_t* const mem_buf = dmux->mem_.buf_; buf_ 960 third_party/libwebp/demux/demux.c const uint8_t* const mem_buf = dmux->mem_.buf_; buf_ 31 third_party/libwebp/utils/bit_reader.c br->buf_ = start; buf_ 73 third_party/libwebp/utils/bit_reader.c assert(br != NULL && br->buf_ != NULL); buf_ 75 third_party/libwebp/utils/bit_reader.c if (br->buf_ < br->buf_end_) { buf_ 77 third_party/libwebp/utils/bit_reader.c br->value_ |= (bit_t)(*br->buf_++) << ((BITS) - 8 - br->bits_); buf_ 79 third_party/libwebp/utils/bit_reader.c br->value_ = (bit_t)(*br->buf_++) | (br->value_ << 8); buf_ 131 third_party/libwebp/utils/bit_reader.c br->buf_ = start; buf_ 139 third_party/libwebp/utils/bit_reader.c br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (8 * i); buf_ 150 third_party/libwebp/utils/bit_reader.c br->buf_ = buf; buf_ 158 third_party/libwebp/utils/bit_reader.c br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (LBITS - 8); buf_ 172 third_party/libwebp/utils/bit_reader.c br->val_ |= *(const vp8l_val_t*)(br->buf_ + br->pos_) << (LBITS - WBITS); buf_ 122 third_party/libwebp/utils/bit_reader.h const uint8_t* buf_; // next byte to be read buf_ 152 third_party/libwebp/utils/bit_reader.h assert(br != NULL && br->buf_ != NULL); buf_ 154 third_party/libwebp/utils/bit_reader.h if (br->buf_ + sizeof(lbit_t) <= br->buf_end_) { buf_ 157 third_party/libwebp/utils/bit_reader.h const lbit_t in_bits = *(const lbit_t*)br->buf_; buf_ 158 third_party/libwebp/utils/bit_reader.h br->buf_ += (BITS) >> 3; buf_ 295 third_party/libwebp/utils/bit_reader.h const uint8_t* buf_; // input byte buffer buf_ 43 third_party/libwebp/utils/bit_writer.c assert(bw->buf_ != NULL); buf_ 44 third_party/libwebp/utils/bit_writer.c memcpy(new_buf, bw->buf_, bw->pos_); buf_ 46 third_party/libwebp/utils/bit_writer.c free(bw->buf_); buf_ 47 third_party/libwebp/utils/bit_writer.c bw->buf_ = new_buf; buf_ 64 third_party/libwebp/utils/bit_writer.c if (pos > 0) bw->buf_[pos - 1]++; buf_ 68 third_party/libwebp/utils/bit_writer.c for (; bw->run_ > 0; --bw->run_) bw->buf_[pos++] = value; buf_ 70 third_party/libwebp/utils/bit_writer.c bw->buf_[pos++] = bits; buf_ 166 third_party/libwebp/utils/bit_writer.c bw->buf_ = NULL; buf_ 174 third_party/libwebp/utils/bit_writer.c return bw->buf_; buf_ 182 third_party/libwebp/utils/bit_writer.c memcpy(bw->buf_ + bw->pos_, data, size); buf_ 189 third_party/libwebp/utils/bit_writer.c free(bw->buf_); buf_ 218 third_party/libwebp/utils/bit_writer.c memcpy(allocated_buf, bw->buf_, current_size); buf_ 219 third_party/libwebp/utils/bit_writer.c free(bw->buf_); buf_ 220 third_party/libwebp/utils/bit_writer.c bw->buf_ = allocated_buf; buf_ 233 third_party/libwebp/utils/bit_writer.c free(bw->buf_); buf_ 244 third_party/libwebp/utils/bit_writer.c uint8_t* const p = &bw->buf_[bw->bit_pos_ >> 3]; buf_ 252 third_party/libwebp/utils/bit_writer.c uint8_t* p = &bw->buf_[bw->bit_pos_ >> 3]; buf_ 32 third_party/libwebp/utils/bit_writer.h uint8_t* buf_; // internal buffer. Re-allocated regularly. Not owned. buf_ 62 third_party/libwebp/utils/bit_writer.h return bw->buf_; buf_ 76 third_party/libwebp/utils/bit_writer.h uint8_t* buf_; buf_ 92 third_party/libwebp/utils/bit_writer.h return bw->buf_; buf_ 744 third_party/tcmalloc/chromium/src/base/sysinfo.cc ibuf_ = buffer->buf_; buf_ 981 third_party/tcmalloc/chromium/src/base/sysinfo.cc CHECK_LT(snprintf(object_path.buf_, Buffer::kBufSize, buf_ 985 third_party/tcmalloc/chromium/src/base/sysinfo.cc CHECK_LT(snprintf(object_path.buf_, Buffer::kBufSize, buf_ 990 third_party/tcmalloc/chromium/src/base/sysinfo.cc ssize_t len = readlink(object_path.buf_, current_filename_, PATH_MAX); buf_ 1137 third_party/tcmalloc/chromium/src/base/sysinfo.cc int written = it.FormatLine(linebuf.buf_, sizeof(linebuf.buf_), buf_ 1140 third_party/tcmalloc/chromium/src/base/sysinfo.cc RawWrite(fd, linebuf.buf_, written); buf_ 111 third_party/tcmalloc/chromium/src/base/sysinfo.h char buf_[kBufSize]; buf_ 75 third_party/tcmalloc/chromium/src/internal_logging.cc char buf_[kBufSize]; buf_ 81 third_party/tcmalloc/chromium/src/internal_logging.cc state.p_ = state.buf_; buf_ 82 third_party/tcmalloc/chromium/src/internal_logging.cc state.end_ = state.buf_ + sizeof(state.buf_); buf_ 99 third_party/tcmalloc/chromium/src/internal_logging.cc int msglen = state.p_ - state.buf_; buf_ 101 third_party/tcmalloc/chromium/src/internal_logging.cc (*log_message_writer)(state.buf_, msglen); buf_ 114 third_party/tcmalloc/chromium/src/internal_logging.cc (*log_message_writer)(state.buf_, msglen); buf_ 181 third_party/tcmalloc/chromium/src/internal_logging.cc const int r = perftools_vsnprintf(buf_, left_, format, ap); buf_ 191 third_party/tcmalloc/chromium/src/internal_logging.cc buf_ += r; buf_ 136 third_party/tcmalloc/chromium/src/internal_logging.h char* buf_; // Where should we write next buf_ 141 third_party/tcmalloc/chromium/src/internal_logging.h TCMalloc_Printer(char* buf, int length) : buf_(buf), left_(length) { buf_ 157 third_party/tcmalloc/chromium/src/profiledata.cc int written = it.FormatLine(linebuf.buf_, sizeof(linebuf.buf_), buf_ 160 third_party/tcmalloc/chromium/src/profiledata.cc FDWrite(fd, linebuf.buf_, written); buf_ 588 third_party/tcmalloc/vendor/src/base/sysinfo.cc ibuf_ = buffer->buf_; buf_ 823 third_party/tcmalloc/vendor/src/base/sysinfo.cc CHECK_LT(snprintf(object_path.buf_, Buffer::kBufSize, buf_ 827 third_party/tcmalloc/vendor/src/base/sysinfo.cc CHECK_LT(snprintf(object_path.buf_, Buffer::kBufSize, buf_ 832 third_party/tcmalloc/vendor/src/base/sysinfo.cc ssize_t len = readlink(object_path.buf_, current_filename_, PATH_MAX); buf_ 978 third_party/tcmalloc/vendor/src/base/sysinfo.cc int written = it.FormatLine(linebuf.buf_, sizeof(linebuf.buf_), buf_ 981 third_party/tcmalloc/vendor/src/base/sysinfo.cc RawWrite(fd, linebuf.buf_, written); buf_ 111 third_party/tcmalloc/vendor/src/base/sysinfo.h char buf_[kBufSize]; buf_ 74 third_party/tcmalloc/vendor/src/internal_logging.cc char buf_[kBufSize]; buf_ 80 third_party/tcmalloc/vendor/src/internal_logging.cc state.p_ = state.buf_; buf_ 81 third_party/tcmalloc/vendor/src/internal_logging.cc state.end_ = state.buf_ + sizeof(state.buf_); buf_ 98 third_party/tcmalloc/vendor/src/internal_logging.cc int msglen = state.p_ - state.buf_; buf_ 100 third_party/tcmalloc/vendor/src/internal_logging.cc (*log_message_writer)(state.buf_, msglen); buf_ 113 third_party/tcmalloc/vendor/src/internal_logging.cc (*log_message_writer)(state.buf_, msglen); buf_ 180 third_party/tcmalloc/vendor/src/internal_logging.cc const int r = perftools_vsnprintf(buf_, left_, format, ap); buf_ 190 third_party/tcmalloc/vendor/src/internal_logging.cc buf_ += r; buf_ 127 third_party/tcmalloc/vendor/src/internal_logging.h char* buf_; // Where should we write next buf_ 132 third_party/tcmalloc/vendor/src/internal_logging.h TCMalloc_Printer(char* buf, int length) : buf_(buf), left_(length) { buf_ 157 third_party/tcmalloc/vendor/src/profiledata.cc int written = it.FormatLine(linebuf.buf_, sizeof(linebuf.buf_), buf_ 160 third_party/tcmalloc/vendor/src/profiledata.cc FDWrite(fd, linebuf.buf_, written); buf_ 123 tools/cygprofile/cygprofile.cc std::vector<CygLogEntry> buf_; buf_ 223 tools/cygprofile/cygprofile.cc if (buf_.capacity() < kBufMaxSize) buf_ 224 tools/cygprofile/cygprofile.cc buf_.reserve(kBufMaxSize); buf_ 227 tools/cygprofile/cygprofile.cc buf_.push_back(CygLogEntry(time(NULL), timestamp.tv_usec, buf_ 229 tools/cygprofile/cygprofile.cc if (buf_.size() == kBufMaxSize) { buf_ 338 tools/cygprofile/cygprofile.cc for (int i = 0; i != buf_.size(); ++i) { buf_ 339 tools/cygprofile/cygprofile.cc const CygLogEntry& p = buf_[i]; buf_ 345 tools/cygprofile/cygprofile.cc buf_.clear(); buf_ 368 tools/cygprofile/cygprofile.cc if (current_log->buf_.size()) { buf_ 375 tools/cygprofile/cygprofile.cc current_log->buf_.clear(); buf_ 164 tools/traceline/traceline/assembler.h memcpy(buf_, x.buf_, sizeof(buf_)); buf_ 194 tools/traceline/traceline/assembler.h buf_[0] = (buf_[0] & ~0x38) | static_cast<char>(reg << 3); buf_ 197 tools/traceline/traceline/assembler.h char* data() { return buf_; } buf_ 274 tools/traceline/traceline/assembler.h return ((buf_[0] & 0xF8) == 0xC0) // addressing mode is register only. buf_ 275 tools/traceline/traceline/assembler.h && ((buf_[0] & 0x07) == reg); // register codes match. buf_ 280 tools/traceline/traceline/assembler.h buf_[0] = mod << 6 | rm; buf_ 287 tools/traceline/traceline/assembler.h buf_[1] = scale << 6 | index << 3 | base; buf_ 293 tools/traceline/traceline/assembler.h *reinterpret_cast<char*>(&buf_[len_++]) = disp; buf_ 298 tools/traceline/traceline/assembler.h *reinterpret_cast<int*>(&buf_[len_]) = disp; buf_ 305 tools/traceline/traceline/assembler.h char buf_[6]; buf_ 314 tools/traceline/traceline/assembler.h explicit CodeBuffer(char* buf) : pos_(0), buf_(buf) { } buf_ 316 tools/traceline/traceline/assembler.h void* data() { return buf_; } buf_ 320 tools/traceline/traceline/assembler.h buf_[pos_++] = b; buf_ 323 tools/traceline/traceline/assembler.h *reinterpret_cast<unsigned short*>(&buf_[pos_]) = w; buf_ 327 tools/traceline/traceline/assembler.h *reinterpret_cast<unsigned int*>(&buf_[pos_]) = d; buf_ 341 tools/traceline/traceline/assembler.h *reinterpret_cast<unsigned int*>(&buf_[pos]) = d; buf_ 347 tools/traceline/traceline/assembler.h memcpy(&buf_[pos_], operand.data(), operand.length()); buf_ 573 tools/traceline/traceline/assembler.h char* buf_; buf_ 103 tools/traceline/traceline/main.cc memset(buf_, 0, sizeof(buf_)); buf_ 126 tools/traceline/traceline/main.cc buf_, buf_ 127 tools/traceline/traceline/main.cc sizeof(buf_), buf_ 135 tools/traceline/traceline/main.cc buf_, buf_ 136 tools/traceline/traceline/main.cc sizeof(buf_), buf_ 386 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 423 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 465 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 490 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 519 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 565 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 580 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 603 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 637 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 697 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset + 200); buf_ 750 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 768 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset + 40); buf_ 797 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 814 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset + 40); buf_ 844 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 871 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 896 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset + 140); buf_ 967 tools/traceline/traceline/main.cc CodeBuffer cb(buf_ + kStubOffset); buf_ 1067 tools/traceline/traceline/main.cc std::string str(&buf_[pos], kLdrBufSize); buf_ 1093 tools/traceline/traceline/main.cc std::string str(&buf_[pos], kThreadNameBufSize); buf_ 1209 tools/traceline/traceline/main.cc int IntAt(int pos) { return *reinterpret_cast<int*>(&buf_[pos]); } buf_ 1210 tools/traceline/traceline/main.cc __int64 Int64At(int pos) { return *reinterpret_cast<__int64*>(&buf_[pos]); } buf_ 1222 tools/traceline/traceline/main.cc char buf_[kPlaygroundSize]; buf_ 36 webkit/common/data_element.h const char* bytes() const { return bytes_ ? bytes_ : &buf_[0]; } buf_ 49 webkit/common/data_element.h buf_.assign(bytes, bytes + bytes_len); buf_ 50 webkit/common/data_element.h length_ = buf_.size(); buf_ 87 webkit/common/data_element.h std::vector<char> buf_; // For TYPE_BYTES.