Searched refs:rem (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | ldiv.c | 44 r.rem = num % denom; in ldiv() 45 if (num >= 0 && r.rem < 0) { in ldiv() 47 r.rem -= denom; in ldiv()
|
D | div.c | 42 r.rem = num % denom; in div() 66 if (num >= 0 && r.rem < 0) { in div() 68 r.rem -= denom; in div()
|
D | imaxdiv.c | 44 r.rem = num % denom; in imaxdiv() 45 if (num >= 0 && r.rem < 0) { in imaxdiv() 47 r.rem -= denom; in imaxdiv()
|
D | lldiv.c | 44 r.rem = num % denom; in lldiv() 45 if (num >= 0 && r.rem < 0) { in lldiv() 47 r.rem -= denom; in lldiv()
|
/bionic/tests/ |
D | inttypes_test.cpp | 195 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/include/ |
D | stdlib.h | 131 int rem; member 138 long int rem; member 145 long long int rem; member
|
D | inttypes.h | 254 intmax_t rem; /* remainder */ member
|
/bionic/libc/tzcode/ |
D | localtime.c | 1593 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 …]
|