Lines Matching refs:val2
57 int val1, val2, hpos; in move_up_lpt_heap() local
67 val2 = get_heap_comp_val(heap->arr[ppos], cat); in move_up_lpt_heap()
68 if (val2 >= val1) in move_up_lpt_heap()
94 int val1, val2, val3, cpos; in adjust_lpt_heap() local
101 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
102 if (val1 > val2) { in adjust_lpt_heap()
113 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
114 if (val1 <= val2) in adjust_lpt_heap()
127 val2 = get_heap_comp_val(heap->arr[cpos], cat); in adjust_lpt_heap()
128 if (val1 < val2) { in adjust_lpt_heap()
133 if (val3 > val2) in adjust_lpt_heap()
177 int cpos, val1, val2; in add_to_lpt_heap() local
187 val2 = get_heap_comp_val(heap->arr[cpos], cat); in add_to_lpt_heap()
188 if (val1 > val2) { in add_to_lpt_heap()