Lines Matching refs:base
31 using NumberHelper = base::NumberHelper;
32 using StringHelper = base::StringHelper;
222 … if (cc >= base::utf_helper::DECODE_TRAIL_LOW && cc <= base::utf_helper::DECODE_TRAIL_HIGH) { in Encode()
236 if (cc < base::utf_helper::DECODE_LEAD_LOW || cc > base::utf_helper::DECODE_LEAD_HIGH) { in Encode()
244 … if (kc < base::utf_helper::DECODE_TRAIL_LOW || kc > base::utf_helper::DECODE_TRAIL_HIGH) { in Encode()
248 vv = base::utf_helper::UTF16Decode(cc, kc); in Encode()
434 if (!base::utf_helper::IsValidUTF8(oct)) { in Decode()
439 if (vv < base::utf_helper::DECODE_SECOND_FACTOR) { in Decode()
447 uint16_t lv = (((vv - base::utf_helper::DECODE_SECOND_FACTOR) & BIT16_MASK) + in Decode()
448 base::utf_helper::DECODE_TRAIL_LOW); in Decode()
449 … uint16_t hv = ((((vv - base::utf_helper::DECODE_SECOND_FACTOR) >> 10U) & BIT16_MASK) + // NOLINT in Decode()
450 base::utf_helper::DECODE_LEAD_LOW); // 10: means shift left by 10 digits in Decode()