Lines Matching refs:newp
184 insert_module (struct gconv_module *newp, int tobefreed) in insert_module() argument
193 cmpres = strcmp (newp->from_string, root->from_string); in insert_module()
198 while (strcmp (newp->from_string, root->from_string) != 0 in insert_module()
199 || strcmp (newp->to_string, root->to_string) != 0) in insert_module()
211 if (newp->cost_hi < root->cost_hi in insert_module()
212 || (newp->cost_hi == root->cost_hi in insert_module()
213 && newp->cost_lo < root->cost_lo)) in insert_module()
215 newp->left = root->left; in insert_module()
216 newp->right = root->right; in insert_module()
217 newp->same = root->same; in insert_module()
218 *rootp = newp; in insert_module()
223 free (newp); in insert_module()
236 *rootp = newp; in insert_module()