Re-organize internal namespace

Move the function in internal namespace to the beginning of the file.

There will be following commits to add new functions into the internal
namespace, this commit makes it possible to group the functions
together.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Id953799b4c81df0f5a52f197789fb5a2aa5876b7
1 file changed