/dports/cad/electric/electric-7.00/src/db/ |
H A D | dbmemory.c | 54 # define ROUNDUP (SIZEOFINTBIG+SIZEOFINTBIG) /* slop to give whole block */ 336 amount = (amount + SIZEOFINTBIG - 1) & ~(SIZEOFINTBIG - 1); in _emalloc() 342 filelen = (estrlen(file)*SIZEOFCHAR+SIZEOFINTBIG) & ~(SIZEOFINTBIG - 1); in _emalloc() 343 amount += 4 * SIZEOFINTBIG + filelen; in _emalloc() 419 size = head - (INTBIG)ptr - SIZEOFINTBIG; in _emalloc() 438 addr = (UCHAR1 *)((INTBIG)ptr + SIZEOFINTBIG); in _emalloc() 472 addr += SIZEOFINTBIG * 2; in _emalloc() 493 addr -= SIZEOFINTBIG * 2; in efree() 637 lastword = db_pagesize / SIZEOFINTBIG * size - 1; in db_getmorememory() 825 ptr, addr-(INTBIG)ptr-SIZEOFINTBIG); in db_printoneclusterarena() [all …]
|
H A D | dbmerge.c | 2519 newlist = (INTBIG *)emalloc(count * 2 * SIZEOFINTBIG, el_tempcluster); in db_mergeshowmpoly() 3112 esort(merge->ylist->list, toty, SIZEOFINTBIG, sort_intbigascending); in db_mergeaddintersectionpoints() 3299 memmove(&mp->x[i+1], &mp->x[i], (mp->count-i)*SIZEOFINTBIG); in db_mergeaddthisintersectionpoint() 3300 memmove(&mp->y[i+1], &mp->y[i], (mp->count-i)*SIZEOFINTBIG); in db_mergeaddthisintersectionpoint() 3529 newpol = (INTBIG *)emalloc(newtotal * SIZEOFINTBIG, merge->clus); in db_mergeaddintersectionpoint() 3531 newpt = (INTBIG *)emalloc(newtotal * SIZEOFINTBIG, merge->clus); in db_mergeaddintersectionpoint() 3533 newangle = (INTBIG *)emalloc(newtotal * SIZEOFINTBIG, merge->clus); in db_mergeaddintersectionpoint() 3786 newx = (INTBIG *)emalloc(newlimit * SIZEOFINTBIG, merge->clus); in db_mergeensurespace() 3788 newy = (INTBIG *)emalloc(newlimit * SIZEOFINTBIG, merge->clus); in db_mergeensurespace() 3790 newseen = (INTBIG *)emalloc(newlimit * SIZEOFINTBIG, merge->clus); in db_mergeensurespace() [all …]
|
H A D | dbmath.c | 767 #define NUMSMALLPRIMES (sizeof(db_small_primes) / SIZEOFINTBIG) 2125 poly->xv = emalloc((SIZEOFINTBIG*points), cluster); in _allocpolygon() 2127 poly->yv = emalloc((SIZEOFINTBIG*points), cluster); in _allocpolygon() 2194 poly->xv = emalloc((SIZEOFINTBIG*newcount), poly->cluster); in extendpolygon() 2197 poly->yv = emalloc((SIZEOFINTBIG*newcount), poly->cluster); in extendpolygon() 2267 newlx = (INTBIG *)emalloc(tot * SIZEOFINTBIG, dr_tool->cluster); in _ensurepolylist() 2268 newhx = (INTBIG *)emalloc(tot * SIZEOFINTBIG, dr_tool->cluster); in _ensurepolylist() 2269 newly = (INTBIG *)emalloc(tot * SIZEOFINTBIG, dr_tool->cluster); in _ensurepolylist() 2270 newhy = (INTBIG *)emalloc(tot * SIZEOFINTBIG, dr_tool->cluster); in _ensurepolylist() 4448 li->list = (INTBIG *)emalloc(needed * SIZEOFINTBIG, li->cluster); in ensureintlistobj() [all …]
|
H A D | dbtech.c | 327 newlam = emalloc(((el_maxtech+1) * SIZEOFINTBIG), db_cluster); in addtechnology() 389 newlam = emalloc((el_maxtech * SIZEOFINTBIG), db_cluster); in killtechnology() 546 tech_drcwidelimit = (INTBIG *)emalloc((el_maxtech * SIZEOFINTBIG), db_cluster); in tech_initmaxdrcsurround() 671 dist = emalloc((total * SIZEOFINTBIG), el_tempcluster); in tech_initmaxdrcsurround() 809 rl->variablekeys = (INTBIG *)emalloc(count * SIZEOFINTBIG, db_cluster); in registertechnologycache() 2534 db_convertpseudoarray = (INTBIG *)emalloc(tech->layercount * SIZEOFINTBIG, db_cluster); in nonpseudolayer() 2697 layerheight = (INTBIG *)emalloc(tech->layercount * SIZEOFINTBIG, el_tempcluster); in tech_3ddefaultlayerheight() 2698 layerthickness = (INTBIG *)emalloc(tech->layercount * SIZEOFINTBIG, el_tempcluster); in tech_3ddefaultlayerheight()
|
H A D | dbnoproto.c | 939 newindex = (INTBIG *)emalloc(newlimit * SIZEOFINTBIG, db_cluster); in db_addtohierpath() 1064 newlist = (INTBIG *)emalloc((len+25) * SIZEOFINTBIG, el_tempcluster); in sethierarchicalparent() 1177 newindex = (INTBIG *)emalloc(src->depth * SIZEOFINTBIG, db_cluster); in db_copyhierarchicaltraversal() 2407 newaddr = (INTBIG *)emalloc(len * SIZEOFINTBIG, el_tempcluster); in db_copyxlibvars() 2847 xpos2 = emalloc((total2 * SIZEOFINTBIG), el_tempcluster); in db_portassociate() 2849 ypos2 = emalloc((total2 * SIZEOFINTBIG), el_tempcluster); in db_portassociate()
|
H A D | dblibrary.c | 63 lib->lambda = emalloc(((el_maxtech+1) * SIZEOFINTBIG), cluster); in alloclibrary() 418 oldlam = (INTBIG *)emalloc(count * SIZEOFINTBIG, el_tempcluster); in changelambda()
|
/dports/cad/electric/electric-7.00/src/io/ |
H A D | iobinaryi.c | 316 io_getin(&io_binindata.magic, 4, SIZEOFINTBIG, TRUE); in io_doreadlibrary() 378 if (io_binindata.sizeofsmall > SIZEOFINTSML || io_binindata.sizeofbig > SIZEOFINTBIG) in io_doreadlibrary() 520 io_binindata.nodecount = emalloc((SIZEOFINTBIG * io_binindata.nodeprotoindex), el_tempcluster); in io_doreadlibrary() 526 io_binindata.portcount = emalloc((SIZEOFINTBIG * io_binindata.nodeprotoindex), el_tempcluster); in io_doreadlibrary() 538 io_binindata.arccount = emalloc((SIZEOFINTBIG * io_binindata.nodeprotoindex), el_tempcluster); in io_doreadlibrary() 556 io_binindata.toollist = emalloc((SIZEOFINTBIG * io_binindata.aacount), el_tempcluster); in io_doreadlibrary() 573 geommoreup = emalloc((SIZEOFINTBIG * io_binindata.geomindex), el_tempcluster); in io_doreadlibrary() 2347 if ((ty&VTYPE) == VDOUBLE) datasize = SIZEOFINTBIG*2; else in io_readvariables() 2349 datasize = SIZEOFINTBIG; in io_readvariables() 3007 io_getin(data, io_binindata.sizeofbig, SIZEOFINTBIG, TRUE); in io_getinbig() [all …]
|
H A D | iobinaryo.c | 259 wordsize = SIZEOFINTBIG; io_putout(&wordsize, 1); in io_writebinlibrary() 940 datasize = SIZEOFINTBIG*2; in io_writevariables() 953 datasize = SIZEOFINTBIG; in io_writevariables() 1124 io_putout(data, SIZEOFINTBIG); in io_putoutbig()
|
H A D | iodxf.c | 1244 coords = (INTBIG *)emalloc(count*2 * SIZEOFINTBIG, el_tempcluster); in io_dxfreadentities() 1563 newx = (INTBIG *)emalloc(newVertLimit * SIZEOFINTBIG, el_tempcluster); in io_dxfreadpolylineentity() 1565 newy = (INTBIG *)emalloc(newVertLimit * SIZEOFINTBIG, el_tempcluster); in io_dxfreadpolylineentity() 1567 newz = (INTBIG *)emalloc(newVertLimit * SIZEOFINTBIG, el_tempcluster); in io_dxfreadpolylineentity() 1831 newtrace = (INTBIG *)emalloc(len * SIZEOFINTBIG, el_tempcluster); in io_dxfextractinsert() 1912 newtrace = (INTBIG *)emalloc(len * SIZEOFINTBIG, el_tempcluster); in io_dxfgetscaledcell() 2145 io_dxfvalidlayernumbers = (INTBIG *)emalloc((io_dxfvalidlayercount * SIZEOFINTBIG), in io_dxfgetacceptablelayers()
|
H A D | iocifin.c | 421 pt = trace = emalloc((cp->lim*2*SIZEOFINTBIG), io_tool->cluster); in io_nodes_poly() 993 cp->x = emalloc((lim * SIZEOFINTBIG), io_tool->cluster); in io_outputpolygon() 1000 cp->y = emalloc((lim * SIZEOFINTBIG), io_tool->cluster); in io_outputpolygon()
|
H A D | ioquickdraw.c | 738 myx = (INTBIG *)NewPtr(count * SIZEOFINTBIG); in io_plotpolygon() 739 myy = (INTBIG *)NewPtr(count * SIZEOFINTBIG); in io_plotpolygon()
|
/dports/cad/electric/electric-7.00/src/misc/ |
H A D | ercantenna.c | 181 erc_antlayerlevel = (INTBIG *)emalloc(erc_anttech->layercount * SIZEOFINTBIG, erc_tool->cluster); in erc_antcheckcell() 183 …erc_antlayerforlevel = (INTBIG *)emalloc(erc_anttech->layercount * SIZEOFINTBIG, erc_tool->cluster… in erc_antcheckcell() 815 erc_antcachedratios = (INTBIG *)emalloc(total * SIZEOFINTBIG, erc_tool->cluster); in erc_antratio() 888 original = (INTBIG *)emalloc(total * SIZEOFINTBIG, erc_tool->cluster); in erc_antoptionsdlog()
|
/dports/cad/electric/electric-7.00/src/usr/ |
H A D | usredtecp.c | 1323 list = emalloc((l * SIZEOFINTBIG), el_tempcluster); in us_tecedmakenodes() 2968 us_tecedmakepx = emalloc((want * SIZEOFINTBIG), us_tool->cluster); in us_tecedforcearrays() 2970 us_tecedmakepy = emalloc((want * SIZEOFINTBIG), us_tool->cluster); in us_tecedforcearrays() 2972 us_tecedmakecx = emalloc((want * SIZEOFINTBIG), us_tool->cluster); in us_tecedforcearrays() 2974 us_tecedmakecy = emalloc((want * SIZEOFINTBIG), us_tool->cluster); in us_tecedforcearrays() 2976 us_tecedmakefactor = emalloc((want * SIZEOFINTBIG), us_tool->cluster); in us_tecedforcearrays() 2990 us_tecedmakeratiox = emalloc((want * SIZEOFINTBIG), us_tool->cluster); in us_tecedforcearrays() 2992 us_tecedmakeratioy = emalloc((want * SIZEOFINTBIG), us_tool->cluster); in us_tecedforcearrays() 3007 newrule = emalloc((count*4*SIZEOFINTBIG), el_tempcluster); in us_tecedstretchpoints() 3280 pc->connects = emalloc(((len+5)*SIZEOFINTBIG), us_tool->cluster); in us_tecedaddportlist() [all …]
|
H A D | usrgraph.c | 139 xval = emalloc((SIZEOFINTBIG * maxdepth), el_tempcluster); in us_graphcells() 141 yoff = emalloc((SIZEOFINTBIG * maxdepth), el_tempcluster); in us_graphcells()
|
H A D | usrcomln.c | 1436 us_pulldownmenupos = (INTBIG *)emalloc((count-1) * SIZEOFINTBIG, us_tool->cluster); in us_menu() 2615 newlist = emalloc(((segs+1)*4*SIZEOFINTBIG), el_tempcluster); in us_node() 2818 newlist = emalloc((size*2*SIZEOFINTBIG), el_tempcluster); in us_node() 2895 newlist = emalloc(((size+1)*2*SIZEOFINTBIG), el_tempcluster); in us_node() 2955 newlist = emalloc(((size-1)*2*SIZEOFINTBIG), el_tempcluster); in us_node() 3036 newlist = emalloc((size*2*SIZEOFINTBIG), el_tempcluster); in us_node()
|
H A D | usrcomrs.c | 2888 equivlist = (INTBIG *)emalloc(num_found * SIZEOFINTBIG, el_tempcluster); in us_show() 2890 buslist = (INTBIG *)emalloc(num_found * SIZEOFINTBIG, el_tempcluster); in us_show() 3639 dlxs = (INTBIG *)emalloc(tot * SIZEOFINTBIG, us_tool->cluster); in us_size() 3641 dlys = (INTBIG *)emalloc(tot * SIZEOFINTBIG, us_tool->cluster); in us_size() 3643 dhxs = (INTBIG *)emalloc(tot * SIZEOFINTBIG, us_tool->cluster); in us_size() 3645 dhys = (INTBIG *)emalloc(tot * SIZEOFINTBIG, us_tool->cluster); in us_size() 3647 drot = (INTBIG *)emalloc(tot * SIZEOFINTBIG, us_tool->cluster); in us_size() 3649 dtran = (INTBIG *)emalloc(tot * SIZEOFINTBIG, us_tool->cluster); in us_size()
|
H A D | usredtecg.c | 373 minnodesize = (INTBIG *)emalloc(nodetotal*2*SIZEOFINTBIG, el_tempcluster); in us_tecedmakelibfromtech() 641 newmap = emalloc((256*3*SIZEOFINTBIG), el_tempcluster); in us_tecedmakelibfromtech() 1417 list = emalloc((poly->count*2*SIZEOFINTBIG), el_tempcluster); in us_tecedsetlist()
|
/dports/cad/electric/electric-7.00/src/include/ |
H A D | conlin.h | 61 #define LINCONSIZE ((sizeof (LINCON)) / SIZEOFINTBIG)
|
/dports/cad/electric/electric-7.00/src/sim/ |
H A D | simalsgraph.c | 841 esort(bussignals, buscount, SIZEOFINTBIG, simals_sortbusnames); in simals_set_current_level() 897 numsteps = (INTBIG *)emalloc(num_chan * SIZEOFINTBIG, el_tempcluster); in simals_fill_display_arrays() 899 nodelist = (INTBIG *)emalloc(num_chan * SIZEOFINTBIG, el_tempcluster); in simals_fill_display_arrays()
|
H A D | simmaxwell.c | 276 newlist = (INTBIG *)emalloc(newtotal * SIZEOFINTBIG, sim_tool->cluster); in sim_maxwellwritepoly()
|
/dports/cad/electric/electric-7.00/src/drc/ |
H A D | drc.c | 2122 rules->minwidth = (INTBIG *)emalloc(rules->numlayers * SIZEOFINTBIG, el_tempcluster); in dr_allocaterules() 2126 rules->conlist = (INTBIG *)emalloc(rules->utsize * SIZEOFINTBIG, el_tempcluster); in dr_allocaterules() 2128 rules->unconlist = (INTBIG *)emalloc(rules->utsize * SIZEOFINTBIG, el_tempcluster); in dr_allocaterules() 2130 rules->conlistW = (INTBIG *)emalloc(rules->utsize * SIZEOFINTBIG, el_tempcluster); in dr_allocaterules() 2132 rules->unconlistW = (INTBIG *)emalloc(rules->utsize * SIZEOFINTBIG, el_tempcluster); in dr_allocaterules() 2134 rules->conlistM = (INTBIG *)emalloc(rules->utsize * SIZEOFINTBIG, el_tempcluster); in dr_allocaterules() 2136 rules->unconlistM = (INTBIG *)emalloc(rules->utsize * SIZEOFINTBIG, el_tempcluster); in dr_allocaterules() 2138 rules->edgelist = (INTBIG *)emalloc(rules->utsize * SIZEOFINTBIG, el_tempcluster); in dr_allocaterules() 2187 rules->minnodesize = (INTBIG *)emalloc(nodecount * 2 * SIZEOFINTBIG, el_tempcluster); in dr_allocaterules() 2380 validlayers = (INTBIG *)emalloc(rules->numlayers * SIZEOFINTBIG, dr_tool->cluster); in dr_rulesdlog()
|
/dports/cad/electric/electric-7.00/src/tec/ |
H A D | tecfpga.c | 1130 cachedepth = ((INTBIG *)ptr)[0]; ptr += SIZEOFINTBIG; in fpga_arcactive() 1153 size = depth * (sizeof (NODEINST *)) + SIZEOFINTBIG + SIZEOFINTSML; in fpga_arcactive() 1163 ((INTBIG *)ptr)[0] = depth; ptr += SIZEOFINTBIG; in fpga_arcactive() 1198 cachedepth = ((INTBIG *)ptr)[0]; ptr += SIZEOFINTBIG; in fpga_reevaluatepips() 1244 size = depth * (sizeof (NODEINST *)) + SIZEOFINTBIG + fn->netcount * SIZEOFINTSML + in fpga_reevaluatepips() 1255 ((INTBIG *)ptr)[0] = depth; ptr += SIZEOFINTBIG; in fpga_reevaluatepips() 1631 newparamtypes = (INTBIG *)emalloc(newlimit * SIZEOFINTBIG, fpga_tech->cluster); in fpga_addparameter() 1870 newnodewidoff = (INTBIG *)emalloc(primnp->primindex * 4 * SIZEOFINTBIG, fpga_tech->cluster); in fpga_makeprimitive() 2303 newsegcoords = (INTBIG *)emalloc((fnet->segcount+1) * 4 * SIZEOFINTBIG, fpga_tech->cluster); in fpga_makeprimnet()
|
H A D | tecnmos.c | 1244 (((sizeof nmos_unconnectedtable)/SIZEOFINTBIG)<<VLENGTHSH)}, 1247 (((sizeof nmos_connectedtable) / SIZEOFINTBIG)<<VLENGTHSH)},
|
/dports/cad/electric/electric-7.00/src/rout/ |
H A D | rout.c | 922 covered = (INTBIG *)emalloc(count * SIZEOFINTBIG, el_tempcluster); in ro_unroutenet() 1024 newlistx = (INTBIG *)emalloc(newtotal * SIZEOFINTBIG, in ro_findnetends() 1026 newlisty = (INTBIG *)emalloc(newtotal * SIZEOFINTBIG, in ro_findnetends()
|
/dports/cad/electric/electric-7.00/src/net/ |
H A D | netflat.c | 696 SIZEOFINTBIG, net_tool->cluster); in net_buildpseudo() 998 SIZEOFINTBIG, net_tool->cluster); in net_addtraversalpath() 1145 pn->nodewire = (INTBIG *)emalloc(pn->nodecount * SIZEOFINTBIG, net_tool->cluster); in net_fillinnetpointers() 1514 SIZEOFINTBIG, net_tool->cluster); in net_mergeseries()
|