Searched refs:UWord (Results 51 - 75 of 156) sorted by relevance

1234567

/external/valgrind/main/coregrind/m_debuginfo/
H A Dreaddwarf3.c166 #define D3_INVALID_CUOFF ((UWord)(-1UL))
167 #define D3_FAKEVOID_CUOFF ((UWord)(-2UL))
344 static UWord get_UWord ( Cursor* c ) {
345 vg_assert(sizeof(UWord) == sizeof(void*));
346 if (sizeof(UWord) == 4) return get_UInt(c);
347 if (sizeof(UWord) == 8) return get_ULong(c);
401 UWord cu_start_offset;
412 //UWord debug_abbv_maxszB;
428 UWord types_cuOff_bias;
429 UWord alt_cuOff_bia
[all...]
H A Dpriv_storage.h380 UWord con;
404 extern Int ML_(CfiExpr_Const) ( XArray* dst, UWord con );
448 UWord typeR; /* a cuOff */
786 UWord symtab_used;
787 UWord symtab_size;
790 UWord loctab_used;
791 UWord loctab_size;
798 UWord cfsi_used;
799 UWord cfsi_size;
807 UWord fpo_siz
[all...]
H A Dtytypes.c75 UWord cuOff = *(UWord*)VG_(indexXA)(xa, i);
217 static void pp_TyBound_C_ishly ( XArray* tyents, UWord cuOff )
239 UWord cuOff )
283 pp_TyBound_C_ishly( tyents, *(UWord*)VG_(indexXA)(xa, w) );
341 UWord cuOff_to_find )
348 static UWord cacheQs = 0 - 1;
349 static UWord cacheHits = 0;
356 UWord h = cuOff_to_find % (UWord)N_TYENT_INDEX_CACH
[all...]
H A Dd3basics.c474 GXResult ML_(evaluate_Dwarf3_Expr) ( UChar* expr, UWord exprszB,
484 res.word = (UWord)(_str); \
513 UWord uw1, uw2;
527 res.word = (UWord)(expr[0] - DW_OP_reg0);
536 res.word = (UWord)read_leb128U( &expr );
636 uw1 = (UWord)read_leb128U( &expr );
654 uw1 += (UWord)read_leb128U( &expr );
870 uw1 = ML_(get_CFA)(regs->ip, regs->sp, regs->fp, 0, ~(UWord) 0);
949 UWord nGuards = 0;
961 res.word = (UWord)"n
[all...]
H A Dpriv_misc.h52 UWord ML_(read_UWord)( UChar* data );
/external/valgrind/main/exp-sgcheck/
H A Dh_intercepts.c236 const Addr WS = sizeof(UWord); /* 8 or 4 */ \
248 /* s and d have same UWord alignment. */ \
249 /* Pull up to a UWord boundary. */ \
254 { *(UWord*)d = *(UWord*)s; s += WS; d += WS; n -= WS; } \
275 /* s and d have same UWord alignment. */ \
276 /* Back down to a UWord boundary. */ \
281 { s -= WS; d -= WS; *(UWord*)d = *(UWord*)s; n -= WS; } \
355 UWord nle
[all...]
H A Dh_main.c105 void Seg__cmp(Seg* seg, Addr a, Int* cmp, UWord* n)
151 UWord nextfree; /* 0 .. N_SEGS_PER_GROUP */
157 static UWord nFreeSegs = 0;
251 UWord keyW, valW;
253 if (VG_(lookupFM)( addr_to_seg_map, &keyW, &valW, (UWord)ga )) {
265 b = VG_(addToFM)( addr_to_seg_map, (UWord)ga, (UWord)seg );
272 UWord keyW, valW;
274 b = VG_(delFromFM)( addr_to_seg_map, &keyW, &valW, (UWord)ga );
626 tl_assert(sizeof(UWord)
[all...]
H A Dh_main.h49 void Seg__cmp(Seg* seg, Addr a, Int* cmp, UWord* n);
/external/valgrind/main/exp-dhat/
H A Ddh_main.c93 static Word interval_tree_Cmp ( UWord k1, UWord k2 )
108 static UWord stats__n_fBc_cached = 0;
109 static UWord stats__n_fBc_uncached = 0;
110 static UWord stats__n_fBc_notfound = 0;
134 UWord foundkey = 1;
135 UWord foundval = 1;
137 &foundkey, &foundval, (UWord)&fake );
231 UWord keyW = 0;
232 UWord val
[all...]
/external/valgrind/main/coregrind/
H A Dpub_core_threadstate.h213 UWord new_protection;
231 UWord protection;
253 UWord protection;
257 UWord flavor;
H A Dm_execontext.c262 static inline UWord ROLW ( UWord w, Int n )
264 Int bpw = 8 * sizeof(UWord);
269 static UWord calc_hash ( Addr* ips, UInt n_ips, UWord htab_sz )
272 UWord hash = 0;
307 UWord hash = calc_hash(cur->ips, cur->n_ips, new_size);
332 vg_assert(sizeof(void*) == sizeof(UWord));
358 UWord hash;
485 UWord
[all...]
H A Dm_stacktrace.c182 vg_assert(sizeof(Addr) == sizeof(UWord));
262 UWord hash = uregs.xip % N_FP_CF_VERIF;
319 uregs.xbp <= fp_max - 1 * sizeof(UWord)/*see comment below*/)
322 uregs.xip = (((UWord*)uregs.xbp)[1]);
355 uregs.xbp = (((UWord*)uregs.xbp)[0]);
467 vg_assert(sizeof(Addr) == sizeof(UWord));
560 /* Note: re "- 1 * sizeof(UWord)", need to take account of the
561 fact that we are prodding at & ((UWord*)fp)[1] and so need to
564 if (fp_min <= uregs.xbp && uregs.xbp <= fp_max - 1 * sizeof(UWord)) {
566 uregs.xip = (((UWord*)ureg
[all...]
H A Dm_oset.c109 // An OSet (AVL tree). If cmp is NULL, the key must be a UWord, and must
182 UWord w1 = *(const UWord*)k;
183 UWord w2 = *(const UWord*)elem_of_node(n);
565 void VG_(OSetWord_Insert)(AvlTree* t, UWord val)
567 Word* node = VG_(OSetGen_AllocNode)(t, sizeof(UWord));
596 UWord w1 = *(const UWord*)k;
597 UWord w
[all...]
H A Dpub_core_tooliface.h144 Bool (*tool_handle_client_request)(ThreadId, UWord*, UWord*);
147 void (*tool_pre_syscall) (ThreadId, UInt, UWord*, UInt);
148 void (*tool_post_syscall)(ThreadId, UInt, UWord*, UInt, SysRes);
/external/valgrind/main/helgrind/
H A Dhg_lock_n_thread.c55 UWord count;
57 while (VG_(nextIterBag)( bag, (UWord*)&thr, &count )) {
H A Dhg_errors.c67 static Word string_table_cmp ( UWord s1, UWord s2 ) {
82 NULL, (UWord*)&copy, (UWord)str )) {
89 VG_(addToFM)( string_table, (UWord)copy, (UWord)copy );
104 static Word lock_unique_cmp ( UWord lk1W, UWord lk2W )
170 if (!VG_(lookupFM)( map_LockN_to_P, NULL, (UWord*)&lkp, (UWord)lk
[all...]
/external/valgrind/main/drd/
H A Ddrd_malloc_wrappers.c45 * and the second member must be an UWord.
49 UWord data; // pointer to actual block
130 mc = VG_(HT_lookup)(s_malloc_list, (UWord)p);
138 VG_(HT_remove)(s_malloc_list, (UWord)p);
197 mc = VG_(HT_lookup)(s_malloc_list, (UWord)p_old);
234 VG_(HT_remove)(s_malloc_list, (UWord)p_old);
286 mc = VG_(HT_lookup)(s_malloc_list, (UWord)p);
/external/valgrind/main/callgrind/
H A Dcontext.c140 static UWord cxt_hash_val(fn_node** fn, UInt size)
142 UWord hash = 0;
145 hash = (hash<<7) + (hash>>25) + (UWord)(*fn);
154 static Bool is_cxt(UWord hash, fn_node** fn, Context* cxt)
179 UWord hash;
204 hash = (hash<<7) + (hash>>25) + (UWord)(*fn);
239 UWord hash;
/external/valgrind/main/coregrind/m_sigframe/
H A Dsigframe-amd64-linux.c328 UWord trapno, UWord err, const vki_sigset_t *set,
371 sc->cr2 = (UWord)si->_sifields._sigfault._addr;
451 UWord trapno;
452 UWord err;
526 offsetof(VexGuestAMD64State,guest_RIP), sizeof(UWord) );
528 offsetof(VexGuestAMD64State,guest_RDI), sizeof(UWord) );
530 offsetof(VexGuestAMD64State,guest_RSI), sizeof(UWord) );
532 offsetof(VexGuestAMD64State,guest_RDX), sizeof(UWord) );
/external/valgrind/main/include/
H A Dpub_tool_libcbase.h152 if (LIKELY(0 == (((Addr)sz) & (Addr)(sizeof(UWord)-1)))
153 && LIKELY(0 == (((Addr)s) & (Addr)(sizeof(UWord)-1)))) {
154 UWord* p = (UWord*)s;
155 switch (sz / (SizeT)sizeof(UWord)) {
/external/valgrind/main/coregrind/m_replacemalloc/
H A Dvg_replace_malloc.c147 static UWord umulHW ( UWord u, UWord v )
149 UWord u0, v0, w0, rHi;
150 UWord u1, v1, w1,w2,t;
151 UWord halfMask = sizeof(UWord)==4 ? (UWord)0xFFFF
152 : (UWord)0xFFFFFFFFULL;
153 UWord halfShif
[all...]
/external/valgrind/main/coregrind/m_scheduler/
H A Dticket-lock-linux.c138 sres = VG_(do_syscall3)(__NR_futex, (UWord)futex,
178 sres = VG_(do_syscall3)(__NR_futex, (UWord)futex,
/external/valgrind/main/memcheck/
H A Dmc_malloc_wrappers.c229 MC_Chunk* found_mc = VG_(HT_lookup) ( block_list, (UWord)mc->data );
493 if ((mc != VG_(HT_remove) ( MC_(malloc_list), (UWord)mc->data )))
503 mc = VG_(HT_remove) ( MC_(malloc_list), (UWord)p );
549 old_mc = VG_(HT_remove) ( MC_(malloc_list), (UWord)p_old );
650 MC_Chunk* mc = VG_(HT_lookup) ( MC_(malloc_list), (UWord)p );
664 MC_Chunk* mc = VG_(HT_lookup) ( MC_(malloc_list), (UWord)p );
711 mp = VG_(HT_lookup)(MC_(mempool_list), (UWord)pool);
746 mp = VG_(HT_remove) ( MC_(mempool_list), (UWord)pool );
864 mp = VG_(HT_lookup) ( MC_(mempool_list), (UWord)pool );
889 mp = VG_(HT_lookup)(MC_(mempool_list), (UWord)poo
[all...]
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-main.c275 UWord ML_(do_syscall_for_client_WRK)( Word syscallno,
282 UWord ML_(do_syscall_for_client_unix_WRK)( Word syscallno,
288 UWord ML_(do_syscall_for_client_mach_WRK)( Word syscallno,
294 UWord ML_(do_syscall_for_client_mdep_WRK)( Word syscallno,
310 UWord err;
523 UWord *stack = (UWord *)gst->guest_ESP;
599 UWord *stack = (UWord *)gst->guest_RSP;
722 UWord *stac
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dvalgrind-low-x86.c185 UWord value = 0x037f;
194 UWord value = x86->guest_FC3210;
204 UWord value =
234 UWord value = 0x1f80;

Completed in 435 milliseconds

1234567