| 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_
|
|
|