Lines Matching refs:chr
48 $this->buffer = str_repeat(chr(0), $this->buffer_size);
58 $bytes = str_repeat(chr(0), self::MAX_VARINT64_BYTES);
65 $bytes = str_repeat(chr(0), self::MAX_VARINT64_BYTES);
72 $bytes = str_repeat(chr(0), 4);
79 $bytes = str_repeat(chr(0), 8);
117 $buffer[$current] = chr($low | 0x80);
124 $buffer[$current] = chr($low);
130 $buffer[0] = chr($value & 0x000000FF);
131 $buffer[1] = chr(($value >> 8) & 0x000000FF);
132 $buffer[2] = chr(($value >> 16) & 0x000000FF);
133 $buffer[3] = chr(($value >> 24) & 0x000000FF);
148 $buffer[0] = chr($low & 0x000000FF);
149 $buffer[1] = chr(($low >> 8) & 0x000000FF);
150 $buffer[2] = chr(($low >> 16) & 0x000000FF);
151 $buffer[3] = chr(($low >> 24) & 0x000000FF);
152 $buffer[4] = chr($high & 0x000000FF);
153 $buffer[5] = chr(($high >> 8) & 0x000000FF);
154 $buffer[6] = chr(($high >> 16) & 0x000000FF);
155 $buffer[7] = chr(($high >> 24) & 0x000000FF);