| 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) && !defined(DART_IO_SECURE_SOCKET_DISABLED) | 5 #if !defined(DART_IO_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED) |
| 6 | 6 |
| 7 #include "platform/globals.h" | 7 #include "platform/globals.h" |
| 8 #if TARGET_OS_IOS | 8 #if HOST_OS_IOS |
| 9 | 9 |
| 10 #include "bin/secure_socket.h" | 10 #include "bin/secure_socket.h" |
| 11 #include "bin/secure_socket_ios.h" | 11 #include "bin/secure_socket_ios.h" |
| 12 | 12 |
| 13 #include <errno.h> | 13 #include <errno.h> |
| 14 #include <fcntl.h> | 14 #include <fcntl.h> |
| 15 #include <sys/stat.h> | 15 #include <sys/stat.h> |
| 16 #include <sys/syslimits.h> | 16 #include <sys/syslimits.h> |
| 17 #include <stdio.h> | 17 #include <stdio.h> |
| 18 #include <string.h> | 18 #include <string.h> |
| (...skipping 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1495 Log::PrintErr("ProcessWritePlaintextBuffer: requested: %ld, written: %ld\n", | 1495 Log::PrintErr("ProcessWritePlaintextBuffer: requested: %ld, written: %ld\n", |
| 1496 length, bytes); | 1496 length, bytes); |
| 1497 } | 1497 } |
| 1498 *bytes_processed = static_cast<intptr_t>(bytes); | 1498 *bytes_processed = static_cast<intptr_t>(bytes); |
| 1499 return status; | 1499 return status; |
| 1500 } | 1500 } |
| 1501 | 1501 |
| 1502 } // namespace bin | 1502 } // namespace bin |
| 1503 } // namespace dart | 1503 } // namespace dart |
| 1504 | 1504 |
| 1505 #endif // TARGET_OS_IOS | 1505 #endif // HOST_OS_IOS |
| 1506 | 1506 |
| 1507 #endif // !defined(DART_IO_SECURE_SOCKET_DISABLED) | 1507 #endif // !defined(DART_IO_SECURE_SOCKET_DISABLED) |
| OLD | NEW |