Lines Matching refs:str
161 var str = new Array();
163 str[i] = this.code2utf(unic[i]);
166 return this.utf8Decode(str.join(''));
199 var str = new Array();
209 if (code < 128) str[j++]= this.chr(code);
210 else if (code < 224) str[j++] = this.chr(((code-192)<<6) + (code2-128));
211 else if (code < 240) str[j++] = this.chr(((code-224)<<12) + ((code2-128)<<6) + (code3-128));
212 else str[j++] = this.chr(((code-240)<<18) + ((code2-128)<<12) + ((code3-128)<<6) + (code4-128));
215 return str.join('');
221 var str = new Array();
227 str[j++]= utf8str.substr(0, pos) + this._utf8Decode(tmpStr);
231 str[j++] = utf8str;
232 return str.join('');