Lines Matching refs:val2
65 int val1, val2, hpos; in move_up_lpt_heap() local
75 val2 = get_heap_comp_val(heap->arr[ppos], cat); in move_up_lpt_heap()
76 if (val2 >= val1) in move_up_lpt_heap()
102 int val1, val2, val3, cpos; in adjust_lpt_heap() local
109 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
110 if (val1 > val2) { in adjust_lpt_heap()
121 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
122 if (val1 <= val2) in adjust_lpt_heap()
135 val2 = get_heap_comp_val(heap->arr[cpos], cat); in adjust_lpt_heap()
136 if (val1 < val2) { in adjust_lpt_heap()
141 if (val3 > val2) in adjust_lpt_heap()
185 int cpos, val1, val2; in add_to_lpt_heap() local
195 val2 = get_heap_comp_val(heap->arr[cpos], cat); in add_to_lpt_heap()
196 if (val1 > val2) { in add_to_lpt_heap()