Home
last modified time | relevance | path

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

12345678910

/titanic_41/usr/src/cmd/awk_xpg4/
H A Dawk.h56 #define NNULL ((NODE *)0)
95 typedef struct NODE *(*FUNCTION)(struct NODE *np);
101 typedef struct NODE { struct
103 struct NODE *n_next; /* Symbol table/PARM link */ argument
112 struct NODE *N_alink; /* Array link */ argument
121 struct NODE *N_ufunc;
126 struct NODE *N_left;
127 struct NODE *N_right;
131 struct NODE *N_left; /* Used for fliplist */
132 struct NODE *N_right;
[all …]
H A Dawk4.c40 static uint nargs(NODE *np);
41 static NODE *dosub(NODE *np, int glob);
42 static NODE *docasetr(NODE *np, int upper);
46 static NODE *asortfunc; /* Function call for asort() */
47 static NODE *asnp1, *asnp2; /* index1, index2 nodes */
55 NODE *
56 f_exp(NODE *np) in f_exp()
70 NODE *
71 f_int(NODE *np) in f_int()
85 NODE *
[all …]
H A Dawk0.c189 NODE *symtab[NBUCKET]; /* Heads of symbol table buckets */
190 NODE *yytree; /* Code tree */
191 NODE *freelist; /* Free every pattern {action} line */
201 NODE *constant; /* Node to hold a constant INT */
202 NODE *const0; /* Constant INT 0 node */
203 NODE *const1; /* Constant INT 1 node */
204 NODE *constundef; /* Undefined variable */
205 NODE *field0; /* $0 */
206 NODE *incNR; /* Code to increment NR variable */
207 NODE *incFNR; /* Code to increment FNR variable */
[all …]
H A Dawk3.c38 static NODE *arithmetic(NODE *np);
39 static NODE *comparison(NODE *np);
40 static int type_of(NODE *np);
41 static NODE *lfield(INT fieldno, NODE *value);
42 static NODE *rfield(INT fieldno);
43 static NODE *userfunc(NODE *np);
45 static NODE *exprconcat(NODE *np, int len);
46 static int s_if(NODE *np);
47 static int s_while(NODE *np);
48 static int s_for(NODE *np);
[all …]
H A Dawk2.c45 static FILE *openfile(NODE *np, int flag, int fatal);
47 static NODE *nextarg(NODE **npp);
409 NODE *np; in dobegin()
411 NODE *knp; in dobegin()
428 NODE *namep = stringnode(_null, FSTATIC, 0); in dobegin()
429 NODE *valuep = stringnode(_null, FSTATIC, 0); in dobegin()
430 NODE *ENVsubname = node(INDEX, varENVIRON, namep); in dobegin()
489 s_print(NODE *np) in s_print()
492 NODE *listp; in s_print()
530 s_prf(NODE *np) in s_prf()
[all …]
/titanic_41/usr/src/cmd/oawk/
H A Dparse.c32 NODE *nodealloc(n) in nodealloc()
34 register NODE *x; in nodealloc()
35 x = (NODE *) malloc(sizeof (NODE) + (n-1)*sizeof (NODE *)); in nodealloc()
44 NODE *exptostat(a) NODE *a; in exptostat()
53 NODE *node0(a) in node0()
55 register NODE *x; in node0()
65 NODE *node1(a, b) NODE *b; in node1()
67 register NODE *x;
78 NODE *node2(a, b, c) NODE *b, *c; in node2()
80 register NODE *x;
[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); }
/titanic_41/usr/src/cmd/mailx/
H A Dmyfopen.c57 static NODE *append();
58 static NODE *del1();
59 static NODE *getnode();
60 static NODE *search();
62 static NODE *
65 NODE *newnode; in getnode()
67 if ((newnode = (NODE *)malloc(sizeof(NODE))) == (NODE *)NULL) { in getnode()
72 newnode->next = (NODE *)NULL; in getnode()
76 static NODE *
79 register NODE *tmp; in search()
[all …]
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dtsearch.c41 typedef struct node { POINTER key; struct node *llink, *rlink; } NODE; typedef
51 NODE *
52 tsearch(POINTER key, NODE **rootp, int (*compar)(POINTER, POINTER)) in tsearch()
54 NODE *q; /* New node if key not found */ in tsearch()
66 q = (NODE *) malloc(sizeof(NODE)); /* T5: Not found */ in tsearch()
83 NODE *
84 tdelete(POINTER key, NODE **rootp, int (*compar)(POINTER, POINTER)) in tdelete()
86 NODE *p; /* Parent of node to be deleted */ in tdelete()
87 NODE *q; /* Successor node */ in tdelete()
88 NODE *r; /* Right son node */ in tdelete()
[all …]
H A Dhsearch.c122 } NODE; typedef
123 typedef NODE *TABELEM;
124 static NODE **table; /* The address of the hash table */
373 NODE *p; /* Searches through the linked list */ in hsearch()
374 NODE **q; /* Where to store the pointer to a new NODE */ in hsearch()
382 if(table[i] == (NODE*)NULL) { /* List has not yet been begun */ in hsearch()
386 return(build(&table[i], (NODE *) NULL, item)); in hsearch()
418 build(NODE **last, NODE *next, ENTRY item) in build()
420 NODE *p = (NODE *) malloc(sizeof(NODE)); in build()
515 NODE *a; /* Current Node on list */ in hdump()
H A Dtfind.c37 typedef struct node { POINTER key; struct node *llink, *rlink; } NODE; typedef
43 NODE *
46 register NODE **rootp; /* Address of the root of the tree */
59 return (NODE *)(NULL);
/titanic_41/usr/src/lib/libc/port/gen/
H A Dtsearch.c55 typedef struct node { char *key; struct node *llink, *rlink; } NODE; typedef
57 static void __twalk(NODE *, void (*)(const void *, VISIT, int), int);
65 NODE **rootp = (NODE **)rtp; in tsearch()
66 NODE *q; /* New node if key not found */ in tsearch()
78 q = lmalloc(sizeof (NODE)); /* T5: Not found */ in tsearch()
92 NODE **rootp = (NODE **)rtp; in tdelete()
93 NODE *p; /* Parent of node to be deleted */ in tdelete()
94 NODE *q; /* Successor node */ in tdelete()
95 NODE *r; /* Right son node */ in tdelete()
123 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 …]
/titanic_41/usr/src/lib/libslp/clib/
H A Dslp_search.c56 typedef struct node NODE; typedef
61 NODE *root = (NODE *) r; in slp_twalk()
78 NODE **rootp = (NODE **)rtp; in slp_tsearch()
79 NODE *q; /* New node if key not found */ in slp_tsearch()
91 q = (NODE *) malloc(sizeof (NODE)); /* T5: Not found */ in slp_tsearch()
103 NODE **rootp = (NODE **)rtp; in slp_tfind()
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/usr/src/uts/common/avs/ns/dsw/
H A Dii_tree.c69 } NODE; typedef
75 static int nodes_per_fba = FBA_SIZE(1) / sizeof (NODE);
86 static void free_node(_ii_info_t *ip, NODE *np, nodeid_t ni);
127 node_io(_ii_info_t *ip, NODE *np, nodeid_t node, int flag) in node_io()
141 offset = (node % nodes_per_fba) * sizeof (NODE); in node_io()
158 bcopy(tmp->sb_vec->sv_addr+offset, np, sizeof (NODE)); in node_io()
160 bcopy(np, tmp->sb_vec->sv_addr+offset, sizeof (NODE)); in node_io()
190 fbas = FBA_LEN(nchunks * sizeof (NODE)); in node_fba_fill()
207 NODE *pnode = (NODE *)vp->sv_addr; in node_fba_fill()
208 NODE *enode = (NODE *)(vp->sv_addr + vp->sv_len); in node_fba_fill()
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/conf/
H A DSUNW,Netra-CP2300.RTM.conf29 NODE CPU location
36 NODE CPU fru
41 NODE PMC-1 location
48 NODE PMC-2 location
57 NODE RTM location
63 NODE RTM fru
68 NODE su0 port
76 NODE su1 port
84 NODE dmfe0 port
92 NODE dmfe1 port
H A DSUNW,Netra-CP2300.conf29 NODE CPU location
36 NODE CPU fru
41 NODE PMC-1 location
48 NODE PMC-2 location
55 NODE su0 port
62 NODE dmfe0 port
70 NODE dmfe1 port
79 NODE RTM location
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]

12345678910