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

Unified Diff: runtime/bin/io_natives.cc

Issue 1265703004: Move file i/o natives from builtin list to io native list (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/builtin_natives.cc ('k') | no next file » | 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 8bbd2cd5860238ff417cd2f4b8aee6ccad180272..2be3f3408f12830a52daae03f1b4bee4e324a4a2 100644
--- a/runtime/bin/io_natives.cc
+++ b/runtime/bin/io_natives.cc
@@ -20,7 +20,48 @@ namespace bin {
// Some classes, like File and Directory, list their implementations in
// 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_List, 3) \
V(EventHandler_SendData, 3) \
+ V(File_Open, 2) \
+ V(File_Exists, 1) \
+ V(File_GetFD, 1) \
+ V(File_Close, 1) \
+ V(File_ReadByte, 1) \
+ V(File_WriteByte, 2) \
+ V(File_Read, 2) \
+ V(File_ReadInto, 4) \
+ V(File_WriteFrom, 4) \
+ V(File_Position, 1) \
+ V(File_SetPosition, 2) \
+ V(File_Truncate, 2) \
+ V(File_Length, 1) \
+ V(File_LengthFromPath, 1) \
+ V(File_Stat, 1) \
+ V(File_LastModified, 1) \
+ 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(FileSystemWatcher_CloseWatcher, 1) \
V(FileSystemWatcher_GetSocketId, 2) \
V(FileSystemWatcher_InitWatcher, 0) \
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698