Section 265I in The Code of Criminal Procedure
Title: Period of detention undergone by the accused to be setoff against the sentence of imprisonment
1[265-I. Period of detention undergone by the accused to be set off against the sentence of imprisonment.-- The provisions of section 428 shall apply, for setting off the period of detention undergone by the accused against the sentence of imprisonment imposed under this Chapter, in the same manner as they apply in respect of the imprisonment under other provisions of this Code.]
1[265J. Savings.-- The provisions of this Chapter shall have effect notwithstanding anything inconsistent therewith contained in any other provisions of this Code and nothing in such other provisions shall be construed to constrain the meaning of any provision of this Chapter.
Explanation.-- For the purposes of this Chapter, the expression "Public Prosecutor" has the meaning assigned to it under clause (u) of section 2 and includes an Assistant Public Prosecutor appointed under section 25.]
Title: Statements of accused not to be used
1[265K. Statements of accused not to be used.-- Notwithstanding anything contained in any law for the time being in force, the statements or facts stated by an accused in an application for plea bargaining filed under section 265B shall not be used for any other purpose except for the purpose of this Chapter.]
Title: Nonapplication of the Chapter
1[265L. Non-application of the Chapter.--Nothing in this Chapter shall apply to any juvenile or child as defined in clause (k) of section 2 of the Juvenile Justice (Care and Protection of Children) Act, 2000 (56 of 2000).
In this Chapter,--
(a) "detained" includes detained under any law providing for preventive detention;
(b) "prison" includes,--
(i) any place which has been declared by the State Government, by general or special order, to be a subsidiary jail;
(ii) any reformatory, Borstal institution or institution of a like nature