def METHOD_NAME(finder, resources, job_set):
    result = []
    for resource in resources:
        job_set.started_job(resource.path)
        result.extend(map(Location, finder.find_occurrences(resource)))
        job_set.finished_job()
    return result