Lines Matching refs:substring
230 if(!(ctext=decryptBlock(x.substring(cur,closetag+tag.length+3),false))) {
233 ret+=x.substring(pos,cur) + ctext;
236 ret+=x.substring(pos);
254 if(!(ctext=encryptBlock(x.substring(cur,closetag+tag.length+3),false))) {
258 ret+=x.substring(pos,cur) + ctext;
261 ret+=x.substring(pos);
302 lock=getTagAttr(data.substring(0,tagend+1),"LOCK");
305 collapsed=getTagAttr(data.substring(0,tagend+1),"COLLAPSED");
308 if(!(ptext=verifyDecrypt(data.substring(tagend+1,ptend),lock,key))) {
320 return(opentag.substring(loff+attr.length+1,t));
322 return(opentag.substring(loff+attr.length+1,opentag.length-1));
338 lock=getTagAttr(data.substring(0,tagend+1),"LOCK");
341 collapsed=getTagAttr(data.substring(0,tagend+1),"COLLAPSED");
348 if(!(ctext=encryptTextString(data.substring(tagend+1,ptend),key))) {
776 hexString = hexString.substring(2);
1665 t += h.substring(0, maxLineLength) + "\n";
1666 h = h.substring(maxLineLength, h.length);
1686 s = s.substring(i + hexSentinel.length, s.length);
1689 s = s.substring(0, i);
1945 s = s.substring(j + base64sent.length, s.length);
1948 s = s.substring(0, j);
1980 } else if (s.substring(i, i + base64esent.length) == base64esent) {
2108 return utf8_to_unicode(s.substring(1));