Searched refs:lead (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
D | c32rtomb.cpp | 67 uint8_t lead; in c32rtomb() local 70 lead = 0; in c32rtomb() 73 lead = 0xc0; in c32rtomb() 76 lead = 0xe0; in c32rtomb() 79 lead = 0xf0; in c32rtomb() 94 *s = (c32 & 0xff) | lead; in c32rtomb()
|
/bionic/libc/upstream-openbsd/lib/libc/time/ |
D | wcsftime.c | 527 int lead; in _yconv() local 532 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; in _yconv() 534 if (trail < 0 && lead > 0) { in _yconv() 536 --lead; in _yconv() 537 } else if (lead < 0 && trail > 0) { in _yconv() 539 ++lead; in _yconv() 542 if (lead == 0 && trail < 0) in _yconv() 544 else pt = _conv(lead, L"%02d", pt, ptlim); in _yconv()
|
/bionic/libc/tzcode/ |
D | strftime.c | 668 register int lead; in _yconv() local 673 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; in _yconv() 675 if (trail < 0 && lead > 0) { in _yconv() 677 --lead; in _yconv() 678 } else if (lead < 0 && trail > 0) { in _yconv() 680 ++lead; in _yconv() 683 if (lead == 0 && trail < 0) in _yconv() 685 else pt = _conv(lead, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim); in _yconv()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | vfwprintf.c | 315 int lead; /* sig figs before decimal or group sep */ in __vfwprintf() local 770 lead = expt; in __vfwprintf() 996 lead, zeroes); in __vfwprintf() 997 cp += lead; in __vfwprintf()
|
D | vfprintf.c | 308 int lead; /* sig figs before decimal or group sep */ in __vfprintf() local 808 lead = expt; in __vfprintf() 1035 PRINTANDPAD(cp, dtoaend, lead, zeroes); in __vfprintf() 1036 cp += lead; in __vfprintf()
|