Home
last modified time | relevance | path

Searched refs:StartOfBuffer (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/net/server/
Dhttp_connection_unittest.cc60 base::StringPiece(buffer->StartOfBuffer(), buffer->GetSize())); in TEST()
70 base::StringPiece(buffer->StartOfBuffer(), buffer->GetSize())); in TEST()
128 base::StringPiece(buffer->StartOfBuffer(), buffer->GetSize())); in TEST()
143 base::StringPiece(buffer->StartOfBuffer(), buffer->GetSize())); in TEST()
149 const char* start_of_buffer = buffer->StartOfBuffer(); in TEST()
165 EXPECT_EQ(start_of_buffer, buffer->StartOfBuffer()); in TEST()
169 EXPECT_EQ(kReadData, std::string(buffer->StartOfBuffer(), buffer->GetSize())); in TEST()
187 start_of_buffer = buffer->StartOfBuffer(); in TEST()
192 std::string(buffer->StartOfBuffer(), buffer->GetSize())); in TEST()
209 EXPECT_EQ(start_of_buffer, buffer->StartOfBuffer()); in TEST()
[all …]
Dhttp_connection.cc48 char* HttpConnection::ReadIOBuffer::StartOfBuffer() const { in StartOfBuffer() function in net::HttpConnection::ReadIOBuffer
49 return base_->StartOfBuffer(); in StartOfBuffer()
72 memmove(StartOfBuffer(), StartOfBuffer() + bytes, unconsumed_size); in DidConsume()
Dweb_socket.cc92 if (read_buf->StartOfBuffer()[0]) in Read()
95 base::StringPiece data(read_buf->StartOfBuffer(), read_buf->GetSize()); in Read()
143 key3_.assign(connection->read_buf()->StartOfBuffer() + *pos, in WebSocketHixie76()
222 base::StringPiece frame(read_buf->StartOfBuffer(), read_buf->GetSize()); in Read()
Dhttp_connection.h44 char* StartOfBuffer() const;
Dhttp_server.cc222 if (!ParseHeaders(read_buf->StartOfBuffer(), read_buf->GetSize(), in HandleReadResult()
260 request.data.assign(read_buf->StartOfBuffer() + pos, content_length); in HandleReadResult()
/external/chromium_org/net/http/
Dhttp_stream_parser.cc619 read_buf_->StartOfBuffer() + read_buf_unused_offset_, in DoReadBody()
723 memcpy(read_buf_->StartOfBuffer(), user_read_buf_->data() + result, in DoReadBodyComplete()
729 read_buf_->StartOfBuffer() + read_buf_unused_offset_, in DoReadBodyComplete()
822 memmove(read_buf_->StartOfBuffer(), in HandleReadHeaderResult()
823 read_buf_->StartOfBuffer() + end_of_header_offset, in HandleReadHeaderResult()
857 read_buf_->StartOfBuffer(), read_buf_->offset()); in ParseResponseHeaders()
861 end_offset = HttpUtil::LocateEndOfHeaders(read_buf_->StartOfBuffer(), in ParseResponseHeaders()
886 read_buf_->StartOfBuffer(), end_offset)); in DoParseResponseHeaders()
Dhttp_stream_parser_unittest.cc488 base::StringPiece(read_buffer->StartOfBuffer(), in TEST()
508 memcpy(read_buffer_->StartOfBuffer() + offset, data.data(), size); in AddInitialData()
/external/clang/lib/CodeGen/
DCGCleanup.cpp97 if (!StartOfBuffer) { in allocate()
100 StartOfBuffer = new char[Capacity]; in allocate()
101 StartOfData = EndOfBuffer = StartOfBuffer + Capacity; in allocate()
102 } else if (static_cast<size_t>(StartOfData - StartOfBuffer) < Size) { in allocate()
103 unsigned CurrentCapacity = EndOfBuffer - StartOfBuffer; in allocate()
104 unsigned UsedCapacity = CurrentCapacity - (StartOfData - StartOfBuffer); in allocate()
115 delete [] StartOfBuffer; in allocate()
116 StartOfBuffer = NewStartOfBuffer; in allocate()
121 assert(StartOfBuffer + Size <= StartOfData); in allocate()
DEHScopeStack.h266 char *StartOfBuffer;
304 EHScopeStack() : StartOfBuffer(nullptr), EndOfBuffer(nullptr),
307 ~EHScopeStack() { delete[] StartOfBuffer; }
/external/chromium_org/extensions/browser/api/cast_channel/
Dcast_framer.cc133 MessageHeader::Deserialize(input_buffer_.get()->StartOfBuffer(), in Ingest()
149 input_buffer_->StartOfBuffer() + MessageHeader::header_size(), in Ingest()
Dcast_framer_unittest.cc35 memcpy(buffer_->StartOfBuffer(), data.data(), data.size()); in WriteToBuffer()
/external/chromium_org/remoting/protocol/
Dssl_hmac_channel_authenticator.cc250 auth_read_buf_->StartOfBuffer(), in HandleAuthBytesRead()
251 auth_read_buf_->StartOfBuffer() + kAuthDigestLength))) { in HandleAuthBytesRead()
Dconnection_tester.cc50 input_buffer_->StartOfBuffer(), test_data_size_)); in CheckResults()
/external/chromium_org/content/browser/devtools/
Dtethering_handler.cc80 memcpy(wire_buffer_->StartOfBuffer() + old_size, data, len); in DidRead()
134 memcpy(wire_buffer_->StartOfBuffer(), wire_buffer_->data(), in OnClientWrite()
/external/chromium_org/net/base/
Dio_buffer.h202 char* StartOfBuffer();
Dio_buffer.cc122 char* GrowableIOBuffer::StartOfBuffer() { in StartOfBuffer() function in net::GrowableIOBuffer
/external/chromium_org/net/tools/quic/
Dquic_spdy_client_stream.cc100 char* data = read_buf_->StartOfBuffer(); in ParseResponseHeaders()
Dquic_spdy_server_stream.cc71 char* data = read_buf_->StartOfBuffer(); in ParseRequestHeaders()
/external/chromium_org/net/quic/
Dquic_spdy_server_stream.cc84 const char* data = read_buf_->StartOfBuffer(); in ParseRequestHeaders()
/external/chromium_org/net/websockets/
Dwebsocket_basic_stream.cc102 if (!parser_.Decode(buffered_data->StartOfBuffer(), in ReadFrames()
339 incomplete_control_frame_body_->StartOfBuffer(), in ConvertChunkToFrame()
/external/chromium_org/chrome/browser/devtools/device/adb/
Dmock_adb_server.cc251 memmove(output_buffer_->StartOfBuffer(), in Send()
293 char* data = input_buffer_->StartOfBuffer(); in OnDataRead()
/external/chromium_org/components/cronet/android/
Durl_request_adapter.cc296 return reinterpret_cast<unsigned char*>(read_buffer_->StartOfBuffer()); in Data()
/external/chromium_org/content/browser/loader/
Dredirect_to_file_resource_handler.cc340 buf_.get(), buf_->StartOfBuffer() + write_cursor_); in WriteMore()
/external/chromium_org/content/browser/streams/
Dstream_unittest.cc74 memcpy(buffer_->StartOfBuffer() + old_capacity, in Read()
/external/chromium_org/jingle/glue/
Dpseudotcp_adapter_unittest.cc193 input_buffer_->StartOfBuffer(), kTestDataSize)); in CheckResults()

12