Lines Matching refs:fp
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): argument
924 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)
976 buf = fp.read(4)