Lines Matching refs:bit_string
194 char bit_string[MAX_STRING_LENGTH]; variable
202 bit_string[index++] = '0'; in octet_bit_string()
204 bit_string[index++] = '1'; in octet_bit_string()
206 bit_string[index++] = 0; /* NULL terminate string */ in octet_bit_string()
208 return bit_string; in octet_bit_string()
218 bit_string[index++] = '0'; in v16_bit_string()
220 bit_string[index++] = '1'; in v16_bit_string()
222 bit_string[index++] = 0; /* NULL terminate string */ in v16_bit_string()
223 return bit_string; in v16_bit_string()
233 bit_string[index++] = '0'; in v32_bit_string()
235 bit_string[index++] = '1'; in v32_bit_string()
237 bit_string[index++] = 0; /* NULL terminate string */ in v32_bit_string()
238 return bit_string; in v32_bit_string()
248 bit_string[index++] = '0'; in v64_bit_string()
250 bit_string[index++] = '1'; in v64_bit_string()
252 bit_string[index++] = 0; /* NULL terminate string */ in v64_bit_string()
253 return bit_string; in v64_bit_string()
264 bit_string[index] = '1'; in v128_bit_string()
266 bit_string[index] = '0'; in v128_bit_string()
270 bit_string[128] = 0; /* null terminate string */ in v128_bit_string()
272 return bit_string; in v128_bit_string()
285 bit_string[0] = nibble_to_hex_char(x >> 4); in octet_hex_string()
286 bit_string[1] = nibble_to_hex_char(x & 0xF); in octet_hex_string()
288 bit_string[2] = 0; /* null terminate string */ in octet_hex_string()
289 return bit_string; in octet_hex_string()
305 bit_string[i] = nibble_to_hex_char(*s >> 4); in octet_string_hex_string()
306 bit_string[i+1] = nibble_to_hex_char(*s++ & 0xF); in octet_string_hex_string()
308 bit_string[i] = 0; /* null terminate string */ in octet_string_hex_string()
309 return bit_string; in octet_string_hex_string()
317 bit_string[j++] = nibble_to_hex_char(x.v8[i] >> 4); in v16_hex_string()
318 bit_string[j++] = nibble_to_hex_char(x.v8[i] & 0xF); in v16_hex_string()
321 bit_string[j] = 0; /* null terminate string */ in v16_hex_string()
322 return bit_string; in v16_hex_string()
330 bit_string[j++] = nibble_to_hex_char(x.v8[i] >> 4); in v32_hex_string()
331 bit_string[j++] = nibble_to_hex_char(x.v8[i] & 0xF); in v32_hex_string()
334 bit_string[j] = 0; /* null terminate string */ in v32_hex_string()
335 return bit_string; in v32_hex_string()
343 bit_string[j++] = nibble_to_hex_char(x->v8[i] >> 4); in v64_hex_string()
344 bit_string[j++] = nibble_to_hex_char(x->v8[i] & 0xF); in v64_hex_string()
347 bit_string[j] = 0; /* null terminate string */ in v64_hex_string()
348 return bit_string; in v64_hex_string()
356 bit_string[j++] = nibble_to_hex_char(x->v8[i] >> 4); in v128_hex_string()
357 bit_string[j++] = nibble_to_hex_char(x->v8[i] & 0xF); in v128_hex_string()
360 bit_string[j] = 0; /* null terminate string */ in v128_hex_string()
361 return bit_string; in v128_hex_string()
371 bit_string[j++] = nibble_to_hex_char(x[i] >> 4); in char_to_hex_string()
372 bit_string[j++] = nibble_to_hex_char(x[i] & 0xF); in char_to_hex_string()
375 bit_string[j] = 0; /* null terminate string */ in char_to_hex_string()
376 return bit_string; in char_to_hex_string()