Searched defs:pending_data (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/media/audio/
H A Daudio_device_thread.cc167 int pending_data = 0; local
168 size_t bytes_read = socket_.Receive(&pending_data, sizeof(pending_data));
169 if (bytes_read != sizeof(pending_data))
175 callback_->Process(pending_data);
H A Daudio_output_device.cc31 virtual void Process(int pending_data) OVERRIDE;
288 void AudioOutputDevice::AudioThreadCallback::Process(int pending_data) { argument
289 // Negative |pending_data| indicates the browser side stream has stopped.
290 if (pending_data < 0)
294 int audio_delay_milliseconds = pending_data / bytes_per_ms_;
/external/chromium_org/ppapi/shared_impl/
H A Dppb_audio_shared.cc207 int pending_data = 0; local
208 while (sizeof(pending_data) ==
209 socket_->Receive(&pending_data, sizeof(pending_data))) {
213 if (pending_data < 0)
219 static_cast<double>(pending_data) / bytes_per_second_;
/external/chromium_org/chrome/browser/chromeos/drive/
H A Ddrive_file_stream_reader.cc62 // Copies the content in |pending_data| into |buffer| at most
64 // |pending_data|. Returns the number of copied bytes.
65 int ReadInternal(ScopedVector<std::string>* pending_data, argument
69 for (; index < pending_data->size() && offset < buffer_length; ++index) {
70 const std::string& chunk = *(*pending_data)[index];
81 (*pending_data)[index]->erase(0, bytes_to_read);
87 pending_data->erase(pending_data->begin(), pending_data->begin() + index);
/external/chromium_org/ppapi/proxy/
H A Daudio_input_resource.cc255 int pending_data = 0; local
256 size_t bytes_read = socket_->Receive(&pending_data, sizeof(pending_data));
257 if (bytes_read != sizeof(pending_data)) {
261 if (pending_data < 0)
276 static_cast<double>(pending_data) / bytes_per_second_;
/external/qemu/android/
H A Dadb-server.c68 uint8_t* pending_data; member in struct:AdbHost
139 if (adb_host->pending_data != NULL) {
140 free(adb_host->pending_data);
247 if (adb_host->pending_data == NULL) {
248 adb_host->pending_data = malloc(size);
250 adb_host->pending_data = realloc(adb_host->pending_data,
253 if (adb_host->pending_data != NULL) {
254 memcpy(adb_host->pending_data + adb_host->pending_data_size,
499 if (adb_host->pending_data !
[all...]
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_int.h143 } pending_data; member in struct:__anon1270
/external/chromium_org/net/quic/
H A Dreliable_quic_stream.cc310 PendingData* pending_data = &queued_data_.front(); local
311 ProxyAckNotifierDelegate* delegate = pending_data->delegate.get();
315 struct iovec iov(MakeIovec(pending_data->data));
317 if (consumed_data.bytes_consumed == pending_data->data.size() &&
325 pending_data->data.erase(0, consumed_data.bytes_consumed);

Completed in 253 milliseconds