Home | History | Annotate | Download | only in i18n

Lines Matching defs:bytes

30 SortKeyByteSink::Append(const char *bytes, int32_t n) {
31 if (n <= 0 || bytes == NULL) {
40 bytes += ignore_;
47 if ((buffer_ + length) == bytes) {
48 return; // the caller used GetAppendBuffer() and wrote the bytes already
52 uprv_memcpy(buffer_ + length, bytes, n);
54 AppendBeyondCapacity(bytes, n, length);
69 // Do not write ignored bytes right at the end of the buffer.
150 uint8_t bytes[4] = { (uint8_t)(w >> 24), (uint8_t)(w >> 16), (uint8_t)(w >> 8), (uint8_t)w };
151 int32_t appendLength = (bytes[1] == 0) ? 1 : (bytes[2] == 0) ? 2 : (bytes[3] == 0) ? 3 : 4;
153 buffer[len++] = bytes[0];
154 if(bytes[1] != 0) {
155 buffer[len++] = bytes[1];
156 if(bytes[2] != 0) {
157 buffer[len++] = bytes[2];
158 if(bytes[3] != 0) {
159 buffer[len++] = bytes[3];
292 // Prevent shifted primary lead bytes from
492 // Move lead bytes 06..3F to C6..FF for a large common-weight range.
512 // Move lead bytes 06..BF to 46..FF for the common-weight range.
634 // Write pairs of nibbles as bytes, except separator bytes as themselves.