Lines Matching refs:val

439         sal_Int32 val = 0;  in handleReference()  local
447 val = 16 * val + (c - '0'); in handleReference()
449 val = 16 * val + (c - 'A') + 10; in handleReference()
451 val = 16 * val + (c - 'a') + 10; in handleReference()
455 if (val > 0x10FFFF) { // avoid overflow in handleReference()
469 val = 10 * val + (c - '0'); in handleReference()
473 if (val > 0x10FFFF) { // avoid overflow in handleReference()
490 OSL_ASSERT(val >= 0 && val <= 0x10FFFF); in handleReference()
491 if ((val < 0x20 && val != 0x9 && val != 0xA && val != 0xD) || in handleReference()
492 (val >= 0xD800 && val <= 0xDFFF) || val == 0xFFFE || val == 0xFFFF) in handleReference()
503 if (val < 0x80) { in handleReference()
504 buf[0] = static_cast< char >(val); in handleReference()
506 } else if (val < 0x800) { in handleReference()
507 buf[0] = static_cast< char >((val >> 6) | 0xC0); in handleReference()
508 buf[1] = static_cast< char >((val & 0x3F) | 0x80); in handleReference()
510 } else if (val < 0x10000) { in handleReference()
511 buf[0] = static_cast< char >((val >> 12) | 0xE0); in handleReference()
512 buf[1] = static_cast< char >(((val >> 6) & 0x3F) | 0x80); in handleReference()
513 buf[2] = static_cast< char >((val & 0x3F) | 0x80); in handleReference()
516 buf[0] = static_cast< char >((val >> 18) | 0xF0); in handleReference()
517 buf[1] = static_cast< char >(((val >> 12) & 0x3F) | 0x80); in handleReference()
518 buf[2] = static_cast< char >(((val >> 6) & 0x3F) | 0x80); in handleReference()
519 buf[3] = static_cast< char >((val & 0x3F) | 0x80); in handleReference()