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

Unified Diff: runtime/bin/utils_fuchsia.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_android.cc ('k') | runtime/bin/utils_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/utils_fuchsia.cc
diff --git a/runtime/bin/utils_fuchsia.cc b/runtime/bin/utils_fuchsia.cc
index 09824d21b3dc2b1664af487faf3929b6e083708f..bdde6b7dad1bc4caee37ee44b75952a44c2165ce 100644
--- a/runtime/bin/utils_fuchsia.cc
+++ b/runtime/bin/utils_fuchsia.cc
@@ -24,7 +24,6 @@ OSError::OSError() : sub_system_(kSystem), code_(0), message_(NULL) {
SetMessage(Utils::StrError(errno, error_buf, kBufferSize));
}
-
void OSError::SetCodeAndMessage(SubSystem sub_system, int code) {
set_sub_system(sub_system);
set_code(code);
@@ -39,7 +38,6 @@ void OSError::SetCodeAndMessage(SubSystem sub_system, int code) {
}
}
-
const char* StringUtils::ConsoleStringToUtf8(const char* str,
intptr_t len,
intptr_t* result_len) {
@@ -47,7 +45,6 @@ const char* StringUtils::ConsoleStringToUtf8(const char* str,
return NULL;
}
-
const char* StringUtils::Utf8ToConsoleString(const char* utf8,
intptr_t len,
intptr_t* result_len) {
@@ -55,7 +52,6 @@ const char* StringUtils::Utf8ToConsoleString(const char* utf8,
return NULL;
}
-
char* StringUtils::ConsoleStringToUtf8(char* str,
intptr_t len,
intptr_t* result_len) {
@@ -63,7 +59,6 @@ char* StringUtils::ConsoleStringToUtf8(char* str,
return NULL;
}
-
char* StringUtils::Utf8ToConsoleString(char* utf8,
intptr_t len,
intptr_t* result_len) {
@@ -71,31 +66,25 @@ 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() {
int64_t ticks = mx_time_get(MX_CLOCK_MONOTONIC);
return ticks / kNanosecondsPerMicrosecond;
}
-
void TimerUtils::Sleep(int64_t millis) {
mx_nanosleep(mx_deadline_after(millis * kMicrosecondsPerMillisecond *
kNanosecondsPerMicrosecond));
« no previous file with comments | « runtime/bin/utils_android.cc ('k') | runtime/bin/utils_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698