Searched defs:NODE (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dtfind.c31 * The NODE * arguments are declared in the lint files as char *,
32 * because the definition of NODE isn't available to the user.
37 typedef struct node { POINTER key; struct node *llink, *rlink; } NODE; typedef in typeref:struct:node
43 NODE *
46 register NODE **rootp; /* Address of the root of the tree */
59 return (NODE *)(NULL);
H A Dtsearch.c32 * The NODE * arguments are declared in the lint files as char *,
33 * because the definition of NODE isn't available to the user.
41 typedef struct node { POINTER key; struct node *llink, *rlink; } NODE; typedef in typeref:struct:node
51 NODE *
52 tsearch(POINTER key, NODE **rootp, int (*compar)(POINTER, POINTER))
54 NODE *q; /* New node if key not found */
66 q = (NODE *) malloc(sizeof(NODE)); /* T5: Not found */
83 NODE *
84 tdelete(POINTER key, NODE **root
[all...]
H A Dhsearch.c122 } NODE; typedef in typeref:struct:node
123 typedef NODE *TABELEM;
124 static NODE **table; /* The address of the hash table */
373 NODE *p; /* Searches through the linked list */
374 NODE **q; /* Where to store the pointer to a new NODE */
382 if(table[i] == (NODE*)NULL) { /* List has not yet been begun */
386 return(build(&table[i], (NODE *) NULL, item));
418 build(NODE **last, NODE *nex
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtfind.c35 * The NODE * arguments are declared in the lint files as char *,
36 * because the definition of NODE isn't available to the user.
48 typedef struct node { void *key; struct node *llink, *rlink; } NODE; typedef in typeref:struct:node
62 NODE **rootp = (NODE **)rtp;
H A Dtsearch.c36 * The NODE * arguments are declared in the lint files as char *,
37 * because the definition of NODE isn't available to the user.
55 typedef struct node { char *key; struct node *llink, *rlink; } NODE; typedef in typeref:struct:node
57 static void __twalk(NODE *, void (*)(const void *, VISIT, int), int);
65 NODE **rootp = (NODE **)rtp;
66 NODE *q; /* New node if key not found */
78 q = lmalloc(sizeof (NODE)); /* T5: Not found */
92 NODE **rootp = (NODE **)rt
[all...]
H A Dhsearch.c120 } NODE; typedef in typeref:struct:node
121 typedef NODE *TABELEM;
122 static NODE **table; /* The address of the hash table */
248 NODE *p, *oldp;
250 if (table[i] != (NODE *)NULL) {
252 while (p != (NODE *)NULL) {
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*)NUL
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_search.c56 typedef struct node NODE; typedef in typeref:struct:node
61 NODE *root = (NODE *) r;
78 NODE **rootp = (NODE **)rtp;
79 NODE *q; /* New node if key not found */
91 q = (NODE *) malloc(sizeof (NODE)); /* T5: Not found */
103 NODE **rootp = (NODE **)rt
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/dsw/
H A Dii_tree.c69 } NODE; typedef in typeref:struct:ii_node
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)
141 offset = (node % nodes_per_fba) * sizeof (NODE);
158 bcopy(tmp->sb_vec->sv_addr+offset, np, sizeof (NODE));
160 bcopy(np, tmp->sb_vec->sv_addr+offset, sizeof (NODE));
190 fbas = FBA_LEN(nchunks * sizeof (NODE));
207 NODE *pnode = (NODE *)v
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.h110 #define NODE 2 /* directory entry */ macro
220 char ftype; /* file type, e.g. LEAF or NODE */
/illumos-gate/usr/src/cmd/vi/misc/
H A Dctags.c88 typedef struct nd_st NODE; typedef in typeref:struct:nd_st
146 static NODE *head; /* the head of the sorted binary tree */
172 static void free_tree(NODE *node);
173 static void add_node(NODE *node, NODE *cur_node);
174 static void put_entries(NODE *node);
413 NODE *np;
417 if ((np = malloc(sizeof (NODE))) == NULL) {
422 head = np = (NODE *) malloc(sizeof (NODE));
[all...]
/illumos-gate/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 */
112 struct NODE *N_alink; /* Array link */
121 struct NODE *N_ufunc;
126 struct NODE *N_left;
127 struct NODE *N_right;
131 struct NODE *N_lef
136 } NODE; typedef in typeref:struct:NODE
[all...]
/illumos-gate/usr/src/cmd/iscsiadm/
H A Discsiadm.h45 #define NODE OBJECT(1) macro
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Ddef.h115 } NODE; typedef in typeref:struct:fplst

Completed in 75 milliseconds