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

Side by Side Diff: runtime/bin/io_natives.cc

Issue 25511002: Add reusePort argument to ServerSocket. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Mac os X version. Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/bin/socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 #include "bin/io_natives.h" 5 #include "bin/io_natives.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include "bin/builtin.h" 10 #include "bin/builtin.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 V(SecureSocket_Connect, 9) \ 48 V(SecureSocket_Connect, 9) \
49 V(SecureSocket_Destroy, 1) \ 49 V(SecureSocket_Destroy, 1) \
50 V(SecureSocket_Handshake, 1) \ 50 V(SecureSocket_Handshake, 1) \
51 V(SecureSocket_Init, 1) \ 51 V(SecureSocket_Init, 1) \
52 V(SecureSocket_PeerCertificate, 1) \ 52 V(SecureSocket_PeerCertificate, 1) \
53 V(SecureSocket_RegisterBadCertificateCallback, 2) \ 53 V(SecureSocket_RegisterBadCertificateCallback, 2) \
54 V(SecureSocket_RegisterHandshakeCompleteCallback, 2) \ 54 V(SecureSocket_RegisterHandshakeCompleteCallback, 2) \
55 V(SecureSocket_Renegotiate, 4) \ 55 V(SecureSocket_Renegotiate, 4) \
56 V(SecureSocket_InitializeLibrary, 3) \ 56 V(SecureSocket_InitializeLibrary, 3) \
57 V(SecureSocket_FilterPointer, 1) \ 57 V(SecureSocket_FilterPointer, 1) \
58 V(ServerSocket_CreateBindListen, 5) \ 58 V(ServerSocket_CreateBindListen, 6) \
59 V(ServerSocket_Accept, 2) \ 59 V(ServerSocket_Accept, 2) \
60 V(Socket_CreateConnect, 3) \ 60 V(Socket_CreateConnect, 3) \
61 V(Socket_Available, 1) \ 61 V(Socket_Available, 1) \
62 V(Socket_Read, 2) \ 62 V(Socket_Read, 2) \
63 V(Socket_WriteList, 4) \ 63 V(Socket_WriteList, 4) \
64 V(Socket_GetPort, 1) \ 64 V(Socket_GetPort, 1) \
65 V(Socket_GetRemotePeer, 1) \ 65 V(Socket_GetRemotePeer, 1) \
66 V(Socket_GetError, 1) \ 66 V(Socket_GetError, 1) \
67 V(Socket_GetStdioHandle, 2) \ 67 V(Socket_GetStdioHandle, 2) \
68 V(Socket_GetType, 1) \ 68 V(Socket_GetType, 1) \
(...skipping 29 matching lines...) Expand all
98 if (!strcmp(function_name, entry->name_) && 98 if (!strcmp(function_name, entry->name_) &&
99 (entry->argument_count_ == argument_count)) { 99 (entry->argument_count_ == argument_count)) {
100 return reinterpret_cast<Dart_NativeFunction>(entry->function_); 100 return reinterpret_cast<Dart_NativeFunction>(entry->function_);
101 } 101 }
102 } 102 }
103 return NULL; 103 return NULL;
104 } 104 }
105 105
106 } // namespace bin 106 } // namespace bin
107 } // namespace dart 107 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698