Lines Matching refs:v1
315 unsigned int v1, v2; in parse_cmd_line() local
324 } else if(sscanf(pch, "%u", &v1) == 1) { in parse_cmd_line()
326 if(v1 >= TPM_NUM_PCR) { in parse_cmd_line()
327 error("hwinitpcr error: Invalid PCR index %u", v1); in parse_cmd_line()
330 opt_args.hwinitpcrs |= (1 << v1); in parse_cmd_line()
331 } else if(sscanf(pch, "%u-%u", &v1, &v2) == 2) { in parse_cmd_line()
333 if(v1 >= TPM_NUM_PCR) { in parse_cmd_line()
334 error("hwinitpcr error: Invalid PCR index %u", v1); in parse_cmd_line()
338 error("hwinitpcr error: Invalid PCR index %u", v1); in parse_cmd_line()
341 if(v2 < v1) { in parse_cmd_line()
342 unsigned tp = v1; in parse_cmd_line()
343 v1 = v2; in parse_cmd_line()
346 for(unsigned int i = v1; i <= v2; ++i) { in parse_cmd_line()