Home
last modified time | relevance | path

Searched refs:ppos (Results 1 – 25 of 25) sorted by relevance

/external/qemu/audio/
Ddsoundaudio.c578 DWORD wpos, ppos, old_pos; in dsound_run_out() local
592 &ppos, in dsound_run_out()
606 cur_blat = audio_ring_dist (wpos, ppos, bufsize); 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()
636 if ((old_pos < ppos) && ((old_pos + len) > ppos)) { in dsound_run_out()
637 len = ppos - old_pos; in dsound_run_out()
640 if ((old_pos > ppos) && ((old_pos + len) > (ppos + bufsize))) { in dsound_run_out()
641 len = bufsize - old_pos + ppos; in dsound_run_out()
647 len, bufsize, old_pos, ppos); in dsound_run_out()
[all …]
Dfmodaudio.c244 int ppos = FSOUND_GetCurrentPosition (fmd->channel); 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()
/external/icu4c/i18n/
Dtridpars.cpp273 ParsePosition ppos(pos); in parseGlobalFilter() local
275 filter = new UnicodeSet(id, ppos, USET_IGNORE_SPACE, NULL, ec); in parseGlobalFilter()
288 id.extractBetween(pos, ppos.getIndex(), pattern); in parseGlobalFilter()
289 pos = ppos.getIndex(); in parseGlobalFilter()
723 ParsePosition ppos(pos); in parseFilterID() local
725 UnicodeSet set(id, ppos, USET_IGNORE_SPACE, NULL, ec); in parseFilterID()
730 id.extractBetween(pos, ppos.getIndex(), filter); in parseFilterID()
731 pos = ppos.getIndex(); in parseFilterID()
Ddecimfmt.cpp2501 ParsePosition ppos(pos); in compareComplexAffix() local
2505 uprv_parseCurrency(loc, text, ppos, type, curr, ec); in compareComplexAffix()
2508 if (U_SUCCESS(ec) && ppos.getIndex() != pos) { in compareComplexAffix()
2522 pos = ppos.getIndex(); in compareComplexAffix()
/external/jhead/
Djhead.c605 int ppos = -1;
608 ppos = a;
610 if (ppos >= 0 && a<ppos+4){
614 memcpy(pat, pattern+ppos, 4);
615 pat[a-ppos] = 'd'; // Replace 'i' with 'd' for '%d'
616 pat[a-ppos+1] = '\0';
620 if (ppos+nl+l+1 >= PATH_MAX) ErrFatal("str overflow");
621 memmove(pattern+ppos+nl, pattern+a+1, l+1);
622 memcpy(pattern+ppos, num, nl);
626 ppos = -1;
/external/icu4c/test/intltest/
Ddtfmapts.cpp289 ParsePosition ppos; in TestNameHiding() local
316 sdf.parse(str, ppos); in TestNameHiding()
348 fmt.parse(str, obj, ppos); in TestNameHiding()
368 fmt.parse(str, obj, ppos); in TestNameHiding()
Ddtfmttst.cpp3141 ParsePosition ppos; in TestRoundtripWithCalendar() local
3177 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3178 ppos.setIndex(0); in TestRoundtripWithCalendar()
3182 formatters[i]->parse(refStr, *calendars[i], ppos); in TestRoundtripWithCalendar()
3190 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3191 ppos.setIndex(0); in TestRoundtripWithCalendar()
3195 formatters[i]->parse(refStr, *calendars[j], ppos); in TestRoundtripWithCalendar()
Ddtfmrgts.cpp815 ParsePosition ppos [] = { in Test4104136() local
835 ParsePosition finish = ppos[i]; in Test4104136()
Dnumfmtst.cpp158 ParsePosition ppos; in TestAPI() local
159 test->parseCurrency("",bla,ppos); in TestAPI()
/external/icu4c/test/cintltst/
Dcnmdptst.c191 int32_t ppos; in TestExponential() local
284 ppos=0; in TestExponential()
285 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status); in TestExponential()
286 if (ppos== u_strlen(str)) { in TestExponential()
291 log_err(" FAIL: Partial parse ( %d chars ) -> %e\n", ppos, a); in TestExponential()
314 ppos=0; in TestExponential()
315 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status); in TestExponential()
316 if (ppos== u_strlen(str)) { in TestExponential()
322 log_err(" FAIL: Partial parse ( %d chars ) -> %e\n", ppos, a); in TestExponential()
/external/kernel-headers/original/linux/
Dfs.h1655 extern ssize_t do_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos);
1656 extern ssize_t do_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos);
1658 unsigned long nr_segs, loff_t *ppos);
1671 extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out,
1677 unsigned long nr_segs, loff_t *ppos);
1679 unsigned long nr_segs, loff_t *ppos);
1688 loff_t *ppos);
1689 extern ssize_t xip_file_sendfile(struct file *in_file, loff_t *ppos,
1694 size_t len, loff_t *ppos);
1703 static inline void do_generic_file_read(struct file * filp, loff_t *ppos, in do_generic_file_read() argument
[all …]
Dfb.h641 size_t count, loff_t *ppos);
643 size_t count, loff_t *ppos);
1001 size_t count, loff_t *ppos);
1003 size_t count, loff_t *ppos);
Dsysctl.h917 void __user *buffer, size_t *lenp, loff_t *ppos);
/external/oprofile/module/
Doprofile.c206 static ssize_t oprof_note_read(char * buf, size_t count, loff_t * ppos) in oprof_note_read() argument
214 if (*ppos || count != max) in oprof_note_read()
305 static ssize_t oprof_read(struct file * file, char * buf, size_t count, loff_t * ppos) in oprof_read() argument
313 case 2: return oprof_note_read(buf, count, ppos); in oprof_read()
320 if (*ppos || count != max) in oprof_read()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Dikev2.c218 const u8 *pend, *ppos; in ikev2_parse_proposal() local
262 ppos = (const u8 *) (p + 1); in ikev2_parse_proposal()
264 if (ppos + p->spi_size > pend) { in ikev2_parse_proposal()
271 ppos, p->spi_size); in ikev2_parse_proposal()
272 ppos += p->spi_size; in ikev2_parse_proposal()
291 int tlen = ikev2_parse_transform(data, prop, ppos, pend); in ikev2_parse_proposal()
294 ppos += tlen; in ikev2_parse_proposal()
297 if (ppos != pend) { in ikev2_parse_proposal()
/external/wpa_supplicant_8/src/eap_server/
Dikev2.c213 const u8 *pend, *ppos; in ikev2_parse_proposal() local
257 ppos = (const u8 *) (p + 1); in ikev2_parse_proposal()
259 if (ppos + p->spi_size > pend) { in ikev2_parse_proposal()
266 ppos, p->spi_size); in ikev2_parse_proposal()
267 ppos += p->spi_size; in ikev2_parse_proposal()
286 int tlen = ikev2_parse_transform(data, prop, ppos, pend); in ikev2_parse_proposal()
289 ppos += tlen; in ikev2_parse_proposal()
292 if (ppos != pend) { in ikev2_parse_proposal()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Dikev2.c234 const u8 *pend, *ppos; in ikev2_parse_proposal() local
280 ppos = (const u8 *) (p + 1); in ikev2_parse_proposal()
282 if (ppos + p->spi_size > pend) { in ikev2_parse_proposal()
289 ppos, p->spi_size); in ikev2_parse_proposal()
290 ppos += p->spi_size; in ikev2_parse_proposal()
309 int tlen = ikev2_parse_transform(prop, ppos, pend); in ikev2_parse_proposal()
312 ppos += tlen; in ikev2_parse_proposal()
315 if (ppos != pend) { in ikev2_parse_proposal()
/external/wpa_supplicant_8/src/eap_peer/
Dikev2.c229 const u8 *pend, *ppos; in ikev2_parse_proposal() local
275 ppos = (const u8 *) (p + 1); in ikev2_parse_proposal()
277 if (ppos + p->spi_size > pend) { in ikev2_parse_proposal()
284 ppos, p->spi_size); in ikev2_parse_proposal()
285 ppos += p->spi_size; in ikev2_parse_proposal()
304 int tlen = ikev2_parse_transform(prop, ppos, pend); in ikev2_parse_proposal()
307 ppos += tlen; in ikev2_parse_proposal()
310 if (ppos != pend) { in ikev2_parse_proposal()
/external/chromium/net/server/
Dhttp_server.h89 int* ppos);
Dhttp_server.cc285 int* ppos) { in ParseHeaders() argument
286 int& pos = *ppos; in ParseHeaders()
/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius.c785 u8 *plain, *ppos, *res; in decrypt_ms_key() local
806 ppos = plain = os_malloc(plen); in decrypt_ms_key()
830 *ppos++ = *pos++ ^ hash[i]; in decrypt_ms_key()
/external/icu4c/common/
Duniset_props.cpp1253 ParsePosition& ppos, in applyPropertyPattern() argument
1255 int32_t pos = ppos.getIndex(); in applyPropertyPattern()
1336 ppos.setIndex(close + (posix ? 2 : 1)); in applyPropertyPattern()
/external/wpa_supplicant_8/src/radius/
Dradius.c823 u8 *plain, *ppos, *res; in decrypt_ms_key() local
844 ppos = plain = os_malloc(plen); in decrypt_ms_key()
868 *ppos++ = *pos++ ^ hash[i]; in decrypt_ms_key()
/external/icu4c/common/unicode/
Duniset.h1570 ParsePosition& ppos,
/external/linux-tools-perf/util/include/linux/added/
Dperf_event.h1124 loff_t *ppos);