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

1234567

/external/valgrind/coregrind/m_debuginfo/
H A Dpriv_storage.h432 UWord con;
456 extern Int ML_(CfiExpr_Const) ( XArray* dst, UWord con );
500 UWord typeR; /* a cuOff */
857 UWord symtab_used;
858 UWord symtab_size;
867 UWord loctab_used;
868 UWord loctab_size;
873 UWord inltab_used;
874 UWord inltab_size;
935 UWord cfsi_use
[all...]
H A Dreaddwarf3.c167 #define D3_INVALID_CUOFF ((UWord)(-1UL))
168 #define D3_FAKEVOID_CUOFF ((UWord)(-2UL))
349 static UWord get_UWord ( Cursor* c ) {
350 vg_assert(sizeof(UWord) == sizeof(void*));
351 if (sizeof(UWord) == 4) return get_UInt(c);
352 if (sizeof(UWord) == 8) return get_ULong(c);
409 UWord abbv_code; // key, read by hash table
438 UWord cu_start_offset;
449 //UWord debug_abbv_maxszB;
465 UWord types_cuOff_bia
[all...]
H A Dtytypes.c75 UWord cuOff = *(UWord*)VG_(indexXA)(xa, i);
216 static void pp_TyBound_C_ishly ( const XArray* tyents, UWord cuOff )
238 UWord cuOff )
282 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.c481 GXResult ML_(evaluate_Dwarf3_Expr) ( const UChar* expr, UWord exprszB,
491 res.word = (UWord)(_str); \
520 UWord uw1, uw2;
534 res.word = (UWord)(expr[0] - DW_OP_reg0);
543 res.word = (UWord)read_leb128U( &expr );
643 uw1 = (UWord)read_leb128U( &expr );
661 uw1 += (UWord)read_leb128U( &expr );
878 uw1 = ML_(get_CFA)(regs->ip, regs->sp, regs->fp, 0, ~(UWord) 0);
957 UWord nGuards = 0;
969 res.word = (UWord)"n
[all...]
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-x86-solaris.c95 UWord *stack = (UWord*)tst->os_state.valgrind_stack_init_SP;
109 stack[1] = (UWord)tst; /* the parameter */
112 uc->uc_mcontext.gregs[VKI_EIP] = (UWord)ML_(start_thread_NORETURN);
113 uc->uc_mcontext.gregs[VKI_UESP] = (UWord)stack;
146 (Addr)&uc->uc_mcontext.gregs[VKI_EIP], sizeof(UWord));
149 (Addr)&uc->uc_mcontext.gregs[VKI_EAX], sizeof(UWord));
152 (Addr)&uc->uc_mcontext.gregs[VKI_EBX], sizeof(UWord));
155 (Addr)&uc->uc_mcontext.gregs[VKI_ECX], sizeof(UWord));
158 (Addr)&uc->uc_mcontext.gregs[VKI_EDX], sizeof(UWord));
[all...]
H A Dsyswrap-main.c289 UWord ML_(do_syscall_for_client_WRK)( Word syscallno,
296 UWord ML_(do_syscall_for_client_unix_WRK)( Word syscallno,
302 UWord ML_(do_syscall_for_client_mach_WRK)( Word syscallno,
308 UWord ML_(do_syscall_for_client_mdep_WRK)( Word syscallno,
315 UWord ML_(do_syscall_for_client_WRK)( Word syscallno,
320 UWord ML_(do_syscall_for_client_dret_WRK)( Word syscallno,
336 UWord err;
578 UWord *stack = (UWord *)gst->guest_ESP;
654 UWord *stac
[all...]
H A Dsyswrap-darwin.c336 static WordFM* decaying_string_table = NULL; /* HChar* -> UWord */
338 static Word decaying_string_table_cmp ( UWord s1, UWord s2 ) {
362 UWord val = 0;
364 (UWord*)&key, &val, (UWord)&buf[0])) {
369 VG_(addToFM)(decaying_string_table, (UWord)key, (UWord)0);
377 Bool b = VG_(addToFM)(decaying_string_table, (UWord)key, (UWord)va
[all...]
/external/valgrind/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/coregrind/
H A Dm_stacks.c90 UWord id;
97 static UWord next_id; /* Next id we hand out to a newly registered stack */
151 static UWord n_fails = 0;
152 static UWord n_searches = 0;
153 static UWord n_steps = 0;
182 UWord VG_(register_stack)(Addr start, Addr end)
216 void VG_(deregister_stack)(UWord id)
247 void VG_(change_stack)(UWord id, Addr start, Addr end)
H A Dm_execontext.c270 static inline UWord ROLW ( UWord w, Int n )
272 Int bpw = 8 * sizeof(UWord);
277 static UWord calc_hash ( const Addr* ips, UInt n_ips, UWord htab_sz )
280 UWord hash = 0;
315 UWord hash = calc_hash(cur->ips, cur->n_ips, new_size);
340 vg_assert(sizeof(void*) == sizeof(UWord));
366 UWord hash;
490 UWord
[all...]
H A Dm_hashtable.c43 #define CHAIN_NO(key,tbl) (((UWord)(key)) % tbl->n_chains)
120 table->name, (UWord)old_chains, (UWord)new_chains,
121 (UWord)table->n_elements );
131 UWord chain = CHAIN_NO(node->key, table);
147 UWord chain = CHAIN_NO(node->key, table);
160 void* VG_(HT_lookup) ( const VgHashTable *table, UWord key )
191 void* VG_(HT_remove) ( VgHashTable *table, UWord key )
193 UWord chain = CHAIN_NO(key, table);
217 UWord chai
[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);
386 UWord sz = 0;
563 void VG_(OSetWord_Insert)(AvlTree* t, UWord val)
565 Word* node = VG_(OSetGen_AllocNode)(t, sizeof(UWord));
594 UWord w1 = *(const UWord*)
[all...]
/external/valgrind/helgrind/
H A Dhg_lock_n_thread.c55 UWord count;
57 while (VG_(nextIterBag)( bag, (UWord*)&thr, &count )) {
H A Dhg_errors.c69 static Word string_table_cmp ( UWord s1, UWord s2 ) {
83 NULL, (UWord*)&copy, (UWord)str )) {
89 VG_(addToFM)( string_table, (UWord)copy, (UWord)copy );
104 static Word lock_unique_cmp ( UWord lk1W, UWord lk2W )
169 if (!VG_(lookupFM)( map_LockN_to_P, NULL, (UWord*)&lkp, (UWord)lk
[all...]
/external/valgrind/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/exp-sgcheck/
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_intercepts.c246 const Addr WS = sizeof(UWord); /* 8 or 4 */ \
258 /* s and d have same UWord alignment. */ \
259 /* Pull up to a UWord boundary. */ \
264 { *(UWord*)d = *(UWord*)s; s += WS; d += WS; n -= WS; } \
285 /* s and d have same UWord alignment. */ \
286 /* Back down to a UWord boundary. */ \
291 { s -= WS; d -= WS; *(UWord*)d = *(UWord*)s; n -= WS; } \
367 UWord nle
[all...]
/external/valgrind/callgrind/
H A Dcontext.c133 static UWord cxt_hash_val(fn_node** fn, UInt size)
135 UWord hash = 0;
138 hash = (hash<<7) + (hash>>25) + (UWord)(*fn);
147 static Bool is_cxt(UWord hash, fn_node** fn, Context* cxt)
172 UWord hash;
197 hash = (hash<<7) + (hash>>25) + (UWord)(*fn);
232 UWord hash;
H A Dbb.c191 obj->name, (UWord)offset, bb);
263 obj->name, (UWord)obj->offset,
267 bb->obj->name, (UWord)bb->obj->offset,
268 (UWord)bb->offset, bb->instr_count);
309 obj->name, (UWord)offset);
330 obj->name, (UWord)offset, bb, bb->bbcc_list);
/external/valgrind/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;
407 UWord trapno;
408 UWord err;
483 offsetof(VexGuestAMD64State,guest_RIP), sizeof(UWord) );
485 offsetof(VexGuestAMD64State,guest_RDI), sizeof(UWord) );
487 offsetof(VexGuestAMD64State,guest_RSI), sizeof(UWord) );
489 offsetof(VexGuestAMD64State,guest_RDX), sizeof(UWord) );
/external/valgrind/include/
H A Dpub_tool_libcbase.h145 if (LIKELY(0 == (((Addr)sz) & (Addr)(sizeof(UWord)-1)))
146 && LIKELY(0 == (((Addr)s) & (Addr)(sizeof(UWord)-1)))) {
147 UWord* p = (UWord*)s;
148 switch (sz / (SizeT)sizeof(UWord)) {
/external/valgrind/coregrind/m_replacemalloc/
H A Dvg_replace_malloc.c156 static UWord umulHW ( UWord u, UWord v )
158 UWord u0, v0, w0, rHi;
159 UWord u1, v1, w1,w2,t;
160 UWord halfMask = sizeof(UWord)==4 ? (UWord)0xFFFF
161 : (UWord)0xFFFFFFFFULL;
162 UWord halfShif
[all...]
/external/valgrind/coregrind/m_scheduler/
H A Dticket-lock-linux.c135 sres = VG_(do_syscall3)(__NR_futex, (UWord)futex,
175 sres = VG_(do_syscall3)(__NR_futex, (UWord)futex,
/external/valgrind/memcheck/
H A Dmc_malloc_wrappers.c229 MC_Chunk* found_mc = VG_(HT_lookup) ( block_list, (UWord)mc->data );
471 if ((mc != VG_(HT_remove) ( MC_(malloc_list), (UWord)mc->data )))
481 mc = VG_(HT_remove) ( MC_(malloc_list), (UWord)p );
527 old_mc = VG_(HT_remove) ( MC_(malloc_list), (UWord)p_old );
628 MC_Chunk* mc = VG_(HT_lookup) ( MC_(malloc_list), (UWord)p );
642 MC_Chunk* mc = VG_(HT_lookup) ( MC_(malloc_list), (UWord)p );
689 mp = VG_(HT_lookup)(MC_(mempool_list), (UWord)pool);
724 mp = VG_(HT_remove) ( MC_(mempool_list), (UWord)pool );
842 mp = VG_(HT_lookup) ( MC_(mempool_list), (UWord)pool );
867 mp = VG_(HT_lookup)(MC_(mempool_list), (UWord)poo
[all...]
/external/valgrind/memcheck/tests/
H A Ddescr_belowsp.c19 typedef unsigned long UWord; typedef
20 typedef UWord Addr;

Completed in 1141 milliseconds

1234567