Searched defs:rem (Results 1 - 6 of 6) sorted by relevance

/ast/src/lib/libz/
H A Dadler32.c135 unsigned rem; local
138 rem = (unsigned)(len2 % BASE);
140 sum2 = rem * sum1;
143 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
/ast/src/lib/libtk/generic/
H A DtkFont.c520 int rem;
564 rem = (newX - tabOrigin) % fontPtr->tabWidth;
565 if (rem < 0) {
566 rem += fontPtr->tabWidth;
568 newX -= rem;
673 int rem;
724 rem = (curX - tabOrigin) % fontPtr->tabWidth;
725 if (rem < 0) {
726 rem += fontPtr->tabWidth;
728 curX -= rem;
514 int rem; local
666 int rem; local
[all...]
H A DtkScale.c1973 double rem, new;
1979 rem = value - new;
1980 if (rem < 0) {
1981 if (rem <= -scalePtr->resolution/2) {
1985 if (rem >= scalePtr->resolution/2) {
1954 double rem, new; local
/ast/src/cmd/tests/
H A Ddate.c104 report(char* comment, char* str, char* pat, char* rem, int flags) argument
124 if (rem && *rem)
126 if (*rem == '\n')
133 sfprintf(sfstdout, "%s", rem);
138 normal(rem);
/ast/src/cmd/std/
H A Ddf.c658 int rem; local
880 rem = argc;
888 rem--;
898 rem = 0;
899 if (rem && (match = newof(0, int, n, 0)))
915 while (rem && (df.mnt = mntread(mp)))
925 if (!--rem)
930 if (rem)
937 while ((!argc || rem) && (df.mnt = mntread(mp)))
946 mntdev = (!rem || *d
[all...]
/ast/src/lib/libtksh/tcl/
H A DtclExpr.c1099 long divisor, quot, rem;
1127 rem = valuePtr->intValue % divisor;
1128 if (rem < 0) {
1129 rem += divisor;
1133 rem = -rem;
1135 valuePtr->intValue = (operator == DIVIDE) ? quot : rem;
1096 long divisor, quot, rem; local

Completed in 26 milliseconds