gpu/command_buffer/build_cmd_buffer_lib.py
def InitializePrefix(mixed_case_prefix):
  """Initialize prefix used for autogenerated code.

  Must be called before autogenerating code. Prefixes are used by autogenerated
  code in many places: class names, filenames, namespaces, constants,
  defines. Given a single mixed case prefix suitable for a class name, we also
  initialize lower and upper case prefixes for other uses (e.g. filenames and
  #defines).
  """
  global _prefix
  if _prefix:
    raise AssertionError
  _prefix = mixed_case_prefix

  global _upper_prefix
  _upper_prefix = mixed_case_prefix.upper()

  global _lower_prefix
  _lower_prefix = mixed_case_prefix.lower()
Initialize prefix used for autogenerated code.

  Must be called before autogenerating code. Prefixes are used by autogenerated
  code in many places: class names, filenames, namespaces, constants,
  defines. Given a single mixed case prefix suitable for a class name, we also
  initialize lower and upper case prefixes for other uses (e.g. filenames and
  #defines).
  
Initialize prefix used for autogenerated code.
Must be called before autogenerating code. Prefixes are used by autogenerated
code in many places: class names, filenames, namespaces, constants,
defines. Given a single mixed case prefix suitable for a class name, we also
initialize lower and upper case prefixes for other uses .
Initialize prefix used for autogenerated code . Must be called before autogenerating code . Prefixes are used by autogenerated code in many places : class names filenames namespaces constants defines . Given a single mixed case prefix suitable for a class name we also initialize lower and upper case prefixes for other uses .
def InitializePrefix(mixed_case_prefix):
  global _prefix
  if _prefix:
    raise AssertionError
  _prefix = mixed_case_prefix
  global _upper_prefix
  _upper_prefix = mixed_case_prefix.upper()
  global _lower_prefix
  _lower_prefix = mixed_case_prefix.lower()
def InitializePrefix ( mixed_case_prefix ) : global _prefix if _prefix : raise AssertionError _prefix = mixed_case_prefix global _upper_prefix _upper_prefix = mixed_case_prefix . upper ( ) global _lower_prefix _lower_prefix = mixed_case_prefix . lower ( )
Initialize prefix used for autogenerated code.
Initialize prefix used for autogenerated code .
"""Initialize prefix used for autogenerated code.

  Must be called before autogenerating code. Prefixes are used by autogenerated
  code in many places: class names, filenames, namespaces, constants,
  defines. Given a single mixed case prefix suitable for a class name, we also
  initialize lower and upper case prefixes for other uses (e.g. filenames and
  #defines).
  """
mixed_case_prefix