Home
last modified time | relevance | path

Searched refs:UShort (Results 1 – 25 of 80) 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/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()
158 static inline UShort qadd16U ( UShort xx, UShort yy ) in qadd16U()
162 return (UShort)t; in qadd16U()
188 static inline UShort qsub16U ( UShort xx, UShort yy ) in qsub16U()
193 return (UShort)t; in qsub16U()
[all …]
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()
Dhost_s390_defs.c970 emit_RI(UChar *p, UInt op, UChar r1, UShort i2) in emit_RI()
1044 emit_RS(UChar *p, UInt op, UChar r1, UChar r3, UChar b2, UShort d2) in emit_RS()
1058 emit_RSY(UChar *p, ULong op, UChar r1, UChar r3, UChar b2, UShort dl2, UChar dh2) in emit_RSY()
1073 emit_RX(UChar *p, UInt op, UChar r1, UChar x2, UChar b2, UShort d2) in emit_RX()
1087 emit_RXY(UChar *p, ULong op, UChar r1, UChar x2, UChar b2, UShort dl2, UChar dh2) in emit_RXY()
1102 emit_S(UChar *p, UInt op, UChar b2, UShort d2) in emit_S()
1138 s390_emit_A(UChar *p, UChar r1, UChar x2, UChar b2, UShort d2) in s390_emit_A()
1148 s390_emit_AY(UChar *p, UChar r1, UChar x2, UChar b2, UShort dl2, UChar dh2) in s390_emit_AY()
1160 s390_emit_AG(UChar *p, UChar r1, UChar x2, UChar b2, UShort dl2, UChar dh2) in s390_emit_AG()
1196 s390_emit_AH(UChar *p, UChar r1, UChar x2, UChar b2, UShort d2) in s390_emit_AH()
[all …]
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 …]
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 …]
Dguest_s390_toIR.c185 return IRExpr_Const(IRConst_U16((UShort)value)); in mkU16()
1309 s390_format_RI(HChar *(*irgen)(UChar r1, UShort i2), in s390_format_RI()
1310 UChar r1, UShort i2) in s390_format_RI()
1316 s390_format_RI_RU(HChar *(*irgen)(UChar r1, UShort i2), in s390_format_RI_RU()
1317 UChar r1, UShort i2) in s390_format_RI_RU()
1326 s390_format_RI_RI(HChar *(*irgen)(UChar r1, UShort i2), in s390_format_RI_RI()
1327 UChar r1, UShort i2) in s390_format_RI_RI()
1336 s390_format_RI_RP(HChar *(*irgen)(UChar r1, UShort i2), in s390_format_RI_RP()
1337 UChar r1, UShort i2) in s390_format_RI_RP()
1346 s390_format_RIE_RRP(HChar *(*irgen)(UChar r1, UChar r3, UShort i2), in s390_format_RIE_RRP()
[all …]
Dguest_generic_x87.h81 UShort env[14];
Dhost_arm_defs.h239 UShort imm8;
240 UShort imm4;
249 extern ARMRI84* ARMRI84_I84 ( UShort imm8, UShort imm4 );
/external/valgrind/main/VEX/pub/
Dlibvex_guest_x86.h187 UShort guest_CS;
188 UShort guest_DS;
189 UShort guest_ES;
190 UShort guest_FS;
191 UShort guest_GS;
192 UShort guest_SS;
244 UShort LimitLow;
245 UShort BaseLow;
Dlibvex_basictypes.h51 typedef unsigned short UShort; typedef
69 UShort w16[8];
99 static inline UShort toUShort ( Int x ) { in toUShort()
101 return (UShort)x; in toUShort()
Dlibvex.h481 UShort len[3];
482 UShort n_used;
/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()
Damd64locked.c13 typedef unsigned short UShort; typedef
854 ULong mash_mem_W ( UShort* origp ) in mash_mem_W()
899 UShort* iiw = malloc(sizeof(UShort)); in do_bt_imm_E_tests()
/external/valgrind/main/coregrind/
Dpub_core_libcfile.h64 extern UShort VG_(htons) ( UShort x );
65 extern UShort VG_(ntohs) ( UShort x );
Dm_transtab.c106 UShort weight;
139 UShort n_tte2ec; // # tte2ec pointers (1 to 3)
140 UShort tte2ec_ec[3]; // for each, the eclass #
183 UShort* ec2tte[ECLASS_N];
384 UInt addEClassNo ( /*MOD*/Sector* sec, Int ec, UShort tteno ) in addEClassNo()
387 UShort *old_ar, *new_ar; in addEClassNo()
402 new_sz * sizeof(UShort)); in addEClassNo()
439 tte->tte2ec_ix[i] = addEClassNo( sec, eclasses[i], (UShort)tteno ); in upd_eclasses_after_add()
454 UShort tteno; in sanity_check_eclasses_in_sector()
1168 vg_assert(sec->ec2tte[ec_num][ec_idx] == (UShort)tteno); in delete_tte()
[all …]
Dm_libcfile.c677 Int parse_inet_addr_and_port ( UChar* str, UInt* ip_addr, UShort* port );
704 UShort VG_(htons) ( UShort x ) in VG_()
714 UShort VG_(ntohs) ( UShort x ) in VG_()
741 UShort port = VG_CLO_DEFAULT_LOGPORT; in VG_()
781 static Int parse_inet_addr_and_port ( UChar* str, UInt* ip_addr, UShort* port ) in parse_inet_addr_and_port()
814 *port = (UShort)j; in parse_inet_addr_and_port()
/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.c936 UShort nbytes; in ML_()
955 nbytes = ML_(read_UShort)(p); p += sizeof(UShort); in ML_()
1007 UShort nbytes; in ML_()
1032 nbytes = ML_(read_UShort)(p); p += sizeof(UShort); in ML_()
1182 UShort nbytes; in ML_()
1194 nbytes = ML_(read_UShort)(p); p += sizeof(UShort); in ML_()
/external/valgrind/main/helgrind/
Dlibhb_core.c240 UShort u16s[FI_LINE_SZB / 8]; /* each UShort covers 8 bytes */
429 UShort descrs[N_LINE_TREES];
935 static UChar descr_to_validbits ( UShort descr ) in descr_to_validbits()
940 ( (UShort) ( ( (b8_7) << 14) | ( (b8_6) << 13) | \ in descr_to_validbits()
1051 static Bool is_sane_Descr ( UShort descr ) { in is_sane_Descr()
1055 static void sprintf_Descr ( /*OUT*/HChar* dst, UShort descr ) { in sprintf_Descr()
1088 static Bool is_sane_Descr_and_Tree ( UShort descr, SVal* tree ) { in is_sane_Descr_and_Tree()
1123 UShort descr = cl->descrs[tno]; in is_sane_CacheLine()
1135 static UShort normalise_tree ( /*MOD*/SVal* tree ) in normalise_tree()
1137 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()
/external/valgrind/main/none/tests/ppc32/
Dldstrev.c5 typedef unsigned short UShort; typedef
/external/clang/lib/Serialization/
DASTCommon.cpp32 case BuiltinType::UShort: ID = PREDEF_TYPE_USHORT_ID; break; in TypeIdxFromBuiltin()

1234