Lines Matching refs:val
651 size_t val = 2 * MULT; /* baseline strength */ in apprentice_magic_strength() local
660 val += 1 * MULT; in apprentice_magic_strength()
666 val += 2 * MULT; in apprentice_magic_strength()
673 val += 4 * MULT; in apprentice_magic_strength()
678 val += m->vallen * MULT; in apprentice_magic_strength()
683 val += m->vallen * MULT / 2; in apprentice_magic_strength()
688 val += m->vallen * MAX(MULT / m->vallen, 1); in apprentice_magic_strength()
702 val += 4 * MULT; in apprentice_magic_strength()
720 val += 8 * MULT; in apprentice_magic_strength()
729 val = 0; in apprentice_magic_strength()
737 val = 0; in apprentice_magic_strength()
741 val += MULT; in apprentice_magic_strength()
746 val -= 2 * MULT; in apprentice_magic_strength()
751 val -= MULT; in apprentice_magic_strength()
759 if (val == 0) /* ensure we only return 0 for FILE_DEFAULT */ in apprentice_magic_strength()
760 val = 1; in apprentice_magic_strength()
766 val += m->factor; in apprentice_magic_strength()
769 val -= m->factor; in apprentice_magic_strength()
772 val *= m->factor; in apprentice_magic_strength()
775 val /= m->factor; in apprentice_magic_strength()
786 val++; in apprentice_magic_strength()
787 return val; in apprentice_magic_strength()
1765 uint64_t val; in parse() local
1768 val = (uint64_t)strtoull(l, &t, 0); in parse()
1770 m->num_mask = file_signextend(ms, m, val); in parse()
2344 int val; in getstr() local
2448 val = c - '0'; in getstr()
2451 val = (val << 3) | (c - '0'); in getstr()
2454 val = (val << 3) | (c-'0'); in getstr()
2460 *p++ = (char)val; in getstr()
2465 val = 'x'; /* Default if no digits */ in getstr()
2468 val = c; in getstr()
2471 val = (val << 4) + c; in getstr()
2476 *p++ = (char)val; in getstr()