/external/chromium_org/net/test/embedded_test_server/ |
http_request.cc | 39 buffer_position_(0), 54 size_t eoln_position = buffer_.find("\r\n", buffer_position_); 56 const int line_length = eoln_position - buffer_position_; 57 std::string result = buffer_.substr(buffer_position_, line_length); 58 buffer_position_ += line_length + 2; 81 if (buffer_.find("\r\n\r\n", buffer_position_) == std::string::npos) 152 const size_t available_bytes = buffer_.size() - buffer_position_; 156 http_request_->content.append(buffer_.data() + buffer_position_, 158 buffer_position_ += fetch_bytes; 177 buffer_position_ = 0 [all...] |
http_request.h | 104 size_t buffer_position_; // Current position in the internal buffer. member in class:net::test_server::HttpRequestParser
|
/external/chromium/chrome/browser/sessions/ |
session_backend.cc | 46 buffer_position_(0), 80 size_t buffer_position_; member in class:__anon4840::SessionFileReader 82 // Number of available bytes; relative to buffer_position_. 130 memcpy(&command_size, &(buffer_[buffer_position_]), sizeof(command_size)); 131 buffer_position_ += sizeof(command_size); 148 const id_type command_id = buffer_[buffer_position_]; 155 &(buffer_[buffer_position_ + sizeof(id_type)]), 158 buffer_position_ += command_size; 164 if (available_count_ > 0 && buffer_position_ > 0) { 166 memmove(&(buffer_[0]), &(buffer_[buffer_position_]), available_count_) [all...] |
/external/chromium_org/chrome/browser/sessions/ |
session_backend.cc | 47 buffer_position_(0), 83 size_t buffer_position_; member in class:__anon8305::SessionFileReader 85 // Number of available bytes; relative to buffer_position_. 134 memcpy(&command_size, &(buffer_[buffer_position_]), sizeof(command_size)); 135 buffer_position_ += sizeof(command_size); 154 const id_type command_id = buffer_[buffer_position_]; 161 &(buffer_[buffer_position_ + sizeof(id_type)]), 164 buffer_position_ += command_size; 170 if (available_count_ > 0 && buffer_position_ > 0) { 172 memmove(&(buffer_[0]), &(buffer_[buffer_position_]), available_count_) [all...] |