Lines Matching defs:bytes
28 SortKeyByteSink::Append(const char *bytes, int32_t n) {
29 if (n <= 0 || bytes == NULL) {
38 bytes += ignore_;
45 if ((buffer_ + length) == bytes) {
46 return; // the caller used GetAppendBuffer() and wrote the bytes already
50 uprv_memcpy(buffer_ + length, bytes, n);
52 AppendBeyondCapacity(bytes, n, length);
67 // Do not write ignored bytes right at the end of the buffer.
148 uint8_t bytes[4] = { (uint8_t)(w >> 24), (uint8_t)(w >> 16), (uint8_t)(w >> 8), (uint8_t)w };
149 int32_t appendLength = (bytes[1] == 0) ? 1 : (bytes[2] == 0) ? 2 : (bytes[3] == 0) ? 3 : 4;
151 buffer[len++] = bytes[0];
152 if(bytes[1] != 0) {
153 buffer[len++] = bytes[1];
154 if(bytes[2] != 0) {
155 buffer[len++] = bytes[2];
156 if(bytes[3] != 0) {
157 buffer[len++] = bytes[3];
290 // Prevent shifted primary lead bytes from
468 // Move lead bytes 06..3F to C6..FF for a large common-weight range.
488 // Move lead bytes 06..BF to 46..FF for the common-weight range.
647 // Write pairs of nibbles as bytes, except separator bytes as themselves.