Consider the function
$$f(x) = e^{-\lvert\log x\rvert} = \begin{cases} x & \text{ if } |x| \leq 1,\\ x^{-1} & \text{ otherwise} \end{cases}$$
This might appear in an argument of the following nature, for instance:
Suppose that $\psi$ is a continuous function such that $\psi(c x) = \psi(x)$. Then $\psi(x) = \psi(f(c) x) = \psi(f(c)^2 x) = \dots = \psi(f(c)^n x)$ for all $x$. Since $\psi$ is continuous, we have $$\psi(0) = \psi(\lim_{n \to \infty} f(c)^n x) = \lim_{n \to \infty} \psi(f(c)^n x) = \psi(x)$$ for all $x$. So $\psi$ is constant.
Does this function have an existing name? (Bonus question: is there a name for the function $g(x) = -|x|$?)