Searched defs:bytes (Results 476 - 500 of 1230) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/content/child/fileapi/
H A Dwebfilewriter_impl.cc86 void DidWrite(int64 bytes, bool complete) { argument
87 written_bytes_ += bytes;
/external/chromium_org/content/child/npapi/
H A Dplugin_stream.cc66 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 Dgpu_memory_manager.cc93 uint64 bytes = 0; local
94 if (client_state->client_->GetTotalGpuMemory(&bytes)) {
95 if (!bytes_min || bytes < bytes_min)
96 bytes_min = bytes;
H A Dgpu_memory_manager_unittest.cc128 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 Dplugin_geturl_test.cc290 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 Dbluetooth_remote_gatt_characteristic_chromeos.cc24 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 Dsocket_stream_unittest.cc41 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 Dcast_transport_config.h76 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 Dbox_reader.cc60 bool BufferReader::SkipBytes(int bytes) { argument
61 RCHECK(HasBytes(bytes));
62 pos_ += bytes;
/external/chromium_org/mojo/public/cpp/bindings/tests/
H A Dsample_service_unittest.cc239 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 DEncoder.java95 * 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 DInvalidHandle.java206 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 Dsystem_thunks.cc49 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 Dentrypoints.cc75 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 Dmessage_in_transit.cc91 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 Dmessage_in_transit.h32 // |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 Dmessage_pipe_dispatcher.cc185 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 Dcrl_set_storage.cc19 // 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 Dfile_ios.cc140 int bytes = operation->result(); local
144 callback->OnFileIOComplete(bytes);
/external/chromium_org/net/disk_cache/memory/
H A Dmem_backend_impl.cc332 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 Dproxy_script_fetcher_impl.cc28 // 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 Dpacing_sender.cc52 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 Dtcp_cubic_sender.cc75 // 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 Dquic_received_packet_manager.cc148 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 Dstream_listen_socket.cc77 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);

Completed in 646 milliseconds

<<11121314151617181920>>