Home
last modified time | relevance | path

Searched refs:UShort (Results 1 – 25 of 100) 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.h189 UShort guest_CS;
190 UShort guest_DS;
191 UShort guest_ES;
192 UShort guest_FS;
193 UShort guest_GS;
194 UShort guest_SS;
244 UShort LimitLow;
245 UShort BaseLow;
Dlibvex_basictypes.h51 typedef unsigned short UShort; typedef
72 UShort w16[8];
82 UShort w16[16];
112 static inline UShort toUShort ( Int x ) { in toUShort()
114 return (UShort)x; in toUShort()
/external/valgrind/main/VEX/priv/
Dhost_generic_simd64.c64 static inline ULong mk16x4 ( UShort w3, UShort w2, in mk16x4()
65 UShort w1, UShort w0 ) { in mk16x4()
71 static inline UShort sel16x4_3 ( ULong w64 ) { in sel16x4_3()
75 static inline UShort sel16x4_2 ( ULong w64 ) { in sel16x4_2()
79 static inline UShort sel16x4_1 ( ULong w64 ) { in sel16x4_1()
83 static inline UShort sel16x4_0 ( ULong w64 ) { in sel16x4_0()
169 static inline UShort qadd16U ( UShort xx, UShort yy ) in qadd16U()
173 return (UShort)t; in qadd16U()
209 static inline UShort qsub16U ( UShort xx, UShort yy ) in qsub16U()
214 return (UShort)t; in qsub16U()
[all …]
Dguest_generic_x87.c1070 UShort* argL = (UShort*)argLV; in compute_PCMPxSTRx_wide()
1071 UShort* argR = (UShort*)argRV; in compute_PCMPxSTRx_wide()
1074 UShort cL = argL[i]; in compute_PCMPxSTRx_wide()
1075 UShort cR = argR[i]; in compute_PCMPxSTRx_wide()
1105 UShort* argL = (UShort*)argLV; in compute_PCMPxSTRx_wide()
1106 UShort* argR = (UShort*)argRV; in compute_PCMPxSTRx_wide()
1144 UShort* argL = (UShort*)argLV; in compute_PCMPxSTRx_wide()
1145 UShort* argR = (UShort*)argRV; in compute_PCMPxSTRx_wide()
1184 UShort* argL = (UShort*)argLV; in compute_PCMPxSTRx_wide()
1185 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.c506 case X86G_CC_OP_ADDW: ACTIONS_ADD( 16, UShort ); in x86g_calculate_eflags_all_WRK()
510 case X86G_CC_OP_ADCW: ACTIONS_ADC( 16, UShort ); in x86g_calculate_eflags_all_WRK()
514 case X86G_CC_OP_SUBW: ACTIONS_SUB( 16, UShort ); in x86g_calculate_eflags_all_WRK()
518 case X86G_CC_OP_SBBW: ACTIONS_SBB( 16, UShort ); in x86g_calculate_eflags_all_WRK()
522 case X86G_CC_OP_LOGICW: ACTIONS_LOGIC( 16, UShort ); in x86g_calculate_eflags_all_WRK()
526 case X86G_CC_OP_INCW: ACTIONS_INC( 16, UShort ); in x86g_calculate_eflags_all_WRK()
530 case X86G_CC_OP_DECW: ACTIONS_DEC( 16, UShort ); in x86g_calculate_eflags_all_WRK()
534 case X86G_CC_OP_SHLW: ACTIONS_SHL( 16, UShort ); in x86g_calculate_eflags_all_WRK()
538 case X86G_CC_OP_SHRW: ACTIONS_SHR( 16, UShort ); in x86g_calculate_eflags_all_WRK()
542 case X86G_CC_OP_ROLW: ACTIONS_ROL( 16, UShort ); in x86g_calculate_eflags_all_WRK()
[all …]
Dguest_generic_x87.h81 UShort env[14];
101 UShort env[7];
Dhost_s390_defs.c1237 emit_RI(UChar *p, UInt op, UChar r1, UShort i2) in emit_RI()
1352 emit_RS(UChar *p, UInt op, UChar r1, UChar r3, UChar b2, UShort d2) in emit_RS()
1366 emit_RSY(UChar *p, ULong op, UChar r1, UChar r3, UChar b2, UShort dl2, UChar dh2) in emit_RSY()
1381 emit_RX(UChar *p, UInt op, UChar r1, UChar x2, UChar b2, UShort d2) in emit_RX()
1395 emit_RXF(UChar *p, ULong op, UChar r3, UChar x2, UChar b2, UShort d2, UChar r1) in emit_RXF()
1410 emit_RXY(UChar *p, ULong op, UChar r1, UChar x2, UChar b2, UShort dl2, UChar dh2) in emit_RXY()
1425 emit_S(UChar *p, UInt op, UChar b2, UShort d2) in emit_S()
1437 emit_SI(UChar *p, UInt op, UChar i2, UChar b1, UShort d1) in emit_SI()
1450 emit_SIL(UChar *p, ULong op, UChar b1, UShort d1, UShort i2) in emit_SIL()
1463 emit_SIY(UChar *p, ULong op, UChar i2, UChar b1, UShort dl1, UChar dh1) in emit_SIY()
[all …]
Dguest_amd64_helpers.c652 case AMD64G_CC_OP_ADDW: ACTIONS_ADD( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
657 case AMD64G_CC_OP_ADCW: ACTIONS_ADC( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
662 case AMD64G_CC_OP_SUBW: ACTIONS_SUB( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
667 case AMD64G_CC_OP_SBBW: ACTIONS_SBB( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
672 case AMD64G_CC_OP_LOGICW: ACTIONS_LOGIC( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
677 case AMD64G_CC_OP_INCW: ACTIONS_INC( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
682 case AMD64G_CC_OP_DECW: ACTIONS_DEC( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
687 case AMD64G_CC_OP_SHLW: ACTIONS_SHL( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
692 case AMD64G_CC_OP_SHRW: ACTIONS_SHR( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
697 case AMD64G_CC_OP_ROLW: ACTIONS_ROL( 16, UShort ); in amd64g_calculate_rflags_all_WRK()
[all …]
Dhost_arm64_defs.h168 UShort imm12; /* 0 .. 4095 */
178 extern ARM64RIA* ARM64RIA_I12 ( UShort imm12, UChar shift );
993 UShort imm; /* Same 1-bit-per-byte encoding as IR */
1099 extern ARM64Instr* ARM64Instr_VImmQ ( HReg, UShort );
/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];
232 UShort* argL = (UShort*)argLV; in pcmpXstrX_WRK_wide()
233 UShort* argR = (UShort*)argRV; in pcmpXstrX_WRK_wide()
236 UShort cL = argL[i]; in pcmpXstrX_WRK_wide()
237 UShort cR = argR[i]; in pcmpXstrX_WRK_wide()
267 UShort* argL = (UShort*)argLV; in pcmpXstrX_WRK_wide()
268 UShort* argR = (UShort*)argRV; in pcmpXstrX_WRK_wide()
306 UShort* argL = (UShort*)argLV; in pcmpXstrX_WRK_wide()
307 UShort* argR = (UShort*)argRV; in pcmpXstrX_WRK_wide()
[all …]
/external/valgrind/main/coregrind/
Dpub_core_libcfile.h66 extern UShort VG_(htons) ( UShort x );
67 extern UShort VG_(ntohs) ( UShort x );
Dm_libcfile.c783 Int parse_inet_addr_and_port ( const HChar* str, UInt* ip_addr, UShort* port );
810 UShort VG_(htons) ( UShort x ) in VG_()
820 UShort VG_(ntohs) ( UShort x ) in VG_()
847 UShort port = VG_CLO_DEFAULT_LOGPORT; in VG_()
887 static Int parse_inet_addr_and_port ( const HChar* str, UInt* ip_addr, UShort* port ) in parse_inet_addr_and_port()
920 *port = (UShort)j; in parse_inet_addr_and_port()
/external/valgrind/main/coregrind/m_debuginfo/
Dpriv_image.h118 UShort ML_(img_get_UShort)(DiImage* img, DiOffT offset);
298 static inline UShort ML_(cur_read_UShort) ( DiCursor c ) { in ML_()
299 UShort r = ML_(img_get_UShort)( c.img, c.ioff ); in ML_()
302 static inline UShort ML_(cur_step_UShort) ( DiCursor* c ) { in ML_()
303 UShort r = ML_(img_get_UShort)( c->img, c->ioff ); in ML_()
304 c->ioff += sizeof(UShort); in ML_()
Dpriv_misc.h51 UShort ML_(read_UShort)( UChar* data );
58 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.c948 UShort nbytes; in ML_()
967 nbytes = ML_(read_UShort)(p); p += sizeof(UShort); in ML_()
1019 UShort nbytes; in ML_()
1044 nbytes = ML_(read_UShort)(p); p += sizeof(UShort); in ML_()
1194 UShort nbytes; in ML_()
1206 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/exp-sgcheck/
Dh_intercepts.c261 { *(UShort*)d = *(UShort*)s; s += 2; d += 2; n -= 2; } \
288 { s -= 2; d -= 2; *(UShort*)d = *(UShort*)s; n -= 2; } \
/external/valgrind/main/none/tests/x86/
Dx87trigOOR.c10 typedef unsigned short int UShort; typedef
15 typedef struct { Double arg; Double st0; Double st1; UShort fpusw; } Res;
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()
/external/valgrind/main/VEX/useful/
Dshow_fp_state.c9 typedef unsigned short UShort; typedef
20 UShort env[14];
/external/valgrind/main/none/tests/ppc32/
Dldstrev.c5 typedef unsigned short UShort; typedef

1234