/external/valgrind/main/memcheck/tests/ |
leak-segv-jmp.c | 10 typedef unsigned long UWord; 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_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/main/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...] |
/art/runtime/base/ |
bit_field.h | 25 static const uword kUwordOne = 1U; 34 return (static_cast<uword>(value) & ~((kUwordOne << size) - 1)) == 0; 37 // Returns a uword mask of the bit field. 38 static uword Mask() { 42 // Returns a uword mask of the bit field which can be applied directly to 44 static uword MaskInPlace() { 59 // Returns a uword with the bit field value encoded. 60 static uword Encode(T value) { 62 return static_cast<uword>(value) << position; 66 static T Decode(uword value) [all...] |
/external/valgrind/main/coregrind/ |
m_syscall.c | 144 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 res ) [all...] |
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)); 85 pa->free (*(UWord **)VG_(indexXA) ( pa->pools, i )); 96 UWord* pool; 106 UWord* elem = (UWord*)elemC [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 ( AvlNode* nd ) 148 static inline Word cmp_unsigned_Words ( UWord w1, UWord w2 ) [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 ( 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_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 ( RangeMap* rm, UWord key ); 61 static void split_at ( /*MOD*/RangeMap* rm, UWord key ); 68 UWord initialVal ) 102 UWord key_min, UWord key_max, UWord val [all...] |
m_libcfile.c | 93 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)buf, count) [all...] |
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_libcsignal.c | 180 how, (UWord)set, (UWord)oldset, 181 _VKI_NSIG_WORDS * sizeof(UWord)); 184 how, (UWord)set, (UWord)oldset); 192 how, (UWord)set, (UWord)oldset); 203 void darwin_signal_demux(void* a1, UWord a2, UWord a3, void* a4, void* a5) { 212 VG_(do_syscall2)(__NR_sigreturn, (UWord)a5, 0x1E) [all...] |
/external/valgrind/main/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 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* oldV, UWord key ) [all...] |
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. 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* val, RangeMap* rm, UWord key ) [all...] |
pub_tool_sparsewa.h | 35 #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* keyP, /*OUT*/UWord* valP ) [all...] |
/art/runtime/gc/accounting/ |
space_bitmap-inl.h | 38 const uword mask = OffsetToMask(offset); 39 Atomic<uword>* atomic_entry = reinterpret_cast<Atomic<uword>*>(&bitmap_begin_[index]); 41 uword old_word; 96 uword left_edge = bitmap_begin_[index_start]; 98 left_edge &= ~((static_cast<uword>(1) << bit_start) - 1); 101 uword right_edge; 113 left_edge ^= (static_cast<uword>(1)) << shift; 119 uword w = bitmap_begin_[i]; 126 w ^= (static_cast<uword>(1)) << shift [all...] |
/external/valgrind/main/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/main/helgrind/ |
hg_wordset.c | 55 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); [all...] |
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...] |
/external/valgrind/main/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/clang/test/CodeGen/ |
2009-01-21-InvalidIterator.c | 48 typedef unsigned int uword; typedef 51 uword length;
|
/external/libgsm/src/ |
gsm_decode.c | 21 uword sr = 0; 28 sr |= (uword)*c++ << 2; 30 sr |= (uword)*c++ << 4; 33 sr |= (uword)*c++ << 2; 36 sr |= (uword)*c++ << 2; /* 5 */ 39 sr |= (uword)*c++ << 4; 43 sr |= (uword)*c++ << 1; 49 sr |= (uword)*c++ << 2; 53 sr |= (uword)*c++ << 1; /* 10 */ 60 sr |= (uword)*c++ << 2 [all...] |
gsm_explode.c | 25 uword sr = 0; 31 sr |= (uword)*c++ << 2; 33 sr |= (uword)*c++ << 4; 36 sr |= (uword)*c++ << 2; 39 sr |= (uword)*c++ << 2; /* 5 */ 42 sr |= (uword)*c++ << 4; 46 sr |= (uword)*c++ << 1; 54 sr |= (uword)*c++ << 2; 58 sr |= (uword)*c++ << 1; /* 10 */ 65 sr |= (uword)*c++ << 2 [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-linux-variants.c | 78 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 arg4 [all...] |
/art/compiler/optimizing/ |
locations.h | 81 return Location(kConstant | reinterpret_cast<uword>(constant)); 116 static uword EncodeStackIndex(intptr_t stack_index) { 119 return static_cast<uword>(kStackIndexBias + stack_index); 123 uword payload = EncodeStackIndex(stack_index); 135 uword payload = EncodeStackIndex(stack_index); 233 uword GetEncoding() const { 241 static constexpr uword kLocationTagMask = 0x3; 243 explicit Location(uword value) : value_(value) {} 245 Location(Kind kind, uword payload) 248 uword GetPayload() const [all...] |