/external/chromium/net/tools/flip_server/ |
D | simple_buffer.cc | 120 int read_size = 0; in Read() local 121 GetReadablePtr(&read_ptr, &read_size); in Read() 122 if (read_size > size) { in Read() 123 read_size = size; in Read() 125 memcpy(bytes, read_ptr, read_size); in Read() 126 AdvanceReadablePtr(read_size); in Read() 127 return read_size; in Read() 144 int read_size = 0; in Reserve() local 145 GetReadablePtr(&read_ptr, &read_size); in Reserve() 147 if (read_size + size <= BufferSize()) { in Reserve() [all …]
|
D | ring_buffer.cc | 192 int read_size = 0; in Reserve() local 193 GetReadablePtr(&read_ptr, &read_size); in Reserve() 201 DCHECK(read_size == ReadableBytes()); in Reserve() 204 memmove(buffer_.get(), read_ptr, read_size); in Reserve() 206 write_idx_ = read_size; in Reserve()
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
D | test_memorizingfile.py | 55 def check_with_size(self, memorizing_file, read_size, expected_list): argument 59 line = memorizing_file.readline(read_size) 61 self.assertTrue(line_length <= read_size)
|
/external/qemu/ |
D | tap-win32.c | 86 unsigned long read_size; member 486 unsigned long read_size; in tap_win32_thread_entry() local 496 &read_size, in tap_win32_thread_entry() 503 &read_size, FALSE); in tap_win32_thread_entry() 527 if(read_size > 0) { in tap_win32_thread_entry() 528 buffer->read_size = read_size; in tap_win32_thread_entry() 547 size = (int)buffer->read_size; in tap_win32_read()
|
/external/qemu/android/protocol/ |
D | core-connection.c | 230 ssize_t read_size; in core_connection_read() local 238 read_size = in core_connection_read() 241 if (read_size <= 0) { in core_connection_read() 247 *read_bytes = read_size; in core_connection_read()
|
/external/chromium/net/tools/dump_cache/ |
D | upgrade.cc | 477 int read_size = std::min(bytes_remaining_, kBufferSize); in SendReadData() local 478 DEBUGMSG("Master SendReadData (%d): %d bytes at %d\n", stream_, read_size, in SendReadData() 491 msg.arg2 = read_size; in SendReadData() 504 int read_size = input_->msg.buffer_bytes; in DoReadData() local 505 if (!read_size) { in DoReadData() 513 int rv = writer_->WriteEntry(entry_, stream_, offset_, buf, read_size, in DoReadData() 517 read_size_ = read_size; in DoReadData() 524 offset_ += read_size; in DoReadData() 525 bytes_remaining_ -= read_size; in DoReadData()
|
/external/chromium/webkit/glue/media/ |
D | buffered_data_source_unittest.cc | 75 MOCK_METHOD4(Read, void(int64 position, int read_size, uint8* buffer, 239 void ReadDataSourceHit(int64 position, int size, int read_size) { in ReadDataSourceHit() argument 245 .WillOnce(DoAll(Assign(&error_, read_size), in ReadDataSourceHit() 250 EXPECT_CALL(*this, ReadCallback(read_size)); in ReadDataSourceHit() 259 memcmp(buffer_, data_ + static_cast<int>(position), read_size)); in ReadDataSourceHit()
|
D | buffered_data_source.h | 75 void ReadTask(int64 position, int read_size, uint8* read_buffer);
|
D | buffered_resource_loader.h | 90 virtual void Read(int64 position, int read_size,
|
D | buffered_resource_loader.cc | 150 int read_size, in Read() argument 161 read_size_ = read_size; in Read()
|
D | buffered_data_source.cc | 254 int read_size, in ReadTask() argument 267 read_size_ = read_size; in ReadTask()
|
/external/linux-tools-perf/util/ |
D | trace-event-parse.c | 1903 unsigned long long read_size(void *ptr, int size) in read_size() function 1929 return read_size(data + field->offset, field->size); in raw_field_value() 1985 return read_size(data + *offset, *size); in __parse_common() 2077 val = read_size(data + arg->field.field->offset, in eval_num_arg() 2104 val = read_size(data + larg->field.field->offset + in eval_num_arg() 2323 ip = read_size(data + ip_field->offset, ip_field->size); in make_bprint_args() 2376 val = read_size(bptr, ls); in make_bprint_args() 2434 addr = read_size(data + field->offset, field->size); in get_bprint_format() 2676 val = read_size(next->data + field->offset, field->size); in get_return_for_leaf() 2751 rettime = read_size(ret_rec->data + field->offset, field->size); in print_graph_entry_leaf() [all …]
|
D | trace-event.h | 263 unsigned long long read_size(void *ptr, int size);
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_media_task.c | 1918 UINT32 read_size; in btif_media_aa_read_feeding() local 1992 read_size = src_samples; in btif_media_aa_read_feeding() 1993 read_size *= btif_media_cb.media_feeding.cfg.pcm.num_channel; in btif_media_aa_read_feeding() 1994 read_size *= (btif_media_cb.media_feeding.cfg.pcm.bit_per_sample / 8); in btif_media_aa_read_feeding() 1997 nb_byte_read = UIPC_Read(channel_id, &event, (UINT8 *)read_buffer, read_size); in btif_media_aa_read_feeding() 2001 if (nb_byte_read < read_size) in btif_media_aa_read_feeding() 2004 nb_byte_read, read_size); in btif_media_aa_read_feeding() 2012 memset(((UINT8 *)read_buffer) + nb_byte_read, 0, read_size - nb_byte_read); in btif_media_aa_read_feeding() 2013 nb_byte_read = read_size; in btif_media_aa_read_feeding() 2032 read_size, src_size_used, dst_size_used); in btif_media_aa_read_feeding()
|
D | btif_storage.c | 1488 int read_size=value_size, read_type=BTIF_CFG_TYPE_BIN; in btif_storage_read_hl_apps_cb() local 1506 value, &read_size, &read_type)) in btif_storage_read_hl_apps_cb() 1512 if ((read_size != value_size) || (read_type != BTIF_CFG_TYPE_BIN) ) in btif_storage_read_hl_apps_cb() 1515 __FUNCTION__, value_size, read_size, read_type); in btif_storage_read_hl_apps_cb()
|
/external/qemu/audio/ |
D | winaudio.c | 351 int read_size; member 499 s->read_size = samples_size; in winaudio_in_init() 531 int wav_bytes = (s->read_size - s->read_pos); in winaudio_in_run() 544 __FUNCTION__, s->read_index, s->read_pos, s->read_size, wav_samples, wav_bytes, live, in winaudio_in_run() 556 if (s->read_pos == s->read_size) { in winaudio_in_run()
|
/external/qemu/hw/ |
D | goldfish_nand.c | 669 ssize_t read_size; in nand_add_dev() local 839 read_size = do_read(initfd, dev->data, dev->erase_size); in nand_add_dev() 840 if(read_size < 0) { in nand_add_dev() 844 if(do_write(rwfd, dev->data, read_size) != read_size) { in nand_add_dev() 848 } while(read_size == dev->erase_size); in nand_add_dev()
|
/external/libnfc-nxp/src/ |
D | phDnldNfc.c | 1280 uint16_t read_size = 0 ; in phDnldNfc_Read() local 1288 read_size = (uint16_t) p_sec_info->p_sec_hdr->section_length; in phDnldNfc_Read() 1289 DNLD_DEBUG(" FW_DNLD: Section Read = %X \n", read_size); in phDnldNfc_Read() 1297 read_size = (uint16_t)(psDnldContext->prev_dnld_size ); in phDnldNfc_Read() 1298 DNLD_DEBUG(" FW_DNLD: Section Read = %X \n", read_size); in phDnldNfc_Read() 1305 DNLD_DEBUG(" FW_DNLD: Already Read, Read Ignored, read_size = %X \n", read_size); in phDnldNfc_Read() 1312 DNLD_DEBUG(" FW_DNLD: No Read Required, Read_size = %X \n", read_size); in phDnldNfc_Read() 1316 if (read_size != 0) in phDnldNfc_Read() 1319 read_size = (uint16_t)((PHDNLD_DATA_SIZE >= read_size)? in phDnldNfc_Read() 1320 read_size: PHDNLD_DATA_SIZE); in phDnldNfc_Read() [all …]
|
/external/srec/srec/Recognizer/src/ |
D | RecognizerResultImpl.c | 78 *size = impl->recogImpl->waveformBuffer->read_size; in SR_RecognizerResult_GetWaveform() 87 *size = impl->recogImpl->waveformBuffer->read_size; in SR_RecognizerResult_GetWaveform()
|
D | RecognizerImpl.c | 3784 if (waveformBuffer->read_size != 0 && *num_bytes > waveformBuffer->read_size) in WaveformBuffer_Read() 3786 …veform buffer too small for read, increase from %d to %d"), *num_bytes, waveformBuffer->read_size); in WaveformBuffer_Read() 3790 if (waveformBuffer->read_size == 0) in WaveformBuffer_Read() 3793 bytes_to_read = MIN(waveformBuffer->read_size, *num_bytes); in WaveformBuffer_Read() 3794 waveformBuffer->read_size -= bytes_to_read; in WaveformBuffer_Read() 3930 …waveformBuffer->read_size = (eos_frame - bos_frame) * bytes_per_frame * 2 /* times 2 because of sk… in WaveformBuffer_ParseEndPointedResultAndTrim() 3933 if (read_start_offset + waveformBuffer->read_size > bufferSize) in WaveformBuffer_ParseEndPointedResultAndTrim() 3935 waveformBuffer->overflow_count += read_start_offset + waveformBuffer->read_size - bufferSize; in WaveformBuffer_ParseEndPointedResultAndTrim() 3943 …os@%d, therefore sizeof(waveform) should be %d"), bos_frame, eos_frame, waveformBuffer->read_size); in WaveformBuffer_ParseEndPointedResultAndTrim() 3955 waveformBuffer->read_size = 0; in WaveformBuffer_Reset()
|
/external/kernel-headers/original/linux/ |
D | binder.h | 73 signed long read_size; /* bytes to read */ member
|
/external/elfutils/libdwfl/ |
D | dwfl_segment_report_module.c | 593 size_t read_size = size; in dwfl_segment_report_module() local 595 &into, &read_size, vaddr, size); in dwfl_segment_report_module()
|
/external/srec/srec/Recognizer/include/ |
D | SR_RecognizerImpl.h | 120 size_t read_size; member
|
/external/linux-tools-perf/util/scripting-engines/ |
D | trace-event-perl.c | 307 val = read_size(data + field->offset, field->size); in perl_process_event()
|
D | trace-event-python.c | 282 val = read_size(data + field->offset, field->size); in python_process_event()
|