Lines Matching refs:whash
204 static GWire *replicate_attachment(GWire *w,GCElement *ng,PHash *whash) in replicate_attachment() argument
210 nw = (GWire*)PHash_find(whash,w); in replicate_attachment()
219 nw->next = replicate_attachment(w->next,ng,whash); in replicate_attachment()
244 PHash *whash; /* Map from source wires to destination wires */ in GModuleDef_copyInto() local
252 whash = new_PHash(); in GModuleDef_copyInto()
277 if (!PHash_find(whash,w)) { in GModuleDef_copyInto()
282 PHash_insert(whash,w,nw); in GModuleDef_copyInto()
283 PHash_insert(whash,ow,onw); in GModuleDef_copyInto()
292 nn->n_driver = (GWire*) PHash_find(whash,w); in GModuleDef_copyInto()
305 for (E = Hash_first(whash);E;E = Hash_next(whash,E)) { in GModuleDef_copyInto()
323 ng->wires[i] = replicate_attachment(g->wires[i],ng,whash); in GModuleDef_copyInto()
347 for (E = Hash_first(whash);E;E = Hash_next(whash,E)) { in GModuleDef_copyInto()
385 delete_PHash(whash); in GModuleDef_copyInto()