original_docstring:  Returns dict of all packages matched. 
docstring: Returns dict of all packages matched.
docstring_tokens: Returns dict of all packages matched .
code: def _all(self):
          """ Returns dict of all packages matched. """
          if self._all_images:
              return self._all_images
  
          used_images = self.get_container_images()
          image_list = self.cli.docker_images()
          if not image_list:
              return
  
          all_exprs = self.core_image_exprs + self.other_image_exprs
          for line in image_list:
              for image in all_exprs:
                  fullname, shortname, version = self._match_image(image, line)
                  if shortname is None:
                      continue
  
                  if (fullname, version) not in used_images:
                      continue
  
                  if image in self.core_image_exprs:
                      self._core_images[shortname] = version
                  else:
                      self._other_images[shortname] = version
  
          # ensure sorted
          self._core_images = sorted_dict(self._core_images)
          self._other_images = sorted_dict(self._other_images)
          combined = {}
          combined.update(self._core_images)
          combined.update(self._other_images)
          self._all_images = sorted_dict(combined)
  
          return self._all_images
code_tokens: def _all ( self ) : if self . _all_images : return self . _all_images used_images = self . get_container_images ( ) image_list = self . cli . docker_images ( ) if not image_list : return all_exprs = self . core_image_exprs + self . other_image_exprs for line in image_list : for image in all_exprs : fullname , shortname , version = self . _match_image ( image , line ) if shortname is None : continue if ( fullname , version ) not in used_images : continue if image in self . core_image_exprs : self . _core_images [ shortname ] = version else : self . _other_images [ shortname ] = version self . _core_images = sorted_dict ( self . _core_images ) self . _other_images = sorted_dict ( self . _other_images ) combined = { } combined . update ( self . _core_images ) combined . update ( self . _other_images ) self . _all_images = sorted_dict ( combined ) return self . _all_images
short_docstring: Returns dict of all packages matched.
short_docstring_tokens: Returns dict of all packages matched .
comment: """ Returns dict of all packages matched. """$SEP$# ensure sorted