Lines Matching refs:c

365     uint8_t c = 0;  in do_helper_nc()  local
380 c |= x; in do_helper_nc()
383 return c != 0; in do_helper_nc()
399 uint8_t c = 0; in do_helper_xc() local
421 c |= x; in do_helper_xc()
424 return c != 0; in do_helper_xc()
440 uint8_t c = 0; in do_helper_oc() local
455 c |= x; in do_helper_oc()
458 return c != 0; in do_helper_oc()
785 uint8_t v, c = env->regs[0]; in HELPER() local
804 if (v == c) { in HELPER()
821 uint16_t v, c = env->regs[0]; in HELPER() local
844 if (v == c) { in HELPER()
858 Int128 HELPER(clst)(CPUS390XState *env, uint64_t c, uint64_t s1, uint64_t s2) in HELPER()
863 c = c & 0xff; in HELPER()
873 if (v1 == c) { in HELPER()
882 env->cc_op = (v1 == c ? 1 : v2 == c ? 2 : v1 < v2 ? 1 : 2); in HELPER()
953 const uint8_t c = env->regs[0]; in HELPER() local
975 if (v == c) { in HELPER()
2569 uint64_t ilen, uintptr_t ra, uint32_t c,
2577 uint32_t c, l; in decode_utf8() local
2586 c = s0; in decode_utf8()
2597 c = s0 & 0x1f; in decode_utf8()
2598 c = (c << 6) | (s1 & 0x3f); in decode_utf8()
2610 c = s0 & 0x0f; in decode_utf8()
2611 c = (c << 6) | (s1 & 0x3f); in decode_utf8()
2612 c = (c << 6) | (s2 & 0x3f); in decode_utf8()
2619 || c < 0x1000 in decode_utf8()
2620 || (c >= 0xd800 && c <= 0xdfff))) { in decode_utf8()
2632 c = s0 & 0x07; in decode_utf8()
2633 c = (c << 6) | (s1 & 0x3f); in decode_utf8()
2634 c = (c << 6) | (s2 & 0x3f); in decode_utf8()
2635 c = (c << 6) | (s3 & 0x3f); in decode_utf8()
2641 || c < 0x010000 in decode_utf8()
2642 || c > 0x10ffff)) { in decode_utf8()
2650 *ochar = c; in decode_utf8()
2660 uint32_t c, l; in decode_utf16() local
2669 c = s0; in decode_utf16()
2677 c = extract32(s0, 6, 4) + 1; in decode_utf16()
2678 c = (c << 6) | (s0 & 0x3f); in decode_utf16()
2679 c = (c << 10) | (s1 & 0x3ff); in decode_utf16()
2686 *ochar = c; in decode_utf16()
2695 uint32_t c; in decode_utf32() local
2700 c = cpu_ldl_data_ra(env, addr, ra); in decode_utf32()
2701 if ((c >= 0xd800 && c <= 0xdbff) || c > 0x10ffff) { in decode_utf32()
2706 *ochar = c; in decode_utf32()
2712 uintptr_t ra, uint32_t c, uint32_t *olen) in encode_utf8() argument
2717 if (c <= 0x7f) { in encode_utf8()
2720 d[0] = c; in encode_utf8()
2721 } else if (c <= 0x7ff) { in encode_utf8()
2724 d[1] = 0x80 | extract32(c, 0, 6); in encode_utf8()
2725 d[0] = 0xc0 | extract32(c, 6, 5); in encode_utf8()
2726 } else if (c <= 0xffff) { in encode_utf8()
2729 d[2] = 0x80 | extract32(c, 0, 6); in encode_utf8()
2730 d[1] = 0x80 | extract32(c, 6, 6); in encode_utf8()
2731 d[0] = 0xe0 | extract32(c, 12, 4); in encode_utf8()
2735 d[3] = 0x80 | extract32(c, 0, 6); in encode_utf8()
2736 d[2] = 0x80 | extract32(c, 6, 6); in encode_utf8()
2737 d[1] = 0x80 | extract32(c, 12, 6); in encode_utf8()
2738 d[0] = 0xf0 | extract32(c, 18, 3); in encode_utf8()
2753 uintptr_t ra, uint32_t c, uint32_t *olen) in encode_utf16() argument
2757 if (c <= 0xffff) { in encode_utf16()
2762 cpu_stw_data_ra(env, addr, c, ra); in encode_utf16()
2769 d1 = 0xdc00 | extract32(c, 0, 10); in encode_utf16()
2770 d0 = 0xd800 | extract32(c, 10, 6); in encode_utf16()
2771 d0 = deposit32(d0, 6, 4, extract32(c, 16, 5) - 1); in encode_utf16()
2781 uintptr_t ra, uint32_t c, uint32_t *olen) in encode_utf32() argument
2786 cpu_stl_data_ra(env, addr, c, ra); in encode_utf32()
2806 uint32_t c, ilen, olen; in convert_unicode() local
2808 cc = decode(env, src, slen, enh_check, ra, &c, &ilen); in convert_unicode()
2812 cc = encode(env, dst, dlen, ra, c, &olen); in convert_unicode()