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

Side by Side 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, 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 unified diff | Download patch
« no previous file with comments | « runtime/platform/utils.h ('k') | runtime/vm/atomic.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 #ifndef PLATFORM_UTILS_FUCHSIA_H_
6 #define PLATFORM_UTILS_FUCHSIA_H_
7
8 #include "platform/assert.h"
9
10 namespace dart {
11
12 inline int Utils::CountLeadingZeros(uword x) {
13 UNIMPLEMENTED();
14 return 0;
15 }
16
17
18 inline int Utils::CountTrailingZeros(uword x) {
19 UNIMPLEMENTED();
20 return 0;
21 }
22
23
24 inline uint16_t Utils::HostToBigEndian16(uint16_t value) {
25 UNIMPLEMENTED();
26 return 0;
27 }
28
29
30 inline uint32_t Utils::HostToBigEndian32(uint32_t value) {
31 UNIMPLEMENTED();
32 return 0;
33 }
34
35
36 inline uint64_t Utils::HostToBigEndian64(uint64_t value) {
37 UNIMPLEMENTED();
38 return 0;
39 }
40
41
42 inline uint16_t Utils::HostToLittleEndian16(uint16_t value) {
43 UNIMPLEMENTED();
44 return 0;
45 }
46
47
48 inline uint32_t Utils::HostToLittleEndian32(uint32_t value) {
49 UNIMPLEMENTED();
50 return 0;
51 }
52
53
54 inline uint64_t Utils::HostToLittleEndian64(uint64_t value) {
55 UNIMPLEMENTED();
56 return 0;
57 }
58
59
60 inline char* Utils::StrError(int err, char* buffer, size_t bufsize) {
61 UNIMPLEMENTED();
62 return NULL;
63 }
64
65 } // namespace dart
66
67 #endif // PLATFORM_UTILS_FUCHSIA_H_
OLDNEW
« 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