Lines Matching refs:has_buf
1005 var has_buf/*:boolean*/ = (typeof Buffer !== 'undefined'); variable
1007 if(has_buf) {
1185 if(has_buf && /*::data instanceof Buffer && */Buffer.isBuffer(data)) {
1223 if(has_buf) {
1250 if(has_buf) {
1273 … if(has_buf && /*::data instanceof Buffer && */Buffer.isBuffer(data)) data = data.toString('utf8');
1279 var out = has_buf ? Buffer.allocUnsafe(4*len) : [], w=0, i=0, j = 0, ww=0;
1291 …if(has_buf && isstr/*:: && typeof data == 'string' */) { out = Buffer_from(data, M); j = out.lengt…
1313 … if(has_buf && typeof data === "string") { out = Buffer_from(data, M); j = out.length; break; }
1321 … if(has_buf && typeof data === "string") { out = Buffer_from(data, M); j = out.length; break; }
1377 if(!has_buf) return (ofmt == 'str') ? (out/*:any*/).map(sfcc).join("") : out;
1416 … if(has_buf && /*::data instanceof Buffer && */Buffer.isBuffer(data)) return data.toString(M);
1421 … if(has_buf && /*::data instanceof Buffer && */Buffer.isBuffer(data)) return data.toString(M);