Searched refs:UWord (Results 1 - 25 of 156) sorted by relevance

1234567

/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-linux-variants.c78 Int ML_(linux_variant_PRE_sys_bproc)( UWord arg1, UWord arg2,
79 UWord arg3, UWord arg4,
80 UWord arg5, UWord arg6 )
85 void ML_(linux_variant_POST_sys_bproc)( UWord arg1, UWord arg2,
86 UWord arg3, UWord arg
[all...]
/external/valgrind/main/memcheck/tests/
H A Dleak-segv-jmp.c10 typedef unsigned long UWord; typedef
15 extern UWord do_syscall_WRK (UWord syscall_no,
16 UWord a1, UWord a2, UWord a3,
17 UWord a4, UWord a5, UWord a6
43 extern UWord do_syscall_WR
[all...]
H A Dtest-plo.c6 typedef unsigned long int UWord; typedef
73 UWord* words = malloc(3 * sizeof(UWord));
77 UWord w = words[1];
/external/valgrind/main/include/
H A Dpub_tool_wordfm.h63 WordSet, WordBag) now operate on unsigned words (UWord), whereas
79 ordering used is unsigned word ordering (UWord) on the key
84 Word (*kCmp)(UWord,UWord) );
88 void VG_(deleteFM) ( WordFM*, void(*kFin)(UWord), void(*vFin)(UWord) );
94 Bool VG_(addToFM) ( WordFM* fm, UWord k, UWord v );
98 /*OUT*/UWord* oldK, /*OUT*/UWord* old
[all...]
H A Dpub_tool_rangemap.h37 // 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.
52 UWord initialVal );
63 UWord key_min, UWord key_max, UWord val );
69 void VG_(lookupRangeMap) ( /*OUT*/UWord* key_min, /*OUT*/UWord* key_max,
70 /*OUT*/UWord* va
[all...]
H A Dpub_tool_sparsewa.h35 #include "pub_tool_basics.h" // UWord
63 Bool VG_(addToSWA) ( SparseWA* swa, UWord key, UWord val );
71 /*OUT*/UWord* oldK, /*OUT*/UWord* oldV,
72 UWord key );
79 /*OUT*/UWord* keyP, /*OUT*/UWord* valP,
80 UWord key );
90 /*OUT*/UWord* key
[all...]
H A Dpub_tool_seqmatch.h35 #include "pub_tool_basics.h" // UWord
83 const void* patt, SizeT szbPatt, UWord nPatt, UWord ixPatt,
84 const void* input, SizeT szbInput, UWord nInput, UWord ixInput,
87 Bool (*pattEQinp)(const void*,const void*,void*,UWord),
H A Dpub_tool_poolalloc.h34 #include "pub_tool_basics.h" // UWord
56 PoolAlloc* VG_(newPA) ( UWord elemSzB,
57 UWord nPerPool,
89 extern UWord VG_(releasePA) ( PoolAlloc* pa);
H A 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;
166 UWord _valEx; // only used on mips-linux
181 UWord _wLO;
182 UWord _wH
[all...]
H A Dpub_tool_libcsetjmp.h35 #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/main/helgrind/tests/
H A Dannotate_hbefore.c18 is UWord (naturally) aligned. */
21 typedef unsigned long int UWord; typedef
27 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
29 UWord old, success;
60 UWord do_acasW ( UWord* addr, UWord expecte
[all...]
/external/valgrind/main/coregrind/
H A Dm_syscall.c144 SysRes VG_(mk_SysRes_mips32_linux) ( UWord v0, UWord v1, UWord a3 ) {
146 res._isError = (a3 != (UWord)0);
162 SysRes VG_(mk_SysRes_Error) ( UWord err ) {
170 SysRes VG_(mk_SysRes_Success) ( UWord res ) {
190 vg_assert(sizeof(UWord) == sizeof(UInt));
223 vg_assert(sizeof(UWord) == sizeof(ULong));
251 SysRes VG_(mk_SysRes_Error) ( UWord err ) {
259 SysRes VG_(mk_SysRes_Success) ( UWord re
[all...]
H A Dpub_core_transtab_asm.h60 # 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)
H A Dpub_core_syscall.h44 // 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...]
H A Dm_poolalloc.c36 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));
85 pa->free (*(UWord **)VG_(indexXA) ( pa->pools, i ));
96 UWord* pool;
106 UWord* ele
[all...]
H A Dpub_core_stacks.h41 extern UWord VG_(register_stack) ( Addr start, Addr end );
42 extern void VG_(deregister_stack) ( UWord id );
43 extern void VG_(change_stack) ( UWord id, Addr start, Addr end );
H A 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 ) {
93 UWord bix = ix >> 3;
94 UWord off = ix & 7;
98 static inline UWord swa_bitarray_read_then_set ( UChar* arr, UWord i
[all...]
H A 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 )
148 static inline Word cmp_unsigned_Words ( UWord w1, UWord w
[all...]
H A Dm_rangemap.c42 #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 ( RangeMap* rm, UWord key );
61 static void split_at ( /*MOD*/RangeMap* rm, UWord key );
68 UWord initialVal )
102 UWord key_min, UWord key_ma
[all...]
H A Dm_libcfile.c93 if (0 == VG_(fcntl)(fd, VKI_F_GETPATH, (UWord)tmp)) {
107 SysRes VG_(mknod) ( const HChar* pathname, Int mode, UWord dev )
112 VKI_AT_FDCWD, (UWord)pathname, mode, dev);
115 (UWord)pathname, mode, dev);
127 VKI_AT_FDCWD, (UWord)pathname, flags, mode);
130 (UWord)pathname, flags, mode);
133 (UWord)pathname, flags, mode);
166 SysRes res = VG_(do_syscall3)(__NR_read, fd, (UWord)buf, count);
168 SysRes res = VG_(do_syscall3)(__NR_read_nocancel, fd, (UWord)buf, count);
186 SysRes res = VG_(do_syscall3)(__NR_write, fd, (UWord)bu
[all...]
/external/valgrind/main/helgrind/
H A 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 );
[all...]
H A Dhg_basics.c77 UWord HG_(clo_history_level) = 2;
79 UWord HG_(clo_conflict_cache_size) = 1000000;
85 UWord HG_(clo_vts_pruning) = 1;
/external/valgrind/main/coregrind/m_debuginfo/
H A Dpriv_tytypes.h39 #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 */ atomR
[all...]
/external/valgrind/main/drd/
H A Ddrd_bitmap.h48 * | 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/main/cachegrind/
H A Dcg_branchpred.c88 static UWord shift_register = 0; /* Contains global history */
94 UWord indx;
97 const UWord hist_mask = (1 << N_HIST_BITS) - 1;
98 const UWord iadd_mask = (1 << N_IADD_BITS) - 1;
99 UWord hist_bits = shift_register & hist_mask;
100 UWord iadd_bits = (instr_addr >> N_IADDR_LO_ZERO_BITS)
144 const UWord mask = (1 << N_BTAC_BITS) - 1;
145 UWord indx = (instr_addr >> N_IADDR_LO_ZERO_BITS)

Completed in 3027 milliseconds

1234567