Lines Matching refs:buffer
68 ufmt_64tou(UChar *buffer,
82 buffer[length++] = (UChar)(uselower ? TO_LC_DIGIT(digit)
89 buffer[length++] = DIGIT_0; /*zero padding */
92 /* reverse the buffer */
93 left = buffer;
94 right = buffer + length;
105 ufmt_ptou(UChar *buffer,
124 buffer[length++]=TO_LC_DIGIT(firstNibble);
125 buffer[length++]=TO_LC_DIGIT(secondNibble);
128 buffer[length++]=TO_UC_DIGIT(firstNibble);
129 buffer[length++]=TO_UC_DIGIT(secondNibble);
137 ufmt_uto64(const UChar *buffer,
147 limit = buffer + *len;
151 /* iterate through buffer */
152 while(ufmt_isdigit(*buffer, radix) && buffer < limit) {
156 result += ufmt_digitvalue(*buffer++);
168 ufmt_utop(const UChar *buffer,
184 while(buffer[count] == DIGIT_0 || u_isspace(buffer[count])) {
189 /* iterate through buffer, stop when you hit the end */
190 while(count < *len && ufmt_isdigit(buffer[count], 16)) {
212 uint8_t byte = (uint8_t)ufmt_digitvalue(buffer[count]);
216 byte = (uint8_t)(byte + (ufmt_digitvalue(buffer[--count]) << 4));