Lines Matching refs:value

69     int (*rfunc)(unsigned long value, void *in), void *arg);
70 static int in_utf8(unsigned long value, void *arg);
71 static int out_utf8(unsigned long value, void *arg);
72 static int type_str(unsigned long value, void *arg);
73 static int cpy_asc(unsigned long value, void *arg);
74 static int cpy_bmp(unsigned long value, void *arg);
75 static int cpy_univ(unsigned long value, void *arg);
76 static int cpy_utf8(unsigned long value, void *arg);
77 static int is_printable(unsigned long value);
265 int (*rfunc)(unsigned long value, void *in), void *arg) in traverse_string() argument
267 unsigned long value; in traverse_string() local
273 value = *p++; in traverse_string()
277 value = *p++ << 8; in traverse_string()
278 value |= *p++; in traverse_string()
280 if (UNICODE_IS_SURROGATE(value)) in traverse_string()
285 value = (unsigned long)*p++ << 24; in traverse_string()
286 value |= *p++ << 16; in traverse_string()
287 value |= *p++ << 8; in traverse_string()
288 value |= *p++; in traverse_string()
289 if (value > UNICODE_MAX || UNICODE_IS_SURROGATE(value)) in traverse_string()
294 ret = UTF8_getc(p, len, &value); in traverse_string()
302 ret = rfunc(value, arg); in traverse_string()
315 in_utf8(unsigned long value, void *arg) in in_utf8() argument
327 out_utf8(unsigned long value, void *arg) in out_utf8() argument
333 ret = UTF8_putc(NULL, -1, value); in out_utf8()
345 type_str(unsigned long value, void *arg) in type_str() argument
350 if ((types & B_ASN1_PRINTABLESTRING) && !is_printable(value)) in type_str()
352 if ((types & B_ASN1_IA5STRING) && (value > 127)) in type_str()
354 if ((types & B_ASN1_T61STRING) && (value > 0xff)) in type_str()
356 if ((types & B_ASN1_BMPSTRING) && (value > 0xffff)) in type_str()
367 cpy_asc(unsigned long value, void *arg) in cpy_asc() argument
373 *q = value; in cpy_asc()
381 cpy_bmp(unsigned long value, void *arg) in cpy_bmp() argument
387 *q++ = (value >> 8) & 0xff; in cpy_bmp()
388 *q = value & 0xff; in cpy_bmp()
396 cpy_univ(unsigned long value, void *arg) in cpy_univ() argument
402 *q++ = (value >> 24) & 0xff; in cpy_univ()
403 *q++ = (value >> 16) & 0xff; in cpy_univ()
404 *q++ = (value >> 8) & 0xff; in cpy_univ()
405 *q = value & 0xff; in cpy_univ()
413 cpy_utf8(unsigned long value, void *arg) in cpy_utf8() argument
420 ret = UTF8_putc(*p, 0xff, value); in cpy_utf8()
427 is_printable(unsigned long value) in is_printable() argument
431 if (value > 0x7f) in is_printable()
433 ch = (int)value; in is_printable()