| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #if !defined(DART_IO_DISABLED) | 5 #if !defined(DART_IO_DISABLED) |
| 6 | 6 |
| 7 #include "platform/globals.h" | 7 #include "platform/globals.h" |
| 8 #if defined(TARGET_OS_FUCHSIA) | 8 #if defined(TARGET_OS_FUCHSIA) |
| 9 | 9 |
| 10 #include "bin/socket.h" | 10 #include "bin/socket.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 } | 38 } |
| 39 | 39 |
| 40 | 40 |
| 41 intptr_t Socket::CreateBindConnect(const RawAddr& addr, | 41 intptr_t Socket::CreateBindConnect(const RawAddr& addr, |
| 42 const RawAddr& source_addr) { | 42 const RawAddr& source_addr) { |
| 43 UNIMPLEMENTED(); | 43 UNIMPLEMENTED(); |
| 44 return -1; | 44 return -1; |
| 45 } | 45 } |
| 46 | 46 |
| 47 | 47 |
| 48 bool Socket::IsBindError(intptr_t error_number) { | |
| 49 UNIMPLEMENTED(); | |
| 50 return false; | |
| 51 } | |
| 52 | |
| 53 | |
| 54 intptr_t Socket::Available(intptr_t fd) { | 48 intptr_t Socket::Available(intptr_t fd) { |
| 55 UNIMPLEMENTED(); | 49 UNIMPLEMENTED(); |
| 56 return -1; | 50 return -1; |
| 57 } | 51 } |
| 58 | 52 |
| 59 | 53 |
| 60 intptr_t Socket::Read(intptr_t fd, void* buffer, intptr_t num_bytes) { | 54 intptr_t Socket::Read(intptr_t fd, void* buffer, intptr_t num_bytes) { |
| 61 UNIMPLEMENTED(); | 55 UNIMPLEMENTED(); |
| 62 return -1; | 56 return -1; |
| 63 } | 57 } |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 UNIMPLEMENTED(); | 233 UNIMPLEMENTED(); |
| 240 return false; | 234 return false; |
| 241 } | 235 } |
| 242 | 236 |
| 243 } // namespace bin | 237 } // namespace bin |
| 244 } // namespace dart | 238 } // namespace dart |
| 245 | 239 |
| 246 #endif // defined(TARGET_OS_FUCHSIA) | 240 #endif // defined(TARGET_OS_FUCHSIA) |
| 247 | 241 |
| 248 #endif // !defined(DART_IO_DISABLED) | 242 #endif // !defined(DART_IO_DISABLED) |
| OLD | NEW |