third_party/android_crazy_linker/src/tests/pylib/source_utils.py
def _FormatChar(ch):
  """Convert a character into its C source description."""
  code = ord(ch)
  if code < 32 or code > 127:
    return "'\\%d'" % code
  else:
    return "'%s'" % ch
Convert a character into its C source description.
Convert a character into its C source description.
Convert a character into its C source description .
def _FormatChar(ch):
  code = ord(ch)
  if code < 32 or code > 127:
    return "'\\%d'" % code
  else:
    return "'%s'" % ch
def _FormatChar ( ch ) : code = ord ( ch ) if code < 32 or code > 127 : return "'\\%d'" % code else : return "'%s'" % ch
Convert a character into its C source description.
Convert a character into its C source description .
"""Convert a character into its C source description."""
ch