Home | History | Annotate | Download | only in io

Lines Matching refs:buffer

63 ufmt_64tou(UChar     *buffer, 
77 buffer[length++] = (UChar)(uselower ? TO_LC_DIGIT(digit)
84 buffer[length++] = DIGIT_0; /*zero padding */
87 /* reverse the buffer */
88 left = buffer;
89 right = buffer + length;
100 ufmt_ptou(UChar *buffer,
119 buffer[length++]=TO_LC_DIGIT(firstNibble);
120 buffer[length++]=TO_LC_DIGIT(secondNibble);
123 buffer[length++]=TO_UC_DIGIT(firstNibble);
124 buffer[length++]=TO_UC_DIGIT(secondNibble);
132 ufmt_uto64(const UChar *buffer,
142 limit = buffer + *len;
146 /* iterate through buffer */
147 while(ufmt_isdigit(*buffer, radix) && buffer < limit) {
151 result += ufmt_digitvalue(*buffer++);
163 ufmt_utop(const UChar *buffer,
179 while(buffer[count] == DIGIT_0 || u_isspace(buffer[count])) {
184 /* iterate through buffer, stop when you hit the end */
185 while(ufmt_isdigit(buffer[count], 16) && count < *len) {
207 uint8_t byte = (uint8_t)ufmt_digitvalue(buffer[count]);
211 byte = (uint8_t)(byte + (ufmt_digitvalue(buffer[--count]) << 4));