third_party/android_crazy_linker/src/tests/pylib/source_utils.py
def CSourceForConstCharArray(chars, variable_name, margin=4, width=80):
  """Return C source fragment for static const char C array.

  Args:
    chars: An array or string containing all the characters for array.
    variable_name: Name of the array variable.
  Returns:
    A new string holding a C source fragment for the array definition.
  """
  out = 'static const char %s[%d] = {\n' % (variable_name, len(chars))
  out += CSourceForArrayData(chars, _FormatChar, margin, width)
  out += '};\n'
  return out
Return C source fragment for static const char C array.

  Args:
    chars: An array or string containing all the characters for array.
    variable_name: Name of the array variable.
  Returns:
    A new string holding a C source fragment for the array definition.
  
Return C source fragment for static const char C array.
Return C source fragment for static const char C array .
def CSourceForConstCharArray(chars, variable_name, margin=4, width=80):
  out = 'static const char %s[%d] = {\n' % (variable_name, len(chars))
  out += CSourceForArrayData(chars, _FormatChar, margin, width)
  out += '};\n'
  return out
def CSourceForConstCharArray ( chars , variable_name , margin = 4 , width = 80 ) : out = 'static const char %s[%d] = {\n' % ( variable_name , len ( chars ) ) out += CSourceForArrayData ( chars , _FormatChar , margin , width ) out += '};\n' return out
Return C source fragment for static const char C array.
Return C source fragment for static const char C array .
"""Return C source fragment for static const char C array.

  Args:
    chars: An array or string containing all the characters for array.
    variable_name: Name of the array variable.
  Returns:
    A new string holding a C source fragment for the array definition.
  """
A new string holding a C source fragment for the array definition.
A new string holding a C source fragment for the array definition .
chars
An array or string containing all the characters for array.
An array or string containing all the characters for array .
variable_name
Name of the array variable.
Name of the array variable .
margin
width