/external/chromium_org/net/spdy/ |
spdy_read_queue.cc | 36 size_t bytes_copied = 0; local 37 while (!queue_.empty() && bytes_copied < len) { 40 std::min(len - bytes_copied, buffer->GetRemainingSize()); 41 memcpy(out + bytes_copied, buffer->GetRemainingData(), bytes_to_copy); 42 bytes_copied += bytes_to_copy; 50 total_size_ -= bytes_copied; 51 return bytes_copied;
|
/external/chromium_org/content/browser/loader/ |
certificate_resource_handler.cc | 126 size_t bytes_copied = 0; local 131 DCHECK_LE(bytes_copied + data_len, content_length_); 132 memcpy(resource_buffer_->data() + bytes_copied, data->data(), data_len); 133 bytes_copied += data_len; 135 DCHECK_EQ(content_length_, bytes_copied);
|
/external/chromium_org/media/base/ |
seekable_buffer_unittest.cc | 63 int bytes_copied = buffer_.Peek(write_buffer_, copy_size); local 64 EXPECT_GE(copy_size, bytes_copied); 65 EXPECT_EQ(0, memcmp(write_buffer_, data_ + read_position, bytes_copied));
|
/external/chromium_org/net/base/ |
upload_data_stream.cc | 220 const int bytes_copied = buf->BytesConsumed(); local 221 current_position_ += bytes_copied; 224 if (is_chunked_ && !IsEOF() && bytes_copied == 0) { 237 DCHECK(bytes_copied != 0 || IsEOF()); 238 return bytes_copied;
|
/external/bluetooth/bluedroid/stack/hid/ |
hidh_conn.c | 878 UINT16 bytes_copied; local 935 bytes_copied = 0; [all...] |
/external/lldb/source/Core/ |
RegisterValue.cpp | 147 const uint32_t bytes_copied = reg_data.CopyByteOrderedData (0, // src offset local 152 if (bytes_copied == 0) 155 return bytes_copied; 223 const uint32_t bytes_copied = src_data.CopyByteOrderedData (0, // src offset local 228 if (bytes_copied == 0) 231 return bytes_copied; [all...] |
Scalar.cpp | 2041 const size_t bytes_copied = data.CopyByteOrderedData (0, \/\/ src offset local [all...] |
/external/lldb/source/Target/ |
RegisterContext.cpp | 388 const uint32_t bytes_copied = reg_value.GetAsMemoryData (reg_info, local 396 if (bytes_copied == 0) 402 const uint32_t bytes_written = process_sp->WriteMemory (dst_addr, dst, bytes_copied, error); 403 if (bytes_written != bytes_copied) 408 error.SetErrorStringWithFormat("only wrote %u of %u bytes", bytes_written, bytes_copied);
|
/external/lldb/source/Plugins/Process/elf-core/ |
ProcessElfCore.cpp | 293 size_t bytes_copied = 0; // Number of bytes actually read from the core file local 308 bytes_copied = core_objfile->CopyData(offset + file_start, bytes_to_read, buf); 313 memset(((char *)buf) + bytes_copied, 0, zero_fill_size); 315 return bytes_copied + zero_fill_size;
|
/external/lldb/source/Plugins/Process/gdb-remote/ |
GDBRemoteRegisterContext.cpp | 133 const size_t bytes_copied = response.GetHexBytes (const_cast<uint8_t*>(m_reg_data.PeekData(reg_info->byte_offset, reg_byte_size)), reg_byte_size, '\xcc'); local 134 bool success = bytes_copied == reg_byte_size; 139 else if (bytes_copied > 0) [all...] |