Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: runtime/bin/utils_android.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/utils.h ('k') | runtime/bin/utils_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/utils_android.cc
diff --git a/runtime/bin/utils_android.cc b/runtime/bin/utils_android.cc
index adb65842c62f67889ba6f029ae8c5736674cb84b..83bfcc77c40573d2c273da1ec84cfe16ff9a848d 100644
--- a/runtime/bin/utils_android.cc
+++ b/runtime/bin/utils_android.cc
@@ -26,7 +26,6 @@ OSError::OSError() : sub_system_(kSystem), code_(0), message_(NULL) {
SetMessage(error_message);
}
-
void OSError::SetCodeAndMessage(SubSystem sub_system, int code) {
set_sub_system(sub_system);
set_code(code);
@@ -42,7 +41,6 @@ void OSError::SetCodeAndMessage(SubSystem sub_system, int code) {
}
}
-
const char* StringUtils::ConsoleStringToUtf8(const char* str,
intptr_t len,
intptr_t* result_len) {
@@ -50,7 +48,6 @@ const char* StringUtils::ConsoleStringToUtf8(const char* str,
return NULL;
}
-
const char* StringUtils::Utf8ToConsoleString(const char* utf8,
intptr_t len,
intptr_t* result_len) {
@@ -58,7 +55,6 @@ const char* StringUtils::Utf8ToConsoleString(const char* utf8,
return NULL;
}
-
char* StringUtils::ConsoleStringToUtf8(char* str,
intptr_t len,
intptr_t* result_len) {
@@ -66,7 +62,6 @@ char* StringUtils::ConsoleStringToUtf8(char* str,
return NULL;
}
-
char* StringUtils::Utf8ToConsoleString(char* utf8,
intptr_t len,
intptr_t* result_len) {
@@ -74,25 +69,20 @@ char* StringUtils::Utf8ToConsoleString(char* utf8,
return NULL;
}
-
char* StringUtils::StrNDup(const char* s, intptr_t n) {
return strndup(s, n);
}
-
bool ShellUtils::GetUtf8Argv(int argc, char** argv) {
return false;
}
-
void TimerUtils::InitOnce() {}
-
int64_t TimerUtils::GetCurrentMonotonicMillis() {
return GetCurrentMonotonicMicros() / 1000;
}
-
int64_t TimerUtils::GetCurrentMonotonicMicros() {
struct timespec ts;
if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) {
@@ -106,7 +96,6 @@ int64_t TimerUtils::GetCurrentMonotonicMicros() {
return result;
}
-
void TimerUtils::Sleep(int64_t millis) {
struct timespec req; // requested.
struct timespec rem; // remainder.
« no previous file with comments | « runtime/bin/utils.h ('k') | runtime/bin/utils_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698