Lines Matching refs:toString

168 	var o = x.toString("utf16le");
553 case 'number': return (v|0) === v ? v.toString(10) : SSF_general_num(v);
2998 var w = c.charCodeAt(0).toString(16).toUpperCase();
3069 var data = (has_buf && Buffer.isBuffer(file) ? file.toString("binary") : a2s(file)).split("\r\n");
3127 return "_x" + c.charCodeAt(0).toString(16) + "_";
3129 return "_u" + u.charCodeAt(0).toString(16) + "_";
3135 var cstr = has_buf && Buffer.isBuffer(ca) ? ca.toString("binary") : a2s(ca);
3413 if(arr[0] == 0xFF && arr[1] == 0xFE) return utf8write(arr.slice(2).toString("utf16le"));
3414 …if(arr[1] == 0xFE && arr[2] == 0xFF) return utf8write(utf16beread(arr.slice(2).toString("binary"))…
3416 return arr.toString("binary");
3510 if(data.asNodeBuffer && has_buf) return debom(data.asNodeBuffer().toString('binary'));
3676 … }).replace(charegex,function(s) { return "_x" + ("000"+s.charCodeAt(0).toString(16)).slice(-4) + …
3683 …eplace(htmlcharegex,function(s) { return "&#x" + ("000"+s.charCodeAt(0).toString(16)).slice(-4) + …
3688 …; }).replace(htmlcharegex,function(s) { return "&#x" + (s.charCodeAt(0).toString(16)).toUpperCase(…
3740 return out.slice(0,k).toString('ucs2');
3743 function utf8readc(data) { return Buffer_from(data, 'binary').toString('utf8'); }
3748 var utf8write/*:StringConv*/ = has_buf ? function(data) { return Buffer_from(data, 'utf8').toString
3852 …"undefined" && d != null && d instanceof Buffer &&*/ Buffer.isBuffer(d)) return d.toString('utf8');
3927 …nstanceof Buffer)*/ || !buf_utf16le) return ___utf16le(b,s,e); return b.toString('utf16le',s,e).re…
3929 …r ss/*:Array<string>*/=[]; for(var i=s; i<s+l; ++i) ss.push(("0" + b[i].toString(16)).slice(-2)); …
3930 …*:string*/ { return Buffer.isBuffer(b)/*:: && b instanceof Buffer*/ ? b.toString('hex',s,s+l) : __…
3933 …ber*/) { return (Buffer.isBuffer(b)/*:: && (b instanceof Buffer)*/) ? b.toString('utf8',s,e) : ___…
3956 … return ___lpstr(b, i); var len = b.readUInt32LE(i); return len > 0 ? b.toString('utf8',i+4,i+4+le…
3957 … return ___cpstr(b, i); var len = b.readUInt32LE(i); return len > 0 ? b.toString('utf8',i+4,i+4+le…
3958 …tf16le) return ___lpwstr(b, i); var len = 2*b.readUInt32LE(i); return b.toString('utf16le',i+4,i+4…
3959 …uf_utf16le) return ___lpp4(b, i); var len = b.readUInt32LE(i); return b.toString('utf16le',i+4,i+4…
3960 …Buffer)*/) return ___8lpp4(b, i); var len = b.readUInt32LE(i); return b.toString('utf8',i+4,i+4+le…
3989 …& Buffer.isBuffer(this) && buf_utf16le) o = this.slice(this.l, this.l+2*size).toString("utf16le");
4708 if (typeof rgb == 'number') rgb = ("000000" + rgb.toString(16)).slice(-6);
4756 if (m > 0x190) throw new Error("Unsupported Clipboard: " + m.toString(16));
7731 default: throw new Error("DBF Unsupported Version: " + ft.toString(16));
7747 …flags & 0x02) === 0)) throw new Error("DBF Flags " + flags.toString(16) + " ft " + ft.toString(16)…
7836 if(!memo) throw new Error("DBF Unexpected MEMO for type " + ft.toString(16));
7860 …w new Error("DBF EOF Marker missing " + (d.l-1) + " of " + d.length + " " + d[d.l-1].toString(16));
7901 if(typeof headers[i] === 'number') headers[i] = headers[i].toString(10);
8054 …case 'buffer': return sylk_to_aoa_str(has_buf && Buffer.isBuffer(d) ? d.toString('binary') : a2s(d…
8290 …case 'buffer': return dif_to_aoa_str(has_buf && Buffer.isBuffer(d) ? d.toString('binary') : a2s(d)…
8656 if(opts.codepage == 65001) str = d.toString('utf8'); // TODO: test if buf
8658 else str = has_buf && Buffer.isBuffer(d) ? d.toString('binary') : a2s(d);
9254 …if(argc > out.length) { console.error("WK1 bad formula parse 0x" + cc.toString(16) + ":|" + out.jo…
9259 else if(cc <= 0x07) return console.error("WK1 invalid opcode " + cc.toString(16));
9260 else if(cc <= 0x18) return console.error("WK1 unsupported op " + cc.toString(16));
9261 else if(cc <= 0x1E) return console.error("WK1 invalid opcode " + cc.toString(16));
9262 else if(cc <= 0x73) return console.error("WK1 unsupported function opcode " + cc.toString(16));
9264 else return console.error("WK1 unrecognized opcode " + cc.toString(16));
10038 if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
10384 return rtf_to_sheet_str(has_buf && Buffer.isBuffer(d) ? d.toString("binary") : a2s(d), opts);
10480 return o.toString(16).toUpperCase().slice(1);
10826 font.color.rgb = icv[0].toString(16) + icv[1].toString(16) + icv[2].toString(16);
11283 …e.length-1] != 0x0025 /* BrtACBegin */)) throw new Error("Unexpected record 0x" + RT.toString(16));
11867 throw new Error("Unexpected record 0x" + RT.toString(16));
12026 else if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
12079 else if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
12442 else if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
15207 if((p.v|0) === p.v) p.w = p.v.toString(10);
15212 if((dd|0) === dd) p.w = dd.toString(10);
15387 …if(sp.password) o.password = crypto_CreatePasswordVerifier_Method1(sp.password).toString(16).toUpp…
16679 else if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
17055 else if(!pass || opts.WTF) throw new Error("Unexpected record 0x" + RT.toString(16));
17697 ….length-1] != 0x0023 /* BrtFRTBegin */)) throw new Error("Unexpected record 0x" + RT.toString(16));
17960 if((cell.v|0) === cell.v) cell.w = cell.v.toString(10);
19212 …if(b.length < length) throw "XLS Record 0x" + RecordType.toString(16) + " Truncated: " + b.length …
19228 if((p.v|0) === p.v) p.w = p.v.toString(10);
19350 //console.log(RecordType.toString(16), RecordType, R, blob.l, length, blob.length);
19728 if(!R) console.error("Missing Info for XLS Record 0x" + RecordType.toString(16));
24496 …tma[1][0].data), new_uuid = uuid.replace(/-[A-Z0-9]*/, "-".concat(wsidx.toString(16).padStart(4, "…
24570 … deps[newref].location = deps[oldref].location.replace(oldref.toString(), newref.toString());
24633 … deps[newref].location = deps[oldref].location.replace(oldref.toString(), newref.toString());
25701 case 'buffer': str = data.toString('binary'); break;