Lines Matching refs:system
104 int len, tlen, npad, fd, k, m, vec, system = -1, nb;
195 if (system < 0) {
196 system = ciph->fdf.dv.fs;
197 fprintf(stderr, "%s\n", system_name[system]);
201 if (system == 1 &&
204 nb = nblocks[system];
206 k / (3600 * frame_rate[system]),
207 (k / (60 * frame_rate[system])) % 60,
208 (k / frame_rate[system]) % 60,
209 k % frame_rate[system]);
263 int system=-1, pad_acc, cycle_acc, cycle, f_cycle, f_frac;
346 header = (packets == 0 || packets % npackets[system] == 0);
351 if (system < 0) {
352 system = ((dv->payload[0] & DV_DSF_12) != 0);
353 printf("%s\n", system_name[system]);
355 cycle_acc = frame_cycle[system].d * cycle;
361 if (frames % frame_rate[system] == 0)
364 f_cycle = (cycle_acc / frame_cycle[system].d) & 0xf;
365 f_frac = (cycle_acc % frame_cycle[system].d
366 * CYCLE_FRAC) / frame_cycle[system].d;
372 cycle_acc += frame_cycle[system].n;
373 cycle_acc %= frame_cycle[system].d * 0x10;
379 pad_acc += pad_rate[system].n;
380 if (pad_acc >= pad_rate[system].d) {
381 pad_acc -= pad_rate[system].d;