Searched refs:fp (Results 1 – 1 of 1) sorted by relevance
566 with open(path, 'r', encoding=encoding) as fp:567 self._push_context(Lexer(fp, path, encoding), env)880 with open(path, 'rb') as fp:881 return self._parse(fp, encoding)922 def _parse(self, fp, encoding): argument924 if fp.readline() != b'# ninjadeps\n':928 version = self._unpack_uint32(fp.read(4))935 buf = fp.read(4)950 buf = fp.read(record_size)974 buf = fp.read(record_size - 4)[all …]