The word “sheriff”, or “officer”, as used in this chapter is meant to apply to the like officer of any other court.