Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/base/
Dstringencode.cc70 size_t srcpos = 0, bufpos = 0; in escape() local
71 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in escape()
74 if (bufpos + 2 >= buflen) in escape()
76 buffer[bufpos++] = escape; in escape()
78 buffer[bufpos++] = ch; in escape()
81 buffer[bufpos] = '\0'; in escape()
82 return bufpos; in escape()
92 size_t srcpos = 0, bufpos = 0; in unescape() local
93 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in unescape()
98 buffer[bufpos++] = ch; in unescape()
[all …]
Dstringutils.h190 size_t bufpos = 0; in strlenn() local
191 while (buffer[bufpos] && (bufpos < buflen)) { in strlenn()
192 ++bufpos; in strlenn()
194 return bufpos; in strlenn()
222 size_t bufpos = strlenn(buffer, buflen - 1); variable
223 return bufpos + strcpyn(buffer + bufpos, buflen - bufpos, source, srclen);
/external/openssl/crypto/asn1/
Dbio_asn1.c97 int bufpos; member
170 ctx->bufpos = 0; in asn1_bio_init()
248 ctx->buf + ctx->bufpos, ctx->buflen); in asn1_bio_write()
254 ctx->bufpos += ret; in asn1_bio_write()
257 ctx->bufpos = 0; in asn1_bio_write()
/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/quake/quake/src/WinQuake/
Dsnd_sun.cpp36 static int bufpos; variable