Home
last modified time | relevance | path

Searched refs:old_pos (Results 1 – 13 of 13) sorted by relevance

/external/qemu/audio/
Ddsoundaudio.c78 DWORD old_pos; member
578 DWORD wpos, ppos, old_pos; in dsound_run_out() local
608 old_pos = wpos; in dsound_run_out()
609 old_pos += in dsound_run_out()
611 old_pos %= bufsize; in dsound_run_out()
612 old_pos &= ~hw->info.align; in dsound_run_out()
615 old_pos = wpos; in dsound_run_out()
623 if (ds->old_pos == ppos) { in dsound_run_out()
631 ds->played += audio_ring_dist (ds->old_pos, ppos, hw->bufsize); in dsound_run_out()
633 old_pos = ds->old_pos; in dsound_run_out()
[all …]
Dfmodaudio.c34 unsigned int old_pos; member
243 int old_pos = fmd->old_pos; in fmod_run_out() local
246 if (ppos == old_pos || !ppos) { in fmod_run_out()
250 if ((old_pos < ppos) && ((old_pos + len) > ppos)) { in fmod_run_out()
251 len = ppos - old_pos; in fmod_run_out()
254 if ((old_pos > ppos) && ((old_pos + len) > (ppos + hw->samples))) { in fmod_run_out()
255 len = hw->samples - old_pos + ppos; in fmod_run_out()
262 decr, live, ppos, old_pos, len); in fmod_run_out()
273 fmd->old_pos, decr, in fmod_run_out()
294 fmd->old_pos = (fmd->old_pos + decr) % hw->samples; in fmod_run_out()
/external/chromium_org/v8/src/
Dscanner-character-streams.cc142 unsigned old_pos = pos_; in BufferSeekForward() local
145 return pos_ - old_pos; in BufferSeekForward()
206 unsigned old_pos = pos_; in BufferSeekForward() local
211 return pos_ - old_pos; in BufferSeekForward()
294 int old_pos = raw_data_pos_; in SetRawPosition() local
297 DCHECK(old_pos - raw_data_pos_ <= 4); in SetRawPosition()
299 if (old_pos - raw_data_pos_ == 4) raw_character_position_--; in SetRawPosition()
308 int old_pos = raw_data_pos_; in SetRawPosition() local
311 DCHECK(raw_data_pos_ - old_pos <= 4); in SetRawPosition()
312 if (raw_data_pos_ - old_pos == 4) raw_character_position_++; in SetRawPosition()
/external/chromium_org/chrome/browser/media/
Ddesktop_media_list_ash.cc125 size_t old_pos = pos + 1; in Refresh() local
126 for (; old_pos < sources_.size(); ++old_pos) { in Refresh()
127 if (sources_[old_pos].id == new_sources[pos].id) in Refresh()
130 DCHECK(sources_[old_pos].id == new_sources[pos].id); in Refresh()
133 Source temp = sources_[old_pos]; in Refresh()
134 sources_.erase(sources_.begin() + old_pos); in Refresh()
137 observer_->OnSourceMoved(old_pos, pos); in Refresh()
Dnative_desktop_media_list.cc333 size_t old_pos = pos + 1; in OnSourcesList() local
334 for (; old_pos < sources_.size(); ++old_pos) { in OnSourcesList()
335 if (sources_[old_pos].id == new_sources[pos].id) in OnSourcesList()
338 DCHECK(sources_[old_pos].id == new_sources[pos].id); in OnSourcesList()
341 Source temp = sources_[old_pos]; in OnSourcesList()
342 sources_.erase(sources_.begin() + old_pos); in OnSourcesList()
345 observer_->OnSourceMoved(old_pos, pos); in OnSourcesList()
/external/chromium_org/ash/wm/
Dwindow_positioner.cc433 gfx::Rect WindowPositioner::GetPopupPosition(const gfx::Rect& old_pos) { in GetPopupPosition() argument
453 if ((old_pos.width() + popup_position_offset_from_screen_corner_x >= in GetPopupPosition()
455 (old_pos.height() + popup_position_offset_from_screen_corner_y >= in GetPopupPosition()
457 return AlignPopupPosition(old_pos, work_area, grid); in GetPopupPosition()
458 const gfx::Rect result = SmartPopupPosition(old_pos, work_area, grid); in GetPopupPosition()
461 return NormalPopupPosition(old_pos, work_area); in GetPopupPosition()
470 const gfx::Rect& old_pos, in NormalPopupPosition() argument
472 int w = old_pos.width(); in NormalPopupPosition()
473 int h = old_pos.height(); in NormalPopupPosition()
503 const gfx::Rect& old_pos, in SmartPopupPosition() argument
[all …]
Dwindow_positioner.h86 gfx::Rect GetPopupPosition(const gfx::Rect& old_pos);
97 gfx::Rect SmartPopupPosition(const gfx::Rect& old_pos,
102 gfx::Rect NormalPopupPosition(const gfx::Rect& old_pos,
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-ot-shape-complex-indic.cc1450 unsigned int old_pos = i - 1; in final_reordering_syllable() local
1451 hb_glyph_info_t tmp = info[old_pos]; in final_reordering_syllable()
1452 memmove (&info[old_pos], &info[old_pos + 1], (new_pos - old_pos) * sizeof (info[0])); in final_reordering_syllable()
1454 if (old_pos < base && base <= new_pos) /* Shouldn't actually happen. */ in final_reordering_syllable()
1668 unsigned int old_pos = i; in final_reordering_syllable() local
1669 for (unsigned int i = base + 1; i < old_pos; i++) in final_reordering_syllable()
1686 unsigned int old_pos = i; in final_reordering_syllable() local
1687 buffer->merge_clusters (new_pos, old_pos + 1); in final_reordering_syllable()
1688 hb_glyph_info_t tmp = info[old_pos]; in final_reordering_syllable()
1689 memmove (&info[new_pos + 1], &info[new_pos], (old_pos - new_pos) * sizeof (info[0])); in final_reordering_syllable()
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-indic.cc1449 unsigned int old_pos = i - 1; in final_reordering_syllable() local
1450 hb_glyph_info_t tmp = info[old_pos]; in final_reordering_syllable()
1451 memmove (&info[old_pos], &info[old_pos + 1], (new_pos - old_pos) * sizeof (info[0])); in final_reordering_syllable()
1453 if (old_pos < base && base <= new_pos) /* Shouldn't actually happen. */ in final_reordering_syllable()
1667 unsigned int old_pos = i; in final_reordering_syllable() local
1668 for (unsigned int i = base + 1; i < old_pos; i++) in final_reordering_syllable()
1685 unsigned int old_pos = i; in final_reordering_syllable() local
1686 buffer->merge_clusters (new_pos, old_pos + 1); in final_reordering_syllable()
1687 hb_glyph_info_t tmp = info[old_pos]; in final_reordering_syllable()
1688 memmove (&info[new_pos + 1], &info[new_pos], (old_pos - new_pos) * sizeof (info[0])); in final_reordering_syllable()
[all …]
/external/chromium_org/net/tools/flip_server/
Dmem_cache.cc150 size_t old_pos = 0; in ReadAndStoreFileContents() local
152 old_pos = pos; in ReadAndStoreFileContents()
155 if (framer.Error() || pos == old_pos) { in ReadAndStoreFileContents()
/external/freetype/src/gzip/
Dftgzip.c581 FT_ULong old_pos; in ft_gzip_get_uncompressed_size() local
585 old_pos = stream->pos; in ft_gzip_get_uncompressed_size()
592 (void)FT_Stream_Seek( stream, old_pos ); in ft_gzip_get_uncompressed_size()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dcallchain.c404 int old_pos = cursor->nr; in merge_chain_branch() local
428 cursor->nr = old_pos; in merge_chain_branch()
/external/wpa_supplicant_8/src/ap/
Dbeacon.c314 u8 *old_pos = pos; in hostapd_add_csa_elems() local
322 if (pos != old_pos) { in hostapd_add_csa_elems()