Lines Matching refs:str
157 var str = new Array();
159 str[i] = this.code2utf(unic[i]);
162 return this.utf8Decode(str.join(''));
195 var str = new Array();
205 if (code < 128) str[j++]= this.chr(code);
206 else if (code < 224) str[j++] = this.chr(((code-192)<<6) + (code2-128));
207 else if (code < 240) str[j++] = this.chr(((code-224)<<12) + ((code2-128)<<6) + (code3-128));
208 else str[j++] = this.chr(((code-240)<<18) + ((code2-128)<<12) + ((code3-128)<<6) + (code4-128));
211 return str.join('');
217 var str = new Array();
223 str[j++]= utf8str.substr(0, pos) + this._utf8Decode(tmpStr);
227 str[j++] = utf8str;
228 return str.join('');