Home
last modified time | relevance | path

Searched refs:bufpos (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/webrtc/base/
Dstringencode.cc33 size_t srcpos = 0, bufpos = 0; in escape() local
34 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in escape()
37 if (bufpos + 2 >= buflen) in escape()
39 buffer[bufpos++] = escape; in escape()
41 buffer[bufpos++] = ch; in escape()
44 buffer[bufpos] = '\0'; in escape()
45 return bufpos; in escape()
55 size_t srcpos = 0, bufpos = 0; in unescape() local
56 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in unescape()
61 buffer[bufpos++] = ch; in unescape()
[all …]
Dstringutils.h170 size_t bufpos = 0; in strlenn() local
171 while (buffer[bufpos] && (bufpos < buflen)) { in strlenn()
172 ++bufpos; in strlenn()
174 return bufpos; in strlenn()
202 size_t bufpos = strlenn(buffer, buflen - 1); variable
203 return bufpos + strcpyn(buffer + bufpos, buflen - bufpos, source, srclen);
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/
DTransliteratorInputMethod.java487 int bufpos = index.contextLimit; in caretTowardsStart() local
488 if (bufpos > index.start) { in caretTowardsStart()
489 --bufpos; in caretTowardsStart()
490 if (bufpos > index.start in caretTowardsStart()
491 && UCharacter.isLowSurrogate(buffer.charAt(bufpos)) in caretTowardsStart()
492 && UCharacter.isHighSurrogate(buffer.charAt(bufpos - 1))) { in caretTowardsStart()
493 --bufpos; in caretTowardsStart()
495 index.contextLimit = index.limit = bufpos; in caretTowardsStart()
503 int bufpos = index.contextLimit; in caretTowardsLimit() local
504 if (bufpos < buffer.length()) { in caretTowardsLimit()
[all …]
/external/syslinux/com32/rosh/
Drosh.c929 int bufpos, bufcnt; /* current position, count characters */ in rosh_more_buf() local
936 bufpos = 0; in rosh_more_buf()
937 bufp = buf + bufpos; in rosh_more_buf()
941 while (bufpos < buflen) { in rosh_more_buf()
962 printf("--(%d/%d @%d)\n", bufcnt, buflen, bufpos); in rosh_more_buf()
967 bufpos += bufcnt; in rosh_more_buf()
968 if (bufpos == buflen) in rosh_more_buf()
976 bufpos = buflen; in rosh_more_buf()
991 int bufpos; in rosh_more_fd() local
1000 bufpos = 0; in rosh_more_fd()
[all …]
/external/libcups/cups/
Dfile.c1670 if (fp->bufpos == 0) in cupsFileRewind()
1707 fp->bufpos = 0; in cupsFileRewind()
1756 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) in cupsFileSeek()
1763 fp->ptr = fp->buf + pos - fp->bufpos; in cupsFileSeek()
1788 if (pos < fp->bufpos) in cupsFileSeek()
1802 fp->bufpos = 0; in cupsFileSeek()
1808 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) in cupsFileSeek()
1814 fp->ptr = fp->buf + pos - fp->bufpos; in cupsFileSeek()
1820 fp->bufpos = lseek(fp->fd, pos, SEEK_SET); in cupsFileSeek()
1821 fp->pos = fp->bufpos; in cupsFileSeek()
[all …]
Dfile-private.h103 bufpos; /* File position for start of buffer */ member
/external/toybox/toys/pending/
Dcompress.c172 int bufpos = bb->bitpos>>3; in bitbuf_bit() local
174 if (bufpos == bb->len) { in bitbuf_bit()
176 bufpos = 0; in bitbuf_bit()
179 return (bb->buf[bufpos]>>(bb->bitpos++&7))&1; in bitbuf_bit()
/external/svox/pico/lib/
Dpicoos.c1930 …t8 os_matched( picoos_char * str, picoos_uint32 strlen, picoos_char * buf, picoos_int32 bufpos) { in os_matched() argument
1932 while (i >= 0 && buf[bufpos] == str[i]) { in os_matched()
1934 bufpos--; in os_matched()
1935 if (bufpos < 0) { in os_matched()
1936 bufpos = strlen-1; in os_matched()
1963 picoos_uint8 strlen, bufpos; in picoos_readPicoHeader() local
1976 bufpos = strlen-1; /* last legal buf position */ in picoos_readPicoHeader()
1977 done = os_matched(str,strlen,buf,bufpos); in picoos_readPicoHeader()
1980 bufpos = (bufpos + 1) % strlen; in picoos_readPicoHeader()
1981 done = picoos_ReadBytes(f,(picoos_uint8 *)buf+bufpos,&n) && 1 == n; in picoos_readPicoHeader()
[all …]
/external/syslinux/efi/
Dmain.c295 UINTN buf, bufpos; in efi_scan_memory() local
302 bufpos = buf; in efi_scan_memory()
304 for (i = 0; i < nr_entries; bufpos += desc_sz, i++) { in efi_scan_memory()
309 m = (EFI_MEMORY_DESCRIPTOR *)bufpos; in efi_scan_memory()
/external/testng/ant/3rdparty/
Dcobertura.jarMETA-INF/ META-INF/MANIFEST.MF net/ net/sourceforge/ net/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.commons.el_1.0.0.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.help.base_3.5.2.v201011171123.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/persist/lib/
Dognl-2.6.7.jarMETA-INF/ META-INF/MANIFEST.MF ognl/ ognl/ASTAdd.class ASTAdd ...
/external/guice/extensions/struts2/lib/
Djsp-api-2.1.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/ ...
Dognl-3.0.jarMETA-INF/ META-INF/MANIFEST.MF ognl/ ognl/enhance/ ognl/ ...
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dfreemarker-2.3.16.jarMETA-INF/ META-INF/MANIFEST.MF freemarker/ freemarker/cache/ freemarker/ ...
/external/dagger2/lib/
Dauto-value-1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...