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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 static void RealmSharedGet(Local<String> property, | 310 static void RealmSharedGet(Local<String> property, |
311 const PropertyCallbackInfo<Value>& info); | 311 const PropertyCallbackInfo<Value>& info); |
312 static void RealmSharedSet(Local<String> property, | 312 static void RealmSharedSet(Local<String> property, |
313 Local<Value> value, | 313 Local<Value> value, |
314 const PropertyCallbackInfo<void>& info); | 314 const PropertyCallbackInfo<void>& info); |
315 | 315 |
316 static void Print(const v8::FunctionCallbackInfo<v8::Value>& args); | 316 static void Print(const v8::FunctionCallbackInfo<v8::Value>& args); |
317 static void Write(const v8::FunctionCallbackInfo<v8::Value>& args); | 317 static void Write(const v8::FunctionCallbackInfo<v8::Value>& args); |
318 static void Quit(const v8::FunctionCallbackInfo<v8::Value>& args); | 318 static void Quit(const v8::FunctionCallbackInfo<v8::Value>& args); |
319 static void Version(const v8::FunctionCallbackInfo<v8::Value>& args); | 319 static void Version(const v8::FunctionCallbackInfo<v8::Value>& args); |
320 static void EnableProfiler(const v8::FunctionCallbackInfo<v8::Value>& args); | |
321 static void DisableProfiler(const v8::FunctionCallbackInfo<v8::Value>& args); | |
322 static void Read(const v8::FunctionCallbackInfo<v8::Value>& args); | 320 static void Read(const v8::FunctionCallbackInfo<v8::Value>& args); |
323 static void ReadBuffer(const v8::FunctionCallbackInfo<v8::Value>& args); | 321 static void ReadBuffer(const v8::FunctionCallbackInfo<v8::Value>& args); |
324 static Handle<String> ReadFromStdin(Isolate* isolate); | 322 static Handle<String> ReadFromStdin(Isolate* isolate); |
325 static void ReadLine(const v8::FunctionCallbackInfo<v8::Value>& args) { | 323 static void ReadLine(const v8::FunctionCallbackInfo<v8::Value>& args) { |
326 args.GetReturnValue().Set(ReadFromStdin(args.GetIsolate())); | 324 args.GetReturnValue().Set(ReadFromStdin(args.GetIsolate())); |
327 } | 325 } |
328 static void Load(const v8::FunctionCallbackInfo<v8::Value>& args); | 326 static void Load(const v8::FunctionCallbackInfo<v8::Value>& args); |
329 static void ArrayBuffer(const v8::FunctionCallbackInfo<v8::Value>& args); | 327 static void ArrayBuffer(const v8::FunctionCallbackInfo<v8::Value>& args); |
330 static void Int8Array(const v8::FunctionCallbackInfo<v8::Value>& args); | 328 static void Int8Array(const v8::FunctionCallbackInfo<v8::Value>& args); |
331 static void Uint8Array(const v8::FunctionCallbackInfo<v8::Value>& args); | 329 static void Uint8Array(const v8::FunctionCallbackInfo<v8::Value>& args); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 static void ExternalArrayWeakCallback(Isolate* isolate, | 418 static void ExternalArrayWeakCallback(Isolate* isolate, |
421 Persistent<Object>* object, | 419 Persistent<Object>* object, |
422 uint8_t* data); | 420 uint8_t* data); |
423 }; | 421 }; |
424 | 422 |
425 | 423 |
426 } // namespace v8 | 424 } // namespace v8 |
427 | 425 |
428 | 426 |
429 #endif // V8_D8_H_ | 427 #endif // V8_D8_H_ |
OLD | NEW |