LEFT | RIGHT |
1 // Inferno utils/cc/cc.h | 1 // Inferno utils/cc/cc.h |
2 // http://code.google.com/p/inferno-os/source/browse/utils/cc/cc.h | 2 // http://code.google.com/p/inferno-os/source/browse/utils/cc/cc.h |
3 // | 3 // |
4 // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. | 4 // Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. |
5 // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net) | 5 // Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net) |
6 // Portions Copyright © 1997-1999 Vita Nuova Limited | 6 // Portions Copyright © 1997-1999 Vita Nuova Limited |
7 // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuov
a.com) | 7 // Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuov
a.com) |
8 // Portions Copyright © 2004,2006 Bruce Ellis | 8 // Portions Copyright © 2004,2006 Bruce Ellis |
9 // Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net) | 9 // Portions Copyright © 2005-2007 C H Forsyth (forsyth@terzarima.net) |
10 // Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others | 10 // Revisions Copyright © 2000-2007 Lucent Technologies Inc. and others |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 #define NHUNK 50000L | 61 #define NHUNK 50000L |
62 #define BUFSIZ 8192 | 62 #define BUFSIZ 8192 |
63 #define NSYMB 500 | 63 #define NSYMB 500 |
64 #define NHASH 1024 | 64 #define NHASH 1024 |
65 #define STRINGSZ 200 | 65 #define STRINGSZ 200 |
66 #define HISTSZ 20 | 66 #define HISTSZ 20 |
67 #define YYMAXDEPTH 500 | 67 #define YYMAXDEPTH 500 |
68 #define NTERM 10 | 68 #define NTERM 10 |
69 #define MAXALIGN 7 | 69 #define MAXALIGN 7 |
70 #define NALLOC 8 | |
71 | 70 |
72 #define SIGN(n) ((uvlong)1<<(n-1)) | 71 #define SIGN(n) ((uvlong)1<<(n-1)) |
73 #define MASK(n) (SIGN(n)|(SIGN(n)-1)) | 72 #define MASK(n) (SIGN(n)|(SIGN(n)-1)) |
74 | 73 |
75 #define BITS 5 | 74 #define BITS 5 |
76 #define NVAR (BITS*sizeof(uint32)*8) | 75 #define NVAR (BITS*sizeof(uint32)*8) |
77 struct Bits | 76 struct Bits |
78 { | 77 { |
79 uint32 b[BITS]; | 78 uint32 b[BITS]; |
80 }; | 79 }; |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 enum | 809 enum |
811 { | 810 { |
812 Plan9 = 1<<0, | 811 Plan9 = 1<<0, |
813 Unix = 1<<1, | 812 Unix = 1<<1, |
814 Windows = 1<<2, | 813 Windows = 1<<2, |
815 }; | 814 }; |
816 int pathchar(void); | 815 int pathchar(void); |
817 int systemtype(int); | 816 int systemtype(int); |
818 void* alloc(int32 n); | 817 void* alloc(int32 n); |
819 void* allocn(void*, int32, int32); | 818 void* allocn(void*, int32, int32); |
LEFT | RIGHT |