Searched refs:encoding (Results 1 – 12 of 12) sorted by relevance
| /tools/utils/ |
| A D | genfile.py | 16 def __init__(self, name, mode, encoding=None): argument 20 self._encoding = encoding 28 encoding=self._encoding) 54 def __init__(self, mode, encoding=None): argument 58 if encoding is None and 'b' not in mode: 60 encoding = 'utf-8' 61 self._encoding = encoding 67 return io.open(p, self._mode, encoding=self._encoding) 71 encoding=self._encoding) 91 def GenFile(name, mode, encoding=None): argument [all …]
|
| /tools/codegen/ |
| A D | codegen.py | 57 type=argparse.FileType('w', encoding='utf-8')) 61 type=argparse.FileType('r', encoding='utf-8'), 69 type=argparse.FileType('w', encoding='utf-8'), 74 type=argparse.FileType('r', encoding='utf-8'))
|
| /tools/typed/ |
| A D | type_gen.py | 74 type=argparse.FileType('w', encoding='utf-8'), 78 type=argparse.FileType('r', encoding='utf-8'), 90 type=argparse.FileType('w', encoding='utf-8'), 93 type=argparse.FileType('r', encoding='utf-8'),
|
| A D | ir.py | 1519 encoding='utf-8')) 2501 encoding='utf-8'))
|
| /tools/objects/ |
| A D | object_gen.py | 37 type=argparse.FileType('r', encoding="utf-8"), 41 type=argparse.FileType('w', encoding="utf-8"),
|
| /tools/registers/ |
| A D | register_gen.py | 135 type=argparse.FileType('r', encoding="utf-8"), 139 type=argparse.FileType('w', encoding="utf-8"), 145 type=argparse.FileType('r', encoding="utf-8"))
|
| /tools/hypercalls/ |
| A D | hypercall_gen.py | 182 type=argparse.FileType('w', encoding='utf-8'), 185 type=argparse.FileType('r', encoding='utf-8'), 192 type=argparse.FileType('w', encoding='utf-8'), 195 type=argparse.FileType('r', encoding='utf-8'),
|
| /tools/misc/ |
| A D | convert-utf-8.sh | 5 enc=$(file --mime-encoding "$1" | sed -E 's/.*: //g')
|
| /tools/events/ |
| A D | event_gen.py | 40 type=argparse.FileType('r', encoding='utf-8'), 62 type=argparse.FileType('r', encoding='utf-8'),
|
| /tools/build/ |
| A D | gen_ver.py | 66 with GenFile(options.output, 'w', encoding='utf-8') as f:
|
| A D | __main__.py | 159 with open(conf, 'r', encoding='utf-8') as f: 554 with open(conf, 'r', encoding='utf-8') as f:
|
| /tools/debug/ |
| A D | tracebuf.py | 91 type=argparse.FileType('w', encoding='utf-8'),
|
Completed in 451 milliseconds