/external/valgrind/coregrind/m_syswrap/ |
syswrap-linux-variants.c | 77 Int ML_(linux_variant_PRE_sys_bproc)( UWord arg1, UWord arg2, 78 UWord arg3, UWord arg4, 79 UWord arg5, UWord arg6 ) 84 void ML_(linux_variant_POST_sys_bproc)( UWord arg1, UWord arg2, 85 UWord arg3, UWord arg4 [all...] |
/external/valgrind/memcheck/tests/ |
leak-segv-jmp.c | 11 typedef unsigned long UWord; 17 extern UWord do_syscall_WRK (UWord syscall_no, 18 UWord a1, UWord a2, UWord a3, 19 UWord a4, UWord a5, UWord a6 46 extern UWord do_syscall_WRK [all...] |
test-plo.c | 6 typedef unsigned long int UWord; 73 UWord* words = malloc(3 * sizeof(UWord)); 77 UWord w = words[1];
|
/external/valgrind/include/ |
pub_tool_wordfm.h | 63 WordSet, WordBag) now operate on unsigned words (UWord), whereas 79 ordering used is unsigned word ordering (UWord) on the key 85 Word (*kCmp)(UWord,UWord) ); 89 void VG_(deleteFM) ( WordFM*, void(*kFin)(UWord), void(*vFin)(UWord) ); 95 Bool VG_(addToFM) ( WordFM* fm, UWord k, UWord v ); 99 /*OUT*/UWord* oldK, /*OUT*/UWord* oldV, UWord key ) [all...] |
pub_tool_seqmatch.h | 35 #include "pub_tool_basics.h" // UWord 89 const void* patt, SizeT szbPatt, UWord nPatt, UWord ixPatt, 90 const void* input, SizeT szbInput, UWord nInput, UWord ixInput, 93 Bool (*pattEQinp)(const void*,const void*,void*,UWord), 95 Bool (*haveInputInpC)(void*,UWord)
|
pub_tool_rangemap.h | 37 // PURPOSE: a mapping from the host machine word (UWord) ranges to 38 // arbitrary other UWord values. The set of ranges exactly covers all 39 // possible UWord values. 53 UWord initialVal ); 64 UWord key_min, UWord key_max, UWord val ); 70 void VG_(lookupRangeMap) ( /*OUT*/UWord* key_min, /*OUT*/UWord* key_max, 71 /*OUT*/UWord* val, const RangeMap* rm, UWord key ) [all...] |
pub_tool_sparsewa.h | 35 #include "pub_tool_basics.h" // UWord 64 Bool VG_(addToSWA) ( SparseWA* swa, UWord key, UWord val ); 69 /*OUT*/UWord* oldV, 70 UWord key ); 76 /*OUT*/UWord* valP, 77 UWord key ); 87 /*OUT*/UWord* keyP, /*OUT*/UWord* valP ); 92 UWord VG_(sizeSWA) ( const SparseWA* swa ) [all...] |
pub_tool_poolalloc.h | 34 #include "pub_tool_basics.h" // UWord 57 extern PoolAlloc* VG_(newPA) ( UWord elemSzB, 58 UWord nPerPool, 90 extern UWord VG_(releasePA) ( PoolAlloc* pa); 96 extern UWord VG_(sizePA) ( PoolAlloc* pa);
|
pub_tool_libcsetjmp.h | 35 #include "pub_tool_basics.h" // UWord 80 UWord VG_MINIMAL_SETJMP(VG_MINIMAL_JMP_BUF(_env)); 89 UWord VG_MINIMAL_SETJMP(VG_MINIMAL_JMP_BUF(_env)); 98 UWord VG_MINIMAL_SETJMP(VG_MINIMAL_JMP_BUF(_env)); 108 UWord VG_MINIMAL_SETJMP(VG_MINIMAL_JMP_BUF(_env)); 117 UWord VG_MINIMAL_SETJMP(VG_MINIMAL_JMP_BUF(_env)); 125 #define VG_MINIMAL_SETJMP(_env) ((UWord)(__builtin_setjmp((_env))))
|
/external/valgrind/helgrind/tests/ |
annotate_hbefore.c | 18 is UWord (naturally) aligned. */ 21 typedef unsigned long int UWord; 27 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu ) 29 UWord old, success; 60 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu [all...] |
/external/valgrind/coregrind/ |
m_syscall.c | 46 SysRes VG_(mk_SysRes_mips32_linux) ( UWord v0, UWord v1, UWord a3 ) { 49 res._isError = (a3 != (UWord)0); 65 SysRes VG_(mk_SysRes_Error) ( UWord err ) { 73 SysRes VG_(mk_SysRes_Success) ( UWord res ) { 81 SysRes VG_(mk_SysRes_SuccessEx) ( UWord res, UWord resEx ) { 196 SysRes VG_(mk_SysRes_Error) ( UWord err ) { 203 SysRes VG_(mk_SysRes_Success) ( UWord res ) [all...] |
pub_core_transtab_asm.h | 60 # define VG_TT_FAST_HASH(_addr) ((((UWord)(_addr)) ) & VG_TT_FAST_MASK) 63 # define VG_TT_FAST_HASH(_addr) ((((UWord)(_addr)) >> 1) & VG_TT_FAST_MASK) 67 # define VG_TT_FAST_HASH(_addr) ((((UWord)(_addr)) >> 2) & VG_TT_FAST_MASK) 70 # define VG_TT_FAST_HASH(_addr) ((((UWord)(_addr)) >> 3) & VG_TT_FAST_MASK)
|
m_poolalloc.c | 36 UWord nrRef; /* nr reference to this pool allocator */ 37 UWord elemSzB; /* element size */ 38 UWord nPerPool; /* # elems per pool */ 51 PoolAlloc* VG_(newPA) ( UWord elemSzB, 52 UWord nPerPool, 58 vg_assert(0 == (elemSzB % sizeof(UWord))); 59 vg_assert(elemSzB >= sizeof(UWord)); 84 pa->free_fn (*(UWord **)VG_(indexXA) ( pa->pools, i )); 95 UWord* pool; 104 UWord* elem = (UWord*)elemC [all...] |
pub_core_stacks.h | 50 extern UWord VG_(register_stack) ( Addr start, Addr end ); 51 extern void VG_(deregister_stack) ( UWord id ); 52 extern void VG_(change_stack) ( UWord id, Addr start, Addr end );
|
pub_core_syscall.h | 44 // that all arguments get converted to a UWord appropriately. Not doing so 49 extern SysRes VG_(do_syscall) ( UWord sysno, 50 UWord, UWord, UWord, 51 UWord, UWord, UWord, 52 UWord, UWord ); [all...] |
m_sparsewa.c | 56 UWord magic; 57 UWord words[256]; 65 UWord magic; 74 UWord partial_key; 92 static inline UWord swa_bitarray_read ( const UChar* arr, UWord ix ) { 93 UWord bix = ix >> 3; 94 UWord off = ix & 7; 98 static inline UWord swa_bitarray_read_then_set ( UChar* arr, UWord ix ) [all...] |
m_wordfm.c | 66 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 ( const AvlNode* nd ) 148 static inline Word cmp_unsigned_Words ( UWord w1, UWord w2 ) [all...] |
m_rangemap.c | 42 #define UWORD_MIN ((UWord)0) 43 #define UWORD_MAX (~(UWord)0) 46 struct { UWord key_min; UWord key_max; UWord val; } 60 static Word find ( const RangeMap* rm, UWord key ); 61 static void split_at ( /*MOD*/RangeMap* rm, UWord key ); 68 UWord initialVal ) 100 UWord key_min, UWord key_max, UWord val [all...] |
m_libcfile.c | 120 if (0 == VG_(fcntl)(fd, VKI_F_GETPATH, (UWord)tmp)) { 139 SysRes VG_(mknod) ( const HChar* pathname, Int mode, UWord dev ) 144 VKI_AT_FDCWD, (UWord)pathname, mode, dev); 147 (UWord)pathname, mode, dev); 150 VKI_AT_FDCWD, (UWord)pathname, mode, dev); 162 VKI_AT_FDCWD, (UWord)pathname, flags, mode); 165 (UWord)pathname, flags, mode); 168 (UWord)pathname, flags, mode); 171 VKI_AT_FDCWD, (UWord)pathname, flags, mode); 204 SysRes res = VG_(do_syscall3)(__NR_read, fd, (UWord)buf, count) [all...] |
/external/valgrind/helgrind/ |
hg_wordset.h | 60 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 ); [all...] |
hg_basics.c | 76 UWord HG_(clo_history_level) = 2; 78 UWord HG_(clo_conflict_cache_size) = 2000000; 80 UWord HG_(clo_sanity_flags) = 0; 84 UWord HG_(clo_vts_pruning) = 1;
|
hg_basics.h | 94 extern UWord HG_(clo_history_level); 100 extern UWord HG_(clo_conflict_cache_size); 104 extern UWord HG_(clo_sanity_flags); 123 extern UWord HG_(clo_vts_pruning);
|
/external/valgrind/coregrind/m_debuginfo/ |
priv_tytypes.h | 39 #include "pub_core_basics.h" // UWord 70 UWord cuOff; 76 UWord indR; 87 UWord typeR; /* should be Te_TyXXXX */ 110 UWord typeR; 114 UWord typeR; /* MAY BE D3_INVALID_CUOFF, denoting unknown */ 118 UWord szB; 119 UWord typeR; 120 XArray* /* of UWord */ fieldRs; 127 XArray* /* of UWord */ atomRs [all...] |
/external/valgrind/drd/ |
drd_bitmap.h | 48 * | Address MSB | UWord MSB | UWord LSB | Ignored bits | 80 #define ADDR_LSB_MASK (((UWord)1 << ADDR_LSB_BITS) - 1U) 84 UWord address_lsb(const Addr a) 109 UWord address_msb(const Addr a) 122 * @note It is assumed that sizeof(Addr) == sizeof(UWord). 125 Addr make_address(const UWord a1, const UWord a0) 135 /** Number of bits that fit in a variable of type UWord. */ 136 #define BITS_PER_UWORD (8U * sizeof(UWord)) [all...] |
/external/valgrind/cachegrind/ |
cg_branchpred.c | 90 static UWord shift_register = 0; /* Contains global history */ 96 UWord indx; 99 const UWord hist_mask = (1 << N_HIST_BITS) - 1; 100 const UWord iadd_mask = (1 << N_IADD_BITS) - 1; 101 UWord hist_bits = shift_register & hist_mask; 102 UWord iadd_bits = (instr_addr >> N_IADDR_LO_ZERO_BITS) 146 const UWord mask = (1 << N_BTAC_BITS) - 1; 147 UWord indx = (instr_addr >> N_IADDR_LO_ZERO_BITS)
|