Lines Matching refs:parts
81 function stringConcat (parts) { argument
84 for (var i = 0; i < parts.length; i++) {
85 var p = parts[i]
96 if (Buffer.isBuffer(parts[0])) {
105 function bufferConcat (parts) { argument
107 for (var i = 0; i < parts.length; i++) {
108 var p = parts[i]
120 function arrayConcat (parts) { argument
122 for (var i = 0; i < parts.length; i++) {
123 res.push.apply(res, parts[i])
128 function u8Concat (parts) { argument
130 for (var i = 0; i < parts.length; i++) {
131 if (typeof parts[i] === 'string') {
132 parts[i] = bufferFrom(parts[i])
134 len += parts[i].length
137 for (var i = 0, offset = 0; i < parts.length; i++) {
138 var part = parts[i]