Lines Matching refs:cand
1412 RomSec *cand = g_new(RomSec, 1); in add_romsec_to_list() local
1413 cand->base = base; in add_romsec_to_list()
1414 cand->se = se; in add_romsec_to_list()
1415 return g_list_prepend(secs, cand); in add_romsec_to_list()
1421 RomSec *cand; in rom_find_largest_gap_between() local
1455 cand = (RomSec *) it->data; in rom_find_largest_gap_between()
1456 if (count == 0 && count + cand->se == 1) { in rom_find_largest_gap_between()
1457 size_t gap = cand->base - gapstart; in rom_find_largest_gap_between()
1462 } else if (count == 1 && count + cand->se == 0) { in rom_find_largest_gap_between()
1463 gapstart = cand->base; in rom_find_largest_gap_between()
1465 count += cand->se; in rom_find_largest_gap_between()