Home
last modified time | relevance | path

Searched refs:trail (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/bionic/
Dmbrtoc16.cpp43 char16_t trail = (c32 & 0x3ff) | 0xdc00; in begin_surrogate() local
45 mbstate_set_byte(state, 0, trail & 0x00ff); in begin_surrogate()
46 mbstate_set_byte(state, 1, (trail & 0xff00) >> 8); in begin_surrogate()
55 char16_t trail = mbstate_get_byte(state, 1) << 8 | in finish_surrogate() local
57 *pc16 = trail; in finish_surrogate()
/bionic/libc/upstream-openbsd/lib/libc/time/
Dwcsftime.c528 int trail; in _yconv() local
531 trail = a % DIVISOR + b % DIVISOR; in _yconv()
532 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; in _yconv()
533 trail %= DIVISOR; in _yconv()
534 if (trail < 0 && lead > 0) { in _yconv()
535 trail += DIVISOR; in _yconv()
537 } else if (lead < 0 && trail > 0) { in _yconv()
538 trail -= DIVISOR; in _yconv()
542 if (lead == 0 && trail < 0) in _yconv()
547 pt = _conv(((trail < 0) ? -trail : trail), L"%02d", pt, ptlim); in _yconv()
/bionic/libc/tzcode/
Dstrftime.c691 register int trail; in _yconv() local
694 trail = a % DIVISOR + b % DIVISOR; in _yconv()
695 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; in _yconv()
696 trail %= DIVISOR; in _yconv()
697 if (trail < 0 && lead > 0) { in _yconv()
698 trail += DIVISOR; in _yconv()
700 } else if (lead < 0 && trail > 0) { in _yconv()
701 trail -= DIVISOR; in _yconv()
705 if (lead == 0 && trail < 0) in _yconv()
710 …pt = _conv(((trail < 0) ? -trail : trail), getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, p… in _yconv()