Lines Matching refs:lines

43 function munchByte(lines, i) {  argument
44 if (i >= lines.length) {
47 let l = lines[i];
57 function munchArrayOfBytes1(lines, i) { argument
58 let l = lines[i];
68 function munchArrayOfBytes2(lines, i) { argument
69 let l = lines[i];
78 if (j >= lines.length) {
81 l = lines[j];
105 function munchArrayOfBytes(lines, i) { argument
106 if (i >= lines.length) return [null, i];
108 let x = munchArrayOfBytes1(lines, i);
112 x = munchArrayOfBytes2(lines, i);
120 function munchLegacyMessageStart(lines, i) { argument
132 let ts = extractUsec(lines[i]);
135 let x = munchByte(lines, i + 1);
142 x = munchByte(lines, j);
149 x = munchByte(lines, j);
156 x = munchByte(lines, j);
163 x = munchArrayOfBytes(lines, j);
173 function munchLegacyMessageEnd(lines, i, in_flight, parsed_entries) { argument
174 let ts = extractUsec(lines[i]);
176 let x = munchByte(lines, i + 1);
193 x = munchByte(lines, j); // netfn
203 x = munchByte(lines, j); // lun (not used right now)
209 x = munchByte(lines, j); // cmd
219 x = munchByte(lines, j); // cc
225 x = munchArrayOfBytes(lines, j);
238 function munchNewMessageStart(lines, i, in_flight) { argument
239 let ts = extractUsec(lines[i]);
240 let serial = extractSerial(lines[i]);
255 let x = munchByte(lines, i + 1);
262 x = munchByte(lines, j);
269 x = munchByte(lines, j);
276 x = munchArrayOfBytes(lines, j);
286 function munchNewMessageEnd(lines, i, in_flight, parsed_entries) { argument
287 let ts = extractUsec(lines[i]);
288 let reply_serial = extractReplySerial(lines[i]);
300 let x = munchByte(lines, i + 2); // Skip "struct {"
309 x = munchByte(lines, j); // LUN
315 x = munchByte(lines, j); // CMD
324 x = munchByte(lines, j); // cc
330 x = munchArrayOfBytes(lines, j);