1: /*
2: * @(#)value.h 3.5 4/24/85
3: */
4:
5: /*
6: * Copyright (c) 1983 Regents of the University of California,
7: * All rights reserved. Redistribution permitted subject to
8: * the terms of the Berkeley Software License Agreement.
9: */
10:
11: struct value {
12: char v_type;
13: union {
14: int V_num;
15: char *V_str;
16: } v_un;
17: };
18: #define v_num v_un.V_num
19: #define v_str v_un.V_str
20:
21: #define V_NUM 1
22: #define V_STR 2
23: #define V_ERR 3
24:
25: #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0)
Defined struct's
value
defined in line
11; used 110 times
- in /usr/src/ucb/window/context.c line
76(2)
- in /usr/src/ucb/window/lcmd.c line
107(2)
- in /usr/src/ucb/window/lcmd1.c line
32-33(4),
90(2),
104(2),
123(2),
136(2),
159-160(4),
178(2),
201(2),
214(2),
232-233(4),
258-259(4),
277(2),
292(2),
313(2),
335(2)
- in /usr/src/ucb/window/lcmd2.c line
21(2),
59-60(4),
131(2),
164(2),
205-208(4),
245(2),
269(2),
312(2),
327-328(4)
- in /usr/src/ucb/window/parser1.c line
59(2),
113(2),
157(2)
- in /usr/src/ucb/window/parser2.c line
22-24(4),
30-31(4),
181(2)
- in /usr/src/ucb/window/parser3.c line
29-32(4),
59-62(4),
98(2),
132(2)
- in /usr/src/ucb/window/parser4.c line
24-27(4)
- in /usr/src/ucb/window/parser5.c line
18(2),
120(2)
- in /usr/src/ucb/window/var.c line
21-25(4),
59(2),
72(2)
Defined macros
V_ERR
defined in line
23; used 44 times
- in /usr/src/ucb/window/lcmd1.c line
45-55(6),
62-63(2),
94,
110,
147,
166,
217,
240,
246,
266,
282
- in /usr/src/ucb/window/lcmd2.c line
210,
223,
247,
274,
281,
335,
341
- in /usr/src/ucb/window/parser1.c line
163
- in /usr/src/ucb/window/parser2.c line
44,
53-57(2),
80,
111,
121,
152,
167
- in /usr/src/ucb/window/parser3.c line
76,
82,
115,
149
- in /usr/src/ucb/window/parser4.c line
110,
122,
167
- in /usr/src/ucb/window/parser5.c line
60,
79,
91,
123
V_NUM
defined in line
21; used 24 times
- in /usr/src/ucb/window/lcmd1.c line
80,
93,
108,
125,
185,
203,
216,
241,
280,
294
- in /usr/src/ucb/window/lcmd2.c line
316,
336
- in /usr/src/ucb/window/parser1.c line
119,
159
- in /usr/src/ucb/window/parser2.c line
124
- in /usr/src/ucb/window/parser4.c line
133,
145,
173,
185-187(2)
- in /usr/src/ucb/window/parser5.c line
70,
85,
127
- in /usr/src/ucb/window/var.c line
74
V_STR
defined in line
22; used 32 times
- in line 25
- in /usr/src/ucb/window/lcmd1.c line
146,
263,
305
- in /usr/src/ucb/window/lcmd2.c line
78,
212-216(2),
225,
266-268(2)
- in /usr/src/ucb/window/parser1.c line
124,
138,
166
- in /usr/src/ucb/window/parser2.c line
72,
126
- in /usr/src/ucb/window/parser4.c line
132-137(2),
143,
158(2),
181,
221-231(3),
238-245(3)
- in /usr/src/ucb/window/parser5.c line
95,
134,
161
- in /usr/src/ucb/window/var.c line
29,
61
v_num
defined in line
18; used 127 times
- in /usr/src/ucb/window/lcmd1.c line
45-53(5),
81,
92-95(2),
109,
126,
186-188(4),
204,
219-221(2),
242,
281-283(2),
297-302(3),
308,
326-328(4),
340
- in /usr/src/ucb/window/lcmd2.c line
190,
226,
315,
337
- in /usr/src/ucb/window/parser1.c line
71,
120,
161
- in /usr/src/ucb/window/parser3.c line
44,
71,
110(2),
144(2)
- in /usr/src/ucb/window/parser4.c line
146,
186-188(2),
194-234(34),
240(3),
247-259(15)
- in /usr/src/ucb/window/parser5.c line
72-78(5),
86,
101-107(6),
128
- in /usr/src/ucb/window/scanner.c line
119-124(2),
197,
335-344(3),
357(2),
369-375(6),
387(2)
- in /usr/src/ucb/window/var.c line
75
v_str
defined in line
19; used 71 times
- in line 25
- in /usr/src/ucb/window/lcmd1.c line
55,
65,
142,
148,
166,
217-218(2),
245(2),
263,
300,
308,
323,
342-351(7)
- in /usr/src/ucb/window/lcmd2.c line
79,
187,
211-215(2),
226,
261-262(2),
275,
283-286(2),
315,
340(2)
- in /usr/src/ucb/window/parser1.c line
75,
125,
138,
161
- in /usr/src/ucb/window/parser2.c line
72
- in /usr/src/ucb/window/parser3.c line
46-51(4),
75,
114,
148
- in /usr/src/ucb/window/parser4.c line
144,
182-184(4),
223-225(3),
233-237(3),
244(3)
- in /usr/src/ucb/window/parser5.c line
59,
82,
95(2),
135,
161
- in /usr/src/ucb/window/scanner.c line
275
- in /usr/src/ucb/window/var.c line
29-30(3),
62
Usage of this include