/external/chromium_org/content/child/fileapi/ |
H A D | webfilewriter_impl.cc | 86 void DidWrite(int64 bytes, bool complete) { argument 87 written_bytes_ += bytes;
|
/external/chromium_org/content/child/npapi/ |
H A D | plugin_stream.cc | 66 if (headers_lc.find("accept-ranges: bytes") != std::string::npos) { 115 // bytes as returned by the WriteReady call. So, we will attempt to 116 // write that many to both streams. If we can't write that many bytes 132 size_t totalBytesWritten = 0, bytes; local 134 bytes = WriteBytes(buf, length); 135 totalBytesWritten += bytes; 136 } while (bytes > 0U && totalBytesWritten < length);
|
/external/chromium_org/content/common/gpu/ |
H A D | gpu_memory_manager.cc | 93 uint64 bytes = 0; local 94 if (client_state->client_->GetTotalGpuMemory(&bytes)) { 95 if (!bytes_min || bytes < bytes_min) 96 bytes_min = bytes;
|
H A D | gpu_memory_manager_unittest.cc | 128 virtual bool GetTotalGpuMemory(uint64* bytes) OVERRIDE { 130 *bytes = total_gpu_memory_; 135 void SetTotalGpuMemory(uint64 bytes) { total_gpu_memory_ = bytes; } argument
|
/external/chromium_org/content/test/plugin/ |
H A D | plugin_geturl_test.cc | 290 int32 bytes = local 293 // bytes. But this is not likely. 294 if (bytes != len) 356 size_t bytes = fread(read_buffer, 1, sizeof(read_buffer), test_file_); local 357 if (bytes != 0)
|
/external/chromium_org/device/bluetooth/ |
H A D | bluetooth_remote_gatt_characteristic_chromeos.cc | 24 std::ostream& operator<<(std::ostream& out, const std::vector<uint8> bytes) { argument 26 for (std::vector<uint8>::const_iterator iter = bytes.begin(); 27 iter != bytes.end(); ++iter) {
|
/external/chromium_org/google_apis/gcm/base/ |
H A D | socket_stream_unittest.cc | 41 base::StringPiece DoInputStreamRead(int bytes); 104 base::StringPiece GCMSocketStreamTest::DoInputStreamRead(int bytes) { argument 122 } while (total_bytes_read < bytes); 124 if (total_bytes_read > bytes) { 125 socket_input_stream_->BackUp(total_bytes_read - bytes); 126 total_bytes_read = bytes; 139 int bytes = write_src.size(); local 144 int bytes_to_write = (size < bytes ? size : bytes); 151 } while (total_bytes_written < bytes); [all...] |
/external/chromium_org/media/cast/net/ |
H A D | cast_transport_config.h | 76 const uint8* bytes() const { function in struct:media::cast::EncodedFrame 139 // Returns the number of bytes ever sent.
|
/external/chromium_org/media/formats/mp4/ |
H A D | box_reader.cc | 60 bool BufferReader::SkipBytes(int bytes) { argument 61 RCHECK(HasBytes(bytes)); 62 pos_ += bytes;
|
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
H A D | sample_service_unittest.cc | 239 void DumpHex(const uint8_t* bytes, uint32_t num_bytes) { argument 242 uint32_t(bytes[i]);
|
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
H A D | Encoder.java | 95 * Default initial size of the data buffer. This must be a multiple of 8 bytes. 310 byte[] bytes = new byte[(v.length + 7) / BindingsHelper.ALIGNMENT]; 311 for (int i = 0; i < bytes.length; ++i) { 315 bytes[i] |= (1 << j); 319 encodeByteArray(bytes, v.length, offset); 323 * Encodes an array of bytes. 484 private void encodeByteArray(byte[] bytes, int length, int offset) { argument 485 encoderForArrayByTotalSize(bytes.length, length, offset).append(bytes);
|
/external/chromium_org/mojo/public/java/system/src/org/chromium/mojo/system/ |
H A D | InvalidHandle.java | 206 public void writeMessage(ByteBuffer bytes, List<? extends Handle> handles, WriteFlags flags) { argument 214 public ReadMessageResult readMessage(ByteBuffer bytes, int maxNumberOfHandles, argument
|
/external/chromium_org/mojo/public/platform/native/ |
H A D | system_thunks.cc | 49 const void* bytes, 55 return g_thunks.WriteMessage(message_pipe_handle, bytes, num_bytes, handles, 60 void* bytes, 66 return g_thunks.ReadMessage(message_pipe_handle, bytes, num_bytes, handles, 48 MojoWriteMessage(MojoHandle message_pipe_handle, const void* bytes, uint32_t num_bytes, const MojoHandle* handles, uint32_t num_handles, MojoWriteMessageFlags flags) argument 59 MojoReadMessage(MojoHandle message_pipe_handle, void* bytes, uint32_t* num_bytes, MojoHandle* handles, uint32_t* num_handles, MojoReadMessageFlags flags) argument
|
/external/chromium_org/mojo/system/ |
H A D | entrypoints.cc | 75 const void* bytes, 81 MakeUserPointer(bytes), 89 void* bytes, 95 MakeUserPointer(bytes), 74 MojoWriteMessage(MojoHandle message_pipe_handle, const void* bytes, uint32_t num_bytes, const MojoHandle* handles, uint32_t num_handles, MojoWriteMessageFlags flags) argument 88 MojoReadMessage(MojoHandle message_pipe_handle, void* bytes, uint32_t* num_bytes, MojoHandle* handles, uint32_t* num_handles, MojoReadMessageFlags flags) argument
|
H A D | message_in_transit.cc | 91 const void* bytes) 96 if (bytes) { 97 memcpy(MessageInTransit::bytes(), bytes, num_bytes); local 98 memset(static_cast<char*>(MessageInTransit::bytes()) + num_bytes, 102 memset(MessageInTransit::bytes(), 0, main_buffer_size_ - sizeof(Header)); 109 UserPointer<const void> bytes) 114 bytes.GetArray(MessageInTransit::bytes(), num_bytes); 88 MessageInTransit(Type type, Subtype subtype, uint32_t num_bytes, const void* bytes) argument 106 MessageInTransit(Type type, Subtype subtype, uint32_t num_bytes, UserPointer<const void> bytes) argument
|
H A D | message_in_transit.h | 32 // |kMessageAlignment|-byte aligned and a multiple of |kMessageAlignment| bytes 37 // (accessed by |bytes()| and of size |num_bytes()|, and also 39 // main buffer a multiple of |kMessageAlignment| bytes in size. 116 const void* bytes() const { function in class:mojo::system::MessageInTransit::View 135 // |bytes| is optional; if null, the message data will be zero-initialized. 139 const void* bytes); 140 // |bytes| should be valid (and non-null), unless |num_bytes| is zero. 144 UserPointer<const void> bytes); 151 // bytes currently available, returning true and setting |*next_message_size| 177 // Gets the main buffer and its size (in number of bytes), respectivel 192 const void* bytes() const { return main_buffer_.get() + sizeof(Header); } function in class:mojo::system::MessageInTransit 193 void* bytes() { return main_buffer_.get() + sizeof(Header); } function in class:mojo::system::MessageInTransit [all...] |
H A D | message_pipe_dispatcher.cc | 185 UserPointer<const void> bytes, 198 port_, bytes, num_bytes, transports, flags); 202 UserPointer<void> bytes, 209 port_, bytes, num_bytes, dispatchers, num_dispatchers, flags); 184 WriteMessageImplNoLock( UserPointer<const void> bytes, uint32_t num_bytes, std::vector<DispatcherTransport>* transports, MojoWriteMessageFlags flags) argument 201 ReadMessageImplNoLock( UserPointer<void> bytes, UserPointer<uint32_t> num_bytes, DispatcherVector* dispatchers, uint32_t* num_dispatchers, MojoReadMessageFlags flags) argument
|
/external/chromium_org/net/cert/ |
H A D | crl_set_storage.cc | 19 // bytes at |out| and must be exactly equal to the size of the decompressed 458 bool CRLSetStorage::GetIsDeltaUpdate(const base::StringPiece& bytes, argument 460 base::StringPiece data(bytes);
|
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | file_ios.cc | 140 int bytes = operation->result(); local 144 callback->OnFileIOComplete(bytes);
|
/external/chromium_org/net/disk_cache/memory/ |
H A D | mem_backend_impl.cc | 332 void MemBackendImpl::AddStorageSize(int32 bytes) { argument 333 current_size_ += bytes; 340 void MemBackendImpl::SubstractStorageSize(int32 bytes) { argument 341 current_size_ -= bytes;
|
/external/chromium_org/net/proxy/ |
H A D | proxy_script_fetcher_impl.cc | 28 // The maximum size (in bytes) allowed for a PAC script. Responses exceeding 49 // Converts |bytes| (which is encoded by |charset|) to UTF16, saving the resul 53 const std::string& bytes, 67 ConvertToUTF16WithSubstitutions(bytes, codepage, utf16); 248 // Read as many bytes as are available synchronously. 289 // On error, the caller expects empty string for bytes. 52 ConvertResponseToUTF16(const std::string& charset, const std::string& bytes, base::string16* utf16) argument
|
/external/chromium_org/net/quic/congestion_control/ |
H A D | pacing_sender.cc | 52 QuicByteCount bytes, 57 bytes, has_retransmittable_data); 74 BandwidthEstimate().Scale(kPacingAggression).TransferTime(bytes); 48 OnPacketSent( QuicTime sent_time, QuicByteCount bytes_in_flight, QuicPacketSequenceNumber sequence_number, QuicByteCount bytes, HasRetransmittableData has_retransmittable_data) argument
|
H A D | tcp_cubic_sender.cc | 75 // Set the initial socket receive buffer size in bytes. 165 QuicByteCount bytes, 172 prr_out_ += bytes; 197 // What's the current send window in bytes. 162 OnPacketSent(QuicTime , QuicByteCount , QuicPacketSequenceNumber sequence_number, QuicByteCount bytes, HasRetransmittableData is_retransmittable) argument
|
/external/chromium_org/net/quic/ |
H A D | quic_received_packet_manager.cc | 148 QuicByteCount bytes, 183 bytes, sequence_number, receipt_time); 147 RecordPacketReceived( QuicByteCount bytes, const QuicPacketHeader& header, QuicTime receipt_time) argument
|
/external/chromium_org/net/socket/ |
H A D | stream_listen_socket.cc | 77 void StreamListenSocket::Send(const char* bytes, int len, argument 79 SendInternal(bytes, len); 129 void StreamListenSocket::SendInternal(const char* bytes, int len) { argument 130 char* send_buf = const_cast<char *>(bytes);
|