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

Unified Diff: runtime/bin/stdio.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/stdio.h ('k') | runtime/bin/stdio_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/stdio.cc
diff --git a/runtime/bin/stdio.cc b/runtime/bin/stdio.cc
index fec14b1c170cecd3f6063243271b761d34d8c1b6..2ebea1e587c5cf5a334a0d940ee1012b11361c71 100644
--- a/runtime/bin/stdio.cc
+++ b/runtime/bin/stdio.cc
@@ -28,7 +28,6 @@ void FUNCTION_NAME(Stdin_ReadByte)(Dart_NativeArguments args) {
}
}
-
void FUNCTION_NAME(Stdin_GetEchoMode)(Dart_NativeArguments args) {
bool enabled = false;
if (Stdin::GetEchoMode(&enabled)) {
@@ -38,7 +37,6 @@ void FUNCTION_NAME(Stdin_GetEchoMode)(Dart_NativeArguments args) {
}
}
-
void FUNCTION_NAME(Stdin_SetEchoMode)(Dart_NativeArguments args) {
bool enabled = DartUtils::GetBooleanValue(Dart_GetNativeArgument(args, 0));
if (Stdin::SetEchoMode(enabled)) {
@@ -48,7 +46,6 @@ void FUNCTION_NAME(Stdin_SetEchoMode)(Dart_NativeArguments args) {
}
}
-
void FUNCTION_NAME(Stdin_GetLineMode)(Dart_NativeArguments args) {
bool enabled = false;
if (Stdin::GetLineMode(&enabled)) {
@@ -58,7 +55,6 @@ void FUNCTION_NAME(Stdin_GetLineMode)(Dart_NativeArguments args) {
}
}
-
void FUNCTION_NAME(Stdin_SetLineMode)(Dart_NativeArguments args) {
bool enabled = DartUtils::GetBooleanValue(Dart_GetNativeArgument(args, 0));
if (Stdin::SetLineMode(enabled)) {
@@ -68,7 +64,6 @@ void FUNCTION_NAME(Stdin_SetLineMode)(Dart_NativeArguments args) {
}
}
-
void FUNCTION_NAME(Stdin_AnsiSupported)(Dart_NativeArguments args) {
bool supported = false;
if (Stdin::AnsiSupported(&supported)) {
@@ -78,7 +73,6 @@ void FUNCTION_NAME(Stdin_AnsiSupported)(Dart_NativeArguments args) {
}
}
-
void FUNCTION_NAME(Stdout_GetTerminalSize)(Dart_NativeArguments args) {
if (!Dart_IsInteger(Dart_GetNativeArgument(args, 0))) {
OSError os_error(-1, "Invalid argument", OSError::kUnknown);
@@ -102,7 +96,6 @@ void FUNCTION_NAME(Stdout_GetTerminalSize)(Dart_NativeArguments args) {
}
}
-
void FUNCTION_NAME(Stdout_AnsiSupported)(Dart_NativeArguments args) {
if (!Dart_IsInteger(Dart_GetNativeArgument(args, 0))) {
OSError os_error(-1, "Invalid argument", OSError::kUnknown);
« no previous file with comments | « runtime/bin/stdio.h ('k') | runtime/bin/stdio_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698