code: def testReadWriteAll(self):
      comm = self.COMM
      size = comm.Get_size()
      rank = comm.Get_rank()
      fh = self.FILE
      for array, typecode in arrayimpl_loop_io():
          with arrayimpl.test(self):
              etype = array.TypeMap[typecode]
              fh.Set_size(0)
              fh.Set_view(0, etype)
              count = 13
              wbuf = array(42, typecode, count)
              fh.Seek(count * rank, MPI.SEEK_SET)
              fh.Write_all(wbuf.as_raw())
              fh.Sync()
              comm.Barrier()
              fh.Sync()
              rbuf = array(-1, typecode, count + 1)
              fh.Seek(count * rank, MPI.SEEK_SET)
              fh.Read_all(rbuf.as_mpi_c(count))
              for value in rbuf[:-1]:
                  self.assertEqual(value, scalar(42))
              self.assertEqual(rbuf[-1], scalar(-1))
              comm.Barrier()
  
imports: from mpi4py import MPI
  import mpiunittest
  import arrayimpl
  import os, tempfile
  import platform
label_desc: Use image node_id 10 for calling the BaseTestIOBasic obj's underlying member method code with example usage: obj.testReadWriteAll() without return types