This chapter applies to criminal actions and to all other proceedings in criminal cases which are herein provided for.
R.L.1910, § 5542.