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

Side by Side Diff: src/d8.h

Issue 10407090: Ensure integrity of ASCII strings. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments. Created 8 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 | src/d8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 #endif 300 #endif
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);
311 static Handle<Value> ReadBuffer(const Arguments& args); 310 static Handle<Value> ReadBuffer(const Arguments& args);
312 static Handle<String> ReadFromStdin(); 311 static Handle<String> ReadFromStdin();
313 static Handle<Value> ReadLine(const Arguments& args) { 312 static Handle<Value> ReadLine(const Arguments& args) {
314 return ReadFromStdin(); 313 return ReadFromStdin();
315 } 314 }
316 static Handle<Value> Load(const Arguments& args); 315 static Handle<Value> Load(const Arguments& args);
317 static Handle<Value> ArrayBuffer(const Arguments& args); 316 static Handle<Value> ArrayBuffer(const Arguments& args);
318 static Handle<Value> Int8Array(const Arguments& args); 317 static Handle<Value> Int8Array(const Arguments& args);
319 static Handle<Value> Uint8Array(const Arguments& args); 318 static Handle<Value> Uint8Array(const Arguments& args);
320 static Handle<Value> Int16Array(const Arguments& args); 319 static Handle<Value> Int16Array(const Arguments& args);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 ExternalArrayType type, 387 ExternalArrayType type,
389 size_t element_size); 388 size_t element_size);
390 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); 389 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data);
391 }; 390 };
392 391
393 392
394 } // namespace v8 393 } // namespace v8
395 394
396 395
397 #endif // V8_D8_H_ 396 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698