Searched refs:srcpos (Results 1 – 2 of 2) sorted by relevance
50 size_t srcpos = 0, bufpos = 0; in escape() local51 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in escape()52 char ch = source[srcpos++]; in escape()72 size_t srcpos = 0, bufpos = 0; in unescape() local73 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in unescape()74 char ch = source[srcpos++]; in unescape()75 if ((ch == escape) && (srcpos < srclen)) { in unescape()76 ch = source[srcpos++]; in unescape()91 size_t srcpos = 0, bufpos = 0; in encode() local92 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in encode()[all …]
33 size_t srcpos = 0, bufpos = 0; in escape() local34 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in escape()35 char ch = source[srcpos++]; in escape()55 size_t srcpos = 0, bufpos = 0; in unescape() local56 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in unescape()57 char ch = source[srcpos++]; in unescape()58 if ((ch == escape) && (srcpos < srclen)) { in unescape()59 ch = source[srcpos++]; in unescape()74 size_t srcpos = 0, bufpos = 0; in encode() local75 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in encode()[all …]