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

Unified Diff: runtime/platform/utils_fuchsia.h

Issue 2117593002: Fuchsia: Initial check-in. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 6 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/platform/utils.h ('k') | runtime/vm/atomic.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/utils_fuchsia.h
diff --git a/runtime/platform/utils_fuchsia.h b/runtime/platform/utils_fuchsia.h
new file mode 100644
index 0000000000000000000000000000000000000000..705422587974855b16149d441460869dd6b08558
--- /dev/null
+++ b/runtime/platform/utils_fuchsia.h
@@ -0,0 +1,67 @@
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+#ifndef PLATFORM_UTILS_FUCHSIA_H_
+#define PLATFORM_UTILS_FUCHSIA_H_
+
+#include "platform/assert.h"
+
+namespace dart {
+
+inline int Utils::CountLeadingZeros(uword x) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+inline int Utils::CountTrailingZeros(uword x) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+inline uint16_t Utils::HostToBigEndian16(uint16_t value) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+inline uint32_t Utils::HostToBigEndian32(uint32_t value) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+inline uint64_t Utils::HostToBigEndian64(uint64_t value) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+inline uint16_t Utils::HostToLittleEndian16(uint16_t value) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+inline uint32_t Utils::HostToLittleEndian32(uint32_t value) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+inline uint64_t Utils::HostToLittleEndian64(uint64_t value) {
+ UNIMPLEMENTED();
+ return 0;
+}
+
+
+inline char* Utils::StrError(int err, char* buffer, size_t bufsize) {
+ UNIMPLEMENTED();
+ return NULL;
+}
+
+} // namespace dart
+
+#endif // PLATFORM_UTILS_FUCHSIA_H_
« no previous file with comments | « runtime/platform/utils.h ('k') | runtime/vm/atomic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698