Lines Matching refs:layerptr
169 boundary->layerptr = path->layerptr; in PathToBoundary()
203 if(path->layerptr->layerno != psStyle.gdsno) in PathToPS()
230 if(path->layerptr->layerno != psStyle.gdsno) in PathToHPGL()
254 if(cell == cell->detail.path->layerptr->cells) in GDSfreePath()
255 cell->detail.path->layerptr->cells = cell->next; in GDSfreePath()
258 for(cellptr = cell->detail.path->layerptr->cells; in GDSfreePath()
290 newcell->next = path->layerptr->cells; in GDSdupPath()
291 path->layerptr->cells = newcell; in GDSdupPath()
293 pathptr->layerptr = path->layerptr; in GDSdupPath()
328 layer *layerptr; in GDSreadPath() local
353 for(layerptr = structptr->layers; in GDSreadPath()
354 layerptr != NULL; layerptr = layerptr->next) in GDSreadPath()
355 if(layerptr->layerno == layerno && layerptr->datatype==datatype) in GDSreadPath()
357 if(layerptr == NULL) in GDSreadPath()
359 layerptr = (layer *)MALLOC(sizeof(layer)); in GDSreadPath()
360 layerptr->layerno = layerno; in GDSreadPath()
361 layerptr->datatype = datatype; in GDSreadPath()
362 layerptr->name = NULL; /* to be added later */ in GDSreadPath()
363 layerptr->cells = newcell; in GDSreadPath()
364 layerptr->next = structptr->layers; in GDSreadPath()
365 structptr->layers = layerptr; in GDSreadPath()
369 newcell->next = layerptr->cells; in GDSreadPath()
370 layerptr->cells = newcell; in GDSreadPath()
372 pathptr->layerptr = layerptr; in GDSreadPath()
431 layerno, layerptr->datatype,pathptr->pathtype, pathptr->width); in GDSreadPath()