Home
last modified time | relevance | path

Searched refs:UShort (Results 1 – 25 of 85) sorted by relevance

1234

/external/valgrind/main/none/tests/
Dshortpush.c2 typedef unsigned short UShort; typedef
4 UShort mul16 ( UShort a, UShort b );
8 UShort x = mul16 ( 10, 20 ); in main()
12 UShort mul16 ( UShort a, UShort b ) in mul16()
/external/valgrind/main/VEX/pub/
Dlibvex_guest_x86.h190 UShort guest_CS;
191 UShort guest_DS;
192 UShort guest_ES;
193 UShort guest_FS;
194 UShort guest_GS;
195 UShort guest_SS;
245 UShort LimitLow;
246 UShort BaseLow;
Dlibvex_basictypes.h51 typedef unsigned short UShort; typedef
72 UShort w16[8];
102 static inline UShort toUShort ( Int x ) { in toUShort()
104 return (UShort)x; in toUShort()
Dlibvex.h541 UShort len[3];
542 UShort n_used;
Dlibvex_ir.h292 UShort U16;
299 UShort V128; /* 16-bit value; see Ico_V128 comment above */
308 extern IRConst* IRConst_U16 ( UShort );
315 extern IRConst* IRConst_V128 ( UShort );
1970 UShort offset;
1971 UShort size;
/external/valgrind/main/VEX/priv/
Dhost_generic_simd64.c63 static inline ULong mk16x4 ( UShort w3, UShort w2, in mk16x4()
64 UShort w1, UShort w0 ) { in mk16x4()
70 static inline UShort sel16x4_3 ( ULong w64 ) { in sel16x4_3()
74 static inline UShort sel16x4_2 ( ULong w64 ) { in sel16x4_2()
78 static inline UShort sel16x4_1 ( ULong w64 ) { in sel16x4_1()
82 static inline UShort sel16x4_0 ( ULong w64 ) { in sel16x4_0()
168 static inline UShort qadd16U ( UShort xx, UShort yy ) in qadd16U()
172 return (UShort)t; in qadd16U()
208 static inline UShort qsub16U ( UShort xx, UShort yy ) in qsub16U()
213 return (UShort)t; in qsub16U()
[all …]
Dguest_generic_x87.c1069 UShort* argL = (UShort*)argLV; in compute_PCMPxSTRx_wide()
1070 UShort* argR = (UShort*)argRV; in compute_PCMPxSTRx_wide()
1073 UShort cL = argL[i]; in compute_PCMPxSTRx_wide()
1074 UShort cR = argR[i]; in compute_PCMPxSTRx_wide()
1104 UShort* argL = (UShort*)argLV; in compute_PCMPxSTRx_wide()
1105 UShort* argR = (UShort*)argRV; in compute_PCMPxSTRx_wide()
1143 UShort* argL = (UShort*)argLV; in compute_PCMPxSTRx_wide()
1144 UShort* argR = (UShort*)argRV; in compute_PCMPxSTRx_wide()
1183 UShort* argL = (UShort*)argLV; in compute_PCMPxSTRx_wide()
1184 UShort* argR = (UShort*)argRV; in compute_PCMPxSTRx_wide()
Dhost_generic_simd128.c71 static inline UShort max16U ( UShort xx, UShort yy ) in max16U()
76 static inline UShort min16U ( UShort xx, UShort yy ) in min16U()
113 static inline UShort qnarrow32Sto16U ( UInt xx0 ) in qnarrow32Sto16U()
118 return (UShort)xx; in qnarrow32Sto16U()
121 static inline UShort narrow32to16 ( UInt xx ) in narrow32to16()
123 return (UShort)xx; in narrow32to16()
126 static inline UChar narrow16to8 ( UShort xx ) in narrow16to8()
Dguest_x86_helpers.c505 case X86G_CC_OP_ADDW: ACTIONS_ADD( 16, UShort ); in x86g_calculate_eflags_all_WRK()
509 case X86G_CC_OP_ADCW: ACTIONS_ADC( 16, UShort ); in x86g_calculate_eflags_all_WRK()
513 case X86G_CC_OP_SUBW: ACTIONS_SUB( 16, UShort ); in x86g_calculate_eflags_all_WRK()
517 case X86G_CC_OP_SBBW: ACTIONS_SBB( 16, UShort ); in x86g_calculate_eflags_all_WRK()
521 case X86G_CC_OP_LOGICW: ACTIONS_LOGIC( 16, UShort ); in x86g_calculate_eflags_all_WRK()
525 case X86G_CC_OP_INCW: ACTIONS_INC( 16, UShort ); in x86g_calculate_eflags_all_WRK()
529 case X86G_CC_OP_DECW: ACTIONS_DEC( 16, UShort ); in x86g_calculate_eflags_all_WRK()
533 case X86G_CC_OP_SHLW: ACTIONS_SHL( 16, UShort ); in x86g_calculate_eflags_all_WRK()
537 case X86G_CC_OP_SHRW: ACTIONS_SHR( 16, UShort ); in x86g_calculate_eflags_all_WRK()
541 case X86G_CC_OP_ROLW: ACTIONS_ROL( 16, UShort ); in x86g_calculate_eflags_all_WRK()
[all …]
Dhost_s390_defs.c1038 emit_RI(UChar *p, UInt op, UChar r1, UShort i2) in emit_RI()
1112 emit_RS(UChar *p, UInt op, UChar r1, UChar r3, UChar b2, UShort d2) in emit_RS()
1126 emit_RSY(UChar *p, ULong op, UChar r1, UChar r3, UChar b2, UShort dl2, UChar dh2) in emit_RSY()
1141 emit_RX(UChar *p, UInt op, UChar r1, UChar x2, UChar b2, UShort d2) in emit_RX()
1155 emit_RXY(UChar *p, ULong op, UChar r1, UChar x2, UChar b2, UShort dl2, UChar dh2) in emit_RXY()
1170 emit_S(UChar *p, UInt op, UChar b2, UShort d2) in emit_S()
1182 emit_SIY(UChar *p, ULong op, UChar i2, UChar b1, UShort dl1, UChar dh1) in emit_SIY()
1196 emit_SSa(UChar *p, ULong op, UChar l, UChar b1, UShort d1, UChar b2, UShort d2) in emit_SSa()
1235 s390_emit_A(UChar *p, UChar r1, UChar x2, UChar b2, UShort d2) in s390_emit_A()
1245 s390_emit_AY(UChar *p, UChar r1, UChar x2, UChar b2, UShort dl2, UChar dh2) in s390_emit_AY()
[all …]
Dguest_generic_x87.h81 UShort env[14];
101 UShort env[7];
Dguest_amd64_helpers.c585 case AMD64G_CC_OP_ADDW: ACTIONS_ADD( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
590 case AMD64G_CC_OP_ADCW: ACTIONS_ADC( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
595 case AMD64G_CC_OP_SUBW: ACTIONS_SUB( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
600 case AMD64G_CC_OP_SBBW: ACTIONS_SBB( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
605 case AMD64G_CC_OP_LOGICW: ACTIONS_LOGIC( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
610 case AMD64G_CC_OP_INCW: ACTIONS_INC( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
615 case AMD64G_CC_OP_DECW: ACTIONS_DEC( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
620 case AMD64G_CC_OP_SHLW: ACTIONS_SHL( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
625 case AMD64G_CC_OP_SHRW: ACTIONS_SHR( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
630 case AMD64G_CC_OP_ROLW: ACTIONS_ROL( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
[all …]
Dhost_mips_defs.h222 UShort imm16;
232 extern MIPSRH *MIPSRH_Imm(Bool, UShort);
258 UShort imm8;
259 UShort imm4;
267 extern MIPSRI84 *MIPSRI84_I84(UShort imm8, UShort imm4);
Dguest_s390_toIR.c200 return IRExpr_Const(IRConst_U16((UShort)value)); in mkU16()
1407 s390_format_RI(HChar *(*irgen)(UChar r1, UShort i2), in s390_format_RI()
1408 UChar r1, UShort i2) in s390_format_RI()
1414 s390_format_RI_RU(HChar *(*irgen)(UChar r1, UShort i2), in s390_format_RI_RU()
1415 UChar r1, UShort i2) in s390_format_RI_RU()
1424 s390_format_RI_RI(HChar *(*irgen)(UChar r1, UShort i2), in s390_format_RI_RI()
1425 UChar r1, UShort i2) in s390_format_RI_RI()
1434 s390_format_RI_RP(HChar *(*irgen)(UChar r1, UShort i2), in s390_format_RI_RP()
1435 UChar r1, UShort i2) in s390_format_RI_RP()
1444 s390_format_RIE_RRP(HChar *(*irgen)(UChar r1, UChar r3, UShort i2), in s390_format_RIE_RRP()
[all …]
/external/valgrind/main/none/tests/amd64/
Dcrc32.c8 typedef unsigned short int UShort; typedef
21 UInt do_s_crc32w ( UInt crcIn, UShort w ) in do_s_crc32w()
52 UInt do_h_crc32w ( UInt crcIn, UShort w ) in do_h_crc32w()
90 UInt do_h_crc32w_mem ( UInt crcIn, UShort* a ) in do_h_crc32w_mem()
126 UShort w = 0xed78;; in try_simple()
160 crc = do_h_crc32w_mem( crc, (UShort*)&b[i+al] ); in try_mem()
Dpcmpstr64w.c13 typedef unsigned short UShort; typedef
23 UShort uShort[8];
231 UShort* argL = (UShort*)argLV; in pcmpXstrX_WRK_wide()
232 UShort* argR = (UShort*)argRV; in pcmpXstrX_WRK_wide()
235 UShort cL = argL[i]; in pcmpXstrX_WRK_wide()
236 UShort cR = argR[i]; in pcmpXstrX_WRK_wide()
266 UShort* argL = (UShort*)argLV; in pcmpXstrX_WRK_wide()
267 UShort* argR = (UShort*)argRV; in pcmpXstrX_WRK_wide()
305 UShort* argL = (UShort*)argLV; in pcmpXstrX_WRK_wide()
306 UShort* argR = (UShort*)argRV; in pcmpXstrX_WRK_wide()
[all …]
/external/valgrind/main/coregrind/
Dpub_core_libcfile.h63 extern UShort VG_(htons) ( UShort x );
64 extern UShort VG_(ntohs) ( UShort x );
Dm_libcfile.c708 Int parse_inet_addr_and_port ( UChar* str, UInt* ip_addr, UShort* port );
735 UShort VG_(htons) ( UShort x ) in VG_()
745 UShort VG_(ntohs) ( UShort x ) in VG_()
772 UShort port = VG_CLO_DEFAULT_LOGPORT; in VG_()
812 static Int parse_inet_addr_and_port ( UChar* str, UInt* ip_addr, UShort* port ) in parse_inet_addr_and_port()
845 *port = (UShort)j; in parse_inet_addr_and_port()
Dm_stacktrace.c606 static Bool looks_like_Thumb_call32 ( UShort w0, UShort w1 ) in looks_like_Thumb_call32()
617 static Bool looks_like_Thumb_call16 ( UShort w0 ) in looks_like_Thumb_call16()
641 UShort w0 = *(UShort*)ra; in looks_like_RA()
642 UShort w1 = in_same_page(ra, ra+2) ? *(UShort*)(ra+2) : 0; in looks_like_RA()
/external/valgrind/main/coregrind/m_debuginfo/
Dpriv_misc.h50 UShort ML_(read_UShort)( UChar* data );
57 UChar* ML_(write_UShort)( UChar* ptr, UShort val );
Dmisc.c127 UShort ML_(read_UShort) ( UChar* data ) { in ML_()
139 UChar *ML_(write_UShort) ( UChar* ptr, UShort val ) { in ML_()
147 return ptr + sizeof(UShort); in ML_()
Dd3basics.c941 UShort nbytes; in ML_()
960 nbytes = ML_(read_UShort)(p); p += sizeof(UShort); in ML_()
1012 UShort nbytes; in ML_()
1037 nbytes = ML_(read_UShort)(p); p += sizeof(UShort); in ML_()
1187 UShort nbytes; in ML_()
1199 nbytes = ML_(read_UShort)(p); p += sizeof(UShort); in ML_()
/external/valgrind/main/helgrind/
Dlibhb_core.c241 UShort u16s[FI_LINE_SZB / 8]; /* each UShort covers 8 bytes */
430 UShort descrs[N_LINE_TREES];
936 static UChar descr_to_validbits ( UShort descr ) in descr_to_validbits()
941 ( (UShort) ( ( (b8_7) << 14) | ( (b8_6) << 13) | \ in descr_to_validbits()
1052 static Bool is_sane_Descr ( UShort descr ) { in is_sane_Descr()
1056 static void sprintf_Descr ( /*OUT*/HChar* dst, UShort descr ) { in sprintf_Descr()
1089 static Bool is_sane_Descr_and_Tree ( UShort descr, SVal* tree ) { in is_sane_Descr_and_Tree()
1124 UShort descr = cl->descrs[tno]; in is_sane_CacheLine()
1136 static UShort normalise_tree ( /*MOD*/SVal* tree ) in normalise_tree()
1138 UShort descr; in normalise_tree()
[all …]
/external/valgrind/main/VEX/useful/
Dshow_fp_state.c9 typedef unsigned short UShort; typedef
20 UShort env[14];
/external/valgrind/main/none/tests/x86/
Dx86locked.c13 typedef unsigned short UShort; typedef
687 UInt mash_mem_W ( UShort* origp ) in mash_mem_W()
732 UShort* iiw = malloc(sizeof(UShort)); in do_bt_imm_E_tests()

1234