Lines Matching refs:index
35 for (uint32 index = 0; index < packet->m_len; index++) {
36 buffer[bufferIndex++] = sDigits[data[index] >> 4];
37 buffer[bufferIndex++] = sDigits[data[index] & 0x0F];
38 if (bufferIndex == 32 || index == packet->m_len - 1) {
143 for (int32 index = 0; index < length; ) {
149 length = length - index - 1;
152 position = index = 0;
159 if (buffer[position + index] < 0x20) {
160 ++index;
165 buffer[position] = buffer[position + index] ^ 0x20;
168 } else if (buffer[position + index] == CONTROL_ESCAPE) {
169 ++index;
172 buffer[position] = buffer[position + index];
452 for (int32 index = 0; index < length; index++) {
453 if (data[index] < 0x20 || data[index] == FLAG_SEQUENCE
454 || data[index] == CONTROL_ESCAPE) {
456 buffer[position++] = data[index] ^ 0x20;
458 buffer[position++] = data[index];