Home
last modified time | relevance | path

Searched refs:toUChar (Results 1 – 22 of 22) sorted by relevance

/external/valgrind/VEX/useful/
Dfp_80_64.c109 sign = toUChar( (f64[7] >> 7) & 1 ); in convert_f64le_to_f80le()
130 f80[9] = toUChar( sign << 7 ); in convert_f64le_to_f80le()
161 f80[9] = toUChar( (sign << 7) | ((bexp >> 8) & 0xFF) ); in convert_f64le_to_f80le()
162 f80[8] = toUChar( bexp & 0xFF ); in convert_f64le_to_f80le()
178 f80[9] = toUChar( (sign << 7) | 0x7F ); in convert_f64le_to_f80le()
196 f80[9] = toUChar( (sign << 7) | 0x7F ); in convert_f64le_to_f80le()
205 f80[9] = toUChar( (sign << 7) | 0x7F ); in convert_f64le_to_f80le()
219 f80[9] = toUChar( (sign << 7) | ((bexp >> 8) & 0xFF) ); in convert_f64le_to_f80le()
220 f80[8] = toUChar( bexp & 0xFF ); in convert_f64le_to_f80le()
221 f80[7] = toUChar( (1 << 7) | ((f64[6] << 3) & 0x78) in convert_f64le_to_f80le()
[all …]
/external/valgrind/VEX/priv/
Dguest_generic_x87.c91 c = toUChar( c & ~(1 << (n&7)) ); in write_bit_array()
92 c = toUChar( c | ((b&1) << (n&7)) ); in write_bit_array()
111 sign = toUChar( (f64[7] >> 7) & 1 ); in convert_f64le_to_f80le()
132 f80[9] = toUChar( sign << 7 ); in convert_f64le_to_f80le()
163 f80[9] = toUChar( (sign << 7) | ((bexp >> 8) & 0xFF) ); in convert_f64le_to_f80le()
164 f80[8] = toUChar( bexp & 0xFF ); in convert_f64le_to_f80le()
180 f80[9] = toUChar( (sign << 7) | 0x7F ); in convert_f64le_to_f80le()
198 f80[9] = toUChar( (sign << 7) | 0x7F ); in convert_f64le_to_f80le()
207 f80[9] = toUChar( (sign << 7) | 0x7F ); in convert_f64le_to_f80le()
221 f80[9] = toUChar( (sign << 7) | ((bexp >> 8) & 0xFF) ); in convert_f64le_to_f80le()
[all …]
Dhost_generic_simd64.c104 return toUChar(0xFF & (hi32 >> 24)); in sel8x8_7()
108 return toUChar(0xFF & (hi32 >> 16)); in sel8x8_6()
112 return toUChar(0xFF & (hi32 >> 8)); in sel8x8_5()
116 return toUChar(0xFF & (hi32 >> 0)); in sel8x8_4()
120 return toUChar(0xFF & (lo32 >> 24)); in sel8x8_3()
124 return toUChar(0xFF & (lo32 >> 16)); in sel8x8_2()
128 return toUChar(0xFF & (lo32 >> 8)); in sel8x8_1()
132 return toUChar(0xFF & (lo32 >> 0)); in sel8x8_0()
137 return toUChar((w64 >> (8*ix)) & 0xFF); in index8x8()
263 return toUChar(xx==yy ? 0xFF : 0); in cmpeq8()
[all …]
Dguest_ppc_helpers.c273 vex_state->guest_CR##_n##_0 = toUChar(t & 1); \ in LibVEX_GuestPPC32_put_CR()
274 vex_state->guest_CR##_n##_321 = toUChar(t & (7<<1)); \ in LibVEX_GuestPPC32_put_CR()
300 vex_state->guest_CR##_n##_0 = toUChar(t & 1); \ in LibVEX_GuestPPC64_put_CR()
301 vex_state->guest_CR##_n##_321 = toUChar(t & (7<<1)); \ in LibVEX_GuestPPC64_put_CR()
346 vex_state->guest_XER_BC = toUChar(xer_native & 0xFF); in LibVEX_GuestPPC32_put_XER()
347 vex_state->guest_XER_SO = toUChar((xer_native >> 31) & 0x1); in LibVEX_GuestPPC32_put_XER()
348 vex_state->guest_XER_OV = toUChar((xer_native >> 30) & 0x1); in LibVEX_GuestPPC32_put_XER()
349 vex_state->guest_XER_CA = toUChar((xer_native >> 29) & 0x1); in LibVEX_GuestPPC32_put_XER()
357 vex_state->guest_XER_BC = toUChar(xer_native & 0xFF); in LibVEX_GuestPPC64_put_XER()
358 vex_state->guest_XER_SO = toUChar((xer_native >> 31) & 0x1); in LibVEX_GuestPPC64_put_XER()
[all …]
Dhost_amd64_defs.c864 i->Ain.SseUComIS.sz = toUChar(sz); in AMD64Instr_SseUComIS()
874 i->Ain.SseSI2SF.szS = toUChar(szS); in AMD64Instr_SseSI2SF()
875 i->Ain.SseSI2SF.szD = toUChar(szD); in AMD64Instr_SseSI2SF()
885 i->Ain.SseSF2SI.szS = toUChar(szS); in AMD64Instr_SseSF2SI()
886 i->Ain.SseSF2SI.szD = toUChar(szD); in AMD64Instr_SseSF2SI()
907 i->Ain.SseLdSt.sz = toUChar(sz); in AMD64Instr_SseLdSt()
2005 *p++ = toUChar((w32) & 0x000000FF); in emit32()
2006 *p++ = toUChar((w32 >> 8) & 0x000000FF); in emit32()
2007 *p++ = toUChar((w32 >> 16) & 0x000000FF); in emit32()
2008 *p++ = toUChar((w32 >> 24) & 0x000000FF); in emit32()
[all …]
Dhost_x86_defs.c844 i->Xin.SseLdzLO.sz = toUChar(sz); in X86Instr_SseLdzLO()
1880 *p++ = toUChar( w32 & 0x000000FF); in emit32()
1881 *p++ = toUChar((w32 >> 8) & 0x000000FF); in emit32()
1882 *p++ = toUChar((w32 >> 16) & 0x000000FF); in emit32()
1883 *p++ = toUChar((w32 >> 24) & 0x000000FF); in emit32()
1931 *p++ = toUChar(am->Xam.IR.imm & 0xFF); in doAMode_M__wrk()
1943 *p++ = toUChar(am->Xam.IR.imm & 0xFF); in doAMode_M__wrk()
1956 *p++ = toUChar(am->Xam.IRRS.imm & 0xFF); in doAMode_M__wrk()
2024 *p++ = toUChar(0xD8+i); in do_fstp_st()
2033 *p++ = toUChar(0xC0+i); in do_fld_st()
[all …]
Dguest_x86_helpers.c549 case X86G_CC_OP_UMULB: ACTIONS_UMUL( 8, UChar, toUChar, in x86g_calculate_eflags_all_WRK()
556 case X86G_CC_OP_SMULB: ACTIONS_SMUL( 8, Char, toUChar, in x86g_calculate_eflags_all_WRK()
1380 sign = toUChar( (f64[7] >> 7) & 1 ); in x86g_calculate_FXAM()
1696 addrC[4] = toUChar(summary_tags); /* FTW: tag summary byte */ in x86g_dirtyhelper_FXSAVE()
2504 return toUChar(xx>yy ? xx-yy : yy-xx); in abdU8()
2530 return toUChar(hi32 >> 24); in sel8x8_7()
2534 return toUChar(hi32 >> 16); in sel8x8_6()
2538 return toUChar(hi32 >> 8); in sel8x8_5()
2542 return toUChar(hi32 >> 0); in sel8x8_4()
2546 return toUChar(lo32 >> 24); in sel8x8_3()
[all …]
Dhost_generic_simd128.c83 return toUChar((xx > yy) ? xx : yy); in max8S()
88 return toUChar((xx < yy) ? xx : yy); in min8S()
110 return toUChar(((Char)v) >> n); in sar8()
Dguest_amd64_helpers.c706 case AMD64G_CC_OP_UMULB: ACTIONS_UMUL( 8, UChar, toUChar, in amd64g_calculate_rflags_all_WRK()
715 case AMD64G_CC_OP_SMULB: ACTIONS_SMUL( 8, Char, toUChar, in amd64g_calculate_rflags_all_WRK()
1744 sign = toUChar( (f64[7] >> 7) & 1 ); in amd64g_calculate_FXAM()
1948 addrC[4] = toUChar(summary_tags); /* FTW: tag summary byte */ in amd64g_dirtyhelper_FXSAVE_ALL_EXCEPT_XMM()
3176 return toUChar(xx>yy ? xx-yy : yy-xx); in abdU8()
3202 return toUChar(hi32 >> 24); in sel8x8_7()
3206 return toUChar(hi32 >> 16); in sel8x8_6()
3210 return toUChar(hi32 >> 8); in sel8x8_5()
3214 return toUChar(hi32 >> 0); in sel8x8_4()
3218 return toUChar(lo32 >> 24); in sel8x8_3()
[all …]
Dguest_ppc_toIR.c302 return toUChar( IFIELD( instr, 26, 6 ) ); in ifieldOPC()
327 return toUChar( IFIELD( instr, 21, 5 ) ); in ifieldRegDS()
333 UChar upper_bit = toUChar (IFIELD (instr, 0, 1)); in ifieldRegXT()
334 UChar lower_bits = toUChar (IFIELD (instr, 21, 5)); in ifieldRegXT()
346 return toUChar( IFIELD( instr, 16, 5 ) ); in ifieldRegA()
352 UChar upper_bit = toUChar (IFIELD (instr, 2, 1)); in ifieldRegXA()
353 UChar lower_bits = toUChar (IFIELD (instr, 16, 5)); in ifieldRegXA()
359 return toUChar( IFIELD( instr, 11, 5 ) ); in ifieldRegB()
365 UChar upper_bit = toUChar (IFIELD (instr, 1, 1)); in ifieldRegXB()
366 UChar lower_bits = toUChar (IFIELD (instr, 11, 5)); in ifieldRegXB()
[all …]
Dhost_tilegx_isel.c471 addInstr(env, TILEGXInstr_Load(toUChar(sizeofIRType(ty)), in iselWordExpr_R_wrk()
1029 addInstr(env, TILEGXInstr_Load(toUChar(sizeofIRType(ty)), in iselWordExpr_R_wrk()
1418 addInstr(env, TILEGXInstr_Store(toUChar(sizeofIRType(tyd)), in iselStmt()
1434 addInstr(env, TILEGXInstr_Store(toUChar(sizeofIRType(ty)), in iselStmt()
Dhost_mips_defs.c2069 *p++ = toUChar(w32 & 0x000000FF); in emit32()
2070 *p++ = toUChar((w32 >> 8) & 0x000000FF); in emit32()
2071 *p++ = toUChar((w32 >> 16) & 0x000000FF); in emit32()
2072 *p++ = toUChar((w32 >> 24) & 0x000000FF); in emit32()
2085 *p++ = toUChar((w32 >> 24) & 0x000000FF); in emit32()
2086 *p++ = toUChar((w32 >> 16) & 0x000000FF); in emit32()
2087 *p++ = toUChar((w32 >> 8) & 0x000000FF); in emit32()
2088 *p++ = toUChar(w32 & 0x000000FF); in emit32()
Dhost_mips_isel.c816 addInstr(env, MIPSInstr_Load(toUChar(sizeofIRType(ty)), in iselWordExpr_R_wrk()
1784 addInstr(env, MIPSInstr_Load(toUChar(sizeofIRType(ty)), r_dst, am_addr, in iselWordExpr_R_wrk()
3658 addInstr(env, MIPSInstr_Store(toUChar(sizeofIRType(tyd)), in iselStmt()
3668 addInstr(env, MIPSInstr_Store(toUChar(sizeofIRType(Ity_I32)), in iselStmt()
3670 addInstr(env, MIPSInstr_Store(toUChar(sizeofIRType(Ity_I32)), in iselStmt()
3705 addInstr(env, MIPSInstr_Store(toUChar(sizeofIRType(ty)), in iselStmt()
3717 addInstr(env, MIPSInstr_Store(toUChar(sizeofIRType(Ity_I32)), in iselStmt()
3719 addInstr(env, MIPSInstr_Store(toUChar(sizeofIRType(Ity_I32)), in iselStmt()
Dir_opt.c1380 e2 = IRExpr_Const(IRConst_U8(toUChar( in fold_Expr()
1396 e2 = IRExpr_Const(IRConst_U8(toUChar( in fold_Expr()
1462 e2 = IRExpr_Const(IRConst_U8(toUChar( in fold_Expr()
1493 e2 = IRExpr_Const(IRConst_U8(toUChar( in fold_Expr()
1704 e2 = IRExpr_Const(IRConst_U8(toUChar( in fold_Expr()
1731 e2 = IRExpr_Const(IRConst_U8(toUChar( in fold_Expr()
1758 e2 = IRExpr_Const(IRConst_U8(toUChar( in fold_Expr()
1785 e2 = IRExpr_Const(IRConst_U8(toUChar( in fold_Expr()
1802 e2 = IRExpr_Const(IRConst_U8(toUChar( in fold_Expr()
Dhost_ppc_defs.c1981 HChar ch_sz = toUChar( (sz == 8) ? 'b' : (sz == 16) ? 'h' : 'w' ); in ppPPCInstr()
3090 *p++ = toUChar((w32 >> 24) & 0x000000FF); in emit32()
3091 *p++ = toUChar((w32 >> 16) & 0x000000FF); in emit32()
3092 *p++ = toUChar((w32 >> 8) & 0x000000FF); in emit32()
3093 *p++ = toUChar((w32) & 0x000000FF); in emit32()
3095 *p++ = toUChar((w32) & 0x000000FF); in emit32()
3096 *p++ = toUChar((w32 >> 8) & 0x000000FF); in emit32()
3097 *p++ = toUChar((w32 >> 16) & 0x000000FF); in emit32()
3098 *p++ = toUChar((w32 >> 24) & 0x000000FF); in emit32()
Dguest_x86_toIR.c368 return toUChar(v); in getUChar()
1514 mod_reg_rm = toUChar(mod_reg_rm | (mod_reg_rm >> 3)); in disAMode()
1536 { UChar rm = toUChar(mod_reg_rm & 7); in disAMode()
1550 { UChar rm = toUChar(mod_reg_rm & 7); in disAMode()
1596 UChar scale = toUChar((sib >> 6) & 3); in disAMode()
1597 UChar index_r = toUChar((sib >> 3) & 7); in disAMode()
1598 UChar base_r = toUChar(sib & 7); in disAMode()
1656 UChar scale = toUChar((sib >> 6) & 3); in disAMode()
1657 UChar index_r = toUChar((sib >> 3) & 7); in disAMode()
1658 UChar base_r = toUChar(sib & 7); in disAMode()
[all …]
Dhost_ppc_isel.c1423 addInstr(env, PPCInstr_Load( toUChar(sizeofIRType(ty)), in iselWordExpr_R_wrk()
2367 addInstr(env, PPCInstr_Load( toUChar(sizeofIRType(ty)), in iselWordExpr_R_wrk()
2381 addInstr(env, PPCInstr_Load( toUChar(8), in iselWordExpr_R_wrk()
2386 addInstr(env, PPCInstr_Load( toUChar(4), in iselWordExpr_R_wrk()
5489 addInstr(env, PPCInstr_Store( toUChar(sizeofIRType(tyd)), in iselStmt()
5567 addInstr(env, PPCInstr_Store( toUChar(sizeofIRType(ty)), in iselStmt()
5630 addInstr(env, PPCInstr_Store( toUChar(8), in iselStmt()
5636 addInstr(env, PPCInstr_Store( toUChar(4), in iselStmt()
Dhost_x86_isel.c1132 toUChar(sz), rf, zero_esp)); in iselIntExpr_R_wrk()
1434 toUChar(ty==Ity_I8 ? 1 : 2), in iselIntExpr_R_wrk()
3888 addInstr(env, X86Instr_Store( toUChar(tyd==Ity_I8 ? 1 : 2), in iselStmt()
3941 toUChar(ty==Ity_I8 ? 1 : 2), in iselStmt()
Dguest_amd64_toIR.c2461 mod_reg_rm = toUChar(mod_reg_rm | (mod_reg_rm >> 3)); in disAMode()
2471 { UChar rm = toUChar(mod_reg_rm & 7); in disAMode()
2483 { UChar rm = toUChar(mod_reg_rm & 7); in disAMode()
2501 { UChar rm = toUChar(mod_reg_rm & 7); in disAMode()
2554 UChar scale = toUChar((sib >> 6) & 3); in disAMode()
2555 UChar index_r = toUChar((sib >> 3) & 7); in disAMode()
2556 UChar base_r = toUChar(sib & 7); in disAMode()
2625 UChar scale = toUChar((sib >> 6) & 3); in disAMode()
2626 UChar index_r = toUChar((sib >> 3) & 7); in disAMode()
2627 UChar base_r = toUChar(sib & 7); in disAMode()
[all …]
Dhost_amd64_isel.c1790 toUChar(ty==Ity_I8 ? 1 : (ty==Ity_I16 ? 2 : 4)), in iselIntExpr_R_wrk()
4360 toUChar(tyd==Ity_I8 ? 1 : (tyd==Ity_I16 ? 2 : 4)), in iselStmt()
4414 toUChar(ty==Ity_I8 ? 1 : (ty==Ity_I16 ? 2 : 4)), in iselStmt()
/external/icu/icu4c/source/test/cintltst/
Dcbiapts.c81 static UChar* toUChar(const char *src, void **freeHook) { in toUChar() function
517 ruleSourceU = toUChar(rules, &strCleanUp); in testOpenRules()
556 uData = toUChar(data, &freeHook); in TestBreakIteratorRules()
600 uRules = toUChar(rules, &freeHook); in TestBreakIteratorRuleError()
/external/valgrind/VEX/pub/
Dlibvex_basictypes.h110 static inline UChar toUChar ( Int x ) { in toUChar() function