Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 8 of 8) sorted by relevance

/development/vndk/tools/sourcedr/ninja/
Dninja.py33 def open(path, mode, encoding=None): argument
277 def __init__(self, lines_iterable, path='<stdin>', encoding='utf-8'): argument
278 self.encoding = encoding
547 def parse(self, path, encoding, depfile=None): argument
558 self._parse_internal(path, encoding, EvalEnv())
560 self.parse_dep_file(depfile, encoding)
564 def _parse_internal(self, path, encoding, env): argument
566 with open(path, 'r', encoding=encoding) as fp:
567 self._push_context(Lexer(fp, path, encoding), env)
839 self._parse_internal(path, self._lexer.encoding, env)
[all …]
/development/scripts/
Dusb-reset-by-serial.py94 encoding = locale.getdefaultlocale()[1]
98 decoded_err = perr.decode(encoding)
103 decoded = pout.decode(encoding)
Dboardconfig_usage_analysis.py102 for line in open(board_config_mk, encoding='latin1'):
128 with open(makefile, encoding='latin1') as mk_file:
Dstack_core.py138 return ln.encode().decode(encoding='utf8', errors='ignore')
/development/samples/devbytes/telephony/SmsSampleProject/
Dgradle.properties13 # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding
/development/testrunner/
Dandroid_manifest.py109 self._dom.writexml(open(self._manifest_path, mode='w'), encoding='utf-8')
/development/vndk/snapshot/
Dutils.py57 output = subprocess.check_output(cmd, encoding='utf-8')
/development/tools/privapp_permissions/
Dprivapp_permissions.py156 return output.decode(encoding='UTF-8')
477 return output.decode(encoding='UTF-8')