Home
last modified time | relevance | path

Searched refs:UWord (Results 1 – 25 of 137) sorted by relevance

123456

/external/valgrind/main/coregrind/
Dm_syscall.c126 SysRes VG_(mk_SysRes_Error) ( UWord err ) { in VG_()
133 SysRes VG_(mk_SysRes_Success) ( UWord res ) { in VG_()
152 vg_assert(sizeof(UWord) == sizeof(UInt)); in VG_()
185 vg_assert(sizeof(UWord) == sizeof(ULong)); in VG_()
213 SysRes VG_(mk_SysRes_Error) ( UWord err ) { in VG_()
221 SysRes VG_(mk_SysRes_Success) ( UWord res ) { in VG_()
251 extern UWord do_syscall_WRK (
252 UWord syscall_no,
253 UWord a1, UWord a2, UWord a3,
254 UWord a4, UWord a5, UWord a6
[all …]
Dm_wordfm.c66 UWord key;
67 UWord val;
75 UWord w;
87 Word (*kCmp)(UWord,UWord);
94 static Bool avl_removeroot_wrk(AvlNode** t, Word(*kCmp)(UWord,UWord));
139 static UWord size_avl_nonNull ( AvlNode* nd ) in size_avl_nonNull()
148 static inline Word cmp_unsigned_Words ( UWord w1, UWord w2 ) { in cmp_unsigned_Words()
164 Word (*kCmp)(UWord,UWord) ) in avl_insert_wrk() argument
181 : /*unboxed*/ cmp_unsigned_Words( (UWord)(*rootp)->key, in avl_insert_wrk()
182 (UWord)a->key ); in avl_insert_wrk()
[all …]
Dm_sparsewa.c56 UWord magic;
57 UWord words[256];
65 UWord magic;
74 UWord partial_key;
92 static inline UWord swa_bitarray_read ( UChar* arr, UWord ix ) { in swa_bitarray_read()
93 UWord bix = ix >> 3; in swa_bitarray_read()
94 UWord off = ix & 7; in swa_bitarray_read()
98 static inline UWord swa_bitarray_read_then_set ( UChar* arr, UWord ix ) { in swa_bitarray_read_then_set()
99 UWord bix = ix >> 3; in swa_bitarray_read_then_set()
100 UWord off = ix & 7; in swa_bitarray_read_then_set()
[all …]
Dm_libcfile.c93 if (0 == VG_(fcntl)(fd, VKI_F_GETPATH, (UWord)tmp)) { in VG_()
107 SysRes VG_(mknod) ( const Char* pathname, Int mode, UWord dev ) in VG_()
111 (UWord)pathname, mode, dev); in VG_()
122 (UWord)pathname, flags, mode); in VG_()
125 (UWord)pathname, flags, mode); in VG_()
158 SysRes res = VG_(do_syscall3)(__NR_read, fd, (UWord)buf, count); in VG_()
160 SysRes res = VG_(do_syscall3)(__NR_read_nocancel, fd, (UWord)buf, count); in VG_()
178 SysRes res = VG_(do_syscall3)(__NR_write, fd, (UWord)buf, count); in VG_()
180 SysRes res = VG_(do_syscall3)(__NR_write_nocancel, fd, (UWord)buf, count); in VG_()
198 SysRes res = VG_(do_syscall1)(__NR_pipe, (UWord)fd); in VG_()
[all …]
Dpub_core_syscall.h47 extern SysRes VG_(do_syscall) ( UWord sysno,
48 UWord, UWord, UWord,
49 UWord, UWord, UWord,
50 UWord, UWord );
82 extern SysRes VG_(mk_SysRes_Error) ( UWord val );
83 extern SysRes VG_(mk_SysRes_Success) ( UWord val );
91 extern const HChar* VG_(strerror) ( UWord errnum );
Dm_libcsignal.c180 how, (UWord)set, (UWord)oldset, in VG_()
181 _VKI_NSIG_WORDS * sizeof(UWord)); in VG_()
184 how, (UWord)set, (UWord)oldset); in VG_()
192 how, (UWord)set, (UWord)oldset); in VG_()
203 void darwin_signal_demux(void* a1, UWord a2, UWord a3, void* a4, void* a5) { in darwin_signal_demux()
212 VG_(do_syscall2)(__NR_sigreturn, (UWord)a5, 0x1E); in darwin_signal_demux()
226 signum, (UWord)act, (UWord)oldact, in VG_()
227 _VKI_NSIG_WORDS * sizeof(UWord)); in VG_()
265 signum, (UWord)real_act, (UWord)real_oldact); in VG_()
357 SysRes res = VG_(do_syscall4)(__NR_rt_sigtimedwait, (UWord)set, (UWord)info, in VG_()
[all …]
/external/valgrind/main/helgrind/tests/
Dannotate_hbefore.c21 typedef unsigned long int UWord; typedef
27 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu ) in do_acasW()
29 UWord old, success; in do_acasW()
60 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu ) in do_acasW()
62 UWord old, success; in do_acasW()
93 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu ) in do_acasW()
95 UWord block[4] = { (UWord)addr, expected, nyu, 2 }; in do_acasW()
116 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu ) in do_acasW()
118 UWord block[4] = { (UWord)addr, expected, nyu, 2 }; in do_acasW()
141 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu ) in do_acasW()
[all …]
/external/valgrind/main/include/
Dpub_tool_wordfm.h82 Word (*kCmp)(UWord,UWord) );
86 void VG_(deleteFM) ( WordFM*, void(*kFin)(UWord), void(*vFin)(UWord) );
92 Bool VG_(addToFM) ( WordFM* fm, UWord k, UWord v );
96 /*OUT*/UWord* oldK, /*OUT*/UWord* oldV, UWord key );
100 /*OUT*/UWord* keyP, /*OUT*/UWord* valP, UWord key );
119 /*OUT*/UWord* kMinP, /*OUT*/UWord* vMinP,
120 /*OUT*/UWord* kMaxP, /*OUT*/UWord* vMaxP,
121 UWord minKey, UWord minVal,
122 UWord maxKey, UWord maxVal,
123 UWord key );
[all …]
Dpub_tool_sparsewa.h61 Bool VG_(addToSWA) ( SparseWA* swa, UWord key, UWord val );
69 /*OUT*/UWord* oldK, /*OUT*/UWord* oldV,
70 UWord key );
77 /*OUT*/UWord* keyP, /*OUT*/UWord* valP,
78 UWord key );
88 /*OUT*/UWord* keyP, /*OUT*/UWord* valP );
93 UWord VG_(sizeSWA) ( SparseWA* swa );
Dpub_tool_basics.h86 typedef unsigned long UWord; // 32 64 typedef
93 typedef UWord Addr; // 32 64
94 typedef UWord AddrH; // 32 64
99 typedef UWord SizeT; // 32 64
128 typedef struct { UWord uw1; UWord uw2; } UWordPair;
165 UWord _val;
180 UWord _wLO;
181 UWord _wHI;
197 static inline UWord sr_Res ( SysRes sr ) { in sr_Res()
200 static inline UWord sr_ResHI ( SysRes sr ) { in sr_ResHI()
[all …]
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-linux-variants.c78 Int ML_(linux_variant_PRE_sys_bproc)( UWord arg1, UWord arg2, in ML_()
79 UWord arg3, UWord arg4, in ML_()
80 UWord arg5, UWord arg6 ) in ML_()
85 void ML_(linux_variant_POST_sys_bproc)( UWord arg1, UWord arg2, in ML_()
86 UWord arg3, UWord arg4, in ML_()
87 UWord arg5, UWord arg6 ) in ML_()
Dsyswrap-generic.c254 UWord flags, ThreadId tid ) in do_mremap()
1232 UWord arg0, UWord arg1, in ML_()
1233 UWord arg2, UWord arg3 ) in ML_()
1243 UWord arg0, UWord arg1, in ML_()
1244 UWord arg2, UWord arg3 ) in ML_()
1287 UWord arg0, UWord arg1, UWord arg2 ) in ML_()
1301 UWord arg0, UWord arg1, UWord arg2 ) in ML_()
1315 UWord arg0, UWord arg1, UWord arg2 ) in ML_()
1338 UWord arg0, UWord arg1, UWord arg2, in ML_()
1339 UWord arg3, UWord arg4, UWord arg5 ) in ML_()
[all …]
Dpriv_types_n_macros.h54 UWord arg1;
55 UWord arg2;
56 UWord arg3;
57 UWord arg4;
58 UWord arg5;
59 UWord arg6;
60 UWord arg7;
61 UWord arg8;
143 /*OUT*/UWord*
212 /*OUT*/UWord* flags \
[all …]
/external/valgrind/main/drd/
Ddrd_bitmap.h81 #define ADDR_LSB_MASK (((UWord)1 << ADDR_LSB_BITS) - 1U)
85 UWord address_lsb(const Addr a) in address_lsb()
110 UWord address_msb(const Addr a) in address_msb()
126 Addr make_address(const UWord a1, const UWord a0) in make_address()
137 #define BITS_PER_UWORD (8U * sizeof(UWord))
155 #define UWORD_LSB_MASK (((UWord)1 << BITS_PER_BITS_PER_UWORD) - 1)
163 UWord uword_msb(const UWord a) in uword_msb()
177 UWord uword_lsb(const UWord a) in uword_lsb()
225 UWord bm0_r[BITMAP1_UWORD_COUNT];
226 UWord bm0_w[BITMAP1_UWORD_COUNT];
[all …]
/external/valgrind/main/coregrind/m_debuginfo/
Dpriv_tytypes.h63 UWord cuOff;
69 UWord indR;
80 UWord typeR; /* should be Te_TyXXXX */
103 UWord typeR;
108 UWord typeR; /* MAY BE D3_INVALID_CUOFF, denoting unknown */
112 UWord szB;
123 UWord typeR;
130 UWord typeR;
151 UWord cuOff );
170 UWord cuOff );
[all …]
Dreaddwarf3.c163 #define D3_INVALID_CUOFF ((UWord)(-1UL))
164 #define D3_FAKEVOID_CUOFF ((UWord)(-2UL))
169 UWord region_szB;
170 UWord region_next;
185 UWord region_szB, in init_Cursor()
186 UWord region_next, in init_Cursor()
205 static inline UWord get_position_of_Cursor ( Cursor* c ) { in get_position_of_Cursor()
209 static inline void set_position_of_Cursor ( Cursor* c, UWord pos ) { in set_position_of_Cursor()
335 static UWord get_UWord ( Cursor* c ) { in get_UWord()
336 vg_assert(sizeof(UWord) == sizeof(void*)); in get_UWord()
[all …]
/external/valgrind/main/helgrind/
Dhg_wordset.h60 UWord HG_(cardinalityWSU) ( WordSetU* );
71 WordSet HG_(addToWS) ( WordSetU*, WordSet, UWord );
72 WordSet HG_(delFromWS) ( WordSetU*, WordSet, UWord );
77 Bool HG_(isSingletonWS) ( WordSetU*, WordSet, UWord );
78 UWord HG_(anyElementOfWS) ( WordSetU*, WordSet );
79 UWord HG_(cardinalityWS) ( WordSetU*, WordSet );
80 Bool HG_(elemWS) ( WordSetU*, WordSet, UWord );
81 WordSet HG_(doubletonWS) ( WordSetU*, UWord, UWord );
82 WordSet HG_(singletonWS) ( WordSetU*, UWord );
92 void HG_(getPayloadWS) ( /*OUT*/UWord** words, /*OUT*/UWord* nWords,
Dhg_wordset.c55 struct { UWord arg1; UWord arg2; UWord res; }
69 UWord dynMax; /* 1 .. N_WCACHE_STAT_MAX inclusive */
70 UWord inUse; /* 0 .. dynMax inclusive */
84 UWord _i; \
85 UWord _arg1 = (UWord)(_zzarg1); \
86 UWord _arg2 = (UWord)(_zzarg2); \
111 UWord _arg1 = (UWord)(_zzarg1); \
112 UWord _arg2 = (UWord)(_zzarg2); \
113 UWord _res = (UWord)(_zzresult); \
137 UWord* words;
[all …]
Dlibhb_core.c356 static void (*main_get_stacktrace)( Thr*, Addr*, UWord ) = NULL;
556 static UWord stats__secmaps_search = 0; // # SM finds
557 static UWord stats__secmaps_search_slow = 0; // # SM lookupFMs
558 static UWord stats__secmaps_allocd = 0; // # SecMaps issued
559 static UWord stats__secmap_ga_space_covered = 0; // # ga bytes covered
560 static UWord stats__secmap_linesZ_allocd = 0; // # LineZ's issued
561 static UWord stats__secmap_linesZ_bytes = 0; // .. using this much storage
562 static UWord stats__secmap_linesF_allocd = 0; // # LineF's issued
563 static UWord stats__secmap_linesF_bytes = 0; // .. using this much storage
564 static UWord stats__secmap_iterator_steppings = 0; // # calls to stepSMIter
[all …]
/external/valgrind/main/memcheck/
Dmc_include.h417 /*OUT*/UWord* nBlocks );
501 VG_REGPARM(2) void MC_(helperc_value_checkN_fail_w_o) ( HWord, UWord );
502 VG_REGPARM(1) void MC_(helperc_value_check8_fail_w_o) ( UWord );
503 VG_REGPARM(1) void MC_(helperc_value_check4_fail_w_o) ( UWord );
504 VG_REGPARM(1) void MC_(helperc_value_check1_fail_w_o) ( UWord );
505 VG_REGPARM(1) void MC_(helperc_value_check0_fail_w_o) ( UWord );
518 VG_REGPARM(2) void MC_(helperc_STOREV32be) ( Addr, UWord );
519 VG_REGPARM(2) void MC_(helperc_STOREV32le) ( Addr, UWord );
520 VG_REGPARM(2) void MC_(helperc_STOREV16be) ( Addr, UWord );
521 VG_REGPARM(2) void MC_(helperc_STOREV16le) ( Addr, UWord );
[all …]
Dmc_main.c66 static void ocache_sarp_Set_Origins ( Addr, UWord, UInt ); /* fwds */
67 static void ocache_sarp_Clear_Origins ( Addr, UWord ); /* fwds */
187 #define N_PRIMARY_MAP ( ((UWord)1) << N_PRIMARY_BITS)
449 UWord elems_seen = 0; in check_auxmap_L1_L2_sanity()
604 UWord pm_off = a >> 16; in get_secmap_low_ptr()
740 UWord sm_off = SM_OFF(a); in set_vabits2()
748 UWord sm_off = SM_OFF(a); in get_vabits2()
761 UWord sm_off = SM_OFF(a); in get_vabits8_for_aligned_word32()
770 UWord sm_off = SM_OFF(a); in set_vabits8_for_aligned_word32()
776 static UWord get_sec_vbits8(Addr a);
[all …]
/external/valgrind/main/cachegrind/
Dcg_branchpred.c87 static UWord shift_register = 0; /* Contains global history */
93 UWord indx; in do_cond_branch_predict()
96 const UWord hist_mask = (1 << N_HIST_BITS) - 1; in do_cond_branch_predict()
97 const UWord iadd_mask = (1 << N_IADD_BITS) - 1; in do_cond_branch_predict()
98 UWord hist_bits = shift_register & hist_mask; in do_cond_branch_predict()
99 UWord iadd_bits = (instr_addr >> N_IADDR_LO_ZERO_BITS) in do_cond_branch_predict()
143 const UWord mask = (1 << N_BTAC_BITS) - 1; in do_ind_branch_predict()
144 UWord indx = (instr_addr >> N_IADDR_LO_ZERO_BITS) in do_ind_branch_predict()
/external/valgrind/main/exp-sgcheck/
Dh_intercepts.c238 const UWord* sW = (const UWord*)src; \
239 UWord* dW = (UWord*)dest; \
240 const UWord al = sizeof(UWord)-1; \
242 if (0 == (((UWord)dW) & al) && 0 == (((UWord)sW) & al)) { \
243 while (sz >= 4 * sizeof(UWord)) { \
248 sz -= 4 * sizeof(UWord); \
254 while (sz >= 1 * sizeof(UWord)) { \
256 sz -= 1 * sizeof(UWord); \
327 UWord nlen = 0; \
341 UWord i; \
[all …]
Dsg_main.c95 UWord a1w = (UWord)a1; in cmp_nonempty_intervals()
96 UWord n1w = (UWord)n1; in cmp_nonempty_intervals()
97 UWord a2w = (UWord)a2; in cmp_nonempty_intervals()
98 UWord n2w = (UWord)n2; in cmp_nonempty_intervals()
249 (Word(*)(UWord,UWord))StackBlocks__cmp ); in init_StackBlocks_set()
261 UWord key, val; in StackBlocks__find_and_dealloc__or_add()
362 if (VG_(lookupFM)( frameBlocks_set, &key, &val, (UWord)orig )) { in StackBlocks__find_and_dealloc__or_add()
366 tl_assert(key != (UWord)orig); in StackBlocks__find_and_dealloc__or_add()
372 VG_(addToFM)( frameBlocks_set, (UWord)orig, 0 ); in StackBlocks__find_and_dealloc__or_add()
425 (Word(*)(UWord,UWord))GlobalBlock__cmp ); in init_GlobalBlock_set()
[all …]
/external/valgrind/main/mpi/
Dlibmpiwrap.c152 typedef unsigned long UWord; typedef
208 assert(sizeof(UWord) == sizeof(void*)); in before()
2315 UWord res; \
2332 UWord WRAPPER_FOR(PMPI_##basename)( void ) \
2342 UWord WRAPPER_FOR(PMPI_##basename)( UWord a1 ) \
2352 UWord WRAPPER_FOR(PMPI_##basename)( UWord a1, UWord a2 ) \
2362 UWord WRAPPER_FOR(PMPI_##basename) \
2363 ( UWord a1, UWord a2, UWord a3 ) \
2373 UWord WRAPPER_FOR(PMPI_##basename) \
2374 ( UWord a1, UWord a2, UWord a3, UWord a4 ) \
[all …]

123456