Home
last modified time | relevance | path

Searched refs:rem (Results 1 – 8 of 8) sorted by relevance

/bionic/tests/
Dinttypes_test.cpp195 EXPECT_EQ(2, r.rem); in TEST()
199 EXPECT_EQ(2, r.rem); in TEST()
203 EXPECT_EQ(-2, r.rem); in TEST()
207 EXPECT_EQ(-2, r.rem); in TEST()
215 EXPECT_EQ(2, r.rem); in TEST()
219 EXPECT_EQ(2, r.rem); in TEST()
223 EXPECT_EQ(-2, r.rem); in TEST()
227 EXPECT_EQ(-2, r.rem); in TEST()
235 EXPECT_EQ(2, r.rem); in TEST()
239 EXPECT_EQ(2, r.rem); in TEST()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dldiv.c44 r.rem = num % denom; in ldiv()
45 if (num >= 0 && r.rem < 0) { in ldiv()
47 r.rem -= denom; in ldiv()
Dimaxdiv.c44 r.rem = num % denom; in imaxdiv()
45 if (num >= 0 && r.rem < 0) { in imaxdiv()
47 r.rem -= denom; in imaxdiv()
Ddiv.c42 r.rem = num % denom; in div()
66 if (num >= 0 && r.rem < 0) { in div()
68 r.rem -= denom; in div()
Dlldiv.c44 r.rem = num % denom; in lldiv()
45 if (num >= 0 && r.rem < 0) { in lldiv()
47 r.rem -= denom; in lldiv()
/bionic/libc/include/
Dstdlib.h131 int rem; member
138 long int rem; member
145 long long int rem; member
Dinttypes.h254 intmax_t rem; /* remainder */ member
/bionic/libc/tzcode/
Dlocaltime.c1593 register int_fast64_t rem; in timesub() local
1625 rem = *timep % SECSPERDAY; in timesub()
1652 rem += offset - corr; in timesub()
1653 while (rem < 0) { in timesub()
1654 rem += SECSPERDAY; in timesub()
1657 while (rem >= SECSPERDAY) { in timesub()
1658 rem -= SECSPERDAY; in timesub()
1687 tmp->tm_hour = (int) (rem / SECSPERHOUR); in timesub()
1688 rem %= SECSPERHOUR; in timesub()
1689 tmp->tm_min = (int) (rem / SECSPERMIN); in timesub()
[all …]