Lines Matching full:i
178 size_t i; in dump_bytestring_base16() local
194 for (i = 0; i < n; ++i) { in dump_bytestring_base16()
195 uint8_t byte = buffer[n + i]; in dump_bytestring_base16()
196 buffer[2*i] = characters[byte >> 4]; in dump_bytestring_base16()
197 buffer[2*i + 1] = characters[byte & 0xf]; in dump_bytestring_base16()
204 size_t n = 0, i; in generic_dump_base64() local
225 for (i = 0; n - i >= 3; i += 3) { in generic_dump_base64()
229 } else if (i) { in generic_dump_base64()
230 __builtin_memcpy(&val, in + i - 1, sizeof(val)); in generic_dump_base64()
234 val = (in[i] << 16) | (in[i + 1] << 8) | in[i + 2]; in generic_dump_base64()
245 if (n - i) { in generic_dump_base64()
246 /* we can read in[i + 1] even if it's past the end of the string because in generic_dump_base64()
250 __builtin_memcpy(&val16, in + i, sizeof(val16)); in generic_dump_base64()
253 val = (in[i] << 8) | in[i + 1]; in generic_dump_base64()
260 if (n - i == 2) { in generic_dump_base64()