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

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

Issue 14766003: Add v6Only named argument to ServerSocket and etc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge Created 7 years, 7 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') | runtime/bin/socket_linux.cc » ('J')
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 23 matching lines...) Expand all
34 V(Platform_OperatingSystem, 0) \ 34 V(Platform_OperatingSystem, 0) \
35 V(Platform_PathSeparator, 0) \ 35 V(Platform_PathSeparator, 0) \
36 V(Platform_LocalHostname, 0) \ 36 V(Platform_LocalHostname, 0) \
37 V(Platform_Environment, 0) \ 37 V(Platform_Environment, 0) \
38 V(Process_Start, 10) \ 38 V(Process_Start, 10) \
39 V(Process_Kill, 3) \ 39 V(Process_Kill, 3) \
40 V(Process_SetExitCode, 1) \ 40 V(Process_SetExitCode, 1) \
41 V(Process_Exit, 1) \ 41 V(Process_Exit, 1) \
42 V(Process_Sleep, 1) \ 42 V(Process_Sleep, 1) \
43 V(Process_Pid, 1) \ 43 V(Process_Pid, 1) \
44 V(ServerSocket_CreateBindListen, 4) \ 44 V(ServerSocket_CreateBindListen, 5) \
45 V(ServerSocket_Accept, 2) \ 45 V(ServerSocket_Accept, 2) \
46 V(Socket_CreateConnect, 3) \ 46 V(Socket_CreateConnect, 3) \
47 V(Socket_Available, 1) \ 47 V(Socket_Available, 1) \
48 V(Socket_Read, 2) \ 48 V(Socket_Read, 2) \
49 V(Socket_ReadList, 4) \ 49 V(Socket_ReadList, 4) \
50 V(Socket_WriteList, 4) \ 50 V(Socket_WriteList, 4) \
51 V(Socket_GetPort, 1) \ 51 V(Socket_GetPort, 1) \
52 V(Socket_GetRemotePeer, 1) \ 52 V(Socket_GetRemotePeer, 1) \
53 V(Socket_GetError, 1) \ 53 V(Socket_GetError, 1) \
54 V(Socket_GetStdioHandle, 2) \ 54 V(Socket_GetStdioHandle, 2) \
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 if (!strcmp(function_name, entry->name_) && 91 if (!strcmp(function_name, entry->name_) &&
92 (entry->argument_count_ == argument_count)) { 92 (entry->argument_count_ == argument_count)) {
93 return reinterpret_cast<Dart_NativeFunction>(entry->function_); 93 return reinterpret_cast<Dart_NativeFunction>(entry->function_);
94 } 94 }
95 } 95 }
96 return NULL; 96 return NULL;
97 } 97 }
98 98
99 } // namespace bin 99 } // namespace bin
100 } // namespace dart 100 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/socket.h » ('j') | runtime/bin/socket_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698