code: def find_all_on_path(filename, extras=None):
      entries = os.environ["PATH"].split(os.pathsep)
      ret = []
      for p in entries:
          fname = os.path.abspath(os.path.join(p, filename))
          if os.path.isfile(fname) and fname not in ret:
              ret.append(fname)
      if extras:
          for p in extras:
              fname = os.path.abspath(os.path.join(p, filename))
              if os.path.isfile(fname) and fname not in ret:
                  ret.append(fname)
      return ret
  
file_path: cpython/PCbuild/prepare_ssl.py
imports: from __future__ import print_function
  import os
  import re
  import sys
  import subprocess
  from shutil import copy
label_desc: Use image node_id 1 for calling a global function with example usage: find_all_on_path(filename, extras) and returns: ret