Home
last modified time | relevance | path

Searched refs:NODE (Results 1 – 25 of 218) sorted by relevance

123456789

/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk.h57 #define NNULL ((NODE *)0)
96 typedef struct NODE *(*FUNCTION)(struct NODE *np);
102 typedef struct NODE { struct
104 struct NODE *n_next; /* Symbol table/PARM link */ argument
113 struct NODE *N_alink; /* Array link */ argument
122 struct NODE *N_ufunc;
127 struct NODE *N_left;
128 struct NODE *N_right;
132 struct NODE *N_left; /* Used for fliplist */
133 struct NODE *N_right;
[all …]
H A Dawk4.c38 static uint nargs(NODE *np);
39 static NODE *dosub(NODE *np, int glob);
40 static NODE *docasetr(NODE *np, int upper);
44 static NODE *asortfunc; /* Function call for asort() */
45 static NODE *asnp1, *asnp2; /* index1, index2 nodes */
53 NODE *
54 f_exp(NODE *np) in f_exp()
68 NODE *
69 f_int(NODE *np) in f_int()
83 NODE *
[all …]
H A Dawk0.c187 NODE *symtab[NBUCKET]; /* Heads of symbol table buckets */
188 NODE *yytree; /* Code tree */
189 NODE *freelist; /* Free every pattern {action} line */
199 NODE *constant; /* Node to hold a constant INT */
200 NODE *const0; /* Constant INT 0 node */
201 NODE *const1; /* Constant INT 1 node */
202 NODE *constundef; /* Undefined variable */
203 NODE *field0; /* $0 */
204 NODE *incNR; /* Code to increment NR variable */
205 NODE *incFNR; /* Code to increment FNR variable */
[all …]
H A Dawk3.c36 static NODE *arithmetic(NODE *np);
37 static NODE *comparison(NODE *np);
38 static int type_of(NODE *np);
39 static NODE *lfield(INT fieldno, NODE *value);
40 static NODE *rfield(INT fieldno);
41 static NODE *userfunc(NODE *np);
43 static NODE *exprconcat(NODE *np, int len);
44 static int s_if(NODE *np);
45 static int s_while(NODE *np);
46 static int s_for(NODE *np);
[all …]
H A Dawk2.c43 static FILE *openfile(NODE *np, int flag, int fatal);
45 static NODE *nextarg(NODE **npp);
407 NODE *np; in dobegin()
409 NODE *knp; in dobegin()
426 NODE *namep = stringnode(_null, FSTATIC, 0); in dobegin()
427 NODE *valuep = stringnode(_null, FSTATIC, 0); in dobegin()
428 NODE *ENVsubname = node(INDEX, varENVIRON, namep); in dobegin()
487 s_print(NODE *np) in s_print()
490 NODE *listp; in s_print()
528 s_prf(NODE *np) in s_prf()
[all …]
/illumos-gate/usr/src/cmd/oawk/
H A Dparse.c30 NODE *nodealloc(int n) in nodealloc()
32 NODE *x; in nodealloc()
33 x = (NODE *) malloc(sizeof (NODE) + n * sizeof (NODE *)); in nodealloc()
42 NODE *exptostat(NODE *a) in exptostat()
51 NODE *node0(int a) in node0()
53 NODE *x; in node0()
63 NODE *node1(int a, NODE *b) in node1()
65 NODE *x; in node1()
76 NODE *node2(int a, NODE *b, NODE *c) in node2()
78 NODE *x; in node2()
[all …]
H A Drun.c56 NODE *winner = NULL;
74 static void redirprint(wchar_t *s, int a, NODE *b);
80 run(NODE *a) in run()
93 execute(NODE *u) in execute()
97 NODE *a; in execute()
115 if (a->nnext == (NODE *)NULL) in execute()
125 program(NODE **a, int n) in program()
171 array(NODE **a, int n) in array()
186 arrayel(NODE *a, CELL *b) in arrayel()
208 matchop(NODE **a, int n) in matchop()
[all …]
H A Dawk.g.y83 winner = (NODE *)stat3(PROGRAM, $1, $2, $3); }
268 CHAR { $$ = op2(CHAR, (NODE *) 0, $1); }
269 | DOT { $$ = op2(DOT, (NODE *) 0, (NODE *) 0); }
270 | CCL { $$ = op2(CCL, (NODE *) 0, cclenter($1)); }
271 | NCCL { $$ = op2(NCCL, (NODE *) 0, cclenter($1)); }
272 | '^' { $$ = op2(CHAR, (NODE *) 0, HAT); }
273 | '$' { $$ = op2(CHAR, (NODE *) 0, (NODE *) 0); }
277 | r STAR { $$ = op2(STAR, $1, (NODE *) 0); }
278 | r PLUS { $$ = op2(PLUS, $1, (NODE *) 0); }
279 | r QUEST { $$ = op2(QUEST, $1, (NODE *) 0); }
/illumos-gate/usr/src/cmd/mailx/
H A Dmyfopen.c55 static NODE *append();
56 static NODE *del1();
57 static NODE *getnode();
58 static NODE *search();
60 static NODE *
63 NODE *newnode; in getnode()
65 if ((newnode = (NODE *)malloc(sizeof(NODE))) == (NODE *)NULL) { in getnode()
70 newnode->next = (NODE *)NULL; in getnode()
74 static NODE *
77 register NODE *tmp; in search()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtsearch.c53 typedef struct node { char *key; struct node *llink, *rlink; } NODE; typedef
55 static void __twalk(NODE *, void (*)(const void *, VISIT, int), int);
63 NODE **rootp = (NODE **)rtp; in tsearch()
64 NODE *q; /* New node if key not found */ in tsearch()
76 q = lmalloc(sizeof (NODE)); /* T5: Not found */ in tsearch()
90 NODE **rootp = (NODE **)rtp; in tdelete()
91 NODE *p; /* Parent of node to be deleted */ in tdelete()
92 NODE *q; /* Successor node */ in tdelete()
93 NODE *r; /* Right son node */ in tdelete()
121 lfree(*rootp, sizeof (NODE)); /* D4: Free node */ in tdelete()
[all …]
H A Dhsearch.c120 } NODE; typedef
121 typedef NODE *TABELEM;
122 static NODE **table; /* The address of the hash table */
248 NODE *p, *oldp; in hdestroy()
250 if (table[i] != (NODE *)NULL) { in hdestroy()
252 while (p != (NODE *)NULL) { in hdestroy()
415 NODE *p; /* Searches through the linked list */
416 NODE **q; /* Where to store the pointer to a new NODE */
425 if (table[i] == (NODE*)NULL) { /* List has not yet been begun */
429 RETURN(build(&table[i], (NODE *) NULL, item));
[all …]
H A Dtfind.c46 typedef struct node { void *key; struct node *llink, *rlink; } NODE; typedef
60 NODE **rootp = (NODE **)rtp; in tfind()
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_search.c54 typedef struct node NODE; typedef
59 NODE *root = (NODE *) r; in slp_twalk()
76 NODE **rootp = (NODE **)rtp; in slp_tsearch()
77 NODE *q; /* New node if key not found */ in slp_tsearch()
89 q = (NODE *) malloc(sizeof (NODE)); /* T5: Not found */ in slp_tsearch()
101 NODE **rootp = (NODE **)rtp; in slp_tfind()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/frutree/
H A Dpiclfrutree.info39 * NODE <name> <class>
61 NODE frutree picl
62 NODE chassis fru
72 NODE MB location
80 NODE FIOB location
83 NODE system-board fru
86 NODE RM0 location
93 NODE F0 location
98 NODE F1 location
103 NODE F2 location
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/frutree/
H A Dpiclfrutree.info39 * NODE <name> <class>
61 NODE frutree picl
62 NODE chassis fru
69 NODE fan-slot location
72 NODE fan-unit fru
75 NODE fan-slot location
78 NODE fan-unit fru
81 NODE fan-slot location
84 NODE fan-unit fru
87 NODE psu-slot location
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/frutree/
H A Dpiclfrutree.info39 * NODE <name> <class>
62 NODE frutree picl
63 NODE chassis fru
69 NODE MB location
73 NODE F0 location
76 NODE rear-fan fru
79 NODE F1 location
82 NODE front-fan fru
85 NODE F2 location
88 NODE cpu-fan fru
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/frutree/
H A Dpiclfrutree.info38 * NODE <name> <class>
61 NODE frutree picl
62 NODE chassis fru
68 NODE MB location
72 NODE F0 location
75 NODE intake-fan fru
78 NODE F1 location
82 NODE F2 location
86 NODE F3 location
89 NODE outtake-fan fru
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/ents/frutree/
H A Dpiclfrutree.info39 * NODE <name> <class>
75 NODE frutree picl
76 NODE chassis fru
77 NODE MB location
81 NODE FT0 location
84 NODE fan-tray fru
85 NODE F0 location
89 NODE F1 location
95 NODE FT1 location
98 NODE fan-tray fru
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/seattle/frutree/
H A Dsystem-board.info44 NODE system-board fru
45 NODE SC location
47 NODE sc fru
50 NODE P0 location
54 NODE P1 location
58 NODE HDDBP location
63 NODE RMD0 location
67 NODE SCC location
69 NODE system-config-chip fru
72 NODE RISER-RIGHT location
[all …]
H A Dpiclfrutree.info39 * NODE <name> <class>
76 NODE frutree picl
77 NODE chassis fru
83 NODE MB location
87 NODE PS0 location
91 NODE PS1 location
95 NODE PDB location
99 NODE SYSCTRL location
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/boston/frutree/
H A Dpiclfrutree.info40 * NODE <name> <class>
69 NODE frutree picl
70 NODE chassis fru
77 NODE MB location
80 NODE system-board fru
81 NODE FT0 location
85 NODE FT1 location
89 NODE FT2 location
93 NODE FT3 location
97 NODE FT4 location
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chalupa/frutree/
H A Dpiclfrutree.info39 * NODE <name> <class>
75 NODE frutree picl
76 NODE chassis fru
82 NODE SYS location
85 NODE led-location fru
87 NODE key-location fru
90 NODE SC location
94 NODE MB location
98 NODE FT0 location
102 NODE FT1 location
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/
H A Dpiclfrutree.info39 * NODE <name> <class>
70 NODE frutree picl
71 NODE chassis fru
77 NODE power-supply-slot location
81 NODE disk-slot location
85 NODE disk-slot location
89 NODE cpu-fan-slot location
93 NODE system-fan-slot location
110 NODE power-supply fru
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frutree/
H A Dpiclfrutree.info39 * NODE <name> <class>
75 NODE frutree picl
76 NODE chassis fru
82 NODE MB location
86 NODE F0 location
90 NODE F1 location
94 NODE F2 location
98 NODE PS0 location
102 NODE HDD0 location
106 NODE HDD1 location
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/frutree/
H A Dpiclfrutree.info39 * NODE <name> <class>
63 NODE frutree picl
64 NODE chassis fru
70 NODE power-supply-slot location
74 NODE disk-slot location
78 NODE system-fan-slot location
95 NODE power-supply fru

123456789