Lines Matching refs:newdir
111 int olddir, newdir;
164 newdir = today > tomorrow ? -1 : +1;
165 if (olddir != newdir) {
168 if (olddir == -1 && newdir == +1) {
171 } else if (olddir == +1 && newdir == -1) {
176 olddir = newdir;
189 int newdir;
202 newdir = before < after ? -1 : +1;
203 if (olddir != newdir)
208 // printf("newdir:%d - p1:%10.10f - period:%g\n",
209 // newdir, p1, period);