OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:DIVISOR
(Results
1 - 4
of
4
) sorted by relevancy
/src/common/lib/libc/arch/vax/gen/
udiv.S
40
* udiv() takes an ordinary dividend/
divisor
pair;
41
* audiv() takes a pointer to a dividend and an ordinary
divisor
.
45
#define
DIVISOR
8(%ap)
48
movl
DIVISOR
,%r2
49
jlss Leasy # big
divisor
: settle by comparison
52
divl2 %r2,%r0 # small
divisor
and dividend: signed division
70
movl
DIVISOR
,%r2
71
jlss La_easy # big
divisor
: settle by comparison
74
divl2 %r2,%r0 # small
divisor
and dividend: signed division
urem.S
40
* urem() takes an ordinary dividend/
divisor
pair;
41
* aurem() takes a pointer to a dividend and an ordinary
divisor
.
45
#define
DIVISOR
8(%ap)
48
movl
DIVISOR
,%r2
49
jlss Leasy # big
divisor
: settle by comparison
52
divl3 %r2,%r0,%r1 # small
divisor
and dividend: signed modulus
62
jcc Ldifference # if
divisor
goes in once, return difference
63
movl DIVIDEND,%r0 # if
divisor
is bigger, return dividend
70
movl
DIVISOR
,%r2
71
jlss La_easy # big
divisor
: settle by compariso
[
all
...]
/src/lib/libc/time/
strftime.c
848
int
DIVISOR
= 100;
849
trail = a %
DIVISOR
+ b %
DIVISOR
;
850
lead = a /
DIVISOR
+ b /
DIVISOR
+ trail /
DIVISOR
;
851
trail %=
DIVISOR
;
853
trail +=
DIVISOR
;
856
trail -=
DIVISOR
;
zdump.c
1224
int
DIVISOR
= 10;
1240
trail = timeptr->tm_year %
DIVISOR
+ TM_YEAR_BASE %
DIVISOR
;
1241
lead = timeptr->tm_year /
DIVISOR
+ TM_YEAR_BASE /
DIVISOR
+
1242
trail /
DIVISOR
;
1243
trail %=
DIVISOR
;
1245
trail +=
DIVISOR
;
1248
trail -=
DIVISOR
;
Completed in 13 milliseconds
Indexes created Tue Sep 30 17:09:57 GMT 2025