Fix type conversion narrowing error in C++11 (int to size_t)

Change-Id: Iff0bd355a506504117263d24ce3a4830345973c3
Use Chromium style for clang-format

Change-Id: I364b5fb93645595c45abf70b8098df8f84c155c3