Searched refs:mod (Results 1 – 6 of 6) sorted by relevance
| /potrace-1.14/src/ |
| H A D | trace.c | 365 dir = (3+3*(pt[mod(i+1,n)].x-pt[i].x)+(pt[mod(i+1,n)].y-pt[i].y))/2; in calc_lon() 553 c = mod(pp->lon[mod(i-1,n)]-1,n); in bestpolygon() 555 c = mod(i+1,n); in bestpolygon() 721 j = mod(i-1,m); in adjust_vertices() 867 j = mod(i+1, m); in smooth() 868 k = mod(i+2, m); in smooth() 937 i1 = mod(i+1, m); in opti_penalty() 938 k1 = mod(k+1, m); in opti_penalty() 945 k1 = mod(k+1, m); in opti_penalty() 1010 k1 = mod(k+1,m); in opti_penalty() [all …]
|
| H A D | auxiliary.h | 58 static inline int mod(int a, int n) { in mod() function
|
| H A D | backend_eps.c | 251 i1 = mod(i+1,m); in eps_path_short() 263 i1 = mod(i+1,m); in eps_path_short() 383 i1 = mod(i+1, m); in eps_L()
|
| H A D | backend_dxf.c | 211 c1 = curve->c[mod(i-1,n)]; in dxf_path()
|
| H A D | greymap.c | 24 #define mod(a,n) ((a)>=(n) ? (a)%(n) : (a)>=0 ? (a) : (n)-1-(-1-(a))%(n)) macro 1026 v = mod(v, 510); in gm_writepgm()
|
| /potrace-1.14/ |
| H A D | aclocal.m4 | 859 # symlink; some systems play weird games with the mod time of symlinks 860 # (eg FreeBSD returns the mod time of the symlink's containing
|