Lines Matching refs:nd
102 register NodePtr nd;
104 nd = (NodePtr) FSalloc(sizeof(NodeRec));
105 if (!nd)
109 nd->string = string;
113 nd->string = (char *) FSalloc(len + 1);
114 if (!nd->string) {
115 FSfree(nd);
118 strncpy(nd->string, string, len);
119 nd->string[len] = 0;
127 if (nd->string != string)
128 FSfree(nd->string);
129 FSfree(nd);
135 *np = nd;
136 nd->left = nd->right = (NodePtr) NULL;
137 nd->fingerPrint = fp;
138 nd->a = (++lastAtom);
139 *(nodeTable + lastAtom) = nd;
140 return nd->a;