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

Side by Side Diff: src/d8-posix.cc

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | « src/d8-debug.cc ('k') | src/d8-readline.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <errno.h> 7 #include <errno.h>
8 #include <sys/types.h> 8 #include <sys/types.h>
9 #include <sys/stat.h> 9 #include <sys/stat.h>
10 #include <sys/time.h> 10 #include <sys/time.h>
11 #include <time.h> 11 #include <time.h>
12 #include <unistd.h> 12 #include <unistd.h>
13 #include <fcntl.h> 13 #include <fcntl.h>
14 #include <sys/wait.h> 14 #include <sys/wait.h>
15 #include <signal.h> 15 #include <signal.h>
16 16
17 17
18 #include "d8.h" 18 #include "src/d8.h"
19 #include "d8-debug.h" 19 #include "src/d8-debug.h"
20 #include "debug.h" 20 #include "src/debug.h"
21 21
22 22
23 namespace v8 { 23 namespace v8 {
24 24
25 25
26 // If the buffer ends in the middle of a UTF-8 sequence then we return 26 // If the buffer ends in the middle of a UTF-8 sequence then we return
27 // the length of the string up to but not including the incomplete UTF-8 27 // the length of the string up to but not including the incomplete UTF-8
28 // sequence. If the buffer ends with a valid UTF-8 sequence then we 28 // sequence. If the buffer ends with a valid UTF-8 sequence then we
29 // return the whole buffer. 29 // return the whole buffer.
30 static int LengthWithoutIncompleteUtf8(char* buffer, int len) { 30 static int LengthWithoutIncompleteUtf8(char* buffer, int len) {
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 FunctionTemplate::New(isolate, UnsetEnvironment)); 709 FunctionTemplate::New(isolate, UnsetEnvironment));
710 os_templ->Set(String::NewFromUtf8(isolate, "umask"), 710 os_templ->Set(String::NewFromUtf8(isolate, "umask"),
711 FunctionTemplate::New(isolate, SetUMask)); 711 FunctionTemplate::New(isolate, SetUMask));
712 os_templ->Set(String::NewFromUtf8(isolate, "mkdirp"), 712 os_templ->Set(String::NewFromUtf8(isolate, "mkdirp"),
713 FunctionTemplate::New(isolate, MakeDirectory)); 713 FunctionTemplate::New(isolate, MakeDirectory));
714 os_templ->Set(String::NewFromUtf8(isolate, "rmdir"), 714 os_templ->Set(String::NewFromUtf8(isolate, "rmdir"),
715 FunctionTemplate::New(isolate, RemoveDirectory)); 715 FunctionTemplate::New(isolate, RemoveDirectory));
716 } 716 }
717 717
718 } // namespace v8 718 } // namespace v8
OLDNEW
« no previous file with comments | « src/d8-debug.cc ('k') | src/d8-readline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698