You can find definitions for these environment variables in the file
texmf.cnf
(page
48
)