OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 | 301 |
302 static Handle<Value> Print(const Arguments& args); | 302 static Handle<Value> Print(const Arguments& args); |
303 static Handle<Value> Write(const Arguments& args); | 303 static Handle<Value> Write(const Arguments& args); |
304 static Handle<Value> Yield(const Arguments& args); | 304 static Handle<Value> Yield(const Arguments& args); |
305 static Handle<Value> Quit(const Arguments& args); | 305 static Handle<Value> Quit(const Arguments& args); |
306 static Handle<Value> Version(const Arguments& args); | 306 static Handle<Value> Version(const Arguments& args); |
307 static Handle<Value> EnableProfiler(const Arguments& args); | 307 static Handle<Value> EnableProfiler(const Arguments& args); |
308 static Handle<Value> DisableProfiler(const Arguments& args); | 308 static Handle<Value> DisableProfiler(const Arguments& args); |
309 static Handle<Value> Read(const Arguments& args); | 309 static Handle<Value> Read(const Arguments& args); |
310 static Handle<Value> ReadBinary(const Arguments& args); | 310 static Handle<Value> ReadBinary(const Arguments& args); |
| 311 static Handle<Value> ReadBuffer(const Arguments& args); |
311 static Handle<String> ReadFromStdin(); | 312 static Handle<String> ReadFromStdin(); |
312 static Handle<Value> ReadLine(const Arguments& args) { | 313 static Handle<Value> ReadLine(const Arguments& args) { |
313 return ReadFromStdin(); | 314 return ReadFromStdin(); |
314 } | 315 } |
315 static Handle<Value> Load(const Arguments& args); | 316 static Handle<Value> Load(const Arguments& args); |
316 static Handle<Value> ArrayBuffer(const Arguments& args); | 317 static Handle<Value> ArrayBuffer(const Arguments& args); |
317 static Handle<Value> Int8Array(const Arguments& args); | 318 static Handle<Value> Int8Array(const Arguments& args); |
318 static Handle<Value> Uint8Array(const Arguments& args); | 319 static Handle<Value> Uint8Array(const Arguments& args); |
319 static Handle<Value> Int16Array(const Arguments& args); | 320 static Handle<Value> Int16Array(const Arguments& args); |
320 static Handle<Value> Uint16Array(const Arguments& args); | 321 static Handle<Value> Uint16Array(const Arguments& args); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 ExternalArrayType type, | 388 ExternalArrayType type, |
388 size_t element_size); | 389 size_t element_size); |
389 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); | 390 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); |
390 }; | 391 }; |
391 | 392 |
392 | 393 |
393 } // namespace v8 | 394 } // namespace v8 |
394 | 395 |
395 | 396 |
396 #endif // V8_D8_H_ | 397 #endif // V8_D8_H_ |
OLD | NEW |