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

Unified Diff: runtime/bin/io_natives.cc

Issue 3001963002: [dart:io] Namespaces for file IO (Closed)
Patch Set: Fuchsia fix Created 3 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/io_impl_sources.gni ('k') | runtime/bin/io_sources.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/io_natives.cc
diff --git a/runtime/bin/io_natives.cc b/runtime/bin/io_natives.cc
index 1bdb3079eb10e74bafeb320b1d8e4dfd2233c791..63945b4bef1e678a8853b1248961d078e89a5e47 100644
--- a/runtime/bin/io_natives.cc
+++ b/runtime/bin/io_natives.cc
@@ -20,67 +20,70 @@ namespace bin {
// builtin_natives.cc instead.
#define IO_NATIVE_LIST(V) \
V(Crypto_GetRandomBytes, 1) \
- V(Directory_Exists, 1) \
- V(Directory_Create, 1) \
- V(Directory_Current, 0) \
- V(Directory_SetCurrent, 1) \
- V(Directory_SystemTemp, 0) \
- V(Directory_CreateTemp, 1) \
- V(Directory_Delete, 2) \
- V(Directory_Rename, 2) \
- V(Directory_FillWithDirectoryListing, 4) \
+ V(Directory_Create, 2) \
+ V(Directory_CreateTemp, 2) \
+ V(Directory_Current, 1) \
+ V(Directory_Delete, 3) \
+ V(Directory_Exists, 2) \
+ V(Directory_FillWithDirectoryListing, 5) \
V(Directory_GetAsyncDirectoryListerPointer, 1) \
+ V(Directory_Rename, 3) \
V(Directory_SetAsyncDirectoryListerPointer, 2) \
+ V(Directory_SetCurrent, 2) \
+ V(Directory_SystemTemp, 1) \
V(EventHandler_SendData, 3) \
V(EventHandler_TimerMillisecondClock, 0) \
- V(File_GetPointer, 1) \
- V(File_SetPointer, 2) \
- V(File_Open, 2) \
- V(File_Exists, 1) \
+ V(File_AreIdentical, 3) \
V(File_Close, 1) \
- V(File_ReadByte, 1) \
- V(File_WriteByte, 2) \
+ V(File_Copy, 3) \
+ V(File_Create, 2) \
+ V(File_CreateLink, 3) \
+ V(File_Delete, 2) \
+ V(File_DeleteLink, 2) \
+ V(File_Exists, 2) \
+ V(File_Flush, 1) \
+ V(File_GetPointer, 1) \
+ V(File_GetStdioHandleType, 1) \
+ V(File_GetType, 3) \
+ V(File_LastAccessed, 2) \
+ V(File_LastModified, 2) \
+ V(File_Length, 1) \
+ V(File_LengthFromPath, 2) \
+ V(File_LinkTarget, 2) \
+ V(File_Lock, 4) \
+ V(File_Open, 3) \
+ V(File_OpenStdio, 1) \
+ V(File_Position, 1) \
V(File_Read, 2) \
+ V(File_ReadByte, 1) \
V(File_ReadInto, 4) \
- V(File_WriteFrom, 4) \
- V(File_Position, 1) \
+ V(File_Rename, 3) \
+ V(File_RenameLink, 3) \
+ V(File_ResolveSymbolicLinks, 2) \
+ V(File_SetLastAccessed, 3) \
+ V(File_SetLastModified, 3) \
+ V(File_SetPointer, 2) \
V(File_SetPosition, 2) \
+ V(File_Stat, 2) \
V(File_Truncate, 2) \
- V(File_Length, 1) \
- V(File_LengthFromPath, 1) \
- V(File_Stat, 1) \
- V(File_LastModified, 1) \
- V(File_SetLastModified, 2) \
- V(File_LastAccessed, 1) \
- V(File_SetLastAccessed, 2) \
- V(File_Flush, 1) \
- V(File_Lock, 4) \
- V(File_Create, 1) \
- V(File_CreateLink, 2) \
- V(File_LinkTarget, 1) \
- V(File_Delete, 1) \
- V(File_DeleteLink, 1) \
- V(File_Rename, 2) \
- V(File_Copy, 2) \
- V(File_RenameLink, 2) \
- V(File_ResolveSymbolicLinks, 1) \
- V(File_OpenStdio, 1) \
- V(File_GetStdioHandleType, 1) \
- V(File_GetType, 2) \
- V(File_AreIdentical, 2) \
+ V(File_WriteByte, 2) \
+ V(File_WriteFrom, 4) \
V(FileSystemWatcher_CloseWatcher, 1) \
V(FileSystemWatcher_GetSocketId, 2) \
V(FileSystemWatcher_InitWatcher, 0) \
V(FileSystemWatcher_IsSupported, 0) \
V(FileSystemWatcher_ReadEvents, 2) \
V(FileSystemWatcher_UnwatchPath, 2) \
- V(FileSystemWatcher_WatchPath, 4) \
+ V(FileSystemWatcher_WatchPath, 5) \
V(Filter_CreateZLibDeflate, 8) \
V(Filter_CreateZLibInflate, 4) \
V(Filter_Process, 4) \
V(Filter_Processed, 3) \
V(InternetAddress_Parse, 1) \
V(IOService_NewServicePort, 0) \
+ V(Namespace_Create, 2) \
+ V(Namespace_GetDefault, 0) \
+ V(Namespace_GetPointer, 1) \
V(NetworkInterface_ListSupported, 0) \
V(Platform_NumberOfProcessors, 0) \
V(Platform_OperatingSystem, 0) \
@@ -92,7 +95,7 @@ namespace bin {
V(Platform_ExecutableArguments, 0) \
V(Platform_GetVersion, 0) \
V(Platform_LocaleName, 0) \
- V(Process_Start, 11) \
+ V(Process_Start, 12) \
V(Process_Wait, 5) \
V(Process_KillPid, 2) \
V(Process_SetExitCode, 1) \
« no previous file with comments | « runtime/bin/io_impl_sources.gni ('k') | runtime/bin/io_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698