Lines Matching +full:- +full:j

1 // This file parses ASCII text-encoded dbus message dump.
5 if (i0 == -1) {
6 return BigInt(-1);
10 if (i1 == -1) {
11 return BigInt(-1);
13 let line2 = line1.substr(5, i1 - 5);
21 if (i0 == -1) {
26 if (i1 == -1) {
29 let line2 = line1.substr(N, i1 - N);
49 if (idx != -1) {
60 if (idx != -1) {
71 if (idx == -1) {
74 if (idx != -1) {
75 let j = i + 1;
78 if (j >= lines.length) {
81 l = lines[j];
94 j--;
97 j++;
99 return [payload, j];
140 let j = x[1];
142 x = munchByte(lines, j);
147 j = x[1];
149 x = munchByte(lines, j);
154 j = x[1];
156 x = munchByte(lines, j);
161 j = x[1];
163 x = munchArrayOfBytes(lines, j);
168 j = x[1];
170 return [entry, j];
181 let j = x[1];
193 x = munchByte(lines, j); // netfn
201 j = x[1];
203 x = munchByte(lines, j); // lun (not used right now)
207 j = x[1];
209 x = munchByte(lines, j); // cmd
217 j = x[1];
219 x = munchByte(lines, j); // cc
223 j = x[1];
225 x = munchArrayOfBytes(lines, j);
231 j = x[1];
235 return [entry, j];
246 serial: -999,
260 let j = x[1];
262 x = munchByte(lines, j);
267 j = x[1];
269 x = munchByte(lines, j);
274 j = x[1];
276 x = munchArrayOfBytes(lines, j);
281 j = x[1];
283 return [entry, j];
307 let j = x[1];
309 x = munchByte(lines, j); // LUN
313 j = x[1];
315 x = munchByte(lines, j); // CMD
322 j = x[1];
324 x = munchByte(lines, j); // cc
328 j = x[1];
330 x = munchArrayOfBytes(lines, j);
336 j = x[1];
340 return [entry, j];
362 if (idx == -1) break;
375 if (line.indexOf('interface=org.openbmc.HostIpmi') != -1 &&
376 line.indexOf('member=ReceivedMessage') != -1) {
385 line.indexOf('interface=org.openbmc.HostIpmi') != -1 &&
386 line.indexOf('member=sendMessage') != -1) {
393 line.indexOf('interface=xyz.openbmc_project.Ipmi.Server') != -1 &&
394 line.indexOf('member=execute') != -1) {
402 } else if (line.indexOf('method return') != -1) {
422 const over_1s = (this_update_time - last_update_time > 1000);
426 UpdateLayout(level - 1);
437 let ts1 = g_ipmi_parsed_entries[g_ipmi_parsed_entries.length - 1].end_usec;
441 // >> Preprocess <-- Time shift will happen here
442 // So, we don't do time-shifting here
454 entry.netfn, entry.cmd, parseInt(entry.start_usec - time_shift),
455 parseInt(entry.end_usec - time_shift), entry.request, entry.response
460 // Re-calculate time range
463 parseInt((ts1 - ts0) / BigInt(1000000) / BigInt(10)) * 10 + 10;